Skip to content

Commit

Permalink
feat: 메뉴 이미지 변경, 디자인 수정 (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
soyoung125 authored Sep 20, 2023
1 parent cd3fd96 commit 3ac1450
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
12 changes: 10 additions & 2 deletions src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
.blue_text {
color: #223C6D;
position: relative;
}

.center {
margin-top: calc((100vh - 400px) / 2);
margin-bottom: calc((100vh - 400px) / 2);
}
Expand Down Expand Up @@ -62,4 +60,14 @@
padding: 4px 8px;
border-radius: 8px;
background: rgba(255, 248, 223, 0.60);
}

.cocktail_menu {
width: 100%;
}

.center {
height: calc(100vh - 92px);
display: flex;
align-items: center;
}
Binary file added src/assets/images/menu.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/images/menu.png
Binary file not shown.
2 changes: 1 addition & 1 deletion src/pages/Home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Home() {

return (
<>
<div className="blue_text center">
<div className="blue_text">
<div className="title">MBTI 밸런스 게임<div>-칵테일편-</div></div>
<img src={COCKTAILS.default} className="logo_cocktail" alt="cocktail logo" />

Expand Down
8 changes: 4 additions & 4 deletions src/pages/Menu/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import menu from '../../assets/images/menu.png';
import menu from '../../assets/images/menu.jpg';

function Menu() {
return (
<>
<img src={menu} className="logo_cocktail" alt="menu image" />
</>
<div className='center'>
<img src={menu} className="cocktail_menu" alt="menu image" />
</div>
)
}

Expand Down

0 comments on commit 3ac1450

Please sign in to comment.