mirror of
https://github.com/tuna2134/cecilia.git
synced 2026-07-25 22:51:35 +00:00
fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import { NextPage, Metadata } from "next";
|
import { NextPage, Metadata } from "next";
|
||||||
import Image from "next/image";
|
import { Activity, ActivityData } from "@/components/pages/Home/Activity";
|
||||||
import { Activity, ActivityData } from "@/components/pages/Home";
|
import { Profile } from "@/components/pages/Home/Profile";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "ホーム",
|
title: "ホーム",
|
||||||
@@ -23,21 +23,7 @@ const activities: ActivityData[] = [
|
|||||||
const Home: NextPage = () => {
|
const Home: NextPage = () => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="w-full flex items-center gap-4 py-8">
|
<Profile />
|
||||||
<Image
|
|
||||||
src="/images/icon.png"
|
|
||||||
alt="icon"
|
|
||||||
width={128}
|
|
||||||
height={128}
|
|
||||||
className="rounded-full"
|
|
||||||
/>
|
|
||||||
<div>
|
|
||||||
<h2 className="text-2xl font-bold">こんにちは!</h2>
|
|
||||||
<p>
|
|
||||||
はじめまして、tuna2134です。サーバーをいじったりするのが楽しいと思っている人間です!
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<h3 className="text-xl font-bold mb-4">最近の活動</h3>
|
<h3 className="text-xl font-bold mb-4">最近の活動</h3>
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||||
|
|||||||
21
src/components/pages/Home/Profile.tsx
Normal file
21
src/components/pages/Home/Profile.tsx
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
import Image from "next/image";
|
||||||
|
|
||||||
|
export const Profile: React.FC = () => {
|
||||||
|
return (
|
||||||
|
<div className="w-full flex items-center gap-4 py-8">
|
||||||
|
<Image
|
||||||
|
src="/images/icon.png"
|
||||||
|
alt="icon"
|
||||||
|
width={128}
|
||||||
|
height={128}
|
||||||
|
className="rounded-full"
|
||||||
|
/>
|
||||||
|
<div>
|
||||||
|
<h2 className="text-2xl font-bold">こんにちは!</h2>
|
||||||
|
<p>
|
||||||
|
はじめまして、tuna2134です。サーバーをいじったりするのが楽しいと思っている人間です!
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user