Skip to content

Commit

Permalink
make the navbar substantially better by getting rid of icons
Browse files Browse the repository at this point in the history
  • Loading branch information
HJfod committed Mar 4, 2024
1 parent aa071aa commit 4cdf9e9
Showing 1 changed file with 8 additions and 26 deletions.
34 changes: 8 additions & 26 deletions src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,10 @@ const base = import.meta.env.BASE_URL;
<span class="font-head text-xl">Globed</span>
</a>
</div>
<div class="flex flex-row justify-center max-sm:hidden">
<a href={base}>
<HomeIcon/>
<span class="max-sm:hidden">Home</span>
</a>
<a href={`${base}/install`}>
<DownloadIcon/>
<span class="max-sm:hidden">Install</span>
</a>
<a href={`${base}/about`}>
<BookIcon/>
<span class="max-sm:hidden">About</span>
</a>
<div class="flex flex-row justify-center max-sm:hidden font-head text-lg">
<a href={base}>Home</a>
<a href={`${base}/install`}>Install</a>
<a href={`${base}/about`}>About</a>
</div>
<div class="flex flex-row justify-end">
<a href="https://ko-fi.com/globed">
Expand All @@ -58,19 +49,10 @@ const base = import.meta.env.BASE_URL;
</a>
</div>
</div>
<div id="rollover" class="flex flex-col">
<a href={base}>
<HomeIcon/>
<span>Home</span>
</a>
<a href={`${base}/install`}>
<DownloadIcon/>
<span>Install</span>
</a>
<a href={`${base}/about`}>
<BookIcon/>
<span>About</span>
</a>
<div id="rollover" class="flex flex-col px-4 font-head">
<a href={base}><span>Home</span></a>
<a href={`${base}/install`}><span>Install</span></a>
<a href={`${base}/about`}><span>About</span></a>
</div>
</nav>

Expand Down

0 comments on commit 4cdf9e9

Please sign in to comment.