diff --git a/src/pages/homePC/index.module.css b/src/components/responsive/homePC/index.module.css similarity index 100% rename from src/pages/homePC/index.module.css rename to src/components/responsive/homePC/index.module.css diff --git a/src/pages/homePC/index.tsx b/src/components/responsive/homePC/index.tsx similarity index 94% rename from src/pages/homePC/index.tsx rename to src/components/responsive/homePC/index.tsx index 9dd398e..5cc0a5c 100644 --- a/src/pages/homePC/index.tsx +++ b/src/components/responsive/homePC/index.tsx @@ -1,5 +1,6 @@ -import { DefaultButton } from "../../components/ui/Button"; -import TextButton from "../../components/ui/TextButton"; + +import { DefaultButton } from "../../ui/Button"; +import TextButton from "../../ui/TextButton"; import styles from "./index.module.css"; function HomePC() { diff --git a/src/pages/homeSP/index.module.css b/src/components/responsive/homeSP/index.module.css similarity index 100% rename from src/pages/homeSP/index.module.css rename to src/components/responsive/homeSP/index.module.css diff --git a/src/pages/homeSP/index.tsx b/src/components/responsive/homeSP/index.tsx similarity index 95% rename from src/pages/homeSP/index.tsx rename to src/components/responsive/homeSP/index.tsx index 8efbc9e..58fee29 100644 --- a/src/pages/homeSP/index.tsx +++ b/src/components/responsive/homeSP/index.tsx @@ -1,4 +1,4 @@ -import { DefaultButton } from "../../components/ui/Button"; +import { DefaultButton } from "../../ui/Button"; import styles from "./index.module.css"; function HomeSP() { diff --git a/src/pages/home/index.tsx b/src/pages/home/index.tsx index 5b350c4..35c4fb3 100644 --- a/src/pages/home/index.tsx +++ b/src/pages/home/index.tsx @@ -1,7 +1,8 @@ import { useEffect, useState } from "react"; import { device } from "../../utils/device"; -import HomePC from "../homePC/index.tsx"; -import HomeSP from "../homeSP/index.tsx"; +import HomePC from "../../components/responsive/homePC"; +import HomeSP from "../../components/responsive/homeSP"; + function Home() { const [isPcScreen, setIsPcScreen] = useState(