-
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
d18c12a
commit 11516f9
Showing
2 changed files
with
49 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,25 @@ | ||
import React from 'react' | ||
import './style.scss' | ||
|
||
export const RestaurantHome: React.FC<{}> = () => { | ||
return ( | ||
<div className="restaurant-home"> | ||
<ul> | ||
<li className="item"> | ||
<i className="f7-icons home-icon">phone</i> | ||
010-1234-4567 | ||
</li> | ||
<li className="item"> | ||
<i className="f7-icons home-icon">placemark</i>서울 동작구 흑석로 83 | ||
</li> | ||
<li className="item"> | ||
<i className="f7-icons home-icon">alarm</i>매일 11:00 ~ 23:00 | ||
</li> | ||
<li className="item"> | ||
<i className="f7-icons home-icon">doc_plaintext</i>김치철판볶음밥 등 | ||
최고의 맛집 | ||
</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,24 @@ | ||
@use '@/style/package' as *; | ||
|
||
.restaurant-home { | ||
height: 100%; | ||
overflow-y: scroll; | ||
margin-top: 1rem; | ||
&::-webkit-scrollbar { | ||
display: none; | ||
} | ||
|
||
.item { | ||
display: flex; | ||
align-items: center; | ||
border-bottom: 0.2rem solid $color-gray-300; | ||
&:last-child { | ||
padding-bottom: 1rem; | ||
border-bottom: none; | ||
} | ||
} | ||
|
||
.home-icon { | ||
padding: 1rem; | ||
} | ||
} |