import { Link, useParams } from '@tanstack/react-router' import { Button, Box, Container, Flex, Grid, Stack, Text, Title, Group, Space, } from '@pikku/mantine/core' import { IconCheck } from '@tabler/icons-react' import { useI18n } from '@/context/i18n-provider' import { HomeResultsPreview } from '@/components/home/HomeResultsPreview' import React from 'react' import { asI18n, type I18nString } from '@pikku/react' const FeatureCard: React.FunctionComponent<{ title: I18nString description: I18nString }> = ({ title, description }) => { return ( {asI18n(title)} {asI18n(description)} ) } const Features: React.FunctionComponent = () => { const t = useI18n() const features = [ { title: t('website.features.fast.title'), description: t('website.features.fast.description') }, { title: t('website.features.free.title'), description: t('website.features.free.description') }, { title: t('website.features.easy.title'), description: t('website.features.easy.description') }, ] return ( {features.map((feature) => ( ))} ) } const HeroSection: React.FunctionComponent = () => { const t = useI18n() const { lang } = useParams({ strict: false }) as { lang: string } const isRtl = t.locale === 'ar' return ( <span style={{ display: 'block' }}>{t('website.hero.title')}</span> {t('website.hero.checkqualification')} {t('website.hero.in')} {t('website.hero.months')} {t('website.hero.days')} {t('website.hero.subtitle')} {t('website.hero.description')} Nurse reviewing qualifications for a healthcare role in Germany ) } const CallToActionSection: React.FunctionComponent = () => { const t = useI18n() const { lang } = useParams({ strict: false }) as { lang: string } return ( {t('website.cta.title')} {t('website.cta.description')} {t('website.cta.disclaimer')} ) } export function HomePage() { return ( <> ) }