import { createFileRoute, Link } from '@tanstack/react-router'
import { Box, Button, Group, SimpleGrid, Text, Title } from '@pikku/mantine/core'
import { useLocale } from '@/i18n/config'
import { m } from '@/i18n/messages'
import { asI18n } from '@pikku/react'
function QSeal({ size = 30, fontSize = 17, bg = '#1F5641', color = '#FBFAF7', radius = 7 }: {
size?: number; fontSize?: number; bg?: string; color?: string; radius?: number
}) {
return (
Q
)
}
function LandingNav() {
return (
{m.common_brand_name()}
{m.landing_nav_product()}
{m.landing_nav_templates()}
{m.landing_nav_pricing()}
{m.app_nav_sign_in()}
{m.landing_nav_cta()}
)
}
function FloatingResolutionCard() {
return (
{asI18n('BESCHLUSS · 2026-014')}
Published
{asI18n('Profit Distribution')}
{asI18n('Resolution on the appropriation of the 2025 annual result')}
{([
['Distributable profit', '€ 248,500.00'],
['Per share (25,000)', '€ 9.94'],
['Record date', '31 May 2026'],
] as [string, string][]).map(([label, value]) => (
{asI18n(label)}
{asI18n(value)}
))}
SIG
NED
{asI18n('M. Bauer · Managing Director')}
{asI18n('signed 02 Jun 2026, 14:21')}
)
}
const FEATURES = [
{ num: '01', titleKey: 'landing_feature1_title' as const, descKey: 'landing_feature1_desc' as const },
{ num: '02', titleKey: 'landing_feature2_title' as const, descKey: 'landing_feature2_desc' as const },
{ num: '03', titleKey: 'landing_feature3_title' as const, descKey: 'landing_feature3_desc' as const },
{ num: '04', titleKey: 'landing_feature4_title' as const, descKey: 'landing_feature4_desc' as const },
]
function IndexPage() {
useLocale()
return (
{/* Hero */}
{/* Left column */}
{m.landing_eyebrow()}
{m.landing_headline_plain()}
{m.landing_headline_accent()}
{m.landing_subline()}
{/* Stats */}
{[
{ value: m.landing_stat1_value(), label: m.landing_stat1_label() },
{ value: m.landing_stat2_value(), label: m.landing_stat2_label() },
{ value: m.landing_stat3_value(), label: m.landing_stat3_label() },
].map(({ value, label }, i) => (
{i > 0 && (
)}
{value}
{label}
))}
{/* Right column */}
{/* Feature strip */}
{m.landing_features_eyebrow()}
{FEATURES.map(({ num, titleKey, descKey }) => (
{asI18n(num)}
{m[titleKey]()}
{m[descKey]()}
))}
{/* Footer */}
{m.landing_footer()}
)
}
export const Route = createFileRoute('/')({
component: IndexPage,
})