Skip to content

Commit b3512bd

Browse files
moleboxclaude
andcommitted
Update geistdocs template
Pulls in latest template files including sitemap.md for LLM-friendly documentation indexing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 0362361 commit b3512bd

File tree

100 files changed

+1271
-2304
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+1271
-2304
lines changed

apps/docs/.gitignore

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1 @@
1-
# Generated data files
2-
content/examples-data.json
3-
4-
.source
5-
/public/*.st
6-
/public/*.toml
7-
/public/schema.json
8-
/public/schema.v1.json
9-
/public/schema.v2.json
10-
/public/feed.xml
111
.vercel
12-
13-
.env*.local

apps/docs/app/[lang]/(home)/components/centered-section.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import type { ReactNode } from "react";
22

3-
type CenteredSectionProps = {
4-
title: string;
5-
description: string;
3+
interface CenteredSectionProps {
64
children: ReactNode;
7-
};
5+
description: string;
6+
title: string;
7+
}
88

99
export const CenteredSection = ({
1010
title,
1111
description,
12-
children
12+
children,
1313
}: CenteredSectionProps) => (
1414
<div className="grid items-center gap-10 overflow-hidden px-4 py-8 sm:px-12 sm:py-12">
1515
<div className="mx-auto grid max-w-lg gap-4 text-center">

apps/docs/app/[lang]/(home)/components/cta.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import DynamicLink from "fumadocs-core/dynamic-link";
22
import { Button } from "@/components/ui/button";
33

4-
type CTAProps = {
5-
title: string;
6-
href: string;
4+
interface CTAProps {
75
cta: string;
8-
};
6+
href: string;
7+
title: string;
8+
}
99

1010
export const CTA = ({ title, href, cta }: CTAProps) => (
1111
<section className="flex flex-col gap-4 px-8 py-10 sm:px-12 md:flex-row md:items-center md:justify-between">

apps/docs/app/[lang]/(home)/components/hero.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import type { ReactNode } from "react";
22
import { Badge } from "@/components/ui/badge";
33

4-
type HeroProps = {
4+
interface HeroProps {
55
badge: string;
6-
title: string;
7-
description: string;
86
children: ReactNode;
9-
};
7+
description: string;
8+
title: string;
9+
}
1010

1111
export const Hero = ({ badge, title, description, children }: HeroProps) => (
1212
<section className="mt-(--fd-nav-height) space-y-6 px-4 pt-16 pb-16 text-center sm:pt-24">

apps/docs/app/[lang]/(home)/components/one-two-section.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import type { ReactNode } from "react";
22

3-
type OneTwoSectionProps = {
4-
title: string;
5-
description: string;
3+
interface OneTwoSectionProps {
64
children?: ReactNode;
7-
};
5+
description: string;
6+
title: string;
7+
}
88

99
export const OneTwoSection = ({
1010
title,
1111
description,
12-
children
12+
children,
1313
}: OneTwoSectionProps) => (
1414
<div className="grid gap-12 p-8 sm:grid-cols-3 sm:gap-0 sm:divide-x sm:p-0">
1515
<div className="flex flex-col gap-2 text-balance sm:p-12">

apps/docs/app/[lang]/(home)/components/templates.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
import Image from "next/image";
22
import { cn } from "@/lib/utils";
33

4-
type TemplatesProps = {
5-
title: string;
6-
description: string;
4+
interface TemplatesProps {
75
data: {
86
title: string;
97
description: string;
108
link: string;
119
image: string;
1210
}[];
13-
};
11+
description: string;
12+
title: string;
13+
}
1414

1515
export const Templates = ({ title, description, data }: TemplatesProps) => (
1616
<div className="grid gap-12 p-8 px-4 py-8 sm:p-12 sm:px-12 sm:py-12">
@@ -36,8 +36,8 @@ export const Templates = ({ title, description, data }: TemplatesProps) => (
3636
<Image
3737
alt={item.title}
3838
className={cn(
39-
"-rotate-3 -mb-12 mt-8 ml-7 aspect-video overflow-hidden rounded-md border object-cover object-top",
40-
"group-hover:-rotate-1 transition-transform duration-300 group-hover:scale-105"
39+
"mt-8 -mb-12 ml-7 aspect-video -rotate-3 overflow-hidden rounded-md border object-cover object-top",
40+
"transition-transform duration-300 group-hover:-rotate-1 group-hover:scale-105"
4141
)}
4242
height={336}
4343
src={item.image}

apps/docs/app/[lang]/(home)/components/text-grid-section.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
type TextGridSectionProps = {
1+
interface TextGridSectionProps {
22
data: {
33
id: string;
44
title: string;
55
description: string;
66
}[];
7-
};
7+
}
88

99
export const TextGridSection = ({ data }: TextGridSectionProps) => (
1010
<div className="grid gap-8 px-4 py-8 sm:px-12 sm:py-12 md:grid-cols-3">

apps/docs/app/[lang]/(home)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Layout = async ({ children, params }: LayoutProps<"/[lang]">) => {
66

77
return (
88
<HomeLayout tree={source.pageTree[lang]}>
9-
<div className="bg-background pt-0 pb-32">{children}</div>
9+
<div className="bg-sidebar pt-0 pb-32 dark:bg-background">{children}</div>
1010
</HomeLayout>
1111
);
1212
};

0 commit comments

Comments
 (0)