@vercel/geistdocs 1.10.0 → 1.11.1

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.
Files changed (42) hide show
  1. package/dist/cli/index.js +1 -1
  2. package/dist/config.d.ts +5 -0
  3. package/dist/config.d.ts.map +1 -1
  4. package/dist/footer.js +1 -1
  5. package/dist/home-layout.d.ts.map +1 -1
  6. package/dist/home-layout.js +4 -3
  7. package/dist/internal/github-button.d.ts +9 -0
  8. package/dist/internal/github-button.d.ts.map +1 -0
  9. package/dist/internal/github-button.js +13 -0
  10. package/dist/internal/navbar/mobile-menu.d.ts +2 -1
  11. package/dist/internal/navbar/mobile-menu.d.ts.map +1 -1
  12. package/dist/internal/navbar/mobile-menu.js +3 -3
  13. package/dist/internal/navbar/navbar-logo.js +1 -1
  14. package/dist/internal/page-footer.d.ts +9 -0
  15. package/dist/internal/page-footer.d.ts.map +1 -0
  16. package/dist/internal/page-footer.js +34 -0
  17. package/dist/internal/scroll-state.d.ts +8 -0
  18. package/dist/internal/scroll-state.d.ts.map +1 -0
  19. package/dist/internal/scroll-state.js +22 -0
  20. package/dist/navbar.d.ts +1 -1
  21. package/dist/navbar.d.ts.map +1 -1
  22. package/dist/navbar.js +5 -2
  23. package/dist/pages/docs.d.ts.map +1 -1
  24. package/dist/pages/docs.js +2 -1
  25. package/docs/agents.md +1 -1
  26. package/docs/llms.txt +1 -1
  27. package/docs/manifest.json +1 -1
  28. package/package.json +8 -4
  29. package/styles.css +4 -734
  30. package/template/app/[lang]/(home)/components/centered-section.tsx +2 -2
  31. package/template/app/[lang]/(home)/components/cta.tsx +2 -2
  32. package/template/app/[lang]/(home)/components/hero.tsx +3 -3
  33. package/template/app/[lang]/(home)/components/one-two-section.tsx +4 -4
  34. package/template/app/[lang]/(home)/components/templates.tsx +4 -4
  35. package/template/app/[lang]/(home)/components/text-grid-section.tsx +2 -2
  36. package/template/app/[lang]/(home)/page.tsx +1 -1
  37. package/template/app/styles/geistdocs.css +6 -566
  38. package/template/package.json +1 -1
  39. package/theme.css +758 -0
  40. package/dist/internal/footer/github-button.d.ts +0 -7
  41. package/dist/internal/footer/github-button.d.ts.map +0 -1
  42. package/dist/internal/footer/github-button.js +0 -10
@@ -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 py-8 sm:px-12 sm:py-12">
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-semibold text-xl tracking-tight sm:text-2xl md:text-3xl lg:text-[40px]">
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,8 +8,8 @@ interface CTAProps {
8
8
  }
9
9
 
10
10
  export const CTA = ({ title, href, cta }: CTAProps) => (
11
- <section className="flex flex-col gap-4 px-8 py-10 sm:px-12 md:flex-row md:items-center md:justify-between">
12
- <h2 className="font-semibold text-xl tracking-tight sm:text-2xl md:text-3xl lg:text-[40px]">
11
+ <section className="flex @min-[768px]:flex-row flex-col @min-[768px]:items-center @min-[768px]:justify-between gap-4 @min-[640px]:px-12 px-8 py-10">
12
+ <h2 className="font-[450]! @min-[1024px]:text-[40px] @min-[640px]:text-2xl @min-[768px]:text-3xl text-gray-1000 text-xl tracking-tighter">
13
13
  {title}
14
14
  </h2>
15
15
  <Button asChild size="lg">
@@ -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 sm:pt-24">
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-semibold text-[40px]! leading-[1.1] tracking-tight sm:text-5xl! lg:font-semibold xl:text-6xl!">
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 sm:text-xl">
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 gap-12 p-8 sm:grid-cols-3 sm:gap-0 sm:divide-x sm:p-0">
15
- <div className="flex flex-col gap-2 text-balance sm:p-12">
16
- <h2 className="font-semibold text-xl tracking-tight sm:text-2xl md:text-3xl">
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="sm:col-span-2 sm:p-12">{children}</div>
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-8 px-4 py-8 sm:p-12 sm:px-12 sm:py-12">
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-semibold text-xl tracking-tight sm:text-2xl md:text-3xl lg:text-[40px]">
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 gap-8 md:grid-cols-3">
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-medium tracking-tight">{item.title}</h3>
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 gap-8 px-4 py-8 sm:px-12 sm:py-12 md:grid-cols-3">
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-semibold text-lg tracking-tight">
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="grid divide-y border-y sm:border-x">
102
+ <div className="flex flex-col">
103
103
  <TextGridSection data={textGridSection} />
104
104
  <CenteredSection
105
105
  description="Description of centered section"