-
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.
Merge pull request #2 from Toy2-team10/TALK-20--feat/layout/nav
TALK-20--feat/layout/nav 하단 내비게이션 바 추가
- Loading branch information
Showing
5 changed files
with
88 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@import '@/styles/index.scss'; | ||
.nav { | ||
width: 100%; | ||
background: #fff; | ||
position: fixed; | ||
left: 50%; | ||
transform: translate(-50%); | ||
bottom: 0; | ||
@include shadow-top; | ||
background: #fff; | ||
.inner { | ||
max-width: 76.8rem; | ||
width: 100%; | ||
margin: 0 auto; | ||
@include flex-center-row; | ||
justify-content: space-between; | ||
.menu { | ||
display: block; | ||
width: 25%; | ||
text-align: center; | ||
@include flex-center-col; | ||
.icon { | ||
font-size: 1.6rem; | ||
padding-top: 1rem; | ||
color: $black; | ||
} | ||
:hover { | ||
color: $brand-pink; | ||
} | ||
} | ||
} | ||
} |
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,44 @@ | ||
import React from 'react'; | ||
import Link from 'next/link'; | ||
import { | ||
BsHouses, | ||
BsPersonCircle, | ||
BsChatSquareHeart, | ||
BsChatSquareQuote, | ||
} from 'react-icons/bs'; | ||
import styles from './Navigation.module.scss'; | ||
|
||
function Navigation() { | ||
return ( | ||
<nav className={styles.nav}> | ||
<ul className={styles.inner}> | ||
<li className={styles.menu}> | ||
<Link href="/"> | ||
<BsHouses className={styles.icon} /> | ||
<p>숙소목록</p> | ||
</Link> | ||
</li> | ||
<li className={styles.menu}> | ||
<Link href="/"> | ||
<BsChatSquareQuote className={styles.icon} /> | ||
<p>오픈채팅</p> | ||
</Link> | ||
</li> | ||
<li className={styles.menu}> | ||
<Link href="/"> | ||
<BsChatSquareHeart className={styles.icon} /> | ||
<p>나의 채팅목록</p> | ||
</Link> | ||
</li> | ||
<li className={styles.menu}> | ||
<Link href="/"> | ||
<BsPersonCircle className={styles.icon} /> | ||
<p>마이페이지</p> | ||
</Link> | ||
</li> | ||
</ul> | ||
</nav> | ||
); | ||
} | ||
|
||
export default Navigation; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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