|
| 1 | +import type { Metadata } from "next"; |
| 2 | +import { NavBar } from "@/components/nav-bar"; |
| 3 | +import { Footer } from "@/components/footer"; |
| 4 | +import { RevealOnScroll } from "@/components/reveal-on-scroll"; |
| 5 | +import { |
| 6 | + Lock, ImageUp, UsersRound, Search, Rss, Heart, Star, |
| 7 | + Wallet, BellRing, FolderHeart, Puzzle, Mail, ArrowRight, |
| 8 | +} from "lucide-react"; |
| 9 | + |
| 10 | +export const metadata: Metadata = { |
| 11 | + title: "Roadmap · shoplit", |
| 12 | + description: "What's shipping next on shoplit — and tell us what to build.", |
| 13 | +}; |
| 14 | + |
| 15 | +const FEEDBACK_EMAIL = "mayur.das4@gmail.com"; |
| 16 | +const mailto = |
| 17 | + `mailto:${FEEDBACK_EMAIL}` + |
| 18 | + `?subject=${encodeURIComponent("shoplit feature request")}` + |
| 19 | + `&body=${encodeURIComponent("Hi! I'd love shoplit to have:\n\n")}`; |
| 20 | + |
| 21 | +type Status = "Beta" | "Soon" | "Planned" | "Exploring"; |
| 22 | + |
| 23 | +const STATUS_STYLE: Record<Status, string> = { |
| 24 | + Beta: "bg-accent text-cream", |
| 25 | + Soon: "bg-accent/15 text-accent", |
| 26 | + Planned: "bg-ink/10 text-ink", |
| 27 | + Exploring: "border border-rule text-muted", |
| 28 | +}; |
| 29 | + |
| 30 | +interface Item { |
| 31 | + icon: React.ReactNode; |
| 32 | + title: string; |
| 33 | + body: string; |
| 34 | + status: Status; |
| 35 | +} |
| 36 | + |
| 37 | +const ITEMS: Item[] = [ |
| 38 | + { icon: <Puzzle size={20} />, title: "Browser extension", status: "Beta", |
| 39 | + body: "Add products to your cart in one click from Amazon, Myntra, Nykaa, Flipkart & AJIO — straight from the product page." }, |
| 40 | + { icon: <Lock size={20} />, title: "Public & private carts", status: "Soon", |
| 41 | + body: "Decide who can see each cart — keep some public, others just for you until you're ready to share." }, |
| 42 | + { icon: <ImageUp size={20} />, title: "Upload your own cover", status: "Soon", |
| 43 | + body: "Drag-and-drop your own cover images, not just paste a URL — make every cart unmistakably yours." }, |
| 44 | + { icon: <UsersRound size={20} />, title: "Share with select people", status: "Soon", |
| 45 | + body: "Private links you can share with a chosen few — perfect for client edits or close-friends drops." }, |
| 46 | + { icon: <Wallet size={20} />, title: "Earnings dashboard", status: "Planned", |
| 47 | + body: "See clicks, conversions and affiliate earnings per cart and product — know what's working." }, |
| 48 | + { icon: <Search size={20} />, title: "Discover creators", status: "Exploring", |
| 49 | + body: "Search creators and browse their carts — a place to find taste you trust before you shop." }, |
| 50 | + { icon: <UsersRound size={20} />, title: "Follow creators", status: "Exploring", |
| 51 | + body: "Follow your favourites and get notified when they drop a new cart or product." }, |
| 52 | + { icon: <Rss size={20} />, title: "Your feed", status: "Exploring", |
| 53 | + body: "A home feed of fresh carts and finds from the creators you follow." }, |
| 54 | + { icon: <Heart size={20} />, title: "Wishlists", status: "Exploring", |
| 55 | + body: "Save products you love from any cart into your own wishlist to shop later." }, |
| 56 | + { icon: <Star size={20} />, title: "Reviews & ratings", status: "Exploring", |
| 57 | + body: "Creators and shoppers rate products, so recommendations come with real signal." }, |
| 58 | + { icon: <FolderHeart size={20} />, title: "Collections", status: "Exploring", |
| 59 | + body: "Group carts into themed collections on your profile — \"Skincare\", \"Diwali\", \"Desk setup\"." }, |
| 60 | + { icon: <BellRing size={20} />, title: "Price-drop alerts", status: "Exploring", |
| 61 | + body: "Get pinged when a product you saved drops in price." }, |
| 62 | +]; |
| 63 | + |
| 64 | +export default function RoadmapPage() { |
| 65 | + return ( |
| 66 | + <> |
| 67 | + <NavBar variant="marketing" /> |
| 68 | + <main className="mx-auto max-w-6xl px-4 sm:px-6"> |
| 69 | + {/* HERO */} |
| 70 | + <section className="pt-16 pb-10 sm:pt-24 sm:pb-14 text-center max-w-2xl mx-auto"> |
| 71 | + <p className="text-sm text-accent uppercase tracking-widest font-medium mb-3">Roadmap</p> |
| 72 | + <h1 className="font-serif text-4xl sm:text-5xl leading-[1.05] mb-4">Where shoplit is headed</h1> |
| 73 | + <p className="text-muted text-lg leading-relaxed mb-8"> |
| 74 | + shoplit is just getting started. Here's what we're building next — and the |
| 75 | + single best way to shape it is to tell us what you want. |
| 76 | + </p> |
| 77 | + <a |
| 78 | + href={mailto} |
| 79 | + className="inline-flex items-center gap-2 rounded-full bg-ink text-cream px-6 py-3 font-medium hover:opacity-90 transition-opacity" |
| 80 | + > |
| 81 | + <Mail size={16} /> Request a feature |
| 82 | + </a> |
| 83 | + </section> |
| 84 | + |
| 85 | + {/* GRID */} |
| 86 | + <section className="pb-16"> |
| 87 | + <div className="grid gap-4 sm:gap-5 sm:grid-cols-2 lg:grid-cols-3"> |
| 88 | + {ITEMS.map((it, i) => ( |
| 89 | + <RevealOnScroll key={it.title} index={i}> |
| 90 | + <article className="h-full rounded-2xl border border-rule bg-cream p-5 sm:p-6 transition-all hover:shadow-md hover:-translate-y-0.5"> |
| 91 | + <div className="flex items-center justify-between mb-3"> |
| 92 | + <span |
| 93 | + className="grid place-items-center size-10 rounded-xl text-accent" |
| 94 | + style={{ backgroundColor: "color-mix(in srgb, var(--accent) 12%, transparent)" }} |
| 95 | + > |
| 96 | + {it.icon} |
| 97 | + </span> |
| 98 | + <span className={`text-[11px] font-medium uppercase tracking-wider rounded-full px-2.5 py-1 ${STATUS_STYLE[it.status]}`}> |
| 99 | + {it.status} |
| 100 | + </span> |
| 101 | + </div> |
| 102 | + <h3 className="font-serif text-xl mb-1.5">{it.title}</h3> |
| 103 | + <p className="text-sm text-muted leading-relaxed">{it.body}</p> |
| 104 | + </article> |
| 105 | + </RevealOnScroll> |
| 106 | + ))} |
| 107 | + </div> |
| 108 | + </section> |
| 109 | + |
| 110 | + {/* CLOSING CTA */} |
| 111 | + <section className="pb-24"> |
| 112 | + <div className="rounded-2xl bg-ink text-cream px-6 sm:px-10 py-10 sm:py-14 text-center"> |
| 113 | + <h2 className="font-serif text-3xl sm:text-4xl mb-3">Got an idea? We're listening.</h2> |
| 114 | + <p className="text-cream/80 max-w-xl mx-auto mb-7 leading-relaxed"> |
| 115 | + Every feature here started as a creator's request. Tell us what would make |
| 116 | + shoplit indispensable for you — we read every email. |
| 117 | + </p> |
| 118 | + <a |
| 119 | + href={mailto} |
| 120 | + className="inline-flex items-center gap-2 rounded-full bg-accent text-cream px-6 py-3 font-medium hover:opacity-90 transition-opacity" |
| 121 | + > |
| 122 | + Email us your idea <ArrowRight size={16} /> |
| 123 | + </a> |
| 124 | + <p className="text-cream/60 text-sm mt-4">{FEEDBACK_EMAIL}</p> |
| 125 | + </div> |
| 126 | + </section> |
| 127 | + </main> |
| 128 | + <Footer /> |
| 129 | + </> |
| 130 | + ); |
| 131 | +} |
0 commit comments