Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export default function Footer() {
const navigationLinks = [
{ label: "Home", href: "/" },
{ label: "About", href: "/about" },
{ label: "Startups", href: "/startups" },
{ label: "Organizations", href: "/organizations" },
{ label: "Teams", href: "/teams" },
{ label: "Events", href: "/events" },
{ label: "Apply", href: "/apply" },
];
Expand Down
6 changes: 6 additions & 0 deletions components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export default function Navbar() {
const p = (pathname || "/").split("?")[0];
if (p === "/" || p === "") return "home";
if (p.startsWith("/about")) return "about";
if (p.startsWith("/startups")) return "startups";
if (p.startsWith("/organizations")) return "organizations";
if (p.startsWith("/teams")) return "teams";
if (p.startsWith("/events")) return "events";
if (p.startsWith("/apply")) return "apply";
return "home";
Expand All @@ -20,6 +23,9 @@ export default function Navbar() {
const links: { id: string; label: string; href: string }[] = [
{ id: "home", label: "HOME", href: "/" },
{ id: "about", label: "ABOUT", href: "/about" },
{ id: "startups", label: "STARTUPS", href: "/startups" },
{ id: "organizations", label: "ORGANIZATIONS", href: "/organizations" },
{ id: "teams", label: "TEAMS", href: "/teams" },
{ id: "events", label: "EVENTS", href: "/events" },
{ id: "apply", label: "APPLY", href: "/apply" },
];
Expand Down
6 changes: 3 additions & 3 deletions components/layout/PublicLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ export default function PublicLayout({
children: React.ReactNode;
}) {
return (
<>
<div className="min-h-screen flex flex-col">
<header>
<Navbar />
<div className="flex items-center gap-4 px-4">
<AuthButton />
</div>
</header>

<main>{children}</main>
<main className="flex-grow">{children}</main>

<Footer />
</>
</div>
);
}
2 changes: 1 addition & 1 deletion tsconfig.tsbuildinfo

Large diffs are not rendered by default.