Skip to content

Commit

Permalink
fix: header navbar layout
Browse files Browse the repository at this point in the history
  • Loading branch information
EATSTEAK committed Jun 24, 2024
1 parent 4c06bba commit 0aafe86
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ const selected = (value: string) =>
<img src="/images/logo.png" alt="eatsteak.dev" class="logo-image" /></a
>
</h2>
<nav class="navbar">
<a class={selected("about")} href="/about"> About </a>
<a class={selected("post")} href="/posts"> Posts </a>
<a class={selected("category")} href="/category"> Categories </a>
</nav>
<aside class="switch-container">
<LightSwitch client:only="solid-js" />
</aside>
</div>
<nav class="navbar">
<a class={selected("about")} href="/about"> About </a>
<a class={selected("post")} href="/posts"> Posts </a>
<a class={selected("category")} href="/category"> Categories </a>
</nav>
<aside class="switch-container">
<LightSwitch client:only="solid-js" />
</aside>
</header>

0 comments on commit 0aafe86

Please sign in to comment.