Skip to content

Commit 5142a08

Browse files
authored
fix: final tweaks (#7749)
* Update nextjs logo * Update homepage footer link * Update CTA link with utm form orm * Update footer without accelerate * Update headings for partners page * Update footer * Update padding for ecosystem * Update /docs to https://www.prisma.io/docs * Add link for benchmarks * Update db links * Update studio button * Update logo-parade links * Update alignment of carousel-item * Update copy tooltip * delete * Update postgres and stack headings * Update padding horizontal * Update show all wrap
1 parent b7a0117 commit 5142a08

File tree

20 files changed

+99
-88
lines changed

20 files changed

+99
-88
lines changed

apps/docs/src/app/global-error.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default function GlobalError({
9999
Error
100100
</h1>
101101
<p className="subtitle">Something went wrong</p>
102-
<a href="/docs">Go to docs</a>
102+
<a href="https://www.prisma.io/docs">Go to docs</a>
103103
</body>
104104
</html>
105105
);

apps/docs/src/app/not-found.tsx

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import { source } from '@/lib/source';
2-
import { baseOptions, links } from '@/lib/layout.shared';
3-
import { VersionSwitcher } from '@/components/version-switcher';
4-
import type { LinkItemType } from 'fumadocs-ui/layouts/shared';
5-
import { DocsLayout } from '@/components/layout/notebook';
6-
import { DocsBody, DocsPage } from '@/components/layout/notebook/page';
7-
import { LATEST_VERSION } from '@/lib/version';
8-
import { NotFoundTracker } from '@/components/not-found-tracker';
9-
import type { Metadata } from 'next';
1+
import { source } from "@/lib/source";
2+
import { baseOptions, links } from "@/lib/layout.shared";
3+
import { VersionSwitcher } from "@/components/version-switcher";
4+
import type { LinkItemType } from "fumadocs-ui/layouts/shared";
5+
import { DocsLayout } from "@/components/layout/notebook";
6+
import { DocsBody, DocsPage } from "@/components/layout/notebook/page";
7+
import { LATEST_VERSION } from "@/lib/version";
8+
import { NotFoundTracker } from "@/components/not-found-tracker";
9+
import type { Metadata } from "next";
1010

1111
export const metadata: Metadata = {
12-
title: '404 - Page Not Found',
13-
description: 'The page you were looking for could not be found.',
12+
title: "404 - Page Not Found",
13+
description: "The page you were looking for could not be found.",
1414
};
1515

1616
export default function NotFound() {
@@ -19,7 +19,7 @@ export default function NotFound() {
1919
const navbarLinks: LinkItemType[] = [
2020
...links,
2121
{
22-
type: 'custom',
22+
type: "custom",
2323
children: <VersionSwitcher currentVersion={LATEST_VERSION} />,
2424
},
2525
];
@@ -51,12 +51,15 @@ export default function NotFound() {
5151
<p className="text-2xl font-semibold text-white">
5252
We could not find the page you were looking for
5353
</p>
54-
<a href="/docs" className="hover:underline transition-colors">
54+
<a
55+
href="https://www.prisma.io/docs"
56+
className="hover:underline transition-colors"
57+
>
5558
Go to docs
5659
</a>
5760
</div>
5861
</DocsBody>
5962
</DocsPage>
6063
</DocsLayout>
6164
);
62-
}
65+
}

apps/eclipse/content/design-system/components/pagination.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,4 +849,4 @@ The Pagination component uses button variants for consistent styling:
849849

850850
- **Breadcrumb** - For showing hierarchical navigation
851851
- **Button** - The underlying component used for links
852-
- **Tabs** - For content organization without pagination
852+
- **Tabs** - For content organization without pagination

apps/site/public/icons/technologies/nextjs copy.svg

Lines changed: 0 additions & 20 deletions
This file was deleted.

apps/site/src/app/(index)/page.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,11 @@ export default function SiteHome() {
242242
</p>
243243
</div>
244244
<div className="flex flex-col gap-6 md:flex-row">
245-
<Button variant="ppg" size="2xl">
245+
<Button
246+
variant="ppg"
247+
size="2xl"
248+
href="https://console.prisma.io/sign-up?utm_source=website&utm_medium=index&utm_campaign=cta"
249+
>
246250
<span>Create your first Database</span>
247251
<i className="fa-regular fa-arrow-right ml-2" />
248252
</Button>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const metadata = createPageMetadata({
6666
export default function SiteHome() {
6767
return (
6868
<main className="flex-1 w-full z-1 bg-background-default">
69-
<div className="hero -mt-24 flex items-end justify-center px-4 relative">
69+
<div className="hero -mt-24 flex items-end justify-center px-4 relative pt-24">
7070
<div className="absolute inset-0 z-0 bg-[linear-gradient(180deg,var(--color-foreground-orm)_0%,var(--color-background-default)_100%)] opacity-20" />
7171
<div className="content pt-31 relative z-2 my-12 flex flex-col gap-8">
7272
<h1 className="text-6xl [font-variation-settings:'wght'_900,'wdth'_125] mb-0 text-center mt-0 font-sans-display text-foreground-neutral max-w-200 mx-auto">

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,34 +80,42 @@ const databases: { title: string; list: DatabaseItem[] } = {
8080
list: [
8181
{
8282
name: "PostgreSQL",
83+
url: "https://www.prisma.io/docs/prisma-orm/quickstart/postgresql",
8384
icon: "/icons/companies/postgres.svg",
8485
},
8586
{
8687
name: "MySQL",
88+
url: "https://www.prisma.io/docs/prisma-orm/quickstart/mysql",
8789
icon: "/icons/technologies/mysqlsimple.svg",
8890
},
8991
{
9092
name: "MariaDB",
9193
icon: "/icons/technologies/mariadb.svg",
94+
url: "https://www.prisma.io/docs/prisma-orm/quickstart/mysql",
9295
},
9396
{
9497
name: "SQLite",
98+
url: "https://www.prisma.io/docs/prisma-orm/quickstart/sqlite",
9599
icon: "/icons/companies/sqlite.svg",
96100
},
97101
{
98102
name: "SQL Server",
103+
url: "https://www.prisma.io/docs/prisma-orm/quickstart/sqlserver",
99104
icon: "/icons/companies/sqlserver.svg",
100105
},
101106
{
102107
name: "CockroachDB",
108+
url: "https://www.prisma.io/docs/prisma-orm/quickstart/cockroachdb",
103109
icon: "/icons/companies/cockroachdb.svg",
104110
},
105111
{
106112
name: "PlanetScale",
113+
url: "https://www.prisma.io/docs/prisma-orm/quickstart/planetscale",
107114
icon: "/icons/companies/planetscale.svg",
108115
},
109116
{
110117
name: "MongoDB",
118+
url: "https://www.prisma.io/docs/prisma-orm/quickstart/mongodb",
111119
icon: "/icons/technologies/mongodbsimple.svg",
112120
},
113121
],
@@ -346,7 +354,7 @@ export default function EnterprisePage() {
346354
return (
347355
<main className="flex-1 w-full z-1 bg-background-default">
348356
{/* Hero */}
349-
<section className="hero -mt-24 flex items-end justify-center px-4 relative">
357+
<section className="hero -mt-24 flex items-end justify-center px-4 relative pt-24">
350358
<div className="absolute inset-0 z-0 bg-[linear-gradient(180deg,var(--color-foreground-orm)_0%,var(--color-background-default)_100%)] opacity-20" />
351359
<div className="content pt-31 relative z-2 my-12 flex flex-col gap-8">
352360
<div className="flex flex-col gap-1">

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

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,23 @@ const twoCol_2 = [
139139
<h5 className="font-sans-display text-foreground-orm uppercase stretch-display">
140140
Prisma Benchmarks
141141
</h5>
142-
<h2 className="text-foreground-neutral stretch-display text-3xl font-sans-display mt-0 mb-4">
142+
<h2 className="text-foreground-neutral stretch-display text-3xl font-sans-display">
143143
Prisma vs other ORMs
144144
</h2>
145145
</div>
146146
<p className="text-foreground-neutral-weak! text-base">
147147
A meaningful comparison of database query latencies across database
148148
providers and ORM libraries in the Node.js & TypeScript ecosystem.
149149
</p>
150+
<Button
151+
variant="orm"
152+
size="xl"
153+
href="https://benchmarks.prisma.io"
154+
className="w-fit"
155+
>
156+
<span>Explore Benchmarks</span>
157+
<i className="fa-regular fa-arrow-right ml-2!" />
158+
</Button>
150159
</div>
151160
),
152161
imageUrl: "/illustrations/orm/orm_1",
@@ -166,7 +175,7 @@ const twoCol_2 = [
166175
<h5 className="font-sans-display text-foreground-orm uppercase stretch-display">
167176
Prisma Client
168177
</h5>
169-
<h2 className="text-foreground-neutral stretch-display text-3xl font-sans-display mt-0 mb-4">
178+
<h2 className="text-foreground-neutral stretch-display text-3xl font-sans-display">
170179
Type-safe database client
171180
</h2>
172181
</div>
@@ -243,7 +252,7 @@ const features = [
243252
image: "/illustrations/orm/collaborative",
244253
alt: "Collaborative work",
245254
icon: "fa-light fa-screen-users",
246-
link: "https://console.prisma.io",
255+
link: "https://console.prisma.io/login?utm_source=website&utm_medium=orm&utm_campaign=cta",
247256
},
248257
{
249258
title: "Browse your data",
@@ -273,13 +282,13 @@ export default function ORM() {
273282
Next-generation Node.js and TypeScript ORM
274283
</h1>
275284
<p className="text-center text-foreground-neutral max-w-2xl mx-auto">
276-
Real Postgres with the developer experience and infrastructure to
277-
ship faster.
285+
Prisma ORM elevates developer experience with intuitive data
286+
modeling, automated migrations, and type-safety.
278287
</p>
279288
<div className="flex flex-col md:flex-row gap-4 items-center justify-center">
280289
<Button
281290
variant="orm"
282-
href={prismaPostgresQuickstartUrl}
291+
href="https://www.prisma.io/docs/prisma-orm/quickstart/prisma-postgres"
283292
size="3xl"
284293
className="font-sans-display! font-[650]"
285294
>
@@ -428,6 +437,8 @@ export default function ORM() {
428437
<Button
429438
variant="default-stronger"
430439
size="2xl"
440+
target="_blank"
441+
rel="noopener noreferrer"
431442
href="https://www.prisma.io/docs"
432443
>
433444
<span>Read the docs</span>

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

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,9 @@ const twoCol = [
2222
</p>
2323
<p className="text-foreground-neutral-weak! text-base">
2424
You can also let your AI agent take full control through our{" "}
25-
<b>MCP server</b>, automating database creation and management
26-
end-to-end. Choose the approach that works best for your product:
27-
provision directly into users’ existing{" "}
28-
<a href="https://console.prisma.io/" className="underline">
29-
Prisma accounts
30-
</a>{" "}
31-
for instant ownership, or manage the databases yourself until users
32-
are ready to claim them.
25+
<b>MCP server</b>, automating database creation and management for
26+
instant ownership, or manage the databases yourself until users are
27+
ready to claim them.
3328
</p>
3429
<div className="flex gap-4 items-center justify-start mx-auto md:ml-0">
3530
<a href="https://create-db.prisma.io/" className="link-btn orm">
@@ -196,7 +191,7 @@ export default function Partners() {
196191
</div>
197192
<div className="w-screen px-4 ">
198193
<div className="my-12 flex flex-col gap-8">
199-
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display my-0 mx-auto text-center">
194+
<h2 className="text-foreground-neutral stretch-display text-3xl md:text-4xl font-black! font-sans-display my-0 mx-auto text-center">
200195
Everything you need from data to deployment
201196
</h2>
202197
<p className="text-center text-base text-foreground-neutral-weak max-w-2xl mx-auto -mb-20">
@@ -295,7 +290,7 @@ export default function Partners() {
295290
</div>
296291
<div className="w-screen px-4">
297292
<div className="my-12 py-12 w-full gap-8 max-w-[1200px] mx-auto flex flex-col">
298-
<h2 className="text-foreground-neutral stretch-display text-4xl font-black! font-sans-display my-0 mx-auto text-center">
293+
<h2 className="text-foreground-neutral stretch-display text-3xl md:text-4xl font-black! font-sans-display my-0 mx-auto text-center">
299294
Get in touch
300295
</h2>
301296
<p className="text-center text-base text-foreground-neutral-weak max-w-2xl mx-auto">

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

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export default async function SiteHome() {
130130
<i className="fa-solid fa-chart-pyramid" />
131131
<span>Prisma Postgres</span>
132132
</div>
133-
<h1 className="text-6xl [font-variation-settings:'wght'_900,'wdth'_125] mb-0 mt-0 font-sans-display text-foreground-neutral">
133+
<h1 className="text-5xl md:text-6xl [font-variation-settings:'wght'_900,'wdth'_125] mb-0 mt-0 font-sans-display text-foreground-neutral">
134134
The fastest way <br />
135135
to real Postgres
136136
</h1>
@@ -152,7 +152,7 @@ export default async function SiteHome() {
152152
</Button>
153153
<Button
154154
variant="default-stronger"
155-
href="/docs/postgres"
155+
href="https://www.prisma.io/docs/postgres"
156156
size="3xl"
157157
className="font-sans-display! font-[650]"
158158
>
@@ -337,7 +337,11 @@ export default async function SiteHome() {
337337
<span>Create your first Database</span>
338338
<i className="fa-regular fa-arrow-right ml-2" />
339339
</Button>
340-
<Button variant="default-stronger" size="2xl" href="/docs">
340+
<Button
341+
variant="default-stronger"
342+
size="2xl"
343+
href="https://www.prisma.io/docs"
344+
>
341345
<span>Read the docs</span>
342346
<i className="fa-regular fa-arrow-right ml-2" />
343347
</Button>

0 commit comments

Comments
 (0)