aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/PostLayout.astro
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2024-09-05 18:01:13 +0300
committerValentin Popov <valentin@popov.link>2024-09-05 18:01:13 +0300
commit17c3115a0608bb7ef42c8038b36f24b2356004ec (patch)
treefb59e691830155a1b003dca9125fd871bd66176c /src/layouts/PostLayout.astro
parent7ba2de71480c1b568ed8b7d7f693f17774da1684 (diff)
downloadpopov.link-17c3115a0608bb7ef42c8038b36f24b2356004ec.tar.xz
popov.link-17c3115a0608bb7ef42c8038b36f24b2356004ec.zip
Added basic structure
Diffstat (limited to 'src/layouts/PostLayout.astro')
-rw-r--r--src/layouts/PostLayout.astro17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/layouts/PostLayout.astro b/src/layouts/PostLayout.astro
index ed2c900..37bbe37 100644
--- a/src/layouts/PostLayout.astro
+++ b/src/layouts/PostLayout.astro
@@ -2,6 +2,23 @@
import BaseLayout from "../layouts/BaseLayout.astro";
---
+<style>
+ .header {
+ text-align: center;
+ }
+</style>
+
<BaseLayout>
+ <div class="header">
+ <h1>Title</h1>
+ <p>
+ <small>
+ Posted
+ <time datetime="#">#</time>
+ &nbsp;by&nbsp;Valentin Popov&nbsp;‐
+ <strong>1 min read</strong>
+ </small>
+ </p>
+ </div>
<slot />
</BaseLayout>