mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 04:07:52 +01:00
* feat(meta): give the site a real social preview This site shipped no og:image, so every link to it — Telegram, Slack, a DM — rendered as a blank grey rectangle. Adds the Next file-convention card (1200x630, the size those scrapers crop to) drawn in the site's own palette. Also sets metadataBase, which is load-bearing rather than cosmetic: without it Next resolves the generated image to http://localhost:3000/opengraph-image — a tag that is present, looks configured, and is unfetchable by every scraper. The fallback is the real host, so a missing env var degrades to correct rather than to localhost. site.url also pointed at botsmann.com, which has no DNS A record — so everything derived from it (canonical URL, og:image, sitemap) named a host that does not resolve. Corrected to where the site actually serves. Pattern verified end-to-end on a sibling repo: build, render, 200 image/png at 1200x630, and og:image emitted as the absolute production URL. * style: apply prettier to the new preview card
26 lines
920 B
TypeScript
26 lines
920 B
TypeScript
/**
|
|
* Site Configuration
|
|
*
|
|
* SSOT for site metadata used in layout, meta tags, and throughout the app.
|
|
*/
|
|
|
|
export const site = {
|
|
name: 'Botsmann',
|
|
// ONE headline value prop — must match the hero H1 and footer.
|
|
tagline: 'Your Private AI Professionals',
|
|
description:
|
|
'Private AI that works with your data. Upload documents, ask questions, get answers with citations. Pre-built assistants for legal, medical, research, and more.',
|
|
// Where the site ACTUALLY serves. botsmann.com has no DNS A record, so
|
|
// everything derived from this — canonical URL, og:image, sitemap entries —
|
|
// pointed at a host that does not resolve. Point it back only once that
|
|
// domain is live.
|
|
url: 'https://botsmann.orangecat.ch',
|
|
author: 'Botsmann AI',
|
|
social: {
|
|
github: 'https://github.com/g-but',
|
|
twitter: 'https://twitter.com/AithelionV',
|
|
},
|
|
} as const;
|
|
|
|
export type SiteConfig = typeof site;
|