Skip to content

Commit 543158f

Browse files
author
Carla Goncalves
committed
Update more stuff
1 parent 0d406e3 commit 543158f

11 files changed

Lines changed: 43 additions & 63 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-client";
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>
@@ -82,7 +82,7 @@ const what_we_care_about = [
8282
"Illustration representing open-source contributions and the Prisma FOSS Fund",
8383
logos: null,
8484
useDefaultLogos: true,
85-
alignItems: "items-start" as const,
85+
alignItems: "items-center" as const,
8686
visualPosition: "left" as const,
8787
visualType: "image" as const,
8888
},
@@ -148,7 +148,7 @@ const what_we_care_about = [
148148
"Illustration representing Prisma's climate change commitments",
149149
logos: null,
150150
useDefaultLogos: true,
151-
alignItems: "items-start" as const,
151+
alignItems: "items-center" as const,
152152
visualPosition: "right" as const,
153153
visualType: "image" as const,
154154
},
@@ -388,7 +388,7 @@ export const metadata = createPageMetadata({
388388
export default function About() {
389389
return (
390390
<main className="flex-1 w-full z-1 bg-background-default">
391-
<div className="hero -mt-24 relative flex items-end justify-center px-4 pb-40 pt-30">
391+
<div className="hero -mt-24 relative flex items-end justify-center px-4 pb-40 pt-10">
392392
<div className="absolute inset-0 pointer-events-none z-1 bg-[linear-gradient(180deg,transparent_0%,var(--color-background-default)_150%)]" />
393393
<div className="w-screen absolute inset-0 z-0">
394394
<Image

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function EventCodeOfConductPage() {
1313
return (
1414
<main className="flex-1 w-full z-1 -mt-24 pt-24 relative legal-hero-gradient">
1515
{/* Hero */}
16-
<div className="text-center pb-16 pt-40">
16+
<div className="text-center pb-16 pt-24">
1717
<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">
1818
Event Code of Conduct
1919
</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
@@ -365,17 +365,17 @@ export default function ORM() {
365365
>
366366
<Image src={stat.icon} alt={stat.title} fill loading="lazy" />
367367
</Action>
368-
<h4 className="text-2xl text-center md:text-left font-sans-display stretch-display text-foreground-neutral">
368+
<h4 className="text-2xl text-left font-sans-display stretch-display text-foreground-neutral">
369369
{stat.title}
370370
</h4>
371-
<p className="text-center md:text-left text-foreground-neutral-weak">
371+
<p className="text-left text-foreground-neutral-weak">
372372
{stat.description}
373373
</p>
374374
<Button
375375
asChild
376376
variant="default-strong"
377377
size="xl"
378-
className="w-fit mx-auto md:mx-0"
378+
className="w-fit"
379379
>
380380
<a href={stat.btn.url}>
381381
{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: "Prisma Pricing | Prisma Postgres Plans and Usage-Based Pricing",
@@ -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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default function StudioPage() {
132132
</p>
133133

134134
<div className="flex flex-col md:flex-row gap-4 items-center justify-center">
135-
<Button asChild variant="ppg" size="2xl">
135+
<Button asChild variant="orm" size="2xl">
136136
<a href={CONSOLE_URL} target="_blank" rel="noopener noreferrer">
137137
Explore Studio in Prisma Console
138138
<i className="fa-regular fa-arrow-up-right" />
@@ -219,7 +219,7 @@ export default function StudioPage() {
219219
</p>
220220
</div>
221221

222-
<Button asChild variant="ppg" size="xl">
222+
<Button asChild variant="orm" size="xl">
223223
<a href={CONSOLE_URL} target="_blank" rel="noopener noreferrer">
224224
Explore Studio in Console
225225
<i className="fa-regular fa-arrow-right" />

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function TermsPage() {
1313
return (
1414
<main className="flex-1 w-full z-1 -mt-24 relative legal-hero-gradient">
1515
{/* Hero */}
16-
<div className="text-center pb-16 pt-40 my-24">
16+
<div className="text-center pb-16 pt-40 my-12">
1717
<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">
1818
Terms of Service
1919
</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
@@ -96,29 +96,29 @@ interface LogoGridProps {
9696
// ============================================================================
9797

9898
const LogoImage = memo(({ logo, size }: { logo: Logo; size: number }) => {
99-
const lightImageUrl = logo.mobileImageUrl ?? logo.imageUrl;
100-
const darkImageUrl = logo.imageUrlLight ?? logo.imageUrl;
99+
const lightImageUrl = logo.mobileImageUrl ?? logo.imageUrlLight;
100+
const darkImageUrl = logo.imageUrl;
101101
const hasThemeVariant = lightImageUrl !== darkImageUrl;
102102
const imageClassName = "w-full aspect-square rounded-lg object-contain";
103103

104104
return (
105105
<>
106-
<Image
107-
src={lightImageUrl}
108-
alt={logo.alt}
109-
width={size}
110-
height={size}
111-
className={cn(imageClassName, hasThemeVariant && "block dark:hidden")}
112-
/>
113-
{hasThemeVariant && (
106+
{lightImageUrl && (
114107
<Image
115-
src={darkImageUrl}
108+
src={lightImageUrl}
116109
alt={logo.alt}
117110
width={size}
118111
height={size}
119-
className={cn(imageClassName, "hidden dark:block")}
112+
className={cn(imageClassName, "block dark:hidden")}
120113
/>
121114
)}
115+
<Image
116+
src={darkImageUrl}
117+
alt={logo.alt}
118+
width={size}
119+
height={size}
120+
className={cn(imageClassName, lightImageUrl && "hidden dark:block")}
121+
/>
122122
</>
123123
);
124124
});

0 commit comments

Comments
 (0)