Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"axios": "^1.10.0",
"clsx": "^2.1.1",
"framer-motion": "^12.17.3",
"lucide-react": "^0.525.0",
"next": "15.3.3",
"postcss": "^8.5.5",
"react": "^19.0.0",
Expand Down
42 changes: 33 additions & 9 deletions src/app/_components/LandingPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
import { useEffect } from "react";
import { createNewUser } from "@/utils/createNewUser";
import Image from "next/image";
import Button from "@/components/Button";
import Logo from "@/assets/icons/logo.png";
import { Info } from "lucide-react";

export default function LandingPage({
routing,
Expand All @@ -12,22 +14,44 @@ export default function LandingPage({
}) {
useEffect(() => {
createNewUser();
setTimeout(() => {
routing("OnboardingSurvey");
}, 1000);
}, [routing]);
}, []);

return (
<div className="flex h-screen w-full items-center bg-[#F7F9FD]">
<div className="flex w-full flex-col items-center gap-[40px]">
<Image src={Logo} alt="" />
<div className="flex w-full flex-col items-center gap-[24px]">
<h2 className="text-center text-[36px] leading-[120%] font-[700] text-[#142448]">
μƒˆκΈΈμ— μ˜€μ‹  것을 ν™˜μ˜ν•΄μš”!
<Image src={Logo} alt="logo" width={98} height={81} className="sm:h-[121px] sm:w-[98px] h-[81px] w-[65px]"/>
<div className="flex flex-col items-center gap-[24px] w-full">
<h2 className="text-[#142448] text-center text-title-large sm:text-display">
μƒˆκΈΈμ— μ˜€μ‹  것을<br />ν™˜μ˜ν•΄μš”!
</h2>
<p className="text-center text-[22px] leading-[150%] font-[600] text-[#7F9CDC]">
<div className="w-full max-w-[720px] bg-[#e6f4f8] border border-[#b6e0ef] rounded-xl p-4 shadow-sm flex gap-2">
<div className="text-[#1683a4] mt-1">

<Info size={20} />
</div>
<div className="text-[#1683a4] text-[14px] font-[500] leading-[150%]">
<p>
λ³Έ μ„œλΉ„μŠ€λŠ” μƒˆλ§ŒκΈˆμ‚¬μ—… 보쑰 λͺ©μ μ˜ μ •μ£Όμ˜ν–₯ 확인 및 μΈκ΅¬μœ μž… κ°€λŠ₯성을 ν™•μΈν•˜λŠ” μ„€λ¬Έμ‘°μ‚¬μž…λ‹ˆλ‹€.
</p>
<p className="mt-2">
섀문쑰사 응닡은 μ˜€λ‘œμ§€ μƒˆλ§ŒκΈˆ κ΄€λ ¨ μ‹ κ·œλ°μ΄ν„° μƒμ‚°μ—λ§Œ 쓰이며,<br />
λ―Όκ°ν•œ κ°œμΈμ •λ³΄λŠ” μˆ˜μ§‘ λŒ€μƒμ΄ μ•„λ‹˜μ„ λ°νž™λ‹ˆλ‹€.
</p>
</div>
</div>

<p className="text-[#4b5263] text-center text-[15px] font-[600] leading-[150%]">
κ·€μ€‘ν•œ μ‹œκ°„μ„ λ‚΄μ£Όμ…”μ„œ κ°μ‚¬λ“œλ¦¬λ©°,<br /> νŽΈμ•ˆν•˜κ³  μ§„μ†”ν•˜κ²Œ λ‹΅ν•΄μ£Όμ‹œκΈΈ λ°”λžλ‹ˆλ‹€.
</p>
<p className="text-[#3560c0] text-center text-[22px] font-[600] leading-[150%]">
λ¨Όμ € κ°„λ‹¨ν•œ 정보뢀터 μ‹œμž‘ν•΄λ³ΌκΉŒμš”?
</p>
<Button variant="primary" width={355} onClick={() => routing("OnboardingSurvey")}>
μ§€κΈˆ μ‹œμž‘ν• κ²Œμš”!
</Button>
<p className="text-[#79839a] text-center text-[10px] font-[600] leading-[150%]">
기타 μ„œλΉ„μŠ€ κ΄€λ ¨ λ¬Έμ˜μ‚¬ν•­ | chickentasty0112@gmail.com
</p>
</div>
</div>
</div>
Expand Down