A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
feat(landing): minor revamp to the landing page
Mohamed Bassemb690b4c80052
diff --git a/apps/landing/index.html b/apps/landing/index.htmlindex a6d67b66..ba3eee48 100644--- a/apps/landing/index.html+++ b/apps/landing/index.html@@ -59,7 +59,6 @@<link rel="icon" href="/favicon.ico" type="image/x-icon" sizes="16x16" /><link rel="apple-touch-icon" href="/apple-icon.png" />- <link href="/src/styles.css" rel="stylesheet" /><!-- Structured Data --><script type="application/ld+json">diff --git a/apps/landing/public/screenshots/dashboard-dark.webp b/apps/landing/public/screenshots/dashboard-dark.webpnew file mode 100644index 00000000..4084de0eBinary files /dev/null and b/apps/landing/public/screenshots/dashboard-dark.webp differdiff --git a/apps/landing/public/screenshots/dashboard-light.webp b/apps/landing/public/screenshots/dashboard-light.webpnew file mode 100644index 00000000..69092322Binary files /dev/null and b/apps/landing/public/screenshots/dashboard-light.webp differdiff --git a/apps/landing/public/screenshots/highlights.webp b/apps/landing/public/screenshots/highlights.webpnew file mode 100644index 00000000..0a60fb55Binary files /dev/null and b/apps/landing/public/screenshots/highlights.webp differdiff --git a/apps/landing/public/screenshots/reader-view.webp b/apps/landing/public/screenshots/reader-view.webpnew file mode 100644index 00000000..9104fd4aBinary files /dev/null and b/apps/landing/public/screenshots/reader-view.webp differdiff --git a/apps/landing/public/screenshots/rule-engine.webp b/apps/landing/public/screenshots/rule-engine.webpnew file mode 100644index 00000000..199802c0Binary files /dev/null and b/apps/landing/public/screenshots/rule-engine.webp differdiff --git a/apps/landing/public/screenshots/rules.webp b/apps/landing/public/screenshots/rules.webpnew file mode 100644index 00000000..29181da0Binary files /dev/null and b/apps/landing/public/screenshots/rules.webp differdiff --git a/apps/landing/public/screenshots/search.webp b/apps/landing/public/screenshots/search.webpnew file mode 100644index 00000000..41ad29e2Binary files /dev/null and b/apps/landing/public/screenshots/search.webp differdiff --git a/apps/landing/public/screenshots/tags.webp b/apps/landing/public/screenshots/tags.webpnew file mode 100644index 00000000..20b02743Binary files /dev/null and b/apps/landing/public/screenshots/tags.webp differdiff --git a/apps/landing/src/App.tsx b/apps/landing/src/App.tsxindex 51edebbc..9aef11f7 100644--- a/apps/landing/src/App.tsx+++ b/apps/landing/src/App.tsx@@ -5,15 +5,19 @@ import Privacy from "@/src/Privacy";import Terms from "@/src/Terms";import { BrowserRouter, Route, Routes } from "react-router";+import Layout from "./components/Layout";+import "@karakeep/tailwind-config/globals.css";export default function App() {return (<BrowserRouter><Routes>- <Route path="/" element={<Homepage />} />- <Route path="/apps" element={<Apps />} />- <Route path="/pricing" element={<Pricing />} />+ <Route element={<Layout />}>+ <Route path="/" element={<Homepage />} />+ <Route path="/apps" element={<Apps />} />+ <Route path="/pricing" element={<Pricing />} />+ </Route><Route path="/privacy" element={<Privacy />} /><Route path="/terms" element={<Terms />} /></Routes>diff --git a/apps/landing/src/Apps.tsx b/apps/landing/src/Apps.tsxindex f6e70af0..80475920 100644--- a/apps/landing/src/Apps.tsx+++ b/apps/landing/src/Apps.tsx@@ -1,4 +1,3 @@-import NavBar from "./Navbar";import SEO from "./SEO";import appleIcon from "/apple-icon.svg?url";import chromeIcon from "/chrome-icon.svg?url";@@ -101,14 +100,13 @@ function ListingSection({export default function Apps() {return (- <div className="min-h-screen bg-gray-50">+ <><SEOtitle="Apps & Extensions"description="Download Karakeep for iOS, Android, Chrome, and Firefox. Save bookmarks from any device with our mobile apps and browser extensions."path="/apps"/><div className="container mx-auto pb-16">- <NavBar /><main className="px-4 py-8 sm:px-6 sm:py-14"><h1 className="text-4xl font-bold text-gray-900 sm:text-5xl">Apps & Extensions@@ -135,6 +133,6 @@ export default function Apps() {</div></main></div>- </div>+ </>);}diff --git a/apps/landing/src/Homepage.tsx b/apps/landing/src/Homepage.tsxindex d49faa9b..15c8ac2f 100644--- a/apps/landing/src/Homepage.tsx+++ b/apps/landing/src/Homepage.tsx@@ -1,66 +1,38 @@-import { buttonVariants } from "@/components/ui/button";-import { cn } from "@/lib/utils";import {ArrowDownNarrowWide,+ BookOpen,Bookmark,BrainCircuit,CheckCheck,- Github,+ FileText,Highlighter,+ Link2,Plug,- Rocket,Rss,Server,- Star,SunMoon,+ Tag,TextSearch,Users,Workflow,+ Zap,} from "lucide-react";-import { Link } from "react-router";-import {- CLOUD_SIGNUP_LINK,- DEMO_LINK,- DOCS_LINK,- GITHUB_LINK,-} from "./constants";-import NavBar from "./Navbar";+import FeaturesGrid from "./components/FeaturesGrid";+import Hero from "./components/Hero";+import OpenSource from "./components/OpenSource";+import Platforms from "./components/Platforms";import SEO from "./SEO";-import appStoreBadge from "/app-store-badge.png?url";-import chromeExtensionBadge from "/chrome-extension-badge.png?url";-import firefoxAddonBadge from "/firefox-addon.png?url";-import playStoreBadge from "/google-play-badge.webp?url";-import screenshot from "/hero.webp?url";--const platforms = [- {- name: "iOS",- url: "https://apps.apple.com/us/app/karakeep-app/id6479258022",- badge: appStoreBadge,- },- {- name: "Android",- url: "https://play.google.com/store/apps/details?id=app.hoarder.hoardermobile&pcampaignid=web_share",- badge: playStoreBadge,- },- {- name: "Chrome Extension",- url: "https://chromewebstore.google.com/detail/karakeep/kgcjekpmcjjogibpjebkhaanilehneje",- badge: chromeExtensionBadge,- },- {- name: "Firefox Addon",- url: "https://addons.mozilla.org/en-US/firefox/addon/karakeep/",- badge: firefoxAddonBadge,- },-];+import readerViewScreenshot from "/screenshots/reader-view.webp?url";+import ruleEngineScreenshot from "/screenshots/rule-engine.webp?url";+import searchScreenshot from "/screenshots/search.webp?url";+import tagsScreenshot from "/screenshots/tags.webp?url";const featuresList = [{icon: Bookmark,title: "Bookmark",- description: "Bookmark links, take simple notes and store images and pdfs.",+ description: "Bookmark links, take simple notes and store images and PDFs.",},{icon: BrainCircuit,@@ -90,7 +62,7 @@ const featuresList = [icon: Highlighter,title: "Highlights",description:- "Mark and store highlights from your hoarded content for quick reference.",+ "Highlight text on any saved page and keep your highlights organized for quick reference.",},{icon: Plug,@@ -105,7 +77,7 @@ const featuresList = [{icon: Server,title: "Self Hosting",- description: "Easy self hosting with docker for privacy and control.",+ description: "Easy self hosting with Docker for privacy and control.",},{icon: CheckCheck,@@ -125,200 +97,79 @@ const featuresList = [},];-const currentYear = new Date().getFullYear();--function Banner() {- return (- <div className="border-b border-amber-200 bg-gradient-to-r from-amber-50 via-orange-50 to-rose-50 px-3 py-2 text-center sm:px-4 sm:py-3">- <div className="container flex flex-wrap items-center justify-center gap-x-2 gap-y-1 text-xs text-slate-700 sm:gap-3 sm:text-base">- <div className="flex flex-wrap items-center justify-center gap-1 px-2 py-0.5 sm:px-3 sm:py-1">- <Rocket className="size-4 text-amber-600 sm:size-5" />- <span className="font-semibold text-slate-800">- Karakeep Cloud Public Beta is Now Live- </span>- </div>- <a- href={CLOUD_SIGNUP_LINK}- target="_blank"- rel="noreferrer"- className="inline-flex items-center justify-center gap-1 text-xs font-semibold text-amber-700 underline decoration-amber-400 underline-offset-2 transition-all hover:text-amber-800 sm:rounded-full sm:border sm:border-amber-300 sm:bg-amber-500 sm:px-3 sm:py-1 sm:text-sm sm:text-white sm:no-underline sm:shadow-sm sm:hover:border-amber-400 sm:hover:bg-amber-600"- >- Join Now <span className="hidden sm:inline">→</span>- </a>- </div>- </div>- );-}--function Hero() {- return (- <div className="mt-10 flex flex-grow flex-col items-center justify-center gap-6 sm:mt-20">- <div className="mt-4 w-full space-y-6 text-center">- <h1 className="text-center text-3xl font-bold sm:text-6xl">- The{" "}- <span className="bg-gradient-to-r from-purple-600 to-red-600 bg-clip-text text-transparent">- Bookmark Everything- </span>{" "}- App- </h1>- <div className="mx-auto w-full gap-2 text-base md:w-3/6">- <p className="text-center text-gray-600">- Quickly save links, notes, and images and karakeep will- automatically tag them for you using AI for faster retrieval. Built- for the data hoarders out there!- </p>- </div>- <a- href={GITHUB_LINK}- target="_blank"- rel="noreferrer"- className="inline-flex items-center gap-2 rounded-full border border-gray-200 bg-white px-4 py-2 text-sm text-gray-700 shadow-sm transition-all hover:border-gray-300 hover:shadow-md"- >- <Star className="size-4 fill-yellow-400 text-yellow-400" />- <span className="font-semibold">22k</span>- <span className="text-gray-500">stars on GitHub</span>- </a>- </div>- <div className="flex h-10 gap-4">- <a- href={DEMO_LINK}- target="_blank"- className={cn(- "text flex w-28 gap-2",- buttonVariants({ variant: "default", size: "lg" }),- )}- rel="noreferrer"- >- Try Demo- </a>- <a- href={GITHUB_LINK}- target="_blank"- className={cn(- "flex gap-2",- buttonVariants({ variant: "outline", size: "lg" }),- )}- rel="noreferrer"- >- <Github /> GitHub- </a>- </div>- </div>- );-}--function Platforms() {- return (- <div className="bg-gray-100 py-20">- <h2 className="text-center text-3xl font-semibold">- Apps & Extensions for Seamless Access- </h2>- <p className="mt-2 text-center text-gray-600">- Enjoy seamless access with our mobile apps and browser extensions.- </p>- <div className="mt-6 flex flex-wrap items-center justify-center gap-6 px-6">- {platforms.map((platform) => (- <div key={platform.name}>- <a- href={platform.url}- target="_blank"- className="flex items-center justify-center gap-2"- rel="noreferrer"- >- <img- className="h-12 w-auto rounded-md"- alt={platform.name}- src={platform.badge}- />- </a>- </div>- ))}- </div>- </div>- );-}--function Features() {- return (- <div className="mx-auto block px-10 py-20 sm:w-4/5 sm:px-0">- <div className="grid grid-cols-1 gap-8 sm:grid-cols-4 sm:gap-14">- {featuresList.map((feature) => (- <div key={feature.title} className="flex flex-col gap-1 sm:gap-2">- <div className="flex gap-2">- <feature.icon size={20} />- <h3 className="text-md font-semibold text-gray-800">- {feature.title}- </h3>- </div>- <p className="text-gray-600">{feature.description}</p>- </div>- ))}- </div>- </div>- );-}--function Footer() {- return (- <div className="flex items-center justify-between bg-gray-100 px-10 py-6 text-sm">- <div>- © 2024-{currentYear}{" "}- <a href="https://localhostlabs.co.uk" target="_blank" rel="noreferrer">- Localhost Labs Ltd- </a>- </div>- <div className="flex items-center gap-6">- <Link to="/terms" className="flex justify-center gap-2 text-center">- Terms- </Link>- <Link to="/privacy" className="flex justify-center gap-2 text-center">- Privacy- </Link>- <a- href={DOCS_LINK}- target="_blank"- className="flex justify-center gap-2 text-center"- rel="noreferrer"- >- Docs- </a>- <a- href={GITHUB_LINK}- target="_blank"- className="flex justify-center gap-2 text-center"- rel="noreferrer"- >- GitHub- </a>- </div>- </div>- );-}--function Screenshots() {- return (- <div className="mx-auto mt-6 w-10/12">- <img- alt="Karakeep bookmark manager dashboard showing saved links, notes and images"- src={screenshot}- />- </div>- );-}+const _showcases = [+ {+ label: "BOOKMARKING",+ title: "Save Everything",+ headline: "One place for all your bookmarks",+ description:+ "Save links, notes, images, and PDFs from any device. Karakeep automatically fetches titles, descriptions, and images so you never lose context.",+ bullets: [+ { icon: Link2, text: "Save any link with one click" },+ { icon: FileText, text: "Store notes, images, and PDFs" },+ {+ icon: ArrowDownNarrowWide,+ text: "Auto-fetch metadata and thumbnails",+ },+ ],+ screenshot: tagsScreenshot,+ screenshotAlt: "Karakeep tags view",+ reverse: false,+ },+ {+ label: "ORGANIZATION",+ title: "AI-Powered Organization",+ headline: "Let AI organize your bookmarks",+ description:+ "Karakeep uses AI to automatically tag and categorize your bookmarks. Stop spending time filing things away — just save and let AI do the work.",+ bullets: [+ { icon: BrainCircuit, text: "Automatic AI-powered tagging" },+ { icon: Tag, text: "Smart categorization" },+ { icon: Zap, text: "Instant organization as you save" },+ ],+ screenshot: searchScreenshot,+ screenshotAlt: "Karakeep search view",+ reverse: true,+ },+ {+ label: "READING",+ title: "Reader View & Highlights",+ headline: "Read and highlight with ease",+ description:+ "Enjoy saved articles in a clean, distraction-free reader view. Highlight important passages and keep them organized for quick reference.",+ bullets: [+ { icon: BookOpen, text: "Distraction-free reader view for articles" },+ { icon: Highlighter, text: "Highlight text on any saved page" },+ ],+ screenshot: readerViewScreenshot,+ screenshotAlt: "Karakeep reader view",+ reverse: false,+ },+ {+ label: "AUTOMATION",+ title: "Rule Engine",+ headline: "Automate your workflow",+ description:+ "Create powerful automation rules to manage your bookmarks. Automatically tag, move, or organize content based on custom conditions.",+ bullets: [+ { icon: Workflow, text: "Build custom automation rules" },+ { icon: Zap, text: "Trigger actions on new bookmarks" },+ { icon: Tag, text: "Auto-tag based on URL patterns or content" },+ ],+ screenshot: ruleEngineScreenshot,+ screenshotAlt: "Karakeep rule engine",+ reverse: true,+ },+];export default function Homepage() {return (- <div className="flex min-h-screen flex-col">+ <><SEO path="/" />- <Banner />- <div className="container flex flex-col pb-10">- <NavBar />- <Hero />- </div>- <Screenshots />- <Features />+ <Hero />+ <FeaturesGrid features={featuresList} /><Platforms />- <Footer />- </div>+ <OpenSource />+ </>);}diff --git a/apps/landing/src/Navbar.tsx b/apps/landing/src/Navbar.tsxindex e60a6d7b..e9d51c47 100644--- a/apps/landing/src/Navbar.tsx+++ b/apps/landing/src/Navbar.tsx@@ -1,93 +1,138 @@+import { useState } from "react";import { buttonVariants } from "@/components/ui/button";import { cn } from "@/lib/utils";+import { Menu, X } from "lucide-react";import { Link } from "react-router";import { CLOUD_SIGNUP_LINK, DOCS_LINK, GITHUB_LINK } from "./constants";import Logo from "/icons/karakeep-full.svg?url";export default function NavBar() {- return (- <div className="flex justify-between px-3 py-4">- <Link to="/">- <img src={Logo} alt="logo" className="w-36" />- </Link>+ const [mobileOpen, setMobileOpen] = useState(false);- {/* Mobile navigation - show essential buttons */}- <div className="flex items-center gap-2 sm:hidden">- <Link- to="/pricing"- className="text-sm text-gray-600 hover:text-gray-900"- >- Pricing+ return (+ <nav className="sticky top-0 z-50 border-b border-gray-200/50 bg-white/70 backdrop-blur-xl">+ <div className="container flex items-center justify-between px-4 py-3">+ <Link to="/">+ <img src={Logo} alt="logo" className="w-36" /></Link>- <a- href="https://cloud.karakeep.app"- target="_blank"- className={cn(- "px-3 py-1.5 text-xs",- buttonVariants({ variant: "outline", size: "sm" }),- )}- rel="noreferrer"- >- Login- </a>- <a- href={CLOUD_SIGNUP_LINK}- target="_blank"- className={cn(- "px-3 py-1.5 text-xs",- buttonVariants({ variant: "default", size: "sm" }),- )}- rel="noreferrer"- >- Get Started- </a>- </div>- {/* Desktop navigation - show all items */}- <div className="hidden items-center gap-6 sm:flex">- <Link to="/pricing" className="flex justify-center gap-2 text-center">- Pricing- </Link>- <a- href={DOCS_LINK}- target="_blank"- className="flex justify-center gap-2 text-center"- rel="noreferrer"- >- Docs- </a>- <a- href={GITHUB_LINK}- target="_blank"- className="flex justify-center gap-2 text-center"- rel="noreferrer"- >- GitHub- </a>- <a- href="https://cloud.karakeep.app"- target="_blank"- className={cn(- "text flex h-full w-20 gap-2",- buttonVariants({ variant: "outline" }),- )}- rel="noreferrer"+ {/* Desktop navigation */}+ <div className="hidden items-center gap-6 md:flex">+ <Link+ to="/pricing"+ className="text-sm text-gray-600 transition-colors hover:text-gray-900"+ >+ Pricing+ </Link>+ <a+ href={DOCS_LINK}+ target="_blank"+ className="text-sm text-gray-600 transition-colors hover:text-gray-900"+ rel="noreferrer"+ >+ Docs+ </a>+ <a+ href={GITHUB_LINK}+ target="_blank"+ className="text-sm text-gray-600 transition-colors hover:text-gray-900"+ rel="noreferrer"+ >+ GitHub+ </a>+ <a+ href="https://cloud.karakeep.app"+ target="_blank"+ className={cn(+ "text flex h-full w-20 gap-2",+ buttonVariants({ variant: "outline" }),+ )}+ rel="noreferrer"+ >+ Login+ </a>+ <a+ href={CLOUD_SIGNUP_LINK}+ target="_blank"+ className={cn(+ "text flex h-full w-32 gap-2",+ buttonVariants({ variant: "default" }),+ )}+ rel="noreferrer"+ >+ Get Started+ </a>+ </div>++ {/* Mobile hamburger */}+ <button+ className="md:hidden"+ onClick={() => setMobileOpen(!mobileOpen)}+ aria-label="Toggle menu">- Login- </a>- <a- href={CLOUD_SIGNUP_LINK}- target="_blank"- className={cn(- "text flex h-full w-32 gap-2",- buttonVariants({ variant: "default" }),+ {mobileOpen ? (+ <X className="size-6 text-gray-700" />+ ) : (+ <Menu className="size-6 text-gray-700" />)}- rel="noreferrer"- >- Get Started- </a>+ </button></div>- </div>++ {/* Mobile menu */}+ {mobileOpen && (+ <div className="border-t border-gray-200/50 bg-white/95 px-4 pb-4 pt-2 backdrop-blur-xl md:hidden">+ <div className="flex flex-col gap-3">+ <Link+ to="/pricing"+ className="text-sm text-gray-600 hover:text-gray-900"+ onClick={() => setMobileOpen(false)}+ >+ Pricing+ </Link>+ <a+ href={DOCS_LINK}+ target="_blank"+ className="text-sm text-gray-600 hover:text-gray-900"+ rel="noreferrer"+ >+ Docs+ </a>+ <a+ href={GITHUB_LINK}+ target="_blank"+ className="text-sm text-gray-600 hover:text-gray-900"+ rel="noreferrer"+ >+ GitHub+ </a>+ <div className="mt-2 flex gap-3">+ <a+ href="https://cloud.karakeep.app"+ target="_blank"+ className={cn(+ "flex-1",+ buttonVariants({ variant: "outline", size: "sm" }),+ )}+ rel="noreferrer"+ >+ Login+ </a>+ <a+ href={CLOUD_SIGNUP_LINK}+ target="_blank"+ className={cn(+ "flex-1",+ buttonVariants({ variant: "default", size: "sm" }),+ )}+ rel="noreferrer"+ >+ Get Started+ </a>+ </div>+ </div>+ </div>+ )}+ </nav>);}diff --git a/apps/landing/src/Pricing.tsx b/apps/landing/src/Pricing.tsxindex 3dcacb91..78ec0681 100644--- a/apps/landing/src/Pricing.tsx+++ b/apps/landing/src/Pricing.tsx@@ -2,8 +2,7 @@ import { buttonVariants } from "@/components/ui/button";import { cn } from "@/lib/utils";import { Check, ExternalLink } from "lucide-react";-import { CLOUD_SIGNUP_LINK, DOCS_LINK, GITHUB_LINK } from "./constants";-import NavBar from "./Navbar";+import { CLOUD_SIGNUP_LINK, GITHUB_LINK } from "./constants";import SEO from "./SEO";const CONTACT_EMAIL = "mailto:[email protected]";@@ -81,12 +80,7 @@ const pricingTiers = [function PricingHeader() {return (<div className="text-center">- <h1 className="text-4xl font-bold sm:text-6xl">- Simple{" "}- <span className="bg-gradient-to-r from-purple-600 to-red-600 bg-clip-text text-transparent">- Pricing- </span>- </h1>+ <h1 className="text-4xl font-bold sm:text-6xl">Simple Pricing</h1><p className="mt-4 text-lg text-gray-600">Choose the plan that works best for you</p>@@ -165,15 +159,9 @@ function PricingCards() {);return (- <div className="mx-auto mt-16 max-w-6xl px-6">- {/* First 3 tiers */}- <div className="grid grid-cols-1 gap-8 md:grid-cols-3">- {pricingTiers.slice(0, 3).map(renderCard)}- </div>-- {/* Corporate tier - centered below */}- <div className="mt-8 flex justify-center">- <div className="w-full md:max-w-sm">{renderCard(pricingTiers[3])}</div>+ <div className="mx-auto mt-16 px-6">+ <div className="grid grid-cols-1 gap-6 md:grid-cols-2 xl:grid-cols-4">+ {pricingTiers.map(renderCard)}</div></div>);@@ -218,56 +206,21 @@ function FAQ() {);}-function Footer() {- const currentYear = new Date().getFullYear();-- return (- <div className="mt-24 flex items-center justify-between bg-gray-100 px-10 py-6 text-sm">- <div>- © 2024-{currentYear}{" "}- <a href="https://localhostlabs.co.uk" target="_blank" rel="noreferrer">- Localhost Labs Ltd- </a>- </div>- <div className="flex items-center gap-6">- <a- href={DOCS_LINK}- target="_blank"- className="flex justify-center gap-2 text-center"- rel="noreferrer"- >- Docs- </a>- <a- href={GITHUB_LINK}- target="_blank"- className="flex justify-center gap-2 text-center"- rel="noreferrer"- >- GitHub- </a>- </div>- </div>- );-}-export default function Pricing() {return (- <div className="min-h-screen bg-gray-50">+ <><SEOtitle="Pricing"description="Simple, transparent pricing for Karakeep. Free plan available. Pro plan at $4/month with AI tagging, full-text search, and 50GB storage. Self-hosted option is free forever."path="/pricing"/><div className="container mx-auto">- <NavBar /><div className="py-16"><PricingHeader /><PricingCards /><FAQ /></div></div>- <Footer />- </div>+ </>);}diff --git a/apps/landing/src/components/Banner.tsx b/apps/landing/src/components/Banner.tsxnew file mode 100644index 00000000..e37dfe5c--- /dev/null+++ b/apps/landing/src/components/Banner.tsx@@ -0,0 +1,26 @@+import { Rocket } from "lucide-react";++import { CLOUD_SIGNUP_LINK } from "../constants";++export default function Banner() {+ return (+ <div className="border-b border-amber-200 bg-gradient-to-r from-amber-50 via-orange-50 to-rose-50 px-3 py-2 text-center sm:px-4 sm:py-3">+ <div className="container flex flex-wrap items-center justify-center gap-x-2 gap-y-1 text-xs text-slate-700 sm:gap-3 sm:text-base">+ <div className="flex flex-wrap items-center justify-center gap-1 px-2 py-0.5 sm:px-3 sm:py-1">+ <Rocket className="size-4 text-amber-600 sm:size-5" />+ <span className="font-semibold text-slate-800">+ Karakeep Cloud Public Beta is Now Live+ </span>+ </div>+ <a+ href={CLOUD_SIGNUP_LINK}+ target="_blank"+ rel="noreferrer"+ className="inline-flex items-center justify-center gap-1 text-xs font-semibold text-amber-700 underline decoration-amber-400 underline-offset-2 transition-all hover:text-amber-800 sm:rounded-full sm:border sm:border-amber-300 sm:bg-amber-500 sm:px-3 sm:py-1 sm:text-sm sm:text-white sm:no-underline sm:shadow-sm sm:hover:border-amber-400 sm:hover:bg-amber-600"+ >+ Join Now <span className="hidden sm:inline">→</span>+ </a>+ </div>+ </div>+ );+}diff --git a/apps/landing/src/components/CallToAction.tsx b/apps/landing/src/components/CallToAction.tsxnew file mode 100644index 00000000..5d273f91--- /dev/null+++ b/apps/landing/src/components/CallToAction.tsx@@ -0,0 +1,44 @@+import { buttonVariants } from "@/components/ui/button";+import { cn } from "@/lib/utils";++import { CLOUD_SIGNUP_LINK, DEMO_LINK } from "../constants";++export default function CallToAction() {+ return (+ <section className="px-4 py-16 sm:py-24">+ <div className="mx-auto max-w-4xl overflow-hidden rounded-2xl bg-gradient-to-r from-purple-600 to-red-600 px-8 py-16 text-center shadow-2xl sm:px-16">+ <h2 className="text-3xl font-bold tracking-tight text-white sm:text-4xl">+ Start hoarding today+ </h2>+ <p className="mx-auto mt-4 max-w-xl text-lg text-purple-100">+ Join thousands of users who trust Karakeep to save and organize their+ digital life.+ </p>+ <div className="mt-8 flex flex-col items-center justify-center gap-4 sm:flex-row">+ <a+ href={CLOUD_SIGNUP_LINK}+ target="_blank"+ rel="noreferrer"+ className={cn(+ "w-full gap-2 bg-white px-8 text-purple-700 hover:bg-gray-100 sm:w-auto",+ buttonVariants({ size: "lg" }),+ )}+ >+ Get Started Free+ </a>+ <a+ href={DEMO_LINK}+ target="_blank"+ rel="noreferrer"+ className={cn(+ "w-full gap-2 border-white/30 px-8 text-white hover:bg-white/10 sm:w-auto",+ buttonVariants({ variant: "outline", size: "lg" }),+ )}+ >+ Try the Demo+ </a>+ </div>+ </div>+ </section>+ );+}diff --git a/apps/landing/src/components/FeatureShowcase.tsx b/apps/landing/src/components/FeatureShowcase.tsxnew file mode 100644index 00000000..e6e914ba--- /dev/null+++ b/apps/landing/src/components/FeatureShowcase.tsx@@ -0,0 +1,74 @@+import type { LucideIcon } from "lucide-react";++import { cn } from "@/lib/utils";++interface FeatureBullet {+ icon: LucideIcon;+ text: string;+}++interface FeatureShowcaseProps {+ label: string;+ title: string;+ headline: string;+ description: string;+ bullets: FeatureBullet[];+ screenshot: string;+ screenshotAlt: string;+ reverse?: boolean;+}++export default function FeatureShowcase({+ label,+ headline,+ description,+ bullets,+ screenshot,+ screenshotAlt,+ reverse = false,+}: FeatureShowcaseProps) {+ return (+ <section className="px-4 py-8 sm:py-12">+ <div className="mx-auto max-w-6xl rounded-2xl bg-gray-50/80 px-6 py-10 sm:px-12 sm:py-14">+ <div+ className={cn(+ "flex flex-col items-center gap-10 lg:flex-row lg:gap-14",+ reverse && "lg:flex-row-reverse",+ )}+ >+ {/* Text side */}+ <div className="flex flex-1 flex-col justify-center space-y-5">+ <span className="text-xs font-bold uppercase tracking-widest text-gray-500">+ {label}+ </span>+ <h2 className="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">+ {headline}+ </h2>+ <p className="text-base font-medium text-gray-500">{description}</p>+ <ul className="space-y-3 pt-2">+ {bullets.map((bullet) => (+ <li key={bullet.text} className="flex items-start gap-3">+ <div className="mt-0.5 rounded-lg bg-gray-100 p-1.5">+ <bullet.icon className="size-4 text-gray-500" />+ </div>+ <span className="text-gray-700">{bullet.text}</span>+ </li>+ ))}+ </ul>+ </div>++ {/* Screenshot side */}+ <div className="flex flex-1 items-center justify-center">+ <div className="relative p-4">+ {/* Glow behind card */}+ <div className="absolute inset-2 rounded-2xl bg-gradient-to-br from-gray-200/40 via-gray-100/30 to-transparent blur-2xl" />+ <div className="relative overflow-hidden rounded-xl border border-gray-200/80 bg-white shadow-lg">+ <img src={screenshot} alt={screenshotAlt} className="w-full" />+ </div>+ </div>+ </div>+ </div>+ </div>+ </section>+ );+}diff --git a/apps/landing/src/components/FeaturesGrid.tsx b/apps/landing/src/components/FeaturesGrid.tsxnew file mode 100644index 00000000..9bc4972d--- /dev/null+++ b/apps/landing/src/components/FeaturesGrid.tsx@@ -0,0 +1,39 @@+import type { LucideIcon } from "lucide-react";++interface Feature {+ icon: LucideIcon;+ title: string;+ description: string;+}++export default function FeaturesGrid({ features }: { features: Feature[] }) {+ return (+ <section className="bg-gray-50 px-4 py-16 sm:py-24">+ <div className="mx-auto max-w-6xl">+ <div className="text-center">+ <h2 className="text-3xl font-bold tracking-tight sm:text-4xl">+ Everything you need+ </h2>+ <p className="mx-auto mt-4 max-w-2xl text-lg text-gray-600">+ A complete toolkit for saving, organizing, and rediscovering your+ content.+ </p>+ </div>+ <div className="mt-12 grid grid-cols-1 gap-6 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">+ {features.map((feature) => (+ <div+ key={feature.title}+ className="group rounded-xl border border-gray-200 bg-white p-6 transition-all hover:border-purple-200 hover:shadow-lg"+ >+ <feature.icon className="mb-4 size-6 text-gray-800" />+ <h3 className="mb-2 font-semibold text-gray-900">+ {feature.title}+ </h3>+ <p className="text-sm text-gray-600">{feature.description}</p>+ </div>+ ))}+ </div>+ </div>+ </section>+ );+}diff --git a/apps/landing/src/components/Footer.tsx b/apps/landing/src/components/Footer.tsxnew file mode 100644index 00000000..c4345e0d--- /dev/null+++ b/apps/landing/src/components/Footer.tsx@@ -0,0 +1,88 @@+import { Link } from "react-router";++import { DOCS_LINK, GITHUB_LINK } from "../constants";+import Logo from "/icons/karakeep-full.svg?url";++const currentYear = new Date().getFullYear();++const footerLinks = {+ Product: [+ { label: "Pricing", href: "/pricing", internal: true },+ { label: "Apps & Extensions", href: "/apps", internal: true },+ { label: "Try Demo", href: "https://try.karakeep.app" },+ { label: "Karakeep Cloud", href: "https://cloud.karakeep.app" },+ ],+ Resources: [+ { label: "Documentation", href: DOCS_LINK },+ { label: "GitHub", href: GITHUB_LINK },+ { label: "Self-hosting Guide", href: `${DOCS_LINK}/installation/docker` },+ { label: "API Reference", href: `${DOCS_LINK}/api/karakeep-api` },+ ],+ Legal: [+ { label: "Terms of Service", href: "/terms", internal: true },+ { label: "Privacy Policy", href: "/privacy", internal: true },+ ],+};++export default function Footer() {+ return (+ <footer className="border-t border-gray-200 bg-white px-4 py-12">+ <div className="mx-auto max-w-6xl">+ <div className="grid grid-cols-2 gap-8 md:grid-cols-4">+ {/* Brand */}+ <div className="col-span-2 md:col-span-1">+ <img src={Logo} alt="Karakeep" className="w-32" />+ <p className="mt-3 text-sm text-gray-500">+ The Bookmark Everything App. Save, organize, and rediscover your+ content.+ </p>+ </div>++ {/* Link columns */}+ {Object.entries(footerLinks).map(([heading, links]) => (+ <div key={heading}>+ <h3 className="mb-3 text-sm font-semibold text-gray-900">+ {heading}+ </h3>+ <ul className="space-y-2">+ {links.map((link) => (+ <li key={link.label}>+ {"internal" in link && link.internal ? (+ <Link+ to={link.href}+ className="text-sm text-gray-500 transition-colors hover:text-gray-900"+ >+ {link.label}+ </Link>+ ) : (+ <a+ href={link.href}+ target="_blank"+ rel="noreferrer"+ className="text-sm text-gray-500 transition-colors hover:text-gray-900"+ >+ {link.label}+ </a>+ )}+ </li>+ ))}+ </ul>+ </div>+ ))}+ </div>++ <div className="mt-10 border-t border-gray-200 pt-6 text-center text-sm text-gray-500">+ © 2024-{currentYear}{" "}+ <a+ href="https://localhostlabs.co.uk"+ target="_blank"+ rel="noreferrer"+ className="hover:text-gray-900"+ >+ Localhost Labs Ltd+ </a>+ </div>+ </div>+ </footer>+ );+}diff --git a/apps/landing/src/components/Hero.tsx b/apps/landing/src/components/Hero.tsxnew file mode 100644index 00000000..9a202c0b--- /dev/null+++ b/apps/landing/src/components/Hero.tsx@@ -0,0 +1,75 @@+import { buttonVariants } from "@/components/ui/button";+import { cn } from "@/lib/utils";+import { Github, Star } from "lucide-react";++import { DEMO_LINK, GITHUB_LINK } from "../constants";+import heroImage from "/hero.webp?url";++export default function Hero() {+ return (+ <section className="relative overflow-hidden px-4 pb-20 pt-16 sm:pt-24">+ <div className="animate-fade-in-up mx-auto max-w-5xl text-center">+ <h1 className="text-3xl font-bold tracking-tight sm:text-5xl md:text-6xl lg:text-7xl">+ The{" "}+ <span className="bg-gradient-to-r from-purple-600 to-red-600 bg-clip-text text-transparent">+ Bookmark Everything+ </span>{" "}+ App+ </h1>+ <p className="mx-auto mt-6 max-w-2xl text-lg text-gray-600">+ Quickly save links, notes, and images and Karakeep will automatically+ tag them for you using AI for faster retrieval. Built for the data+ hoarders out there!+ </p>+ <div className="mt-6 flex items-center justify-center">+ <a+ href={GITHUB_LINK}+ target="_blank"+ rel="noreferrer"+ className="inline-flex items-center gap-2 rounded-full border border-gray-200 bg-white px-4 py-2 text-sm text-gray-700 shadow-sm transition-all hover:border-gray-300 hover:shadow-md"+ >+ <Star className="size-4 fill-yellow-400 text-yellow-400" />+ <span className="font-semibold">24k+</span>+ <span className="text-gray-500">stars on GitHub</span>+ </a>+ </div>+ <div className="mt-8 flex items-center justify-center gap-4">+ <a+ href={DEMO_LINK}+ target="_blank"+ className={cn(+ "gap-2 px-8",+ buttonVariants({ variant: "default", size: "lg" }),+ )}+ rel="noreferrer"+ >+ Try Demo+ </a>+ <a+ href={GITHUB_LINK}+ target="_blank"+ className={cn(+ "gap-2 px-8",+ buttonVariants({ variant: "outline", size: "lg" }),+ )}+ rel="noreferrer"+ >+ <Github className="size-5" /> GitHub+ </a>+ </div>+ </div>++ {/* Hero screenshot with browser mockup */}+ <div className="animate-fade-in relative mx-auto mt-16 max-w-screen-2xl px-4">+ {/* Glow effect */}+ <div className="animate-glow-pulse absolute -inset-4 rounded-3xl bg-gradient-to-r from-purple-400/20 via-pink-400/20 to-red-400/20 blur-3xl" />++ <img+ src={heroImage}+ alt="Karakeep dashboard"+ className="relative w-full"+ />+ </div>+ </section>+ );+}diff --git a/apps/landing/src/components/Layout.tsx b/apps/landing/src/components/Layout.tsxnew file mode 100644index 00000000..d7073b4e--- /dev/null+++ b/apps/landing/src/components/Layout.tsx@@ -0,0 +1,18 @@+import { Outlet } from "react-router";++import Banner from "./Banner";+import Footer from "./Footer";+import NavBar from "../Navbar";++export default function Layout() {+ return (+ <div className="flex min-h-screen flex-col bg-gray-50">+ <Banner />+ <NavBar />+ <div className="flex-1">+ <Outlet />+ </div>+ <Footer />+ </div>+ );+}diff --git a/apps/landing/src/components/OpenSource.tsx b/apps/landing/src/components/OpenSource.tsxnew file mode 100644index 00000000..e23cb97a--- /dev/null+++ b/apps/landing/src/components/OpenSource.tsx@@ -0,0 +1,56 @@+import { buttonVariants } from "@/components/ui/button";+import { cn } from "@/lib/utils";+import { Github } from "lucide-react";++import { DOCS_LINK, GITHUB_LINK } from "../constants";++export default function OpenSource() {+ return (+ <section className="bg-gray-900 px-4 py-16 sm:py-24">+ <div className="mx-auto max-w-4xl text-center">+ <Github className="mx-auto size-12 text-white" />+ <h2 className="mt-6 text-3xl font-bold tracking-tight text-white sm:text-4xl">+ Open Source & Self-Hostable+ </h2>+ <p className="mx-auto mt-4 max-w-2xl text-lg text-gray-400">+ Karakeep is fully open source. Run it on your own server with Docker,+ keep full control of your data, and contribute to the project.+ </p>++ <div className="mt-8 flex items-center justify-center gap-4">+ <a+ href={GITHUB_LINK}+ target="_blank"+ rel="noreferrer"+ className={cn(+ "gap-2 bg-white px-8 text-gray-900 hover:bg-gray-100",+ buttonVariants({ size: "lg" }),+ )}+ >+ <Github className="size-5" /> View on GitHub+ </a>+ <a+ href={`${DOCS_LINK}/installation/docker`}+ target="_blank"+ rel="noreferrer"+ className="inline-flex h-12 items-center justify-center gap-2 rounded-lg border border-gray-600 px-8 text-base font-medium text-white transition-colors hover:bg-gray-800"+ >+ Self-hosting docs+ </a>+ </div>++ <div className="mt-12 flex flex-wrap items-center justify-center gap-8 text-sm">+ <div className="text-center">+ <div className="text-3xl font-bold text-white">24k+</div>+ <div className="mt-1 text-gray-400">GitHub Stars</div>+ </div>+ <div className="h-8 w-px bg-gray-700" />+ <div className="text-center">+ <div className="text-3xl font-bold text-white">150+</div>+ <div className="mt-1 text-gray-400">Contributors</div>+ </div>+ </div>+ </div>+ </section>+ );+}diff --git a/apps/landing/src/components/Platforms.tsx b/apps/landing/src/components/Platforms.tsxnew file mode 100644index 00000000..835c3da8--- /dev/null+++ b/apps/landing/src/components/Platforms.tsx@@ -0,0 +1,86 @@+import { Code2, Globe, Terminal, Webhook } from "lucide-react";++import appStoreBadge from "/app-store-badge.png?url";+import chromeExtensionBadge from "/chrome-extension-badge.png?url";+import firefoxAddonBadge from "/firefox-addon.png?url";+import playStoreBadge from "/google-play-badge.webp?url";++const platforms = [+ {+ name: "iOS",+ url: "https://apps.apple.com/us/app/karakeep-app/id6479258022",+ badge: appStoreBadge,+ },+ {+ name: "Android",+ url: "https://play.google.com/store/apps/details?id=app.hoarder.hoardermobile&pcampaignid=web_share",+ badge: playStoreBadge,+ },+ {+ name: "Chrome Extension",+ url: "https://chromewebstore.google.com/detail/karakeep/kgcjekpmcjjogibpjebkhaanilehneje",+ badge: chromeExtensionBadge,+ },+ {+ name: "Firefox Addon",+ url: "https://addons.mozilla.org/en-US/firefox/addon/karakeep/",+ badge: firefoxAddonBadge,+ },+];++const extras = [+ { icon: Terminal, label: "CLI" },+ { icon: Code2, label: "REST API" },+ { icon: Webhook, label: "Webhooks" },+ { icon: Globe, label: "Web App" },+];++export default function Platforms() {+ return (+ <section className="bg-gray-50 px-4 py-16 sm:py-24">+ <div className="mx-auto max-w-6xl">+ <div className="text-center">+ <h2 className="text-3xl font-bold tracking-tight sm:text-4xl">+ Apps & Extensions for Seamless Access+ </h2>+ <p className="mx-auto mt-4 max-w-2xl text-lg text-gray-600">+ Access your bookmarks from anywhere with native apps and browser+ extensions.+ </p>+ </div>++ {/* Badges */}+ <div className="mt-10 flex flex-wrap items-center justify-center gap-6">+ {platforms.map((platform) => (+ <a+ key={platform.name}+ href={platform.url}+ target="_blank"+ rel="noreferrer"+ className="transition-transform hover:scale-105"+ >+ <img+ src={platform.badge}+ alt={platform.name}+ className="h-14 w-auto rounded-lg"+ />+ </a>+ ))}+ </div>++ {/* Extra integrations */}+ <div className="mt-10 flex flex-wrap items-center justify-center gap-4">+ {extras.map((extra) => (+ <div+ key={extra.label}+ className="flex items-center gap-2 rounded-full border border-gray-200 bg-white px-4 py-2 text-sm text-gray-700"+ >+ <extra.icon className="size-4 text-gray-500" />+ {extra.label}+ </div>+ ))}+ </div>+ </div>+ </section>+ );+}diff --git a/apps/landing/tailwind.config.ts b/apps/landing/tailwind.config.tsindex 44bb114c..5f050f46 100644--- a/apps/landing/tailwind.config.ts+++ b/apps/landing/tailwind.config.ts@@ -5,6 +5,29 @@ import web from "@karakeep/tailwind-config/web";const config = {content: web.content,presets: [web],+ theme: {+ extend: {+ keyframes: {+ "fade-in-up": {+ "0%": { opacity: "0", transform: "translateY(20px)" },+ "100%": { opacity: "1", transform: "translateY(0)" },+ },+ "fade-in": {+ "0%": { opacity: "0" },+ "100%": { opacity: "1" },+ },+ "glow-pulse": {+ "0%, 100%": { opacity: "0.4" },+ "50%": { opacity: "0.7" },+ },+ },+ animation: {+ "fade-in-up": "fade-in-up 0.6s ease-out forwards",+ "fade-in": "fade-in 0.8s ease-out forwards",+ "glow-pulse": "glow-pulse 3s ease-in-out infinite",+ },+ },+ },} satisfies Config;export default config;