Skip to content

Commit 2cb91b6

Browse files
feat: update header navigation and sticky donate button (#829)
- Remove Donate tab from main navigation menu - Make header top bar sticky with donate button always visible - Update countdown message to 'New Cohort Starts:' - Set countdown timer to April 7, 2026 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent a4f7742 commit 2cb91b6

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/data/menu.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@ const navigation: NavigationItem[] = [
106106
label: "Contact",
107107
path: "/contact-us",
108108
},
109-
{
110-
id: 7,
111-
label: "Donate",
112-
path: "/donate",
113-
},
114109
];
115110

116111
export default navigation;

src/layouts/headers/header.tsx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,19 @@ const Header = ({ shadow, fluid }: TProps) => {
3232
return (
3333
<>
3434
<header className="header tw-relative">
35-
<div className="header-top tw-bg-gray-200 tw-py-2.5">
35+
<div
36+
className={clsx(
37+
"header-top tw-bg-gray-200 tw-py-2.5 tw-z-[60] tw-w-full tw-transition-all",
38+
sticky && "tw-fixed tw-top-0 tw-left-0 tw-shadow-md"
39+
)}
40+
>
3641
<div className="tw-container tw-flex tw-flex-wrap tw-items-center tw-justify-center">
3742
<p className="tw-mb-3.8 tw-flex-100 tw-text-center md:tw-mb-0 md:tw-mr-7.5 md:tw-flex-1 md:tw-text-left">
38-
Platform Launch + Vets Who Code Demo Day
43+
New Cohort Starts:
3944
</p>
4045
<div className="tw-flex tw-items-center sm:tw-mr-[45px] md:tw-mr-5 lg:tw-mr-[45px]">
4146
<i className="far fa-clock tw-mr-[5px] tw-text-lg tw-text-secondary" />
42-
<CountdownTimer targetDate="2025/11/11" />
47+
<CountdownTimer targetDate="2026/04/07" />
4348
</div>
4449
<Button size="sm" path="/donate" className="tw-shadow-lg tw-shadow-primary/25">
4550
Donate
@@ -50,10 +55,10 @@ const Header = ({ shadow, fluid }: TProps) => {
5055
<div
5156
ref={measuredRef}
5257
className={clsx(
53-
"header-inner tw-left-0 tw-top-0 tw-z-50 tw-h-auto tw-w-full tw-py-[25px] tw-transition-all xl:tw-py-0",
54-
!sticky && "tw-absolute tw-bg-white",
58+
"header-inner tw-left-0 tw-z-50 tw-h-auto tw-w-full tw-py-[25px] tw-transition-all xl:tw-py-0",
59+
!sticky && "tw-absolute tw-top-0 tw-bg-white",
5560
sticky &&
56-
"tw-fixed tw-animate-headerSlideDown tw-backdrop-blur-lg tw-bg-white/90 tw-border-b tw-border-gray-200/50 tw-shadow-lg tw-shadow-black/5",
61+
"tw-fixed tw-top-[52px] tw-animate-headerSlideDown tw-backdrop-blur-lg tw-bg-white/90 tw-border-b tw-border-gray-200/50 tw-shadow-lg tw-shadow-black/5",
5762
shadow && "tw-shadow-sm tw-shadow-black/5"
5863
)}
5964
>

0 commit comments

Comments
 (0)