Skip to content

Commit d64dc0a

Browse files
committed
Update more stuff
1 parent 633f333 commit d64dc0a

11 files changed

Lines changed: 69 additions & 77 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { MasonryPict } from "@/components/careers/masonry";
1919
const what_we_care_about = [
2020
{
2121
content: (
22-
<div className="flex flex-col gap-6 self-start">
22+
<div className="flex flex-col gap-6 self-start w-full">
2323
<h3 className="text-foreground-neutral stretch-display text-2xl font-black! font-sans-display">
2424
Open-Source
2525
</h3>
@@ -80,7 +80,7 @@ const what_we_care_about = [
8080
mobileImageAlt: "About",
8181
logos: null,
8282
useDefaultLogos: true,
83-
alignItems: "items-start" as const,
83+
alignItems: "items-center" as const,
8484
visualPosition: "left" as const,
8585
visualType: "image" as const,
8686
},
@@ -145,7 +145,7 @@ const what_we_care_about = [
145145
mobileImageAlt: "About",
146146
logos: null,
147147
useDefaultLogos: true,
148-
alignItems: "items-start" as const,
148+
alignItems: "items-center" as const,
149149
visualPosition: "right" as const,
150150
visualType: "image" as const,
151151
},
@@ -336,7 +336,7 @@ export const metadata = createPageMetadata({
336336
export default function About() {
337337
return (
338338
<main className="flex-1 w-full z-1 bg-background-default">
339-
<div className="hero -mt-24 relative flex items-end justify-center px-4 pb-40 pt-30">
339+
<div className="hero -mt-24 relative flex items-end justify-center px-4 pb-40 pt-10">
340340
<div className="absolute inset-0 pointer-events-none z-1 bg-[linear-gradient(180deg,transparent_0%,var(--color-background-default)_150%)]" />
341341
<div className="w-screen absolute inset-0 z-0">
342342
<Image

apps/site/src/app/event-code-of-conduct/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import { LegalAccordion } from "@/components/legal-accordion";
88

99
export const metadata = createPageMetadata({
1010
title: "Prisma - Event Code of Conduct",
11-
description:
12-
"Read our Event Code of Conduct and how it relates to you.",
11+
description: "Read our Event Code of Conduct and how it relates to you.",
1312
path: "/event-code-of-conduct",
1413
ogImage: "/og/og-event-code-of-conduct.png",
1514
});
@@ -18,7 +17,7 @@ export default function EventCodeOfConductPage() {
1817
return (
1918
<main className="flex-1 w-full z-1 -mt-24 pt-24 relative legal-hero-gradient">
2019
{/* Hero */}
21-
<div className="text-center pb-16 pt-40">
20+
<div className="text-center pb-16 pt-24">
2221
<h1 className="text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">
2322
Event Code of Conduct
2423
</h1>

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const twoCol_2 = [
156156
asChild
157157
variant="orm"
158158
size="xl"
159-
className="w-fit mx-auto lg:w-full"
159+
className="w-fit mx-auto md:mx-0"
160160
>
161161
<a href="https://benchmarks.prisma.io">
162162
Explore Benchmarks
@@ -361,17 +361,17 @@ export default function ORM() {
361361
>
362362
<Image src={stat.icon} alt={stat.title} fill loading="lazy" />
363363
</Action>
364-
<h4 className="text-2xl text-center md:text-left font-sans-display stretch-display text-foreground-neutral">
364+
<h4 className="text-2xl text-left font-sans-display stretch-display text-foreground-neutral">
365365
{stat.title}
366366
</h4>
367-
<p className="text-center md:text-left text-foreground-neutral-weak">
367+
<p className="text-left text-foreground-neutral-weak">
368368
{stat.description}
369369
</p>
370370
<Button
371371
asChild
372372
variant="default-strong"
373373
size="xl"
374-
className="w-fit mx-auto md:mx-0"
374+
className="w-fit"
375375
>
376376
<a href={stat.btn.url}>
377377
{stat.btn.label}{" "}

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

Lines changed: 14 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { createPageMetadata } from "@/lib/page-metadata";
22
import { Accordion, Accordions, Button } from "@prisma/eclipse";
33
import { faqs } from "./pricing-data";
44
import { PricingPageContent } from "./pricing-page-content";
5+
import { PageFooterCta } from "@/components/page-footer-cta";
56

67
export const metadata = createPageMetadata({
78
title: "Pricing — Prisma Postgres Plans & Features",
@@ -50,40 +51,19 @@ export default function PricingPage() {
5051
</div>
5152
</section>
5253

53-
{/* Try Prisma Postgres */}
54-
<section className="bg-radial from-background-ppg from-0% to-background-default to-70% px-4 py-12">
55-
<div className="mx-auto rounded-2xl bg-[url('/illustrations/homepage/footer_grid.svg')] bg-cover bg-center px-4 py-12">
56-
<div className="p-4 md:p-8">
57-
<div className="mx-auto flex max-w-[580px] flex-col items-center gap-8 text-center">
58-
<div className="flex flex-col items-center gap-4">
59-
<h2 className="text-3xl text-foreground-neutral font-sans-display stretch-display">
60-
Try Prisma Postgres
61-
</h2>
62-
<p className="text-foreground-neutral-weak">
63-
Deploy a Postgres database instantly.
64-
</p>
65-
</div>
66-
<div className="flex flex-col gap-6 md:flex-row">
67-
<Button asChild variant="ppg" size="2xl">
68-
<a href="https://console.prisma.io/sign-up?utm_source=website&utm_medium=pricing&utm_campaign=cta">
69-
Create your first Database
70-
<i className="fa-regular fa-arrow-right" />
71-
</a>
72-
</Button>
73-
<Button asChild variant="default-strong" size="2xl">
74-
<a href="https://www.prisma.io/docs/">
75-
Read the docs
76-
<i className="fa-regular fa-book-open" />
77-
</a>
78-
</Button>
79-
</div>
80-
<h6 className="mb-0! -mt-4 text-xs text-foreground-neutral-weaker">
81-
Free to get started, no credit card needed.
82-
</h6>
83-
</div>
84-
</div>
85-
</div>
86-
</section>
54+
<PageFooterCta
55+
title="Try Prisma Postgres"
56+
description="Deploy a Postgres database instantly."
57+
btns={[
58+
{
59+
url: `https://console.prisma.io/sign-up?utm_source=website&utm_medium=pricing&utm_campaign=cta`,
60+
text: "Create your first Database",
61+
external: true,
62+
},
63+
{ url: "https://www.prisma.io/docs", text: "Read the docs" },
64+
]}
65+
footer="Free to get started, no credit card needed."
66+
/>
8767
</main>
8868
);
8969
}

apps/site/src/app/pricing/pricing-hero-plans.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export function PricingHeroPlans({
6767
className="rounded-md gap-2"
6868
label={
6969
<>
70-
<i className="fa-regular fa-message-code text-xs" />
70+
<i className="fa-regular fa-message-code text-xs mr-2" />
7171
Prisma ORM will always be free
7272
</>
7373
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function PrivacyPage() {
1414
return (
1515
<main className="flex-1 w-full z-1 -mt-24 pt-24 relative legal-hero-gradient">
1616
{/* Hero */}
17-
<div className="text-center pb-16 pt-40">
17+
<div className="text-center pb-16 pt-24">
1818
<h1 className="text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">
1919
Privacy Policy
2020
</h1>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default function SlaPage() {
1414
return (
1515
<main className="flex-1 w-full z-1 -mt-24 pt-24 relative legal-hero-gradient">
1616
{/* Hero */}
17-
<div className="text-center pb-16 pt-40">
17+
<div className="text-center pb-16 pt-24">
1818
<h1 className="text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">
1919
Prisma Service Level Agreement
2020
</h1>

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

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ const featureRows = [
4141
description:
4242
"Access your database anywhere. Work locally for rapid development or use Console for team collaboration. Switch seamlessly between solo and team workflows.",
4343
imageSrc: "/illustrations/studio/laptop.svg",
44-
imageAlt: "Prisma Studio interface showing local and collaborative workflows",
44+
imageAlt:
45+
"Prisma Studio interface showing local and collaborative workflows",
4546
imageWidth: 522,
4647
imageHeight: 295,
4748
},
@@ -51,7 +52,8 @@ const featureRows = [
5152
description:
5253
"Browse your database visually with powerful filters and search. Spot patterns instantly and get insights for debugging or schema changes, no SQL needed.",
5354
imageSrc: "/illustrations/studio/explore.svg",
54-
imageAlt: "Prisma Studio data exploration interface with highlighted filters",
55+
imageAlt:
56+
"Prisma Studio data exploration interface with highlighted filters",
5557
imageWidth: 546,
5658
imageHeight: 275,
5759
},
@@ -147,12 +149,12 @@ export default function StudioPage() {
147149
</div>
148150

149151
<p className="text-center text-foreground-neutral max-w-2xl mx-auto">
150-
The ultimate tool for exploring and editing data in your Prisma project. Work locally
151-
or team up inside the Prisma Console.
152+
The ultimate tool for exploring and editing data in your Prisma
153+
project. Work locally or team up inside the Prisma Console.
152154
</p>
153155

154156
<div className="flex flex-col md:flex-row gap-4 items-center justify-center">
155-
<Button asChild variant="ppg" size="2xl">
157+
<Button asChild variant="orm" size="2xl">
156158
<a href={CONSOLE_URL} target="_blank" rel="noopener noreferrer">
157159
Explore Studio in Prisma Console
158160
<i className="fa-regular fa-arrow-up-right" />
@@ -186,7 +188,10 @@ export default function StudioPage() {
186188
>
187189
<div className="flex items-start gap-4">
188190
<div className="flex size-12 items-center justify-center rounded-md bg-background-orm p-3">
189-
<i className={`${card.icon} text-lg text-foreground-orm`} aria-hidden="true" />
191+
<i
192+
className={`${card.icon} text-lg text-foreground-orm`}
193+
aria-hidden="true"
194+
/>
190195
</div>
191196
<div>
192197
<h2 className="m-0 text-xl leading-7 text-foreground-neutral font-sans-display [font-variation-settings:'wght'_800]">
@@ -230,12 +235,13 @@ export default function StudioPage() {
230235
See how Studio works
231236
</h2>
232237
<p className="m-0 mt-4 text-base leading-6 text-foreground-neutral-weak">
233-
Access Prisma Studio on your local machine during development, or in the Platform
234-
Console to collaborate on data with your team.
238+
Access Prisma Studio on your local machine during development,
239+
or in the Platform Console to collaborate on data with your
240+
team.
235241
</p>
236242
</div>
237243

238-
<Button asChild variant="ppg" size="xl">
244+
<Button asChild variant="orm" size="xl">
239245
<a href={CONSOLE_URL} target="_blank" rel="noopener noreferrer">
240246
Explore Studio in Console
241247
<i className="fa-regular fa-arrow-right" />
@@ -267,7 +273,8 @@ export default function StudioPage() {
267273
Try it out!
268274
</h2>
269275
<p className="m-0 mt-4 text-base leading-6 text-foreground-neutral-weak">
270-
Take Studio for a spin with a local pre-seeded database and example project.
276+
Take Studio for a spin with a local pre-seeded database and
277+
example project.
271278
</p>
272279
</div>
273280

@@ -324,10 +331,17 @@ function FeatureRow({
324331
<h2 className="m-0 mt-2 text-4xl leading-10 text-foreground-neutral font-sans-display [font-variation-settings:'wght'_900]">
325332
{title}
326333
</h2>
327-
<p className="m-0 mt-4 text-base leading-8 text-foreground-neutral-weak">{description}</p>
334+
<p className="m-0 mt-4 text-base leading-8 text-foreground-neutral-weak">
335+
{description}
336+
</p>
328337
</div>
329338

330-
<StudioFeatureImage src={imageSrc} alt={imageAlt} width={imageWidth} height={imageHeight} />
339+
<StudioFeatureImage
340+
src={imageSrc}
341+
alt={imageAlt}
342+
width={imageWidth}
343+
height={imageHeight}
344+
/>
331345
</div>
332346
);
333347
}

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { LegalAccordion } from "@/components/legal-accordion";
44

55
export const metadata = createPageMetadata({
66
title: "Terms of Service",
7-
description:
8-
"Read our terms of services and see how they relate to you.",
7+
description: "Read our terms of services and see how they relate to you.",
98
path: "/terms",
109
ogImage: "/og/og-terms.png",
1110
});
@@ -14,7 +13,7 @@ export default function TermsPage() {
1413
return (
1514
<main className="flex-1 w-full z-1 -mt-24 relative legal-hero-gradient">
1615
{/* Hero */}
17-
<div className="text-center pb-16 pt-40 my-24">
16+
<div className="text-center pb-16 pt-40 my-12">
1817
<h1 className="text-4xl sm:text-5xl md:text-6xl stretch-display mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-224 mx-auto">
1918
Terms of Service
2019
</h1>

apps/site/src/components/homepage/card-section/logo-grid.tsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -100,29 +100,29 @@ interface LogoGridProps {
100100
// ============================================================================
101101

102102
const LogoImage = memo(({ logo, size }: { logo: Logo; size: number }) => {
103-
const lightImageUrl = logo.mobileImageUrl ?? logo.imageUrl;
104-
const darkImageUrl = logo.imageUrlLight ?? logo.imageUrl;
103+
const lightImageUrl = logo.mobileImageUrl ?? logo.imageUrlLight;
104+
const darkImageUrl = logo.imageUrl;
105105
const hasThemeVariant = lightImageUrl !== darkImageUrl;
106106
const imageClassName = "w-full aspect-square rounded-lg object-contain";
107107

108108
return (
109109
<>
110-
<Image
111-
src={lightImageUrl}
112-
alt={logo.alt}
113-
width={size}
114-
height={size}
115-
className={cn(imageClassName, hasThemeVariant && "block dark:hidden")}
116-
/>
117-
{hasThemeVariant && (
110+
{lightImageUrl && (
118111
<Image
119-
src={darkImageUrl}
112+
src={lightImageUrl}
120113
alt={logo.alt}
121114
width={size}
122115
height={size}
123-
className={cn(imageClassName, "hidden dark:block")}
116+
className={cn(imageClassName, "block dark:hidden")}
124117
/>
125118
)}
119+
<Image
120+
src={darkImageUrl}
121+
alt={logo.alt}
122+
width={size}
123+
height={size}
124+
className={cn(imageClassName, lightImageUrl && "hidden dark:block")}
125+
/>
126126
</>
127127
);
128128
});

0 commit comments

Comments
 (0)