fix height rendering bug
This commit is contained in:
parent
1fdd45316e
commit
1b49e5f177
1 changed files with 31 additions and 23 deletions
|
@ -4,10 +4,17 @@ import pages from "../data/pages.json";
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="flex items-center">
|
<div class="flex items-center">
|
||||||
<div class="flex flex-col border-white-500 border-2 bg-ieee_navigation_bg w-[98%] h-full mt-3 mx-auto rounded-[4rem] py-3">
|
<div
|
||||||
|
class="flex flex-col border-white-500 border-2 bg-ieee_navigation_bg w-[98%] h-full mt-3 mx-auto rounded-[4rem] py-3"
|
||||||
|
>
|
||||||
<div class="flex justify-between items-center mx-6">
|
<div class="flex justify-between items-center mx-6">
|
||||||
<div class="flex">
|
<div class="flex min-h-[1rem] max-h-[3rem]">
|
||||||
<Image src="/logos/white_logo_horizontal.svg" alt="IEEE UCSD Logo" width={300} height={300} />
|
<Image
|
||||||
|
src="/logos/white_logo_horizontal.svg"
|
||||||
|
alt="IEEE UCSD Logo"
|
||||||
|
width={300}
|
||||||
|
height={300}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex gap-6">
|
<div class="flex gap-6">
|
||||||
|
@ -16,9 +23,11 @@ import pages from "../data/pages.json";
|
||||||
<a
|
<a
|
||||||
href={page.path}
|
href={page.path}
|
||||||
class={`uppercase border-2 px-4 py-2 rounded-[3rem] transition-colors duration-200
|
class={`uppercase border-2 px-4 py-2 rounded-[3rem] transition-colors duration-200
|
||||||
${page.name === "Online Store"
|
${
|
||||||
|
page.name === "Online Store"
|
||||||
? "bg-[#f3c135] text-black border-[#f3c135] hover:bg-[#dba923] hover:border-[#dba923]"
|
? "bg-[#f3c135] text-black border-[#f3c135] hover:bg-[#dba923] hover:border-[#dba923]"
|
||||||
: "text-white border-white hover:text-gray-300"}`}
|
: "text-white border-white hover:text-gray-300"
|
||||||
|
}`}
|
||||||
>
|
>
|
||||||
{page.name}
|
{page.name}
|
||||||
</a>
|
</a>
|
||||||
|
@ -28,4 +37,3 @@ import pages from "../data/pages.json";
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue