Skip to content

Commit

Permalink
update docs landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
meletj committed May 3, 2024
1 parent d9a23bc commit 4ad4840
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 16 deletions.
52 changes: 38 additions & 14 deletions src/data/indexData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ export const ProductLinkData = {
'Expand your application capabilities with global database caching, connection pooling and real-time database events.',
links: [
{
url: '/accelerate',
url: '/accelerate/what-is-accelerate',
title: 'Prisma Accelerate',
},
{
url: '/pulse',
url: '/pulse/what-is-pulse',
title: 'Prisma Pulse',
},
],
Expand Down Expand Up @@ -74,16 +74,18 @@ export const ORMCardLinkData = {
url: '/orm/reference/prisma-cli-reference',
title: 'Prisma CLI reference',
},
{
url: '/accelerate/api-reference',
title: 'Accelerate API reference',
},
{
url: '/pulse/api-reference',
title: 'Pulse API reference',
},
],
}

export const ORMGeneralLinkData = [
{
title: `What is Prisma ORM`,
description: 'An overview of what Prisma ORM is and how it works.',
url: '/orm/overview/introduction/what-is-prisma',
icon: 'fa-regular fa-question',
},
{
title: `CRUD`,
description: 'How to perform CRUD operations with your generated Prisma Client API. ',
Expand All @@ -97,12 +99,6 @@ export const ORMGeneralLinkData = [
url: '/orm/overview/prisma-in-your-stack',
icon: 'fa-solid fa-server',
},
{
title: `Preview features`,
description: 'Available preview features and how to enable them.',
url: '/orm/reference/preview-features',
icon: 'fa-solid fa-eye',
},
{
title: `Adopting Prisma ORM`,
description: 'Migrate to Prisma ORM from other ORMs.',
Expand All @@ -116,6 +112,34 @@ export const ORMGeneralLinkData = [
url: '/orm/prisma-client/deployment',
icon: 'fa-solid fa-book',
},
{
title: `Accelerate`,
description:
'Set up connection pooling and global cache with Accelerate ',
url: '/accelerate/getting-started',
icon: 'fa-solid fa-bolt',
},
{
title: `Pulse`,
description:
'React to changes in your database with Pulse.',
url: '/pulse/getting-started',
icon: 'fa-solid fa-signal-stream',
},
{
title: `Console`,
description:
'Reflect the way you and your team develop projects with workspaces, projects and environments.',
url: '/platform/concepts',
icon: 'fa-solid fa-diagram-project',
},
{
title: `Platform CLI commands`,
description:
'Deploy Node.js applications with Prisma Client to platforms like Vercel, AWS Lambda, Netlify and Heroku.',
url: '/platform/platform-cli/commands',
icon: 'fa-solid fa-terminal',
},
]

export const DatabaseData = [
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@
grid-template-rows: auto auto 1fr;

>p {
color: var(--secondary-font-color);
color: var(--primary-font-color);
margin: 0 0 24px 0;
font-family: 'Inter';
font-size: 16px;
Expand Down
3 changes: 2 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function HomepageORMLinksSection() {
return (
<div className={styles.ormLinkSectionWrapper}>
<Heading as="h4" className={styles.h4}>
Prisma ORM
Resources
</Heading>
<div>
{ORMGeneralLinkData.map((link, index) => (
Expand Down Expand Up @@ -138,6 +138,7 @@ function HomepageDatabasesSection() {
Prisma ORM works seamlessly across most popular databases and service providers. <br />
Refer to our <Link to="/orm/reference/database-features">Database features matrix</Link> for information about supported features and types for
each database.
Explore what databases and database providers <Link to="/accelerate/getting-started#prerequisites">Accelerate</Link> and <Link to="https://www.prisma.io/docs/pulse/database-setup">Pulse</Link> support.
</div>
<div className={styles.databaseGrid}>
{DatabaseData.map((e) => (
Expand Down

0 comments on commit 4ad4840

Please sign in to comment.