Skip to content

Commit 06c03e5

Browse files
committed
remove buy button
1 parent b043b70 commit 06c03e5

4 files changed

Lines changed: 42 additions & 38 deletions

File tree

src/App.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ const AppContent = () => {
3232
<ScrollToTop />
3333
<Routes>
3434
<Route path="/" element={<Index />} />
35-
<Route path="/how-to-buy" element={<HowToBuy />} />
35+
{/* <Route path="/how-to-buy" element={<HowToBuy />} /> */}
3636
<Route path="/tokenomics" element={<TokenomicsPage />} />
3737
<Route path="/technology" element={<Technology />} />
3838
<Route path="/whitepaper" element={<Whitepaper />} />
3939
<Route path="/legal" element={<Legal />} />
4040
<Route path="/privacy" element={<PrivacyPolicy />} />
41-
<Route path="/buy" element={<BuyZelion />} />
41+
{/* <Route path="/buy" element={<BuyZelion />} /> */}
4242
<Route path="/contact" element={<ContactUs />} />
43-
<Route path="/notify" element={<Notify />} />
43+
{/* <Route path="/notify" element={<Notify />} /> */}
4444
<Route path="*" element={<NotFound />} />
4545
</Routes>
4646
</>

src/components/Navbar.jsx

Lines changed: 36 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import NotifyModal from "@/components/NotifyModal";
88
const navLinks = [
99
{ label: "Technology", href: "/technology" },
1010
{ label: "Tokenomics", href: "/tokenomics" },
11-
{ label: "How to Buy", href: "/how-to-buy" },
11+
// { label: "How to Buy", href: "/how-to-buy" },
1212
{ label: "Whitepaper", href: "/whitepaper" },
13-
{ label: "Get Notified", href: "/notify" },
13+
// { label: "Get Notified", href: "/notify" },
1414
{ label: "Contact", href: "/contact" },
1515
];
1616

@@ -45,19 +45,21 @@ const Navbar = () => {
4545

4646
return (
4747
<nav className="fixed top-0 left-0 right-0 z-50 border-b border-border/50 bg-background/80 backdrop-blur-xl">
48-
<div className="container mx-auto flex h-16 items-center justify-between px-4 lg:px-8">
49-
{/* Logo */}
50-
<Link to="/" className="flex items-center gap-2">
51-
<div className="flex h-8 w-8 items-center justify-center rounded-md bg-white p-1">
52-
<img src="/logo.svg" alt="Zelion Logo" className="h-full w-full text-silver-light" />
53-
</div>
54-
<span className="font-heading text-lg font-semibold tracking-wider text-foreground">
55-
ZelionTech
56-
</span>
57-
</Link>
48+
<div className="container mx-auto flex h-16 items-center px-4 lg:px-8">
49+
<div className="flex flex-1 items-center">
50+
{/* Logo */}
51+
<Link to="/" className="flex items-center gap-2">
52+
<div className="flex h-8 w-8 items-center justify-center rounded-md bg-white p-1">
53+
<img src="/logo.svg" alt="Zelion Logo" className="h-full w-full text-silver-light" />
54+
</div>
55+
<span className="font-heading text-lg font-semibold tracking-wider text-foreground">
56+
ZelionTech
57+
</span>
58+
</Link>
59+
</div>
5860

5961
{/* Desktop Links */}
60-
<div className="hidden items-center gap-1 md:flex">
62+
<div className="hidden flex-1 items-center justify-center gap-1 md:flex">
6163
{navLinks.map((link) => (
6264
<Link
6365
key={link.href}
@@ -73,24 +75,26 @@ const Navbar = () => {
7375
))}
7476
</div>
7577

76-
{/* Desktop Actions */}
77-
<div className="hidden items-center gap-3 md:flex">
78-
<Button onClick={handleOpenModal} variant="wallet" size="sm">
79-
Get Notified
80-
</Button>
81-
</div>
78+
<div className="flex flex-1 items-center justify-end">
79+
{/* Desktop Actions */}
80+
<div className="hidden items-center gap-3 md:flex">
81+
{/* <Button onClick={handleOpenModal} variant="wallet" size="sm">
82+
Get Notified
83+
</Button> */}
84+
</div>
8285

83-
{/* Mobile Menu Toggle */}
84-
<button
85-
className="flex items-center justify-center md:hidden"
86-
onClick={() => setMobileOpen(!mobileOpen)}
87-
>
88-
{mobileOpen ? (
89-
<X className="h-6 w-6 text-foreground" />
90-
) : (
91-
<Menu className="h-6 w-6 text-foreground" />
92-
)}
93-
</button>
86+
{/* Mobile Menu Toggle */}
87+
<button
88+
className="flex items-center justify-center md:hidden"
89+
onClick={() => setMobileOpen(!mobileOpen)}
90+
>
91+
{mobileOpen ? (
92+
<X className="h-6 w-6 text-foreground" />
93+
) : (
94+
<Menu className="h-6 w-6 text-foreground" />
95+
)}
96+
</button>
97+
</div>
9498
</div>
9599

96100
{/* Mobile Menu */}
@@ -118,9 +122,9 @@ const Navbar = () => {
118122
</Link>
119123
))}
120124
<div className="mt-4">
121-
<Button onClick={handleOpenModal} variant="wallet" className="w-full">
125+
{/* <Button onClick={handleOpenModal} variant="wallet" className="w-full">
122126
Get Notified
123-
</Button>
127+
</Button> */}
124128
</div>
125129
</div>
126130
</motion.div>

src/components/landing/Hero.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,12 @@ const Hero = () => {
6262
transition={{ delay: 0.5, duration: 0.5 }}
6363
className="flex flex-col items-center gap-4 sm:flex-row sm:justify-center"
6464
>
65-
<Button asChild variant="hero" size="xl">
65+
{/* <Button asChild variant="hero" size="xl">
6666
<Link to="/buy">
6767
Buy $ZLN Token
6868
<ArrowRight className="ml-1 h-5 w-5" />
6969
</Link>
70-
</Button>
70+
</Button> */}
7171
</motion.div>
7272

7373
{/* Stats */}

src/pages/Index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const Index = () => {
3939
<TeamPhilosophy />
4040
<FAQSection />
4141
<LegalNotice />
42-
<NotifyLaunchSection />
42+
{/* <NotifyLaunchSection /> */}
4343
<ContactSection />
4444
<Footer />
4545
</div>

0 commit comments

Comments
 (0)