feat(docs): migrate documentation site into monorepo (#5912)

This commit is contained in:
Thomas authored and GitHub committed 2026-06-11 18:48:39 +02:00
1 parent 3e464a76f2
commit 9e421c67bd
605 files changed
+26764 -219

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
import { ReactNode } from "react";
import { Badge } from "../ui/badge";
interface DocsHeaderProps {
title: string;
description: string;
icon: ReactNode;
categories: string[];
}
export const DocsHeader = (props: DocsHeaderProps) => {
return (
<div className="flex gap-4 mt-4">
{props.icon}
<div>
<div className="flex gap-4 items-center">
<h1 className="!mb-0 text-4xl">{props.title}</h1>
<div className="flex gap-2">
{props.categories.map((category) => (
<Badge>{category}</Badge>
))}
</div>
</div>
<p>{props.description}</p>
</div>
</div>
);
};