diff --git a/src/app/(pages)/page.tsx b/src/app/(pages)/page.tsx index 1755234..afd3705 100644 --- a/src/app/(pages)/page.tsx +++ b/src/app/(pages)/page.tsx @@ -1,6 +1,6 @@ import { NextPage, Metadata } from "next"; -import Image from "next/image"; -import { Activity, ActivityData } from "@/components/pages/Home"; +import { Activity, ActivityData } from "@/components/pages/Home/Activity"; +import { Profile } from "@/components/pages/Home/Profile"; export const metadata: Metadata = { title: "ホーム", @@ -23,21 +23,7 @@ const activities: ActivityData[] = [ const Home: NextPage = () => { return ( <> -
- icon -
-

こんにちは!

-

- はじめまして、tuna2134です。サーバーをいじったりするのが楽しいと思っている人間です! -

-
-
+

最近の活動

diff --git a/src/components/pages/Home.tsx b/src/components/pages/Home/Activity.tsx similarity index 100% rename from src/components/pages/Home.tsx rename to src/components/pages/Home/Activity.tsx diff --git a/src/components/pages/Home/Profile.tsx b/src/components/pages/Home/Profile.tsx new file mode 100644 index 0000000..3f97e27 --- /dev/null +++ b/src/components/pages/Home/Profile.tsx @@ -0,0 +1,21 @@ +import Image from "next/image"; + +export const Profile: React.FC = () => { + return ( +
+ icon +
+

こんにちは!

+

+ はじめまして、tuna2134です。サーバーをいじったりするのが楽しいと思っている人間です! +

+
+
+ ); +};