2024-02-03 00:34:54 +03:00
|
|
|
import React from 'react';
|
2024-02-03 22:52:25 +03:00
|
|
|
import testImage1 from './test-images/test-image-1.jpg';
|
2024-02-03 00:34:54 +03:00
|
|
|
import { Card } from '../src/primitive-components/card/card';
|
2024-02-07 23:01:50 +03:00
|
|
|
import { CardBody } from '../src/primitive-components/card/card-body';
|
2024-02-03 22:52:25 +03:00
|
|
|
import { CardMedia } from '../src/primitive-components/card/card-media';
|
2024-02-07 23:01:50 +03:00
|
|
|
import { CardFooter } from '../src/primitive-components/card/card-footer';
|
|
|
|
import { CardHeader } from '../src/primitive-components/card/card-header';
|
2024-02-03 00:34:54 +03:00
|
|
|
import { CardActionArea } from '../src/primitive-components/card/card-action-area';
|
|
|
|
import { Button } from '../src/primitive-components/button-components/button/button';
|
2024-02-07 23:01:50 +03:00
|
|
|
import { Typography } from '../src/primitive-components/typography/typography';
|
2024-02-08 11:49:46 +03:00
|
|
|
import {
|
|
|
|
ButtonLayout,
|
|
|
|
SegmentedButtons,
|
|
|
|
} from '../src/primitive-components/components';
|
2024-02-01 00:58:19 +03:00
|
|
|
|
2024-01-31 23:46:06 +03:00
|
|
|
export default function Page() {
|
2024-02-01 00:58:19 +03:00
|
|
|
return (
|
2024-02-03 00:34:54 +03:00
|
|
|
<main>
|
|
|
|
<div
|
|
|
|
style={{
|
|
|
|
display: 'flex',
|
|
|
|
flexDirection: 'column',
|
|
|
|
alignItems: 'center',
|
|
|
|
gap: '8px',
|
|
|
|
padding: '8px',
|
|
|
|
}}
|
|
|
|
>
|
2024-02-08 11:49:46 +03:00
|
|
|
<div style={{ display: 'flex', gap: '8px', maxWidth: '512px' }}>
|
2024-02-03 22:52:25 +03:00
|
|
|
<Card variant={'outlined'}>
|
|
|
|
<CardHeader>
|
2024-02-07 23:01:50 +03:00
|
|
|
<Typography.h3> Header-3 </Typography.h3>
|
2024-02-03 22:52:25 +03:00
|
|
|
</CardHeader>
|
|
|
|
<CardActionArea>
|
|
|
|
<CardMedia src={testImage1.src} type={'img'} />
|
|
|
|
<CardBody>
|
|
|
|
<p>
|
|
|
|
Lorem ipsum dolor sit amet, consecrate
|
|
|
|
adipiscing elit, sed do eiusmod tempor
|
|
|
|
incididunt ut labore et dolore magna aliqua.
|
2024-02-04 01:58:56 +03:00
|
|
|
Ut enim ad minim veniam, quis nostrud
|
|
|
|
exercitation ullamco laboris nisi ut aliquip
|
|
|
|
ex ea commodo consequat. Duis aute irure
|
|
|
|
dolor in reprehenderit in voluptate velit
|
|
|
|
esse cillum dolore eu fugiat nulla pariatur.
|
|
|
|
Excepteur sint occaecat cupidatat non
|
|
|
|
proident, sunt in culpa qui officia deserunt
|
|
|
|
mollit anim id est laborum.
|
|
|
|
</p>
|
|
|
|
</CardBody>
|
|
|
|
</CardActionArea>
|
|
|
|
<CardFooter>
|
2024-02-08 11:49:46 +03:00
|
|
|
<div className={'flex flex-row gap-3'}>
|
|
|
|
<Button>label</Button>
|
|
|
|
<SegmentedButtons>
|
|
|
|
<ButtonLayout>Label 1</ButtonLayout>
|
|
|
|
<ButtonLayout>Label 2</ButtonLayout>
|
|
|
|
<ButtonLayout>Label 3</ButtonLayout>
|
|
|
|
</SegmentedButtons>
|
|
|
|
</div>
|
2024-02-03 22:52:25 +03:00
|
|
|
</CardFooter>
|
2024-02-03 00:34:54 +03:00
|
|
|
</Card>
|
2024-02-01 00:58:19 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-02-03 00:34:54 +03:00
|
|
|
</main>
|
2024-02-01 00:58:19 +03:00
|
|
|
);
|
2024-01-31 23:46:06 +03:00
|
|
|
}
|