@vercel/geistdocs 1.11.0 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/dist/cli/index.js +1 -1
- package/dist/home-layout.d.ts.map +1 -1
- package/dist/home-layout.js +4 -3
- package/dist/internal/navbar/mobile-menu.js +1 -1
- package/dist/internal/navbar/navbar-logo.js +1 -1
- package/dist/internal/page-footer.d.ts +9 -0
- package/dist/internal/page-footer.d.ts.map +1 -0
- package/dist/internal/page-footer.js +34 -0
- package/dist/internal/scroll-state.d.ts +8 -0
- package/dist/internal/scroll-state.d.ts.map +1 -0
- package/dist/internal/scroll-state.js +22 -0
- package/dist/navbar.d.ts.map +1 -1
- package/dist/navbar.js +2 -2
- package/dist/pages/docs.d.ts.map +1 -1
- package/dist/pages/docs.js +2 -1
- package/docs/agents.md +1 -1
- package/docs/llms.txt +1 -1
- package/docs/manifest.json +1 -1
- package/package.json +10 -4
- package/styles.css +4 -734
- package/template/app/[lang]/(home)/components/centered-section.tsx +2 -2
- package/template/app/[lang]/(home)/components/cta.tsx +3 -3
- package/template/app/[lang]/(home)/components/hero.tsx +3 -3
- package/template/app/[lang]/(home)/components/one-two-section.tsx +4 -4
- package/template/app/[lang]/(home)/components/templates.tsx +4 -4
- package/template/app/[lang]/(home)/components/text-grid-section.tsx +2 -2
- package/template/app/[lang]/(home)/page.tsx +1 -1
- package/template/app/styles/geistdocs.css +6 -566
- package/template/package.json +1 -1
- package/theme.css +758 -0
|
@@ -11,9 +11,9 @@ export const CenteredSection = ({
|
|
|
11
11
|
description,
|
|
12
12
|
children,
|
|
13
13
|
}: CenteredSectionProps) => (
|
|
14
|
-
<div className="grid items-center gap-10 overflow-hidden px-4
|
|
14
|
+
<div className="grid items-center gap-10 overflow-hidden @min-[640px]:px-12 px-4 @min-[640px]:py-12 py-8">
|
|
15
15
|
<div className="mx-auto grid max-w-lg gap-4 text-center">
|
|
16
|
-
<h2 className="font-
|
|
16
|
+
<h2 className="font-[450]! @min-[1024px]:text-[40px] @min-[640px]:text-2xl @min-[768px]:text-3xl text-gray-1000 text-xl tracking-tighter">
|
|
17
17
|
{title}
|
|
18
18
|
</h2>
|
|
19
19
|
<p className="text-balance text-gray-800 text-lg">{description}</p>
|
|
@@ -8,11 +8,11 @@ interface CTAProps {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export const CTA = ({ title, href, cta }: CTAProps) => (
|
|
11
|
-
<section className="flex flex-col
|
|
12
|
-
<h2 className="
|
|
11
|
+
<section className="flex @min-[768px]:flex-row flex-col items-center @min-[768px]:justify-between gap-4 @min-[640px]:px-12 px-8 py-10">
|
|
12
|
+
<h2 className="@min-[768px]:text-left text-center font-[450]! @min-[640px]:text-heading-40 text-gray-1000 text-heading-32 tracking-tighter">
|
|
13
13
|
{title}
|
|
14
14
|
</h2>
|
|
15
|
-
<Button asChild size="lg">
|
|
15
|
+
<Button asChild className="w-fit rounded-full" size="lg">
|
|
16
16
|
<DynamicLink href={`/[lang]${href}`}>{cta}</DynamicLink>
|
|
17
17
|
</Button>
|
|
18
18
|
</section>
|
|
@@ -9,16 +9,16 @@ interface HeroProps {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export const Hero = ({ badge, title, description, children }: HeroProps) => (
|
|
12
|
-
<section className="mt-(--fd-nav-height) space-y-6 px-4 pt-16 pb-16 text-center
|
|
12
|
+
<section className="mt-(--fd-nav-height) space-y-6 px-4 @min-[640px]:pt-24 pt-16 pb-16 text-center">
|
|
13
13
|
<div className="mx-auto w-full max-w-4xl space-y-5">
|
|
14
14
|
<Badge className="rounded-full" variant="secondary">
|
|
15
15
|
<div className="size-2 rounded-full bg-gray-800" />
|
|
16
16
|
<p>{badge}</p>
|
|
17
17
|
</Badge>
|
|
18
|
-
<h1 className="text-balance text-center font-
|
|
18
|
+
<h1 className="text-balance text-center font-[450]! @min-[1280px]:text-6xl! @min-[640px]:text-5xl! text-[40px]! leading-[1.1] tracking-tighter">
|
|
19
19
|
{title}
|
|
20
20
|
</h1>
|
|
21
|
-
<p className="mx-auto max-w-3xl text-balance text-gray-800 leading-relaxed
|
|
21
|
+
<p className="mx-auto max-w-3xl text-balance @min-[640px]:text-xl text-gray-800 leading-relaxed">
|
|
22
22
|
{description}
|
|
23
23
|
</p>
|
|
24
24
|
</div>
|
|
@@ -11,13 +11,13 @@ export const OneTwoSection = ({
|
|
|
11
11
|
description,
|
|
12
12
|
children,
|
|
13
13
|
}: OneTwoSectionProps) => (
|
|
14
|
-
<div className="grid
|
|
15
|
-
<div className="flex flex-col gap-2 text-balance
|
|
16
|
-
<h2 className="font-
|
|
14
|
+
<div className="grid @min-[640px]:grid-cols-3 @min-[640px]:gap-0 gap-12 @min-[640px]:p-0 p-8">
|
|
15
|
+
<div className="flex flex-col gap-2 text-balance @min-[640px]:p-12">
|
|
16
|
+
<h2 className="font-[450]! @min-[640px]:text-2xl @min-[768px]:text-3xl text-gray-1000 text-xl tracking-tighter">
|
|
17
17
|
{title}
|
|
18
18
|
</h2>
|
|
19
19
|
<p className="mt-2 text-balance text-gray-800 text-lg">{description}</p>
|
|
20
20
|
</div>
|
|
21
|
-
<div className="
|
|
21
|
+
<div className="@min-[640px]:col-span-2 @min-[640px]:p-12">{children}</div>
|
|
22
22
|
</div>
|
|
23
23
|
);
|
|
@@ -13,21 +13,21 @@ interface TemplatesProps {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export const Templates = ({ title, description, data }: TemplatesProps) => (
|
|
16
|
-
<div className="grid gap-12 p-
|
|
16
|
+
<div className="grid gap-12 @min-[640px]:p-12 p-8 @min-[640px]:px-12 px-4 @min-[640px]:py-12 py-8">
|
|
17
17
|
<div className="grid max-w-3xl gap-2 text-balance">
|
|
18
|
-
<h2 className="font-
|
|
18
|
+
<h2 className="font-[450]! @min-[1024px]:text-[40px] @min-[640px]:text-2xl @min-[768px]:text-3xl text-gray-1000 text-xl tracking-tighter">
|
|
19
19
|
{title}
|
|
20
20
|
</h2>
|
|
21
21
|
<p className="text-balance text-gray-800 text-lg">{description}</p>
|
|
22
22
|
</div>
|
|
23
|
-
<div className="grid
|
|
23
|
+
<div className="grid @min-[768px]:grid-cols-3 gap-8">
|
|
24
24
|
{data.map((item) => (
|
|
25
25
|
<a
|
|
26
26
|
className="group flex-col overflow-hidden rounded-lg border bg-background-100 p-4"
|
|
27
27
|
href={item.link}
|
|
28
28
|
key={item.title}
|
|
29
29
|
>
|
|
30
|
-
<h3 className="font-
|
|
30
|
+
<h3 className="font-[450] tracking-tight">{item.title}</h3>
|
|
31
31
|
<p className="line-clamp-2 text-gray-800 text-sm">
|
|
32
32
|
{item.description}
|
|
33
33
|
</p>
|
|
@@ -7,10 +7,10 @@ interface TextGridSectionProps {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export const TextGridSection = ({ data }: TextGridSectionProps) => (
|
|
10
|
-
<div className="grid
|
|
10
|
+
<div className="grid @min-[768px]:grid-cols-3 gap-8 @min-[640px]:px-12 px-4 @min-[640px]:py-12 py-8">
|
|
11
11
|
{data.map((item) => (
|
|
12
12
|
<div key={item.id}>
|
|
13
|
-
<h3 className="mb-2 font-
|
|
13
|
+
<h3 className="mb-2 font-[450] text-gray-1000 text-lg tracking-tight">
|
|
14
14
|
{item.title}
|
|
15
15
|
</h3>
|
|
16
16
|
<p className="text-gray-800">{item.description}</p>
|
|
@@ -99,7 +99,7 @@ const HomePage = () => (
|
|
|
99
99
|
</CommandPromptSurface>
|
|
100
100
|
</CommandPromptRoot>
|
|
101
101
|
</Hero>
|
|
102
|
-
<div className="
|
|
102
|
+
<div className="flex flex-col">
|
|
103
103
|
<TextGridSection data={textGridSection} />
|
|
104
104
|
<CenteredSection
|
|
105
105
|
description="Description of centered section"
|