A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
landing: add pastel tinted panels behind showcase mockups
Mohamed Bassem0e1d66644187
diff --git a/apps/landing/src/components/FeatureShowcase.tsx b/apps/landing/src/components/FeatureShowcase.tsxindex 6bdfe6e5..f46ccd63 100644--- a/apps/landing/src/components/FeatureShowcase.tsx+++ b/apps/landing/src/components/FeatureShowcase.tsx@@ -2,6 +2,16 @@ import type { ComponentType, ReactNode } from "react";import { cn } from "@/lib/utils";+// Pastel backgrounds for the panel behind each showcase visual.+const tints = {+ lavender: "bg-[#f3edf9]",+ peach: "bg-[#fcf2e9]",+ mint: "bg-[#edf7ef]",+ sky: "bg-[#eef2fb]",+};++export type ShowcaseTint = keyof typeof tints;+export interface FeatureBullet {icon: ComponentType<{ className?: string }>;text: string;@@ -12,6 +22,7 @@ interface FeatureShowcaseProps {headline: string;description: string;bullets: FeatureBullet[];+ tint: ShowcaseTint;reverse?: boolean;children: ReactNode;}@@ -21,18 +32,19 @@ export default function FeatureShowcase({headline,description,bullets,+ tint,reverse = false,children,}: FeatureShowcaseProps) {return (<divclassName={cn(- "flex flex-col items-center gap-10 rounded-3xl bg-neutral-50 px-6 py-10 sm:px-12 sm:py-14 lg:flex-row lg:gap-[72px] lg:px-16",+ "flex flex-col gap-3 rounded-3xl border border-neutral-200 bg-white p-3 lg:flex-row",reverse && "lg:flex-row-reverse",)}>{/* Text side */}- <div className="flex flex-1 flex-col gap-[18px]">+ <div className="flex flex-1 flex-col justify-center gap-[18px] px-3 py-7 sm:px-9 sm:py-10 lg:px-[52px]"><span className="text-xs font-bold tracking-[0.14em] text-neutral-500">{label}</span>@@ -57,7 +69,12 @@ export default function FeatureShowcase({</div>{/* Visual side */}- <div className="flex w-full flex-1 items-center justify-center">+ <div+ className={cn(+ "flex w-full flex-1 items-center justify-center rounded-2xl px-5 py-10 sm:px-12 sm:py-14",+ tints[tint],+ )}+ >{children}</div></div>@@ -68,6 +85,7 @@ interface FeatureShowcaseHalfProps {label: string;headline: string;description: string;+ tint: ShowcaseTint;children: ReactNode;}@@ -76,18 +94,28 @@ export function FeatureShowcaseHalf({label,headline,description,+ tint,children,}: FeatureShowcaseHalfProps) {return (- <div className="flex flex-col gap-[18px] rounded-3xl bg-neutral-50 px-6 py-10 sm:px-12 sm:py-12">- <span className="text-xs font-bold tracking-[0.14em] text-neutral-500">- {label}- </span>- <h3 className="font-display text-2xl font-bold tracking-[-0.02em] text-neutral-900 sm:text-[28px] sm:leading-[1.2]">- {headline}- </h3>- <p className="text-base leading-[1.65] text-neutral-500">{description}</p>- <div className="mt-2 flex w-full grow items-center justify-center">+ <div className="flex flex-col gap-3 rounded-3xl border border-neutral-200 bg-white p-3">+ <div className="flex flex-col gap-[18px] px-3 pb-4 pt-7 sm:px-9 sm:pt-9">+ <span className="text-xs font-bold tracking-[0.14em] text-neutral-500">+ {label}+ </span>+ <h3 className="font-display text-2xl font-bold tracking-[-0.02em] text-neutral-900 sm:text-[28px] sm:leading-[1.2]">+ {headline}+ </h3>+ <p className="text-base leading-[1.65] text-neutral-500">+ {description}+ </p>+ </div>+ <div+ className={cn(+ "flex w-full grow items-center justify-center rounded-2xl px-5 py-8 sm:px-10 sm:py-10",+ tints[tint],+ )}+ >{children}</div></div>diff --git a/apps/landing/src/components/UseCases.tsx b/apps/landing/src/components/UseCases.tsxindex 07ee1ad3..e56c6526 100644--- a/apps/landing/src/components/UseCases.tsx+++ b/apps/landing/src/components/UseCases.tsx@@ -70,6 +70,7 @@ export default function UseCases() {<div className="mx-auto mt-16 flex max-w-[1248px] flex-col gap-10"><FeatureShowcaselabel="BOOKMARKING"+ tint="lavender"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={[@@ -91,6 +92,7 @@ export default function UseCases() {<FeatureShowcaselabel="SEARCH"+ tint="peach"headline="Find it the way you remember it"description="Search the full text of everything you save, or switch to semantic search and find bookmarks by what they mean, not just the words they contain."bullets={[@@ -114,6 +116,7 @@ export default function UseCases() {<FeatureShowcaselabel="ORGANIZATION"+ tint="lavender"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={[@@ -127,6 +130,7 @@ export default function UseCases() {<FeatureShowcaselabel="READING"+ tint="mint"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={[@@ -149,6 +153,7 @@ export default function UseCases() {<FeatureShowcaselabel="AUTOMATION"+ tint="sky"headline="Automate your workflow"description="Create powerful automation rules to manage your bookmarks. Automatically tag, move, or organize content based on custom conditions."bullets={[@@ -163,6 +168,7 @@ export default function UseCases() {<div className="grid gap-10 lg:grid-cols-2"><FeatureShowcaseHalflabel="RSS FEEDS"+ tint="peach"headline="Your feeds, on autopilot"description="Subscribe to blogs and news sites and Karakeep saves new posts automatically. They're tagged, indexed, and searchable like everything else. Any list can be published back out as an RSS feed, too.">@@ -170,6 +176,7 @@ export default function UseCases() {</FeatureShowcaseHalf><FeatureShowcaseHalflabel="COLLABORATION"+ tint="mint"headline="Curate lists together"description="Invite friends or teammates into any list as editors or viewers. Plan a trip, run a book club, or build a team reading list. Everyone sees the same collection.">