redesign docs introduction page with compact 3x2 grid layout (#4598)

This commit is contained in:
Prathamesh
2026-03-30 16:14:02 -07:00
committed by GitHub
parent 5d30af9560
commit 25e25aaa2f
6 changed files with 86 additions and 61 deletions
+3 -3
View File
@@ -4,9 +4,9 @@
"description": "Mem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users.", "description": "Mem0 is a self-improving memory layer for LLM applications, enabling personalized AI experiences that save costs and delight users.",
"theme": "aspen", "theme": "aspen",
"colors": { "colors": {
"primary": "#9C58FA", "primary": "#8F74E0",
"light": "#9C58FA", "light": "#8F74E0",
"dark": "#9C58FA" "dark": "#8F74E0"
}, },
"favicon": "/logo/favicon.png", "favicon": "/logo/favicon.png",
"logo": { "logo": {
Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

+39 -44
View File
@@ -4,16 +4,16 @@ description: "Mem0 is a universal, self-improving memory layer for LLM applicati
mode: "custom" mode: "custom"
--- ---
{/* debug: welcome-layout-v2 */} {/* debug: welcome-layout-v3-grid */}
<div className="px-4 pt-16 pb-12 lg:pt-20 max-w-4xl mx-auto text-center space-y-6"> <div className="px-4 pt-8 pb-4 lg:pt-10 max-w-4xl mx-auto text-center space-y-3">
<h1 className="text-3xl lg:text-4xl font-bold text-gray-900 dark:text-zinc-50 tracking-tight mb-3"> <h1 className="text-3xl lg:text-4xl font-bold text-gray-900 dark:text-zinc-50 tracking-tight mb-2">
Build with <span className="text-primary">mem0</span> Build with <span className="text-primary">Mem0</span>
</h1> </h1>
<p className="max-w-2xl mx-auto text-base text-gray-600 dark:text-zinc-400 leading-relaxed"> <p className="max-w-2xl mx-auto text-base text-gray-600 dark:text-zinc-400 leading-relaxed">
Universal, Self-improving memory layer for LLM applications. Universal, Self-improving memory layer for LLM applications.
</p> </p>
<a <a
href="/platform/quickstart" href="/platform/quickstart"
@@ -24,31 +24,25 @@ mode: "custom"
</a> </a>
</div> </div>
<section className="px-4 max-w-6xl mx-auto space-y-4"> <section className="px-4 pt-4 pb-6 max-w-6xl mx-auto">
<div className="text-center"> <div className="grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
<h2 className="text-xl font-semibold text-gray-900 dark:text-zinc-100">
Mem0 Products
</h2>
</div>
<div className="grid gap-6 sm:grid-cols-2">
<a <a
href="/platform/overview" href="/platform/overview"
className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900" className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900"
> >
<img <img
className="block dark:hidden aspect-[4/3] w-full object-cover" className="block dark:hidden aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/light/mem0_platform.png" src="/images/docs thumbnails/light/mem0_platform.png"
alt="Mem0 Platform thumbnail" alt="Mem0 Platform thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<img <img
className="hidden dark:block aspect-[4/3] w-full object-cover" className="hidden dark:block aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/dark/mem0_platform.png" src="/images/docs thumbnails/dark/mem0_platform.png"
alt="Mem0 Platform thumbnail" alt="Mem0 Platform thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<div className="flex flex-1 flex-col gap-3 px-5 pb-6 pt-5 text-left"> <div className="flex flex-1 flex-col gap-2 px-4 pb-4 pt-3 text-left">
<h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary"> <h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary">
Mem0 Platform Mem0 Platform
</h3> </h3>
@@ -63,18 +57,18 @@ mode: "custom"
className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900" className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900"
> >
<img <img
className="block dark:hidden aspect-[4/3] w-full object-cover" className="block dark:hidden aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/light/mem0_open_source.png" src="/images/docs thumbnails/light/mem0_open_source.png"
alt="Mem0 Open Source thumbnail" alt="Mem0 Open Source thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<img <img
className="hidden dark:block aspect-[4/3] w-full object-cover" className="hidden dark:block aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/dark/mem0_open_source.png" src="/images/docs thumbnails/dark/mem0_open_source.png"
alt="Mem0 Open Source thumbnail" alt="Mem0 Open Source thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<div className="flex flex-1 flex-col gap-3 px-5 pb-6 pt-5 text-left"> <div className="flex flex-1 flex-col gap-2 px-4 pb-4 pt-3 text-left">
<h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary"> <h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary">
Mem0 Open Source Mem0 Open Source
</h3> </h3>
@@ -84,34 +78,23 @@ mode: "custom"
</div> </div>
</a> </a>
</div>
</section>
<section className="px-4 pt-12 pb-20 max-w-6xl mx-auto space-y-4">
<div className="text-center">
<h2 className="text-xl font-semibold text-gray-900 dark:text-zinc-100">
Developer Resources
</h2>
</div>
<div className="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
<a <a
href="/cookbooks/overview" href="/cookbooks/overview"
className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900" className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900"
> >
<img <img
className="block dark:hidden aspect-[4/3] w-full object-cover" className="block dark:hidden aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/light/Cookbooks.png" src="/images/docs thumbnails/light/Cookbooks.png"
alt="Cookbooks thumbnail" alt="Cookbooks thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<img <img
className="hidden dark:block aspect-[4/3] w-full object-cover" className="hidden dark:block aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/dark/Cookbooks.png" src="/images/docs thumbnails/dark/Cookbooks.png"
alt="Cookbooks thumbnail" alt="Cookbooks thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<div className="flex flex-1 flex-col gap-3 px-5 pb-6 pt-5 text-left"> <div className="flex flex-1 flex-col gap-2 px-4 pb-4 pt-3 text-left">
<h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary"> <h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary">
Cookbooks Cookbooks
</h3> </h3>
@@ -126,18 +109,18 @@ mode: "custom"
className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900" className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900"
> >
<img <img
className="block dark:hidden aspect-[4/3] w-full object-cover" className="block dark:hidden aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/light/Integrations.png" src="/images/docs thumbnails/light/Integrations.png"
alt="Integrations thumbnail" alt="Integrations thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<img <img
className="hidden dark:block aspect-[4/3] w-full object-cover" className="hidden dark:block aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/dark/Integrations.png" src="/images/docs thumbnails/dark/Integrations.png"
alt="Integrations thumbnail" alt="Integrations thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<div className="flex flex-1 flex-col gap-3 px-5 pb-6 pt-5 text-left"> <div className="flex flex-1 flex-col gap-2 px-4 pb-4 pt-3 text-left">
<h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary"> <h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary">
Integrations Integrations
</h3> </h3>
@@ -152,20 +135,20 @@ mode: "custom"
className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900" className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900"
> >
<img <img
className="block dark:hidden aspect-[4/3] w-full object-cover" className="block dark:hidden aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/light/API.png" src="/images/docs thumbnails/light/API.png"
alt="API reference thumbnail" alt="API reference thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<img <img
className="hidden dark:block aspect-[4/3] w-full object-cover" className="hidden dark:block aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/dark/API.png" src="/images/docs thumbnails/dark/API.png"
alt="API reference thumbnail" alt="API reference thumbnail"
style={{pointerEvents: "none"}} style={{pointerEvents: "none"}}
/> />
<div className="flex flex-1 flex-col gap-3 px-5 pb-6 pt-5 text-left"> <div className="flex flex-1 flex-col gap-2 px-4 pb-4 pt-3 text-left">
<h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary"> <h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary">
API reference API Reference
</h3> </h3>
<p className="text-sm text-gray-600 dark:text-zinc-400"> <p className="text-sm text-gray-600 dark:text-zinc-400">
Explore every REST endpoint with payload examples and usage guidance. Explore every REST endpoint with payload examples and usage guidance.
@@ -174,10 +157,22 @@ mode: "custom"
</a> </a>
<a <a
href="/platform/cli" href="/cli"
className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900" className="group flex h-full flex-col overflow-hidden rounded-2xl border border-gray-200 dark:border-zinc-800/40 bg-white dark:bg-zinc-900/40 transition hover:border-primary/60 hover:bg-gray-50 dark:hover:bg-zinc-900"
> >
<div className="flex flex-1 flex-col gap-3 px-5 pb-6 pt-5 text-left"> <img
className="block dark:hidden aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/light/CLI.png"
alt="CLI thumbnail"
style={{pointerEvents: "none"}}
/>
<img
className="hidden dark:block aspect-[2/1] w-full object-cover"
src="/images/docs thumbnails/dark/CLI.png"
alt="CLI thumbnail"
style={{pointerEvents: "none"}}
/>
<div className="flex flex-1 flex-col gap-2 px-4 pb-4 pt-3 text-left">
<h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary"> <h3 className="text-base font-semibold text-gray-900 dark:text-zinc-100 group-hover:text-primary">
CLI CLI
</h3> </h3>
+22 -7
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+22 -7
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 11 KiB