-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
5 changed files
with
104 additions
and
1 deletion.
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,54 @@ | ||
.ReceiptEdit { | ||
padding-left: 1.25rem; | ||
padding-right: 1.25rem; | ||
padding-bottom: 2.5rem; | ||
height: calc(100vh - 2.75rem); | ||
overflow: hidden; | ||
position: relative; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
background: var(--color-bg-gradient); | ||
|
||
&::before { | ||
content: ""; | ||
background: url("/src/assets/svg/img-graphic-main.svg") center no-repeat; | ||
background-size: 100% 16.375rem; | ||
filter: blur(4.625rem); | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
z-index: 0; | ||
} | ||
} | ||
|
||
.Top { | ||
z-index: 1; | ||
|
||
& > h1 { | ||
margin-top: 2.5rem; | ||
white-space: pre-line; | ||
} | ||
} | ||
|
||
.InfoList { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.875rem; | ||
margin-top: 1.5rem; | ||
} | ||
|
||
.InfoItem { | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.5rem; | ||
} | ||
|
||
.Bottom { | ||
display: flex; | ||
align-items: center; | ||
gap: 0.875rem; | ||
z-index: 1; | ||
} |
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,31 @@ | ||
import styles from "@/components/ReceiptEdit/ReceiptEdit.module.scss"; | ||
import Button from "@/components/ui/Button/Button"; | ||
import Input from "@/components/ui/Input/Input"; | ||
import Text from "@/components/ui/Text/Text"; | ||
|
||
const ReceiptEdit = () => { | ||
const placeName = "청담커피 앤 토스트"; | ||
|
||
return ( | ||
<div className={styles.ReceiptEdit}> | ||
<div className={styles.Top}> | ||
<Text variant="titleM" color="primary" align="center" as="h1"> | ||
{`${placeName}에\n다녀오셨네요!`} | ||
</Text> | ||
<div className={styles.InfoList}> | ||
<div className={styles.InfoItem}> | ||
<p>가게명</p> | ||
<Input placeholder="가게 이름" /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div className={styles.Bottom}> | ||
<Button text="다시 스캔하기" variant="secondary" /> | ||
<Button text="정보가 맞아요" /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ReceiptEdit; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import Navbar from "@/components/common/Navbar"; | ||
import ReceiptEdit from "@/components/ReceiptEdit/ReceiptEdit"; | ||
|
||
const ReceiptEditPage = () => { | ||
return ( | ||
<> | ||
<Navbar /> | ||
<ReceiptEdit /> | ||
</> | ||
); | ||
}; | ||
|
||
export default ReceiptEditPage; |
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