Skip to content

Commit

Permalink
made the nav button redirect home
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinLiquid committed Jan 26, 2025
1 parent da8c226 commit 4c049af
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,17 @@ const allCommits = await fetchCommitsFromGitHub();

<div class="container">
<nav>
<h2 style={{ fontFamily: 'var(--font-readable)' }}>
<img src="/icon.png" alt="thinliquid's studio" style="width: 32px; height: 32px;"/>&nbsp;
thinliquid's [studio]
</h2>
<a href="/" style={{
textDecoration: 'none',
color: 'var(--color-text)'
}}>
<h2 style={{ fontFamily: 'var(--font-readable)' }}>
<img src="/icon.png" alt="thinliquid's studio" style="width: 32px; height: 32px;"/>&nbsp;
thinliquid's [studio]</ul>
</h2>
</a>
<div class="page">{(title ?? frontmatter.title)}</div>
<ul>
<NavItem tooltip="go home" color="blue" href="/">home</NavItem>
<NavItem tooltip="check out my button database" color="sapphire" href="/buttons-galore">buttons galore</NavItem>
<NavItem tooltip="cool stuff i use" color="sky" href="/resources">resources</NavItem>
<NavItem tooltip="read my ramblings" color="teal" href="/blog">blog</NavItem>
Expand Down

0 comments on commit 4c049af

Please sign in to comment.