🚧💄 working on styling about- & blogpages

This commit is contained in:
SindreKjelsrud 2023-08-22 16:09:01 +02:00
parent d6d2b820f8
commit 809aef2a5a
2 changed files with 57 additions and 76 deletions

View file

@ -34,21 +34,23 @@ const posts = (await getCollection('blog')).sort(
</style>
</head>
<body>
<Header />
<main>
<section>
<ul>
{
posts.map((post) => (
<li>
<FormattedDate date={post.data.pubDate} />
<a href={`/blog/${post.slug}/`}>{post.data.title}</a>
</li>
))
}
</ul>
</section>
</main>
<Footer />
<div class="flex flex-col fixed w-screen">
<Header />
<main class="flex flex-col justify-center items-left mx-80">
<section>
<ul>
{
posts.map((post) => (
<li>
<FormattedDate date={post.data.pubDate} />
<a href={`/blog/${post.slug}/`}>{post.data.title}</a>
</li>
))
}
</ul>
</section>
</main>
<Footer />
</div>
</body>
</html>