This commit is contained in:
tuna2134
2026-05-26 12:59:00 +09:00
parent 4b91d2ea8a
commit 168df53f19
9 changed files with 27 additions and 9 deletions

View File

@@ -8,7 +8,9 @@ const Layout: React.FC<LayoutProps> = ({ children }) => {
return (
<>
<Header />
{children}
<main className="flex-1 w-full max-w-3xl mx-auto px-4 py-8">
{children}
</main>
</>
);
};

View File

@@ -1,8 +1,27 @@
import Image from "next/image";
import { NextPage } from "next";
import Image from "next/image";
const Home: NextPage = () => {
return <p>hello</p>;
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>
<p>hello</p>
</>
);
};
export default Home;