feat: appunti and guide prototype page styling

This commit is contained in:
2024-03-12 23:04:49 +01:00
parent 16bffed2be
commit 182238f89d
11 changed files with 317 additions and 45 deletions
+4 -7
View File
@@ -15,11 +15,8 @@ const { entry } = Astro.props
const { Content } = await entry.render()
---
<ArticleLayout {...entry.data} pageName={['guide', entry.data.id]}>
<div class="text-content">
<h1>{entry.data.title}</h1>
{entry.data.series && <h2>{entry.data.series}</h2>}
<Content />
</div>
<ArticleLayout {...entry.data} pageName={['guide', entry.data.id, entry.data.series && 'series']}>
<h1>{entry.data.title}</h1>
{entry.data.series && <div class="series">Serie: {entry.data.series}</div>}
<Content />
</ArticleLayout>