|
1 | | -import { JsonLd } from "@/components/json-ld"; |
2 | | -import { createPricingStructuredData } from "@/lib/structured-data"; |
3 | | -import type { Metadata } from "next"; |
| 1 | +import { createPageMetadata } from "@/lib/page-metadata"; |
4 | 2 | import { Accordion, Accordions, Button } from "@prisma/eclipse"; |
5 | 3 | import { faqs } from "./pricing-data"; |
6 | 4 | import { PricingPageContent } from "./pricing-page-content"; |
7 | 5 |
|
8 | | -const pricingStructuredData = createPricingStructuredData([ |
9 | | - { |
10 | | - name: "Free", |
11 | | - description: "Perfect for that weekend idea. 100,000 operations and 500 MB storage included.", |
12 | | - price: 0, |
13 | | - billingPeriod: "month", |
14 | | - }, |
15 | | - { |
16 | | - name: "Starter", |
17 | | - description: "The basics you need to launch. 1,000,000 operations and 10 GB storage included.", |
18 | | - price: 10, |
19 | | - billingPeriod: "month", |
20 | | - }, |
21 | | - { |
22 | | - name: "Pro", |
23 | | - description: "Growing for business success. 10,000,000 operations and 50 GB storage included.", |
24 | | - price: 49, |
25 | | - billingPeriod: "month", |
26 | | - }, |
27 | | - { |
28 | | - name: "Business", |
29 | | - description: "For mission-critical apps. 50,000,000 operations and 100 GB storage included.", |
30 | | - price: 129, |
31 | | - billingPeriod: "month", |
32 | | - }, |
33 | | -]); |
34 | | - |
35 | | -export const metadata: Metadata = { |
| 6 | +export const metadata = createPageMetadata({ |
36 | 7 | title: "Pricing — Prisma Postgres Plans & Features", |
37 | 8 | description: |
38 | | - "Get started for free with Prisma Postgres. Choose the right plan for your workspace based on your project requirements.", |
39 | | - alternates: { |
40 | | - canonical: "https://www.prisma.io/pricing", |
41 | | - }, |
42 | | - openGraph: { |
43 | | - title: "Pricing — Prisma Postgres Plans & Features", |
44 | | - description: |
45 | | - "Get started for free with Prisma Postgres. Choose the right plan for your workspace based on your project requirements.", |
46 | | - url: "https://www.prisma.io/pricing", |
47 | | - images: [ |
48 | | - { |
49 | | - url: "/og/og-pricing.png", |
50 | | - }, |
51 | | - ], |
52 | | - }, |
53 | | - twitter: { |
54 | | - card: "summary_large_image", |
55 | | - title: "Pricing — Prisma Postgres Plans & Features", |
56 | | - description: |
57 | | - "Get started for free with Prisma Postgres. Choose the right plan for your workspace based on your project requirements.", |
58 | | - images: ["/og/og-pricing.png"], |
59 | | - }, |
60 | | -}; |
| 9 | + "Get started for free with Prisma Postgres. Choose the right plan for your workspace based on your project requirements.", |
| 10 | + path: "/pricing", |
| 11 | + ogImage: "/og/og-pricing.png", |
| 12 | +}); |
61 | 13 |
|
62 | 14 | export default function PricingPage() { |
63 | 15 | return ( |
64 | 16 | <main className="flex-1 w-full -mt-24 bg-background-default text-background-neutral-weak pt-24"> |
65 | | - <JsonLd id="pricing-structured-data" data={pricingStructuredData} /> |
66 | 17 | <PricingPageContent /> |
67 | 18 |
|
68 | 19 | {/* FAQ */} |
|
0 commit comments