50 lines
1.6 KiB
TypeScript
50 lines
1.6 KiB
TypeScript
"use client"
|
|
|
|
import Link from "next/link"
|
|
import { Button } from "@/components/ui/button"
|
|
import { ThemeToggle } from "@/components/ui/theme-toggle"
|
|
import { motion } from "framer-motion"
|
|
|
|
function Navbar() {
|
|
return (
|
|
<motion.header
|
|
className="fixed top-0 left-0 right-0 z-50 py-4 px-6 md:px-12 lg:px-24"
|
|
initial={{ opacity: 0, y: -20 }}
|
|
animate={{ opacity: 1, y: 0 }}
|
|
transition={{ duration: 0.5 }}
|
|
>
|
|
<div className="container mx-auto flex items-center justify-between">
|
|
<Link href="/" className="flex items-center gap-2">
|
|
<span className="text-2xl font-bold text-primary">MEME</span>
|
|
</Link>
|
|
|
|
<nav className="hidden md:flex items-center gap-8">
|
|
<Link href="#about" className="text-foreground hover:text-primary transition-colors">
|
|
About
|
|
</Link>
|
|
<Link href="#tokenomics" className="text-foreground hover:text-primary transition-colors">
|
|
Tokenomics
|
|
</Link>
|
|
<Link href="#roadmap" className="text-foreground hover:text-primary transition-colors">
|
|
Roadmap
|
|
</Link>
|
|
<Link href="#community" className="text-foreground hover:text-primary transition-colors">
|
|
Community
|
|
</Link>
|
|
</nav>
|
|
|
|
<div className="flex items-center gap-4">
|
|
<ThemeToggle />
|
|
<Button variant="outline" className="hidden md:flex">
|
|
Connect Wallet
|
|
</Button>
|
|
<Button>
|
|
Buy Now
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</motion.header>
|
|
)
|
|
}
|
|
|
|
export { Navbar }
|