--- interface Props { title: string; description?: string; } import { DEFAULT_THEME, themes as themeRegistry } from '../lib/themes'; function isEnabled(v: string | undefined): boolean { if (!v) return false; const n = v.trim().toLowerCase(); return n === '1' || n === 'true' || n === 'yes' || n === 'on'; } const { title, description = "Likwid is a modular governance engine for distributed organizations, open source communities, and civic movements." } = Astro.props; const publicDemoSite = isEnabled((globalThis as any).process?.env?.PUBLIC_DEMO_SITE); const themes = Object.fromEntries( Object.entries(themeRegistry).map(([id, t]) => [id, { isDark: t.isDark, colors: t.colors }]), ); const defaultTheme = DEFAULT_THEME; ---