Skip to content

Commit

Permalink
add aspect-ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
overheadhunter committed Feb 8, 2025
1 parent 5584ac6 commit 3d675cd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion layouts/donate-thanks/single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="container text-center py-12">
<header class="prose prose-sm md:prose max-w-none md:max-w-none">
<img src="/img/logo.svg" class="object-scale-down mx-auto w-1/4 mb-8" alt="Cryptomator Logo"/>
<img src="/img/logo.svg" class="object-scale-down mx-auto w-1/4 mb-8 aspect-1110/942" alt="Cryptomator Logo"/>
<h1>{{ .Title }}</h1>
{{ .Content }}
</header>
Expand Down
2 changes: 1 addition & 1 deletion layouts/hub/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
<div class="w-full lg:w-3/5">
<div class="flex items-center mb-4">
<img src="/img/logo.svg" class="h-8" alt="Logo"/>
<img src="/img/logo.svg" class="h-8 aspect-1110/942" alt="Logo"/>
<span class="font-headline font-bold text-primary ml-2 pb-px">CRYPTOMATOR&nbsp;HUB</span>
</div>
<h1 class="font-headline font-medium text-3xl md:text-4xl leading-tight mb-6">{{ i18n "hub_header_title" . | safeHTML }}</h1>
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2 id="get-started" class="text-center font-headline font-medium text-xl md:tex
<div class="flex justify-between items-center p-4 border-b border-primary">
<h3>
<div class="flex items-center">
<img src="/img/logo.svg" class="hidden md:block h-8 mr-2" alt="Logo"/>
<img src="/img/logo.svg" class="hidden md:block h-8 mr-2 aspect-1110/942" alt="Logo"/>
<span class="font-headline font-bold text-primary pb-px">CRYPTOMATOR</span>
</div>
</h3>
Expand Down Expand Up @@ -82,7 +82,7 @@ <h4 class="font-medium lg:text-lg leading-relaxed">
<div class="flex justify-between items-center p-4 border-b border-primary">
<h3>
<div class="flex items-center">
<img src="/img/logo.svg" class="hidden md:block h-8 mr-2" alt="Logo"/>
<img src="/img/logo.svg" class="hidden md:block h-8 mr-2 aspect-1110/942" alt="Logo"/>
<span class="font-headline font-bold text-primary pb-px">CRYPTOMATOR HUB</span>
</div>
</h3>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</button>

<a class="flex items-center hover:no-underline p-2 lg:mr-2" href="{{ .Site.LanguagePrefix }}/">
<img src="/img/logo.svg" class="h-8" alt="Logo"/>
<img src="/img/logo.svg" class="h-8 aspect-1110/942" alt="Logo"/>
<span class="{{ if not (or (in .RelPermalink "/downloads") (in .RelPermalink "/hub")) }}hidden{{ end }} md:block font-headline font-bold ml-2 pb-px">CRYPTOMATOR</span>
</a>

Expand Down

0 comments on commit 3d675cd

Please sign in to comment.