Skip to content

Commit 7a71425

Browse files
committed
feature: add organisation page
1 parent 60fe482 commit 7a71425

3 files changed

Lines changed: 46 additions & 2 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { SxProps, Theme } from '@mui/material/styles';
2+
3+
export const wrapper: SxProps<Theme> = {
4+
display: 'flex',
5+
flexDirection: 'column',
6+
alignItems: 'center',
7+
width: '100%',
8+
};
9+
10+
export const search: SxProps<Theme> = {
11+
maxWidth: '794px',
12+
width: '100%',
13+
mt: '26px',
14+
display: 'inline-flex',
15+
gap: '16px',
16+
};
17+
18+
export const input: SxProps<Theme> = {
19+
maxWidth: '730px',
20+
flexGrow: 1,
21+
};

src/app/organisations/page.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { Box, Typography } from '@mui/material';
2+
3+
import IconButton from '@/components/common/ui/icon-button/IconButton';
4+
import Input from '@/components/common/ui/input/Input';
5+
6+
import * as styles from './Organisations.styles';
7+
8+
const Organisations = () => {
9+
return (
10+
<Box sx={styles.wrapper}>
11+
<Typography mt="48px" typography="h5Medium">
12+
Мої організації
13+
</Typography>
14+
15+
<Box sx={styles.search}>
16+
<Input sx={styles.input} isSearch fullWidth placeholder="Пошук" />
17+
<IconButton />
18+
</Box>
19+
</Box>
20+
);
21+
};
22+
23+
export default Organisations;

src/components/common/layout/page-layout/header/menu/constants/menuItems.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ export const menuItems = [
44
url: '/',
55
},
66
{
7-
title: 'Організація',
8-
url: '/organisation',
7+
title: 'Організації',
8+
url: '/organisations',
99
},
1010
{
1111
title: 'Ціни',

0 commit comments

Comments
 (0)