fix(docs): revert homepage href prefixes causing doubled /docs/docs/ 404s (#1341)

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Dhravya Shah 2026-07-22 13:24:17 -07:00 committed by GitHub
parent d5f95827ed
commit 72431e9afc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,19 +40,19 @@ export const HeroCard = ({ imageUrl, title, description, href }) => {
</p>
<div className="mt-8 flex flex-wrap items-center gap-3">
<a
href="/docs/concepts/how-it-works"
href="/concepts/how-it-works"
className="inline-flex items-center justify-center rounded-lg bg-gray-900 dark:bg-zinc-100 px-4 py-2.5 text-sm font-medium text-white dark:text-zinc-900 hover:bg-gray-800 dark:hover:bg-white transition-colors"
>
Architecture
</a>
<a
href="/docs/quickstart"
href="/quickstart"
className="inline-flex items-center justify-center rounded-lg border border-gray-200 dark:border-zinc-700 bg-white dark:bg-zinc-950 px-4 py-2.5 text-sm font-medium text-gray-900 dark:text-zinc-100 hover:bg-gray-50 dark:hover:bg-zinc-900 transition-colors"
>
Quickstart
</a>
<a
href="/docs/company-brain/setup"
href="/company-brain/setup"
className="inline-flex items-center justify-center rounded-lg px-3 py-2.5 text-sm font-medium text-gray-600 dark:text-zinc-400 hover:text-gray-900 dark:hover:text-zinc-100 hover:bg-gray-100/80 dark:hover:bg-zinc-800/80 transition-colors"
>
Set up your company brain
@ -65,25 +65,25 @@ export const HeroCard = ({ imageUrl, title, description, href }) => {
imageUrl="/docs/images/intro-company-brain.jpg"
title="Developer platform"
description="API reference, concepts, and SDKs"
href="/docs/overview/what-is-supermemory"
href="/overview/what-is-supermemory"
/>
<HeroCard
imageUrl="/docs/images/intro-company-brain-card.jpg"
title="Company brain"
description="Team knowledge on the same engine"
href="/docs/company-brain/overview"
href="/company-brain/overview"
/>
<HeroCard
imageUrl="/docs/images/intro-plugins.jpg"
title="Plugins and MCP"
description="Drop memory into Claude and coding agents"
href="/docs/supermemory-mcp/mcp"
href="/supermemory-mcp/mcp"
/>
<HeroCard
imageUrl="/docs/images/intro-developer-platform.png"
title="Self-hosting"
description="Run it locally with zero config"
href="/docs/self-hosting/overview"
href="/self-hosting/overview"
/>
</div>
</div>