Skip to content

Commit

Permalink
Updated slug layout
Browse files Browse the repository at this point in the history
  • Loading branch information
milkcee12 committed Feb 22, 2024
1 parent af29f37 commit 3147e73
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/routes/(app)/archive/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
</p>

<div class="title">
<p><i>{data.type}, {data.date}</i></p>
<h2>{data.title}</h2>
<Tags tags={data.tags} />
<p><i>{data.type}</i></p>
<p><i>{data.date}</i></p>
</div>

<svelte:component this={data.content} />
Expand All @@ -26,14 +27,14 @@

<style lang="scss">
.title {
margin: 4em 0 1em;
margin: 4em 0 2em;
h2 {
margin-top: 0em;
margin-bottom: 0.3em;
margin-bottom: 0.2em;
}
p {
margin-bottom: 0.5em;
margin: 0.3em;
}
}
Expand Down

0 comments on commit 3147e73

Please sign in to comment.