Skip to content

Commit

Permalink
fix nav links not animating with rest of bar
Browse files Browse the repository at this point in the history
  • Loading branch information
neelkarma committed Dec 10, 2023
1 parent ff0a0b8 commit cdedb0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Navbar.astro
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import ColorModeToggle from "@components/ColorModeToggle.astro";

<div
id="links"
class="bg-white dark:bg-gray-10 hidden md:flex gap-5 items-center absolute md:static top-[5.5rem] left-0 px-3 pb-3 md:px-0 md:pb-0 w-full md:w-auto"
class="bg-white dark:bg-gray-10 hidden duration-150 ease-out md:flex gap-5 items-center absolute md:static top-[5.5rem] left-0 px-3 pb-3 md:px-0 md:pb-0 w-full md:w-auto"
>
<NavLink href="/">Home</NavLink>
<!--<NavLink href="/sponsors">Sponsors</NavLink>-->
Expand Down
1 change: 1 addition & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import heroImage from "@assets/photos/game-6-darkened.jpg";
import shirtImage from "@assets/photos/team-shirt.jpg";
import { getImage } from "astro:assets";
// TODO: This generates a jpg for some reason??
const heroSrc = `url(${await getImage({
src: heroImage,
alt: "EMU 4729 robot in game",
Expand Down

0 comments on commit cdedb0c

Please sign in to comment.