-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
import { getClassNames } from 'lib/styles/getClassNames'; | ||
import Link from 'next/link'; | ||
import { SvgLogo } from 'src/assets/icons/components'; | ||
|
||
import styles from './styles.module.css'; | ||
|
||
const cx = getClassNames(styles); | ||
|
||
const LINK_LIST = [ | ||
{ | ||
label: '주루마블 소개', | ||
href: '/about', | ||
}, | ||
{ | ||
label: '이용약관', | ||
href: '/agreement', | ||
}, | ||
{ | ||
label: '개인정보처리방침', | ||
href: '/', | ||
}, | ||
{ | ||
label: '신고가이드', | ||
href: '/how-to-report', | ||
}, | ||
]; | ||
|
||
function Footer() { | ||
return ( | ||
<footer className={cx('footer')}> | ||
<div className={cx('link-list')}> | ||
{LINK_LIST.map(({ label, href }) => ( | ||
<Link | ||
key={label} | ||
href={href} | ||
className={cx('caption_chip', 'black-03')} | ||
> | ||
{label} | ||
</Link> | ||
))} | ||
</div> | ||
<SvgLogo width={76} height={14} className={cx('mt-16')} /> | ||
<span className={cx('mt-24', 'caption_chip', 'black-04')}> | ||
@ 2023 주루마블. All rights reserved. | ||
</span> | ||
</footer> | ||
); | ||
} | ||
|
||
export default Footer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as Footer } from './Footer'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.footer { | ||
width: 100%; | ||
height: 142px; | ||
margin-bottom: 60px; | ||
background-color: var(--line_02); | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
} | ||
|
||
.link-list { | ||
margin-top: 32px; | ||
} | ||
|
||
.mt-16 { | ||
margin-top: 16px; | ||
} | ||
|
||
.mt-24 { | ||
margin-top: 24px; | ||
} | ||
|
||
.black-03 { | ||
color: var(--black_03); | ||
} | ||
|
||
.black-04 { | ||
color: var(--black_04); | ||
} |