optimized navbar

This commit is contained in:
chark1es 2024-12-06 03:41:40 -08:00
parent 63baf142ad
commit d5e34bba47
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,6 @@
--- ---
import { Image } from "astro:assets"; import { Image } from "astro:assets";
import whiteLogoHorizontal from "../../public/logos/white_logo_horizontal.svg";
import pages from "../data/pages.json"; import pages from "../data/pages.json";
--- ---
@ -10,7 +11,7 @@ import pages from "../data/pages.json";
<div class="flex justify-between items-center mx-6"> <div class="flex justify-between items-center mx-6">
<div class="flex min-h-[1rem] max-h-[3rem]"> <div class="flex min-h-[1rem] max-h-[3rem]">
<Image <Image
src="/logos/white_logo_horizontal.svg" src={whiteLogoHorizontal}
alt="IEEE UCSD Logo" alt="IEEE UCSD Logo"
width={300} width={300}
height={300} height={300}

View file

@ -12,7 +12,7 @@ import Navbar from "../components/Navbar.astro";
<title>Astro Basics</title> <title>Astro Basics</title>
</head> </head>
<Navbar client:load /> <Navbar />
<body class="bg-ieee_blue"> <body class="bg-ieee_blue">
<slot /> <slot />