-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[Feat/#94] ์ด๋ฏธ์ง ์ฒจ๋ถ๋ ์๋ฃ ๋ทฐ ๊ตฌํ
- Loading branch information
Showing
7 changed files
with
134 additions
and
14 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,33 @@ | ||
import { style } from "@vanilla-extract/css"; | ||
|
||
export const backGround = style({ | ||
height: "100vh", | ||
background: "linear-gradient(180deg, #DEFEFF 0%, #FFF 36.13%)", | ||
}); | ||
|
||
export const layout = style({ | ||
display: "flex", | ||
flexDirection: "column", | ||
alignItems: "center", | ||
gap: "3.2rem", | ||
padding: "7.2rem 2rem 6rem 2rem", | ||
}); | ||
export const titleWrapper = style({ | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
textAlign: "center", | ||
gap: "0.8rem", | ||
}); | ||
export const btnWrapper = style({ | ||
maxWidth: "76.8rem", | ||
width: "100%", | ||
position: "fixed", | ||
bottom: 0, | ||
display: "grid", | ||
gridTemplateColumns: "repeat(2, 1fr)", | ||
gap: "1.2rem", | ||
whiteSpace: "nowrap", | ||
padding: "1.2rem 2rem 3.2rem 2rem", | ||
}); |
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 |
---|---|---|
@@ -1,8 +1,39 @@ | ||
import * as styles from "./Complete.css"; | ||
import { useNavigate } from "react-router-dom"; | ||
import Docs from "../index/common/docs/Docs"; | ||
import Title from "../index/common/title/Title"; | ||
import { Button } from "@common/component/Button"; | ||
import img from "@asset/image/beforeRegisterGraphic.png"; | ||
import { PATH } from "@route/path"; | ||
|
||
const Complete = () => { | ||
const navigate = useNavigate(); | ||
const handleSkip = () => { | ||
navigate(PATH.MAIN); | ||
}; | ||
|
||
const handleNext = () => { | ||
navigate(PATH.REGISTER_PET.ROOT); | ||
}; | ||
|
||
return ( | ||
<div>Complete</div> | ||
) | ||
} | ||
<div className={styles.backGround}> | ||
<div className={styles.layout}> | ||
<div className={styles.titleWrapper}> | ||
<div> | ||
<Title text={"@@@๋"} /> | ||
<Title text={"๋ฐ๋ ค๋๋ฌผ์ ๋ฑ๋กํด ์ฃผ์ธ์"} /> | ||
</div> | ||
<Docs text={"์์ ์ ๋ณด๊ฐ ์ฐ๋ฆฌ ์์ด์ ๊ฑด๊ฐ์ ์ง์ผ์"} /> | ||
</div> | ||
<img src={img} alt="onboarding-character" width={296} height={325} /> | ||
</div> | ||
<div className={styles.btnWrapper}> | ||
<Button label="๊ฑด๋๋ฐ๊ธฐ" size="large" variant="solidNeutral" onClick={handleSkip} /> | ||
<Button label="๋ฑ๋กํ๊ธฐ" size="large" variant="solidPrimary" onClick={handleNext} /> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default Complete | ||
export default Complete; |
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 @@ | ||
import { style } from "@vanilla-extract/css"; | ||
|
||
export const backGround = style({ | ||
height: "100vh", | ||
background: "linear-gradient(180deg, #DEFEFF 0%, #FFF 36.13%)", | ||
}); | ||
|
||
export const layout = style({ | ||
display: "flex", | ||
flexDirection: "column", | ||
alignItems: "center", | ||
gap: "3.2rem", | ||
padding: "7.2rem 2rem 0 2rem", | ||
}); | ||
export const titleWrapper = style({ | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "center", | ||
alignItems: "center", | ||
textAlign: "center", | ||
gap: "0.8rem", | ||
}); | ||
export const btnWrapper = style({ | ||
maxWidth: "76.8rem", | ||
width: "100%", | ||
position: "fixed", | ||
bottom: 0, | ||
whiteSpace: "nowrap", | ||
padding: "1.2rem 2rem 3.2rem 2rem", | ||
}); |
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 |
---|---|---|
@@ -1,10 +1,34 @@ | ||
import * as styles from "./Complete.css"; | ||
import { useNavigate } from "react-router-dom"; | ||
import Docs from "@page/onboarding/index/common/docs/Docs"; | ||
import Title from "@page/onboarding/index/common/title/Title"; | ||
import { Button } from "@common/component/Button"; | ||
import img from "@asset/image/beforeRegisterGraphic.png"; | ||
|
||
const Complete = () => { | ||
const navigate = useNavigate(); | ||
const handleSkip = () => { | ||
navigate("/main"); | ||
}; | ||
|
||
return ( | ||
<div> | ||
๋ฐ๋ ค๋๋ฌผ ์ปดํ๋ฆฌํธ | ||
<div className={styles.backGround}> | ||
<div className={styles.layout}> | ||
<div className={styles.titleWrapper}> | ||
<div> | ||
<Title text={"@@@๋"} /> | ||
<Title text={"๋ฑ๋ก์ด ์๋ฃ๋์์ต๋๋ค"} /> | ||
</div> | ||
<Docs text={"๋ฐ๋ ค๋๋ฌผ๊ณผ ํจ๊ปํ๋ ๊ธด ์๊ฐ, ๋ ์ ๋๋ด๋๋ฆด๊ฒ์"} /> | ||
</div> | ||
<img src={img} alt="onboarding-character" width={296} height={325} /> | ||
</div> | ||
|
||
<div className={styles.btnWrapper}> | ||
<Button label="๋๋ฌผ ๋ฑ๋ก ๋๋ด๊ธฐ" size="large" variant="solidPrimary" onClick={handleSkip} /> | ||
</div> | ||
</div> | ||
) | ||
} | ||
); | ||
}; | ||
|
||
export default Complete | ||
export default Complete; |