docs(site): add skins & architecture concept pages (#769)

Co-authored-by: Darius Cepulis <dcepulis@mux.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Steve Heffernan
2026-03-13 18:24:32 -05:00
committed by GitHub
co-authored by Darius Cepulis Claude Opus 4.6
parent b82b6dba7a
commit dbf717f1a7
58 changed files with 1940 additions and 587 deletions
@@ -0,0 +1,47 @@
---
import type { HTMLAttributes } from 'astro/types';
import { ChevronRight } from 'lucide-react';
import { isValidFramework } from '@/types/docs';
import { resolveDocsLinkUrl } from '@/utils/docs/routing';
interface Props extends Omit<HTMLAttributes<'a'>, 'href'> {
slug: string;
description?: string;
}
const { slug, description } = Astro.props;
const { framework: paramFramework } = Astro.params;
if (!paramFramework || !isValidFramework(paramFramework)) {
throw new Error(`Invalid or missing framework param "${paramFramework ?? 'undefined'}".`);
}
const { url: href } = resolveDocsLinkUrl({
targetSlug: slug,
contextFramework: paramFramework,
});
---
<div
class="docs-link-card mx-auto my-8 grid w-full max-w-3xl grid-cols-1 gap-4 has-[+_.docs-link-card]:mb-4 md:grid-cols-2 [&+.docs-link-card]:mt-4"
>
<a
href={href}
class="flex items-center justify-between gap-4 rounded-xs border border-manila-dark p-4 no-underline md:pl-6 dark:border-warm-gray intent:bg-manila-75 dark:intent:bg-warm-gray"
>
{
description ? (
<div>
<div class="font-bold">
<slot />
</div>
<div class="mt-2 text-p3">{description}</div>
</div>
) : (
<span>
<slot />
</span>
)
}
<ChevronRight size={14} />
</a>
</div>