Add blog page

This commit is contained in:
2024-04-25 04:41:05 +02:00
parent 1b8d84b469
commit 9364264dc1
4 changed files with 55 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
export default async function Index() {
return (
<>
<h1>hello</h1>
</>
);
}

23
app/blog/page.tsx Normal file
View File

@@ -0,0 +1,23 @@
export default async function Index() {
return (
<div className="flex flex-col items-center">
<div className="my-3 flex flex-col items-center">
<h1 className="text-4xl">Stan's Blog</h1>
<p className="text-sm my-1">
<i>but what do I know</i>
</p>
</div>
<h2 className="mt-3 text-2xl">Posts ({[].length})</h2>
{/*
<ul>
<li>
<a href="/blog/neural-nets">Neural Networks</a>
</li>
<li>
<a href="/blog/nextjs">Next.js</a>
</li>
</ul> */}
</div>
);
}