-
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
11516f9
commit 82b28bd
Showing
2 changed files
with
50 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,20 @@ | ||
import React from 'react' | ||
import './style.scss' | ||
|
||
export const RestaurantInfo: React.FC<{}> = ({}) => { | ||
return ( | ||
<div className="restaurant-title"> | ||
<div className="main"> | ||
<a> | ||
<h1 className="title">라이스&포테이토</h1> | ||
</a> | ||
<span className="subject-title">한식</span> | ||
</div> | ||
<div className="sub"> | ||
<span>김치철판볶음밥 등 최고의 맛집</span> | ||
<span>김치철판볶음밥 등 최고의 맛집1</span> | ||
<span>김치철판볶음밥 등 최고의 맛집2</span> | ||
</div> | ||
</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,30 @@ | ||
@use '@/style/package' as *; | ||
|
||
.restaurant-title { | ||
border-bottom: 0.1rem solid $color-white; | ||
padding: 1.2rem 1rem; | ||
|
||
.main { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
.title { | ||
font-size: 3rem; | ||
font-weight: 500; | ||
letter-spacing: 0.025em; | ||
color: $color-white; | ||
} | ||
.subject-title { | ||
padding-left: 1rem; | ||
} | ||
.sub { | ||
display: grid; | ||
padding-top: 0.8rem; | ||
font-size: 1.5rem; | ||
font-weight: 300; | ||
color: $color-white; | ||
letter-spacing: -0.025; | ||
margin-right: 0.8rem; | ||
} | ||
} |