diff --git a/component/form/UserInfoForm.tsx b/component/form/UserInfoForm.tsx index b30efa9..d2c50df 100644 --- a/component/form/UserInfoForm.tsx +++ b/component/form/UserInfoForm.tsx @@ -53,8 +53,6 @@ interface UserInfoFormPropsType { } const UserInfoForm = ({ setFunnel, setProgress }: UserInfoFormPropsType) => { - const params = useParams(); - const options = ["남성", "여성"]; const { getRootProps, getRadioProps } = useRadioGroup({ diff --git a/next.config.js b/next.config.js index 767719f..9ae8abf 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,8 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {} +const nextConfig = { + images: { + domains: ["images.pexels.com"], + }, +}; -module.exports = nextConfig +module.exports = nextConfig; diff --git a/src/app/ChakraLayout.tsx b/src/app/ChakraLayout.tsx index 5a97300..21a3fc0 100644 --- a/src/app/ChakraLayout.tsx +++ b/src/app/ChakraLayout.tsx @@ -7,7 +7,6 @@ import dynamic from "next/dynamic"; const ChakraProvider = dynamic(() => import("@chakra-ui/provider").then((mod) => mod.ChakraProvider) ); -import localFont from "next/font/local"; // const BMJUA = localFont({ // src: [ diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 028b707..78fd14b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -13,7 +13,7 @@ export default function RootLayout({ children: React.ReactNode; }) { return ( - + {children} diff --git a/src/app/page.tsx b/src/app/page.tsx index f2fe7de..879ef97 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,11 +1,69 @@ +"use client"; +import { Box, ButtonGroup, Flex, Heading, Text } from "@chakra-ui/react"; import MainButton from "../../component/button/MainButton"; +import { useRouter } from "next/navigation"; +import Image from "next/image"; export default function Home() { + const router = useRouter(); return ( -
- - 시작하기 - -
+ + 식선생 + + + 살빼려면 +
+ 오늘 얼마만큼 운동해야하지? +
+ + 오늘 먹은 음식을 식선생에게 외쳐보세요!
+ 필요 운동량과 안찌는 식단을 한번에 알려드려요 +
+
+ + + { + router.push("/signup"); + }} + > + 다음으로 + + +
); }