page.tsx27 lines · main
| 1 | import type { Metadata } from 'next'; |
| 2 | |
| 3 | import { BackgroundGrid } from '../../components/marketing/background-grid'; |
| 4 | import { SiteFooter } from '../../components/marketing/site-footer'; |
| 5 | import { SiteHeader } from '../../components/marketing/site-header'; |
| 6 | import { getSessionUser } from '../../lib/session'; |
| 7 | import { PricingSection } from '../pricing-section'; |
| 8 | |
| 9 | export const metadata: Metadata = { |
| 10 | title: 'pricing — briven', |
| 11 | description: |
| 12 | 'briven pricing: free, pro €29, team €99 — flat fees, monthly buckets, no surprise upgrade walls. self-host free under agpl-3.0 or take a commercial licence.', |
| 13 | }; |
| 14 | |
| 15 | export default async function PricingPage() { |
| 16 | const user = await getSessionUser().catch(() => null); |
| 17 | return ( |
| 18 | <main className="relative min-h-dvh overflow-hidden bg-[var(--color-bg)] text-[var(--color-text)]"> |
| 19 | <BackgroundGrid /> |
| 20 | <SiteHeader user={user} /> |
| 21 | <div className="relative z-10"> |
| 22 | <PricingSection /> |
| 23 | </div> |
| 24 | <SiteFooter /> |
| 25 | </main> |
| 26 | ); |
| 27 | } |