@@ -14,58 +14,55 @@ const Navbar = () => {
1414 setShowNavbar ( latest > 0 )
1515 } )
1616
17+ const links = [
18+ { name : 'Pricing' , href : '/pricing' } ,
19+ { name : 'Features' , href : '#features' } ,
20+ { name : 'Demo' , href : '#demo' } ,
21+ { name : 'How it works' , href : '#HIW' } ,
22+ { name : 'Stats' , href : '#Stats' } ,
23+ { name : 'Contact' , href : '#Contact' } ,
24+ ]
25+
1726 return (
18- < motion . nav
19- initial = { { opacity : 0 } }
20- animate = { showNavbar ? { opacity : 1 } : { opacity : 0 } }
21- transition = { { duration : 0.3 } }
22- className = "w-[94%] md:w-[80%] mx-auto fixed top-4 z-40 left-1/2 -translate-x-1/2 flex items-center justify-between px-4 py-3 rounded-3xl bg-neutral-900/5 backdrop-blur-xl border border-white/10"
23- >
24- < div className = "text-2xl font-medium tracking-tighter flex items-center gap-2" >
25- < div className = "w-10 aspect-square overflow-hidden relative" >
26- < Image
27- src = "/assets/logo.svg"
28- alt = "background"
29- fill
30- className = "object-cover w-full h-full"
31- />
32- </ div >
33- Opensox AI
34- </ div >
35- < div className = "hidden md:flex items-center gap-4 tracking-tight text-lg font-light text-[#d1d1d1]" >
36- < Link href = "#features" className = "cursor-pointer hover:text-white" >
37- Features
38- </ Link >
39- < Link href = "#demo" className = "cursor-pointer hover:text-white" >
40- Demo
41- </ Link >
42- < Link href = "#HIW" className = "cursor-pointer hover:text-white" >
43- How it works
44- </ Link >
45- < Link href = "#Stats" className = "cursor-pointer hover:text-white" >
46- Stats
47- </ Link >
48- < Link href = "#Contact" className = "cursor-pointer hover:text-white" >
49- Contact
50- </ Link >
51- < Link
52- href = "https://pages.razorpay.com/pl_R6WHnm15Fm98fI/view"
53- target = "_blank"
54- className = "cursor-pointer hover:text-white"
55- >
56- Pricing
57- </ Link >
58- </ div >
59- < div className = "" >
60- < Link href = "/dashboard/home" className = "cursor-pointer z-30" >
61- < PrimaryButtom >
62- < Terminal />
63- Get Started
64- </ PrimaryButtom >
65- </ Link >
66- </ div >
67- </ motion . nav >
68- ) ;
27+ < motion . nav
28+ initial = { { opacity : 0 } }
29+ animate = { showNavbar ? { opacity : 1 } : { opacity : 0 } }
30+ transition = { { duration : 0.3 } }
31+ className = 'w-[94%] md:w-[80%] mx-auto fixed top-4 z-40 left-1/2 -translate-x-1/2 flex items-center justify-between px-4 py-3 rounded-3xl bg-neutral-900/5 backdrop-blur-xl border border-white/10'
32+ >
33+ < div className = "text-2xl font-medium tracking-tighter flex items-center gap-2" >
34+ < div className = "w-10 aspect-square overflow-hidden relative" >
35+
36+ < Image
37+ src = "/assets/logo.svg"
38+ alt = "background"
39+ fill
40+ className = "object-cover w-full h-full"
41+ />
42+ </ div >
43+ Opensox AI
44+ </ div >
45+ < div className = "hidden md:flex items-center gap-4 tracking-tight text-lg font-light text-[#d1d1d1]" >
46+ {
47+ links . map ( ( link , index ) => {
48+ return (
49+ < Link key = { index } href = { link . href } className = 'cursor-pointer hover:text-white' >
50+ { link . name }
51+ </ Link >
52+ )
53+ } )
54+ }
55+ </ div >
56+ < div className = "" >
57+ < Link href = '/dashboard/home' className = 'cursor-pointer z-30' >
58+ < PrimaryButtom >
59+ < Terminal />
60+ Get Started
61+ </ PrimaryButtom >
62+ </ Link >
63+ </ div >
64+ </ motion . nav >
65+ )
6966}
7067
7168export default Navbar
0 commit comments