feat: MaxWidthLayout 추가
This commit is contained in:
parent
ec14c6368d
commit
e75c74ed2a
5
frontend/src/components/Layout/MaxWidthLayout.jsx
Normal file
5
frontend/src/components/Layout/MaxWidthLayout.jsx
Normal file
@ -0,0 +1,5 @@
|
||||
import styles from './MaxWidthLayout.module.css';
|
||||
|
||||
export default function MaxWidthLayout({ children }) {
|
||||
return <div className={styles.area}>{children}</div>;
|
||||
}
|
5
frontend/src/components/Layout/MaxWidthLayout.module.css
Normal file
5
frontend/src/components/Layout/MaxWidthLayout.module.css
Normal file
@ -0,0 +1,5 @@
|
||||
.area {
|
||||
max-width: 1320px;
|
||||
padding: 0 40px;
|
||||
margin: 0 auto;
|
||||
}
|
@ -1 +1,2 @@
|
||||
export { default as PageLayout } from './PageLayout';
|
||||
export { default as MaxWidthLayout } from './MaxWidthLayout';
|
||||
|
@ -132,6 +132,7 @@
|
||||
body {
|
||||
font-family:
|
||||
Pretendard,
|
||||
Pretendard Variable,
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
Apple SD Gothic Neo,
|
||||
|
Loading…
Reference in New Issue
Block a user