diff --git a/src/app/mypage/profile/signature/page.tsx b/src/app/mypage/profile/signature/page.tsx index 9103e0f..5d33fe8 100644 --- a/src/app/mypage/profile/signature/page.tsx +++ b/src/app/mypage/profile/signature/page.tsx @@ -5,14 +5,12 @@ import { theme } from "@/styles/theme"; import Topbar from "@/components/common/Topbar"; import ListNumber from "@/components/common/ListNumber"; import { signData } from "@/data/mypageData"; -import Subtitle from "@/components/signin/Subtitle"; import Button from "@/components/common/Button"; -import { useEffect, useRef, useState } from "react"; +import { useRef, useState } from "react"; import { CheckBox } from "@/components/common/Checkbox.stories"; import { useRouter } from "next/navigation"; import Image from "next/image"; import SignatureCanvas from "react-signature-canvas"; -import Axios from "@/apis/axios"; const Signature = () => { const router = useRouter(); diff --git a/src/app/news/eduOffice/page.tsx b/src/app/news/eduOffice/page.tsx index f440544..35b4dc1 100644 --- a/src/app/news/eduOffice/page.tsx +++ b/src/app/news/eduOffice/page.tsx @@ -2,7 +2,6 @@ import Axios from "@/apis/axios"; import Tabbar from "@/components/common/Tabbar"; -import HomeGuide from "@/components/news/HomeGuide"; import Summary from "@/components/news/Summary"; import HomeGuideRemind from "@/components/school/home/HomeGuideRemind"; import { theme } from "@/styles/theme"; diff --git a/src/app/news/school/page.tsx b/src/app/news/school/page.tsx index 4b78fba..d3c39d3 100644 --- a/src/app/news/school/page.tsx +++ b/src/app/news/school/page.tsx @@ -2,7 +2,6 @@ import Axios from "@/apis/axios"; import Tabbar from "@/components/common/Tabbar"; -import HomeGuide from "@/components/news/HomeGuide"; import Summary from "@/components/news/Summary"; import HomeGuideRemind from "@/components/school/home/HomeGuideRemind"; import { theme } from "@/styles/theme"; diff --git a/src/components/home/MealTable.tsx b/src/components/home/MealTable.tsx index d0c094b..cea83ec 100644 --- a/src/components/home/MealTable.tsx +++ b/src/components/home/MealTable.tsx @@ -1,4 +1,3 @@ -import { mealData } from "@/data/homeData"; import { theme } from "@/styles/theme"; import { useEffect, useState } from "react"; import styled from "styled-components"; diff --git a/src/components/news/HomeGuide.tsx b/src/components/news/HomeGuide.tsx deleted file mode 100644 index 624aeb7..0000000 --- a/src/components/news/HomeGuide.tsx +++ /dev/null @@ -1,83 +0,0 @@ -import ListBox from "@/components/common/ListBox"; -import More from "@/components/common/More"; -import { todoHomeData } from "@/data/newsData"; -import { theme } from "@/styles/theme"; -import { useRouter } from "next/navigation"; -import { useState } from "react"; -import styled from "styled-components"; - -interface TodoHomeListsProps { - expanded: boolean; -} - -const HomeGuide = () => { - const router = useRouter(); - - return ( - <> - - - <div> - <Em>가정통신문 제출</Em> 잊지마세요! - </div> - <More - onClick={() => { - router.push("/school/homeGuide"); - }} - /> - - - {todoHomeData.map((data, index) => ( - - ))} - - - - ); -}; - -export default HomeGuide; - -const Container = styled.div` - width: 100%; - padding: 16px; - gap: 10px; - border-radius: 10px; - background: ${theme.colors.white}; - box-shadow: 0px 0px 64px 0px rgba(30, 41, 59, 0.1); - ${(props) => props.theme.fonts.body2_b}; - color: ${theme.colors.b700}; - z-index: 10; - letter-spacing: -0.28px; - position: relative; -`; - -const Title = styled.div` - width: 100%; - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - margin-bottom: 12px; -`; - -const Em = styled.span` - color: ${theme.colors.primary700}; -`; - -const TodoHomeLists = styled.div` - width: 100%; - height: 140px; - overflow-y: scroll; - display: flex; - flex-direction: column; - gap: 8px; - margin-top: 20px; -`;