diff options
| author | Ben Beltran <ben@nsovocal.com> | 2020-02-02 13:12:13 +0100 |
|---|---|---|
| committer | Ben Beltran <ben@nsovocal.com> | 2020-02-02 13:12:13 +0100 |
| commit | 24be7b5399ae4162702ad9a1f17b5711922a2da4 (patch) | |
| tree | 03b408813358445e2d1fdb9b680d56e9419dc80f /app/components/post | |
| parent | 8d2ed7debf232843c1facf53fd1efdab9b36d85c (diff) | |
Add a router
Diffstat (limited to 'app/components/post')
| -rw-r--r-- | app/components/post/post.svelte | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/components/post/post.svelte b/app/components/post/post.svelte new file mode 100644 index 0000000..429dfd6 --- /dev/null +++ b/app/components/post/post.svelte @@ -0,0 +1,29 @@ +<script> + import Glyph from '../glyph/glyph.svelte'; +</script> + +<aside class="post-meta" title="Post 2 of 2 metadata"> + <Glyph uuid="b33f0339f7d64d1ca27f1c0aefb7d753" /> + <span class="h-card"> + By: <a href="/a/time4carrots" class="p-nickname u-url">time4carrots</a>. + </span> + <time role="presentation" class="dt-published" datetime="2018-08-15T04:10:00.929Z"> + <a href="/p/da9910f3febde91948000ce1535ea"> + 2018-08-15 04:10:00 + </a> + </time> +</aside> +<article class="e-content" title="Post 2 of 2 by time4carrots"> + <p>It's just how it is...</p> +</article> +<hr/> + +<style> + article, hr, aside { + grid-column: col-start 2 / span 11; + } + + .post-meta > * { + vertical-align: top; + } +</style> |