import type { Metadata } from 'next'; import { redirect } from 'next/navigation'; import { physicalCheckoutEnabled } from '../lib/free-studio-checkout'; export const dynamic = 'force-dynamic'; import { Builder } from '../components/Builder'; export const metadata: Metadata = { title: 'Start a portrait', description: 'Build your custom pet portrait — upload a photo of your pet, pick a style, personalize the lettering and background, choose a product. The proof arrives within one business day.', alternates: { canonical: '/builder' }, openGraph: { title: 'Start a portrait · Lumen & Gesso', description: 'Build your custom pet portrait — pick a style, share a photo, and we send a proof within one business day.', url: '/builder', type: 'website', }, }; export default function BuilderPage() { if (!physicalCheckoutEnabled()) redirect('/studio'); return ; }