// /llms.txt: a plain-markdown summary of the studio for AI assistants // (ChatGPT, Claude, Perplexity, Gemini). Built from the same data the // pages render, so it never drifts from the site. See https://llmstxt.org. import { COMING_SOON } from '../config'; import { FAQS } from '../data/faqs'; import { CONTACT_EMAIL, SITE_DESCRIPTION, SITE_NAME, SITE_URL, SOCIAL_PROFILES, } from '../lib/seo'; export const dynamic = 'force-static'; export function GET() { if (COMING_SOON) return new Response('Not found', { status: 404 }); const body = `# ${SITE_NAME} > ${SITE_DESCRIPTION} The Free Portrait Studio is a self-serve browser editor. Upload a photo, crop, rotate, adjust the image, and download a PNG without an added watermark. Hosted AI tools are optional and available only when enabled. ## Pages - [Home](${SITE_URL}/): Studio, process, archive and FAQ - [Gallery](${SITE_URL}/gallery): customer photos beside the finished portraits - [Free Portrait Studio](${SITE_URL}/studio): edit and download an image - [Privacy policy](${SITE_URL}/privacy) ## FAQ ${FAQS.map(([q, a]) => `### ${q}\n\n${a}`).join('\n\n')} ## Contact - Email: ${CONTACT_EMAIL} ${SOCIAL_PROFILES.map((url) => `- ${url}`).join('\n')} `; return new Response(body, { headers: { 'Content-Type': 'text/markdown; charset=utf-8', 'Cache-Control': 'public, max-age=3600', }, }); }