feat(logo): integrate logo into header, mobile menu, and footer
All checks were successful
Deploy Theme / deploy (push) Successful in 13s
All checks were successful
Deploy Theme / deploy (push) Successful in 13s
This commit is contained in:
@@ -8,7 +8,14 @@
|
||||
x-transition:leave-end="-translate-x-full"
|
||||
class="fixed inset-0 z-40 bg-[var(--bg-primary)] transform md:hidden"
|
||||
x-cloak>
|
||||
<div class="flex justify-end p-5">
|
||||
<div class="flex justify-between items-center p-5">
|
||||
<a href="{{@site.url}}" class="site-logo-container">
|
||||
{{#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">
|
||||
{{/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">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
|
||||
|
||||
Reference in New Issue
Block a user