-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
76 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
"use client"; | ||
import Image from "next/image"; | ||
import Container from "../layout/Container"; | ||
import { Navigation } from "lucide-react"; | ||
import NavigationLinks from "@/data/nav/nav"; | ||
import Link from "next/link"; | ||
import { it } from "node:test"; | ||
import { Button, buttonVariants } from "../ui/button"; | ||
|
||
export default function NavBar() { | ||
return ( | ||
<div className="bg-sky-200"> | ||
<Container> | ||
<div className="py-8 flex flex-row justify-between "> | ||
<div className="md:w-auto w-1/2 flex"> | ||
<Image | ||
src="/assets/logos/techie_sleuths_logo_new.png" | ||
alt="Techie Sleuths" | ||
width={200} | ||
height={200} | ||
/> | ||
</div> | ||
|
||
<div className="md:flex items-center lg:text-3xl text-2xl hidden text-sky-900 "> | ||
<div className="flex gap-10 items-center"> | ||
{NavigationLinks.map((item) => ( | ||
<Link href={item.link} key={item.id}> | ||
<div className="hover:">{item.title}</div> | ||
</Link> | ||
))} | ||
<Button className="text-3xl" size={"lg"}> | ||
Regiter{" "} | ||
</Button> | ||
</div> | ||
</div> | ||
</div> | ||
</Container> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { INavBar } from "@/types/nav"; | ||
import exp from "constants"; | ||
|
||
const NavigationLinks: INavBar[] = [ | ||
{ | ||
id: 1, | ||
title: "ELIGIBILITY", | ||
link: "/", | ||
}, | ||
{ | ||
id: 2, | ||
title: "PAST EVENTS", | ||
link: "/past-events", | ||
}, | ||
{ | ||
id: 3, | ||
title: "POSTS", | ||
link: "/posts", | ||
}, | ||
// { | ||
// id: 4, | ||
// title: "REGISTER", | ||
// link: "/register", | ||
// }, | ||
|
||
]; | ||
export default NavigationLinks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export interface INavBar { | ||
id:number; | ||
title:string; | ||
link:string; | ||
} |