feat: MaxWidthLayout 추가

This commit is contained in:
jhynsoo 2024-07-15 16:55:19 +09:00
parent ec14c6368d
commit e75c74ed2a
4 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
import styles from './MaxWidthLayout.module.css';
export default function MaxWidthLayout({ children }) {
return <div className={styles.area}>{children}</div>;
}

View File

@ -0,0 +1,5 @@
.area {
max-width: 1320px;
padding: 0 40px;
margin: 0 auto;
}

View File

@ -1 +1,2 @@
export { default as PageLayout } from './PageLayout';
export { default as MaxWidthLayout } from './MaxWidthLayout';

View File

@ -132,6 +132,7 @@
body {
font-family:
Pretendard,
Pretendard Variable,
-apple-system,
BlinkMacSystemFont,
Apple SD Gothic Neo,