Skip to content

Commit b68dad5

Browse files
zzzzshawnapsinghdev
authored andcommitted
test
1 parent f424238 commit b68dad5

File tree

4 files changed

+64
-53
lines changed

4 files changed

+64
-53
lines changed

apps/web/public/assets/card_bg.png

773 KB
Loading
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import React from 'react'
2+
3+
const Pricing = () => {
4+
return (
5+
<main className="w-full min-h-screen flex items-center justify-center">
6+
<div className="h-[400px] w-[300px] border border-dashed border-border-primary">
7+
8+
</div>
9+
</main>
10+
)
11+
}
12+
13+
export default Pricing

apps/web/src/components/landing-sections/navbar.tsx

Lines changed: 48 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -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

7168
export default Navbar

apps/web/tailwind.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ const config: Config = {
1010
theme: {
1111
extend: {
1212
colors: {
13-
background: "hsl(var(--background))",
14-
foreground: "hsl(var(--foreground))",
13+
background: "#101010",
14+
foreground: "#ffffff",
1515
card: {
1616
DEFAULT: "hsl(var(--card))",
1717
foreground: "hsl(var(--card-foreground))",
@@ -41,6 +41,7 @@ const config: Config = {
4141
foreground: "hsl(var(--destructive-foreground))",
4242
},
4343
border: "hsl(var(--border))",
44+
"border-primary": "#303030",
4445
input: "hsl(var(--input))",
4546
ring: "hsl(var(--ring))",
4647
chart: {

0 commit comments

Comments
 (0)