|
1 | | -import type { Metadata } from 'next' |
2 | 1 | import type { SearchParams } from 'nuqs/server' |
3 | | -import { SITE_URL } from '@/lib/core/utils/urls' |
| 2 | +import { buildLandingMetadata } from '@/lib/landing/seo' |
4 | 3 | import Pricing from '@/app/(landing)/pricing/pricing' |
5 | 4 | import { pricingSearchParamsCache } from '@/app/(landing)/pricing/search-params' |
6 | 5 |
|
7 | 6 | export const revalidate = 3600 |
8 | 7 |
|
9 | | -const PAGE_URL = `${SITE_URL}/pricing` |
10 | 8 | const TITLE = 'Pricing | Sim, the AI Workspace' |
11 | 9 | const DESCRIPTION = |
12 | 10 | 'Pricing for Sim, the open-source AI workspace for building, deploying, and managing AI agents. Compare the Free, Pro, Max, and Enterprise plans. Start free.' |
13 | 11 |
|
14 | | -export const metadata: Metadata = { |
15 | | - metadataBase: new URL(SITE_URL), |
16 | | - title: { absolute: TITLE }, |
| 12 | +export const metadata = buildLandingMetadata({ |
| 13 | + title: TITLE, |
17 | 14 | description: DESCRIPTION, |
| 15 | + path: '/pricing', |
18 | 16 | keywords: |
19 | 17 | 'Sim pricing, AI workspace pricing, AI agent platform pricing, build AI agents, Pro plan, Max plan, Enterprise plan, open-source AI agents, LLM pricing', |
20 | | - authors: [{ name: 'Sim' }], |
21 | | - creator: 'Sim', |
22 | | - publisher: 'Sim', |
23 | | - openGraph: { |
24 | | - title: TITLE, |
25 | | - description: DESCRIPTION, |
26 | | - type: 'website', |
27 | | - url: PAGE_URL, |
28 | | - siteName: 'Sim', |
29 | | - locale: 'en_US', |
30 | | - images: [ |
31 | | - { |
32 | | - url: '/logo/426-240/reverse/small.png', |
33 | | - width: 2130, |
34 | | - height: 1200, |
35 | | - alt: 'Pricing | Sim, the AI Workspace', |
36 | | - type: 'image/png', |
37 | | - }, |
38 | | - ], |
39 | | - }, |
40 | | - twitter: { |
41 | | - card: 'summary_large_image', |
42 | | - site: '@simdotai', |
43 | | - creator: '@simdotai', |
44 | | - title: TITLE, |
45 | | - description: DESCRIPTION, |
46 | | - images: { |
47 | | - url: '/logo/426-240/reverse/small.png', |
48 | | - alt: 'Pricing | Sim, the AI Workspace', |
49 | | - }, |
50 | | - }, |
51 | | - alternates: { |
52 | | - canonical: PAGE_URL, |
53 | | - languages: { 'en-US': PAGE_URL, 'x-default': PAGE_URL }, |
54 | | - }, |
55 | | - robots: { |
56 | | - index: true, |
57 | | - follow: true, |
58 | | - googleBot: { index: true, follow: true, 'max-image-preview': 'large', 'max-snippet': -1 }, |
59 | | - }, |
60 | | - category: 'technology', |
61 | | -} |
| 18 | +}) |
62 | 19 |
|
63 | 20 | export default async function Page({ searchParams }: { searchParams: Promise<SearchParams> }) { |
64 | 21 | await pricingSearchParamsCache.parse(searchParams) |
|
0 commit comments