Skip to content

Commit

Permalink
cropped logo and adjusted sizing in nav
Browse files Browse the repository at this point in the history
  • Loading branch information
harvanchik committed Jul 7, 2024
1 parent 13b87f6 commit d680e9c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
Binary file modified src/lib/img/logo.webp
Binary file not shown.
26 changes: 18 additions & 8 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,28 @@
import '../app.css';
</script>

<header class="fixed inset-x-0 top-0 z-10 border-b border-[#694E41]/25 shadow-sm">
<nav class="mx-auto flex h-28 items-center justify-between bg-[#faeee5] px-48">
<!-- START: Header (displayed on every single screen) -->
<header class="fixed inset-x-0 top-0 z-10">
<!-- START: Navigation Bar -->
<nav
class="mx-auto flex h-28 items-center justify-between border-b border-[#694E41]/25 bg-[#faeee5] px-56 shadow-sm"
>
<!-- START: Logo -->
<a href="./" class="select-none">
<img src="src/lib/img/logo.webp" alt="logo" class="h-36" />
<img src="src/lib/img/logo.webp" alt="logo" class="h-[5.25rem]" />
</a>
<!-- about and blog buttons on right side -->
<div class="mr-4 font-cormorant text-3xl">
<a href="/about" class="mr-4 text-[#694E41]">about</a>
<a href="/blog" class="mr-4 text-[#694E41]">blog</a>
<a href="/subscribe" class="text-[#694E41]">subscribe</a>
<!-- END: Logo -->

<!-- START: Nav Buttons -->
<div class="flex flex-row space-x-10 font-cormorant text-3xl text-[#694E41]">
<a href="/about" class="hover:text-[#9e7a69]">about</a>
<a href="/blog" class="hover:text-[#9e7a69]">blog</a>
<a href="/subscribe" class="hover:text-[#9e7a69]">subscribe</a>
</div>
<!-- END: Nav Buttons -->
</nav>
<!-- END: Navigation Bar -->
</header>
<!-- END: Header -->

<slot></slot>

0 comments on commit d680e9c

Please sign in to comment.