Skip to content

Commit aa8967f

Browse files
committed
Update links for client page
1 parent 3d363d4 commit aa8967f

File tree

1 file changed

+36
-15
lines changed

1 file changed

+36
-15
lines changed

apps/site/src/app/client/page.tsx

Lines changed: 36 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -109,41 +109,57 @@ const frameworks = {
109109
const twoCol = [
110110
{
111111
content: (
112-
<>
113-
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display mt-0 mb-4">
114-
Autocomplete your way to success
115-
</h2>
112+
<div className="flex flex-col gap-4">
113+
<div className="flex flex-col gap-1">
114+
<h5 className="text-base uppercase font-sans-display stretch-display font-bold text-foreground-orm-strong mb-1">
115+
Editor Integration
116+
</h5>
117+
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display my-0">
118+
Autocomplete your way to success
119+
</h2>
120+
</div>
116121
<p className="text-foreground-neutral-weak! text-base">
117122
The best code is the code that writes itself. Prisma Client gives you
118123
a fantastic autocomplete experience so you can move quickly and be
119124
sure you don't write an invalid query. Our obsession with type safety
120125
means you can rest assured that your code works as expected, every
121126
time.
122127
</p>
123-
</>
128+
<Button variant="orm" size="3xl" className="w-fit" href="/studio">
129+
<span>Get started in 5 minutes</span>
130+
</Button>
131+
</div>
124132
),
125133
imageUrl: "/illustrations/client/client_0",
126134
imageAlt: "Autocomplete your way to success",
127135
mobileImageUrl: null,
128136
mobileImageAlt: null,
129137
logos: null,
130138
useDefaultLogos: false,
131-
visualPosition: "right" as const,
139+
visualPosition: "left" as const,
132140
visualType: "image" as const,
133141
},
134142
{
135143
content: (
136-
<>
137-
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display mt-0 mb-4">
138-
Fully type-safe raw SQL
139-
</h2>
144+
<div className="flex flex-col gap-4">
145+
<div className="flex flex-col gap-1">
146+
<h5 className="text-base uppercase font-sans-display stretch-display font-bold text-foreground-orm-strong mb-1">
147+
TypedSQL
148+
</h5>
149+
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display my-0">
150+
Fully type-safe raw SQL
151+
</h2>
152+
</div>
140153
<p className="text-foreground-neutral-weak! text-base">
141154
Execute SQL queries directly against your database without losing the
142155
benefits of Prisma’s type-checking and auto-completion. TypedSQL
143156
leverages the capabilities of Prisma Client to write raw SQL queries
144157
that are type-checked at compile time.
145158
</p>
146-
</>
159+
<Button variant="orm" size="3xl" className="w-fit" href="/typedsql">
160+
<span>Learn more about TypedSQL</span>
161+
</Button>
162+
</div>
147163
),
148164
imageUrl: "/illustrations/client/client_1",
149165
imageAlt: "Fully type-safe raw SQL",
@@ -152,7 +168,7 @@ const twoCol = [
152168
logos: null,
153169
useDefaultLogos: false,
154170
noShadow: true,
155-
visualPosition: "left" as const,
171+
visualPosition: "right" as const,
156172
visualType: "image" as const,
157173
},
158174
];
@@ -276,7 +292,7 @@ export default function Client() {
276292
tables, filter, paginate, traverse relations and edit your data
277293
with safety.
278294
</p>
279-
<Button variant="orm" size="3xl" className="w-fit">
295+
<Button variant="orm" size="3xl" className="w-fit" href="/studio">
280296
<span>Learn more about Prisma Studio</span>
281297
<i className="fa-regular fa-arrow-right ml-2" />
282298
</Button>
@@ -294,8 +310,13 @@ export default function Client() {
294310
full control and ultimate flexibility — from local development
295311
to production environments.
296312
</p>
297-
<Button variant="orm" size="3xl" className="w-fit">
298-
<span>Learn more about Prisma Studio</span>
313+
<Button
314+
variant="orm"
315+
size="3xl"
316+
className="w-fit"
317+
href="/migrate"
318+
>
319+
<span>Learn more about Prisma Migrate</span>
299320
<i className="fa-regular fa-arrow-right ml-2" />
300321
</Button>
301322
</div>

0 commit comments

Comments
 (0)