feat(theme): implement Palina Gold theme and adaptive SVG logo system
All checks were successful
Deploy Theme / deploy (push) Successful in 14s
All checks were successful
Deploy Theme / deploy (push) Successful in 14s
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
{{#if @site.logo}}
|
||||
<img src="{{@site.logo}}" alt="{{@site.title}}" class="h-8 w-auto site-logo">
|
||||
{{else}}
|
||||
<img src="{{asset "images/palina.png"}}" alt="{{@site.title}}" class="h-8 w-auto site-logo">
|
||||
{{> "icons/logo" class="h-8 w-auto site-logo"}}
|
||||
{{/if}}
|
||||
</a>
|
||||
<p class="text-sm text-[var(--text-secondary)] sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-[var(--bg-secondary)] sm:py-2 sm:mt-0 mt-4">
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
{{#if @site.logo}}
|
||||
<img src="{{@site.logo}}" alt="{{@site.title}}" class="h-10 w-auto site-logo">
|
||||
{{else}}
|
||||
<img src="{{asset "images/palina.png"}}" alt="{{@site.title}}" class="h-10 w-auto site-logo">
|
||||
{{> "icons/logo" class="h-10 w-auto site-logo"}}
|
||||
{{/if}}
|
||||
<span class="ml-3 text-xl font-bold">{{@site.title}}</span>
|
||||
</a>
|
||||
|
||||
<div class="flex items-center">
|
||||
|
||||
332
partials/icons/logo.hbs
Normal file
332
partials/icons/logo.hbs
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 82 KiB |
@@ -13,7 +13,7 @@
|
||||
{{#if @site.logo}}
|
||||
<img src="{{@site.logo}}" alt="{{@site.title}}" class="h-10 w-auto site-logo">
|
||||
{{else}}
|
||||
<img src="{{asset "images/palina.png"}}" alt="{{@site.title}}" class="h-10 w-auto site-logo">
|
||||
{{> "icons/logo" class="h-10 w-auto site-logo"}}
|
||||
{{/if}}
|
||||
</a>
|
||||
<button @click="mobileMenuOpen = false" class="p-2 rounded-full bg-[var(--bg-secondary)] text-[var(--text-primary)] hover:bg-[var(--bg-tertiary)] transition-colors duration-200">
|
||||
|
||||
Reference in New Issue
Block a user