Skip to content

Commit

Permalink
style:Added brandbook
Browse files Browse the repository at this point in the history
  • Loading branch information
Mykhailo Dudar committed Sep 19, 2024
1 parent fce6e48 commit cd7ed9b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
Binary file not shown.
Binary file added src/assets/images/brand-book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 18 additions & 2 deletions src/content/docs/docs/using-logo.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ import { Image } from 'astro:assets';
import { Icon } from 'astro-icon/components';
import Modal from '~/components/Modal.astro';
import crowdinIconLogo from '~/assets/images/crowdin.svg';
import { LinkButton } from '@astrojs/starlight/components';
import badgesImage from '~/assets/images/badges.png';
import brandBook from '~/assets/images/brand-book.png';

<script>{`
document.addEventListener('DOMContentLoaded', () => {
Expand Down Expand Up @@ -309,7 +311,7 @@ Examples of the incorrect use of the logo, not maintaining proportions, using th

Use the badge when you want to show our partnership or let others know that you use Crowdin to localize your own project.

<div class="logo-preview gray badges mb-4 logos-4">
<div class="logo-preview gray badges mb-8 logos-4">
<div class="badge-item !mt-0">
<img class="no-shadow mb-2" src="/assets/badges/[email protected]" alt="Dark badge" />
</div>
Expand All @@ -324,11 +326,25 @@ Use the badge when you want to show our partnership or let others know that you
</div>
</div>

<div>
<div class={'!mb-20'}>
<p><small class="text-muted">DOWNLOAD</small></p>
<a href="/assets/badges/localization-at-crowdin–badges.zip">.zip (all badges)</a>
</div>

<div class={'border p-8 !mt-8 grid grid-cols-8 mb-8 rounded-lg'}>
<div class={'relative col-span-3 md:col-span-2'}>
<Image class="no-shadow mb-8 absolute -translate-y-2/4 top-2/4" src={brandBook} alt="Crowdin Brand Book" />
</div>
<div class={'col-span-5 md:col-span-6'}>
<div className="flex flex-col">
<h3>Brand Guidelines</h3>
<p>Explore our guidelines for properly using and applying our brand's visual elements.</p>
<LinkButton class={'self-start'} href="/assets/docs/crowdin_brand_guidlines_4q_2024.pdf" variant="primary" iconPlacement="start" icon="document" target="_blank">Download Brandbook</LinkButton>
</div>
</div>
</div>


<Modal id="dialog" open="Open modal">
<span slot="header" class="font-bold">Crowdin icon</span>
<main slot="main">
Expand Down

0 comments on commit cd7ed9b

Please sign in to comment.