Skip to content

Commit 411a5e4

Browse files
committed
enhancement: improved responsive
1 parent 08db199 commit 411a5e4

4 files changed

Lines changed: 15 additions & 18 deletions

File tree

src/app/not-found.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ import Image from 'next/image';
66
import { useRouter } from 'next/navigation';
77

88
import Button from '@/components/common/ui/button';
9-
import {
10-
ButtonColor,
11-
ButtonIcon,
12-
ButtonSize,
13-
ButtonVariant,
14-
} from '@/components/common/ui/button/types';
159

1610
import * as styles from '../components/pages/NotFound.styles';
1711

src/components/common/layout/page-layout/footer/Footer.styles.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,10 @@ export const wrapper: SxProps<Theme> = {
1010
desktop: 'flex-start',
1111
mobile: 'center',
1212
},
13-
justifyContent: {
14-
desktop: 'space-between',
15-
mobile: 'center',
16-
},
1713
zIndex: 11,
1814

1915
padding: {
20-
mobileMedium: '38px 100px',
16+
mobileMedium: '38px 50px',
2117
mobile: '16px',
2218
},
2319
height: 'auto',
@@ -41,7 +37,12 @@ export const text: SxProps<Theme> = {
4137
};
4238

4339
export const columns: SxProps<Theme> = {
40+
width: '100%',
4441
display: 'flex',
42+
justifyContent: {
43+
mobileMedium: 'flex-end',
44+
mobile: 'space-between',
45+
},
4546
gap: {
4647
desktop: '80px',
4748
mobileMedium: '40px',

src/components/common/layout/page-layout/header/Header.styles.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
import { SxProps, Theme } from '@mui/material/styles';
22

33
export const wrapper: SxProps<Theme> = {
4-
p: '0px 100px',
4+
py: 0,
5+
px: {
6+
mobile: '16px',
7+
tablet: '100px',
8+
},
59
width: '100%',
610
height: '64px',
711
boxShadow: 'rgba(0, 0, 0, 0.24) 0px 3px 8px',

src/components/pages/NotFound.styles.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
import { SxProps, Theme } from '@mui/material/styles';
22

33
export const wrapper: SxProps<Theme> = {
4-
height: {
5-
desktop: '100%',
6-
mobile: '100vh',
7-
},
84
display: 'flex',
95
flexDirection: 'column',
106
alignItems: 'center',
117
justifyContent: 'center',
12-
m: '14px 24px 106px 24px',
13-
8+
m: {
9+
mobile: '106px 24px',
10+
tablet: '14px 24px 106px 24px',
11+
},
1412
img: {
1513
maxWidth: '100%',
1614
height: 'auto',

0 commit comments

Comments
 (0)