Fix typo & remove back button

This commit is contained in:
tobias 2024-05-19 08:48:49 +02:00
parent 7234cef7e1
commit 467b4bb0ad
2 changed files with 2 additions and 3 deletions

View File

@ -42,4 +42,4 @@ const posts = await getPosts();
}
</div>
</main>
</CLayout>
</ContentLayout>

View File

@ -20,11 +20,10 @@ const post = id && (await getPost(id));
post ? (
<ContentLayout title={`Paystro | ${post.title!}`}>
<div class="space-y-3 my-3">
<a href="/">BACK</a>
<h1 class="font-bold text-5xl">{post.title}</h1>
{post.content && <Content content={post.content} />}
</div>
</CLayout>
</ContentLayout>
) : (
<div>404</div>
)