chore: heygermany customer project
Some checks failed
Main / Setup and Test (push) Has been cancelled
Main / Build Website (push) Has been cancelled

This commit is contained in:
e2e
2026-07-11 09:21:21 +02:00
commit 59b4a7a404
398 changed files with 38340 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
import React from 'react'
import { Box, Stack, Title, Text, Flex, Container } from '@pikku/mantine/core'
import { asI18n } from '@pikku/react'
interface CandidateSectionProps {
title: string
example: string
description: string
children: React.ReactNode
}
export const CandidateSection: React.FunctionComponent<CandidateSectionProps> = ({
title,
example,
description,
children
}) => {
return (
<Flex gap="md" direction={{ base: 'column', md: 'row' }}>
<Stack flex={1}>
<Title order={2}>{asI18n(title)}</Title>
<Text size="xl" mb="md">
{asI18n(example)}
</Text>
<Text>
{asI18n(description)}
</Text>
</Stack>
<Box flex={1}>
{children}
</Box>
</Flex>
)
}