Skip to content

Commit a30f2ba

Browse files
authored
doc: change headline (#465)
* doc: change headline * fix typo
1 parent 36bb163 commit a30f2ba

File tree

5 files changed

+16
-54
lines changed

5 files changed

+16
-54
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"react-dom": "^18.2.0",
3333
"react-icons": "^5.0.1",
3434
"react-share": "^5.1.0",
35-
"react-simple-typewriter": "^5.0.1",
3635
"tailwindcss": "^3.4.11"
3736
},
3837
"devDependencies": {

pnpm-lock.yaml

Lines changed: 0 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/ValueProposition.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ const FeatureList: FeatureItem[] = [
2929
),
3030
},
3131
{
32-
title: 'E2E Type Safety',
33-
img: '/img/type-safety.png',
32+
title: 'AI Friendly',
33+
img: '/img/ai-friendly.png',
3434
description: (
3535
<>
36-
No more duplicating type definitions and syncing changes. Use one single toolkit to generate types for
37-
your entire stack and enjoy flawless auto-completion.
36+
Schema-first reduces code complexity, helping AI understand better with fewer hallucinations.
37+
Schema serves as a single source of truth for AI integration.
3838
</>
3939
),
4040
},

src/pages/index.tsx

Lines changed: 12 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import ValueProposition from '@site/src/components/ValueProposition';
44
import Layout from '@theme/Layout';
55
import clsx from 'clsx';
66
import React from 'react';
7-
import { Typewriter } from 'react-simple-typewriter';
87
import ZenStackInStack from '../components/ZenStackInStack';
98
import { description } from '../lib/content';
109
import styles from './index.module.css';
@@ -17,18 +16,19 @@ function Header() {
1716
return (
1817
<header className={clsx('hero hero--primary', styles.heroBanner)}>
1918
<div className="w-full flex justify-center">
20-
<div className="w-full xl:container grid grid-cols-1 xl:grid-cols-2 gap-8 xl:gap-16 text-white dark:text-gray-800">
21-
<div className="w-full text-left flex flex-col items-start">
22-
<h1 className="hero__title font-bold text-3xl md:text-5xl xl:text-6xl mb-8 lg:mb-8 lg:leading-[70px] whitespace-nowrap">
23-
<span className="inline-block 2xl:hidden leading-relaxed">Database to </span>
24-
<span className="hidden 2xl:inline-block leading-relaxed">From Database to </span>{' '}
25-
<span>
26-
<Typewriter words={['API', 'Service', 'UI']} loop={true} />
19+
<div className="w-full xl:container flex justify-center text-white dark:text-gray-800">
20+
<div className="w-full max-w-4xl text-center flex flex-col items-center px-4">
21+
<h1 className="hero__title font-bold text-2xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl 2xl:text-7xl mb-6 sm:mb-8 lg:mb-12 leading-tight sm:leading-tight md:leading-tight lg:leading-tight xl:leading-tight 2xl:leading-tight">
22+
<span className="inline-block text-white dark:text-black">
23+
Schema-First Full‑Stack Toolkit
24+
</span>
25+
<br className="hidden sm:block" />
26+
<span className="sm:hidden"> </span>
27+
<span className="inline-block mt-2 sm:mt-0 text-black dark:text-white font-extrabold">
28+
with Clean & Scalable Authorization
2729
</span>
28-
{','}
29-
<br /> In Minutes
3030
</h1>
31-
<p className="hero__subtitle font-semi-bold text-base lg:text-2xl mx-auto mb-8 lg:mb-8 lg:leading-relaxed text-gray-100 dark:text-gray-700">
31+
<p className="hero__subtitle font-semi-bold text-sm sm:text-base md:text-lg lg:text-xl xl:text-2xl mb-6 sm:mb-8 lg:mb-12 leading-relaxed text-gray-100 dark:text-gray-700 max-w-none sm:max-w-2xl text-center">
3232
A TypeScript toolkit that enhances Prisma ORM with flexible Authorization and
3333
auto-generated, type-safe APIs/hooks, simplifying full-stack development
3434
</p>
@@ -41,28 +41,6 @@ function Header() {
4141
</Link>
4242
</div>
4343
</div>
44-
<div className="w-full h-full mx-auto flex justify-end">
45-
<div className="block: xl:hidden w-full relative pt-[56%]">
46-
<iframe
47-
width="100%"
48-
height="100%"
49-
src="https://www.youtube.com/embed/dI8LeuFTr9c?autoplay=1mute=1"
50-
title="ZenStack Introduction"
51-
allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; autoplay"
52-
allowFullScreen
53-
className="absolute inset-0 rounded-xl shadow-xl"
54-
></iframe>
55-
</div>
56-
<iframe
57-
width="100%"
58-
height="100%"
59-
src="https://www.youtube.com/embed/dI8LeuFTr9c?autoplay=1&mute=1"
60-
title="ZenStack Introduction"
61-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
62-
allowFullScreen
63-
className="hidden xl:block shadow-xl rounded-xl"
64-
></iframe>
65-
</div>
6644
</div>
6745
</div>
6846
</header>
@@ -85,7 +63,7 @@ export default function Home(): JSX.Element {
8563
const { siteConfig } = useDocusaurusContext();
8664
return (
8765
<Layout
88-
title={`${siteConfig.title} - Simplified Full-Stack Development with Prisma ORM`}
66+
title={`${siteConfig.title}:Full-Stack Toolkit with Authorization on Prisma ORM`}
8967
description={description}
9068
>
9169
<Header />

static/img/ai-friendly.png

26.9 KB
Loading

0 commit comments

Comments
 (0)