Skip to content

Commit 96d2646

Browse files
committed
feat(web): /get-extension share page (desktop install + mobile share-flow)
Beta distribution page while the Chrome Web Store review is pending: download the unpacked build + step-by-step desktop install (Chrome/Edge/ Brave), and an honest mobile section (Chrome mobile has no extensions → use the paste-from-share flow; Kiwi Browser for Android power users). Bundles the built extension at /shoplit-extension.zip. Linked in footer.
1 parent bc1529d commit 96d2646

3 files changed

Lines changed: 115 additions & 0 deletions

File tree

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
import type { Metadata } from "next";
2+
import Link from "next/link";
3+
import { NavBar } from "@/components/nav-bar";
4+
import { Footer } from "@/components/footer";
5+
import { Download, Puzzle, Monitor, Smartphone } from "lucide-react";
6+
7+
export const metadata: Metadata = {
8+
title: "Get the shoplit extension (beta) · shoplit",
9+
description: "Add products to your shoplit cart in one click from Amazon, Myntra, Nykaa, Flipkart & AJIO.",
10+
};
11+
12+
const desktopSteps = [
13+
{ t: "Download & unzip", b: "Download the file below and unzip it — you'll get a folder called shoplit-extension." },
14+
{ t: "Open Chrome extensions", b: "Go to chrome://extensions and turn on Developer mode (top-right toggle)." },
15+
{ t: "Load it", b: "Click “Load unpacked” and select the unzipped shoplit-extension folder. Pin the shoplit icon." },
16+
{ t: "Connect your account", b: "Open the connect page, copy the code shown there, and paste it into the extension's popup → Connect." },
17+
{ t: "Start adding", b: "Open any product on Amazon, Myntra, Nykaa, Flipkart or AJIO and hit “+ Add to shoplit”." },
18+
];
19+
20+
const mobileSteps = [
21+
{ t: "Open the product in your shopping app", b: "On Nykaa, Myntra, Amazon, Flipkart or AJIO, open the product page." },
22+
{ t: "Tap Share → Copy", b: "Use the app's Share button and copy the link (or the whole “Check out this product…” text)." },
23+
{ t: "Paste into shoplit", b: "On shoplit.in open your cart, and in “Add a product” paste it. shoplit pulls the title automatically." },
24+
{ t: "Add", b: "Tweak the price/image if needed, pick the cart, and add. Done — no extension required." },
25+
];
26+
27+
export default function GetExtensionPage() {
28+
return (
29+
<>
30+
<NavBar variant="marketing" />
31+
<main className="mx-auto max-w-2xl px-4 sm:px-6 py-16">
32+
<div className="text-center mb-10">
33+
<span
34+
className="inline-grid place-items-center size-14 rounded-2xl text-accent mb-4"
35+
style={{ backgroundColor: "color-mix(in srgb, var(--accent) 12%, transparent)" }}
36+
>
37+
<Puzzle size={26} />
38+
</span>
39+
<p className="text-sm text-accent uppercase tracking-widest font-medium mb-2">Browser extension · Beta</p>
40+
<h1 className="font-serif text-4xl sm:text-5xl leading-[1.05] mb-3">Add to shoplit in one click</h1>
41+
<p className="text-muted text-lg leading-relaxed">
42+
Grab products straight from the product page — no copy-pasting links. It&apos;s pending
43+
Chrome Web Store review; until then, set it up manually (a minute on desktop).
44+
</p>
45+
</div>
46+
47+
{/* DESKTOP */}
48+
<section className="rounded-2xl border border-rule bg-cream p-6 sm:p-8">
49+
<div className="flex items-center gap-2 mb-4">
50+
<Monitor size={18} className="text-accent" />
51+
<h2 className="font-serif text-2xl">On desktop (Chrome, Edge, Brave)</h2>
52+
</div>
53+
<a
54+
href="/shoplit-extension.zip"
55+
download
56+
className="inline-flex items-center gap-2 rounded-full bg-ink text-cream px-6 py-3 font-medium hover:opacity-90 transition-opacity"
57+
>
58+
<Download size={18} /> Download for Chrome
59+
</a>
60+
<ol className="mt-7 space-y-5">
61+
{desktopSteps.map((s, i) => (
62+
<li key={s.t} className="flex gap-4">
63+
<span className="grid place-items-center size-7 shrink-0 rounded-full bg-accent text-cream text-sm font-semibold">{i + 1}</span>
64+
<div>
65+
<p className="font-medium">{s.t}</p>
66+
<p className="text-sm text-muted leading-relaxed">{s.b}</p>
67+
</div>
68+
</li>
69+
))}
70+
</ol>
71+
<div className="mt-7 pt-6 border-t border-rule flex flex-wrap items-center gap-x-5 gap-y-2 text-sm">
72+
<Link href="/connect-extension" className="text-accent font-medium underline underline-offset-4 hover:opacity-80">
73+
Open the connect page →
74+
</Link>
75+
<span className="text-muted">No account yet? <Link href="/login" className="text-ink hover:underline underline-offset-4">Create one free</Link></span>
76+
</div>
77+
</section>
78+
79+
{/* MOBILE */}
80+
<section className="rounded-2xl border border-rule bg-paper p-6 sm:p-8 mt-6">
81+
<div className="flex items-center gap-2 mb-3">
82+
<Smartphone size={18} className="text-accent" />
83+
<h2 className="font-serif text-2xl">On mobile</h2>
84+
</div>
85+
<p className="text-sm text-muted leading-relaxed mb-5">
86+
Heads up: <strong className="text-ink">Chrome on phones doesn&apos;t support extensions</strong> — that&apos;s
87+
an Android/iOS limitation, not a shoplit one. But you don&apos;t need it: add products by
88+
sharing the link into shoplit.
89+
</p>
90+
<ol className="space-y-5">
91+
{mobileSteps.map((s, i) => (
92+
<li key={s.t} className="flex gap-4">
93+
<span className="grid place-items-center size-7 shrink-0 rounded-full bg-ink text-cream text-sm font-semibold">{i + 1}</span>
94+
<div>
95+
<p className="font-medium">{s.t}</p>
96+
<p className="text-sm text-muted leading-relaxed">{s.b}</p>
97+
</div>
98+
</li>
99+
))}
100+
</ol>
101+
<p className="text-xs text-muted mt-6 leading-relaxed">
102+
Power users on Android: <strong className="text-ink">Kiwi Browser</strong> does support Chrome
103+
extensions — you can load the same downloaded folder there via its Extensions menu.
104+
</p>
105+
</section>
106+
107+
<p className="text-center text-xs text-muted mt-6">
108+
Once it&apos;s approved on the Chrome Web Store, desktop install becomes a single click — we&apos;ll update this page.
109+
</p>
110+
</main>
111+
<Footer />
112+
</>
113+
);
114+
}

web/components/footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export function Footer({ minimal = false }: { minimal?: boolean }) {
66
<div className="mx-auto max-w-6xl px-4 sm:px-6 py-8 text-sm text-muted flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4">
77
<p className="font-serif text-base text-ink">shoplit</p>
88
<nav className="flex flex-wrap items-center gap-5">
9+
<Link href="/get-extension" className="hover:text-ink transition-colors">Get extension</Link>
910
<Link href="/roadmap" className="hover:text-ink transition-colors">Roadmap</Link>
1011
<Link href="/feedback" className="hover:text-ink transition-colors">
1112
Request a feature

web/public/shoplit-extension.zip

14.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)