-
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
1 parent
8f847ce
commit 6e737a8
Showing
2 changed files
with
95 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,67 @@ | ||
import React from 'react' | ||
import './style.scss' | ||
|
||
export const RestaurantMenu: React.FC<{}> = () => { | ||
return ( | ||
<div className="menus"> | ||
<ul className="menus-list"> | ||
<li className="menu"> | ||
<div> | ||
<span className="name">김치볶음밥</span> | ||
</div> | ||
<div> | ||
<span className="price">4,500원</span> | ||
</div> | ||
</li> | ||
<li className="menu"> | ||
<div> | ||
<span className="name">김치볶음밥</span> | ||
</div> | ||
<div> | ||
<span className="price">4,500원</span> | ||
</div> | ||
</li> | ||
<li className="menu"> | ||
<div> | ||
<span className="name">김치볶음밥</span> | ||
</div> | ||
<div> | ||
<span className="price">4,500원</span> | ||
</div> | ||
</li> | ||
<li className="menu"> | ||
<div> | ||
<span className="name">김치볶음밥</span> | ||
</div> | ||
<div> | ||
<span className="price">4,500원</span> | ||
</div> | ||
</li> | ||
<li className="menu"> | ||
<div> | ||
<span className="name">김치볶음밥</span> | ||
</div> | ||
<div> | ||
<span className="price">4,500원</span> | ||
</div> | ||
</li> | ||
<li className="menu"> | ||
<div> | ||
<span className="name">김치볶음밥</span> | ||
</div> | ||
<div> | ||
<span className="price">4,500원</span> | ||
</div> | ||
</li> | ||
<li className="menu"> | ||
<div> | ||
<span className="name">김치볶음밥</span> | ||
</div> | ||
<div> | ||
<span className="price">4,500원</span> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
) | ||
} |
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,28 @@ | ||
@use '@/style/package' as *; | ||
|
||
.menus { | ||
height: 100%; | ||
overflow-y: scroll; | ||
&::-webkit-scrollbar { | ||
display: none; | ||
} | ||
.menus-list { | ||
margin-top: 1rem; | ||
.menu { | ||
padding: 1rem; | ||
border-bottom: 0.2rem solid $color-gray-300; | ||
|
||
.contents { | ||
height: 100px; | ||
} | ||
&:last-child { | ||
padding-bottom: 1rem; | ||
border-bottom: none; | ||
} | ||
|
||
.name { | ||
font-size: 1.7rem; | ||
} | ||
} | ||
} | ||
} |