Skip to content

Commit bd53300

Browse files
committed
navbar items and hero buttons hover effects
1 parent 54c5fac commit bd53300

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

src/app/(site)/_components/hero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ const Hero: React.FC = () => {
1212
<img
1313
src="/assets/stars-lg.svg"
1414
alt="stars"
15-
className="absolute left-1/2 w-full -translate-x-1/2 animate-pulse opacity-80 sm:-top-12"
15+
className="absolute left-1/2 w-full -translate-x-1/2 animate-pulse opacity-75 delay-300 sm:-top-12"
1616
/>
17-
<section className="z-[2] mt-8 text-center text-purple_main">
17+
<section className="z-[2] mt-8 text-center">
1818
<h1 className="custom-text-shadow relative text-xxl font-medium text-white md:text-[6rem]">
1919
FullyHacks 2025
2020
</h1>

src/app/(site)/_components/landing-page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ const LandingPage: React.FC<LandingPageProps> = (props) => {
3131
<Hero />
3232
<CountDown />
3333
<div className="relative mt-14 flex items-center gap-12 text-md font-medium">
34-
<Link href="/signin" className="">
35-
<button className="z-[11] mx-0 box-border flex cursor-pointer flex-row items-center justify-center rounded-[20px] border-[3px] border-[#926BAF] py-2 px-4 text-[#926BAF] md:text-xl">
34+
<Link href="/signin">
35+
<button className="z-[11] mx-0 box-border rounded-[20px] bg-[#926BAF] py-2 px-4 text-white transition-all hover:brightness-110 focus:brightness-110 md:text-xl">
3636
Apply
3737
</button>
3838
</Link>
3939
<a
4040
target="_blank"
41-
href="https://drive.google.com/file/d/1nw2_POGSUO0qCj24TT-fwW7hjqzBQpLW/view?usp=sharing"
42-
className="z-[11] mx-0 box-border flex cursor-pointer flex-row items-center justify-center rounded-[20px] border-[3px] border-[#4A47CD] py-2 px-4 text-[#4A47CD] md:text-xl">
41+
href="https://drive.google.com/file/d/1KgINevhJUq9wNlkT_m716dFldZ8NTwPO/view"
42+
className="z-[11] mx-0 cursor-pointer rounded-[20px] border-[3px] border-[#4A47CD] py-2 px-4 text-[#4A47CD] transition-all hover:brightness-110 focus:brightness-110 md:text-xl">
4343
Sponsor Us!
4444
</a>
4545
</div>

src/app/(site)/_components/sponsors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const Sponsors: React.FC<SponsorsProps> = (props) => {
9797
src="/assets/cone.svg"
9898
alt="Light Cone"
9999
style={{ width: "400%", height: "auto" }}
100-
className="animate-flicker absolute top-[65.5%] left-[80%] z-10 -translate-x-1/2 -rotate-2 transform opacity-70"
100+
className="absolute top-[65.5%] left-[80%] z-10 -translate-x-1/2 -rotate-2 transform animate-flicker opacity-70"
101101
/>
102102
</div>
103103
</div>

src/components/nav-bar.tsx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,19 @@ export const NavBarLanding: React.FC = () => {
7373
/>
7474
</Link>
7575

76-
<ul className="flex items-center">
76+
<ul className="flex items-center gap-4">
7777
{menuList.map((item, index) => (
78-
<div key={item.id} className="flex items-center whitespace-nowrap">
78+
<div
79+
key={item.id}
80+
className="flex items-center gap-4 whitespace-nowrap">
7981
<Link
8082
href={item.href}
81-
className="flex items-center px-2 py-2 text-sm transition-all duration-200 sm:px-3 sm:text-base lg:px-4 lg:text-lg xl:text-xl">
83+
className="group relative py-2 text-sm sm:text-base lg:text-lg xl:text-xl">
8284
{item.name}
85+
<span className="absolute bottom-0 block h-0.5 w-0 bg-white transition-all duration-300 group-hover:w-full group-focus:w-full" />
8386
</Link>
8487
{index < menuList.length - 1 && (
85-
<div className="mx-1 flex items-center sm:mx-1.5 lg:mx-2">
86-
<span className="h-[1.5em] w-[3px] bg-white" />
87-
</div>
88+
<span className="h-[1.5em] w-[3px] bg-white" />
8889
)}
8990
</div>
9091
))}

0 commit comments

Comments
 (0)