diff options
Diffstat (limited to 'src/components/post/post.svelte')
| -rw-r--r-- | src/components/post/post.svelte | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/components/post/post.svelte b/src/components/post/post.svelte new file mode 100644 index 0000000..4720533 --- /dev/null +++ b/src/components/post/post.svelte @@ -0,0 +1,27 @@ +<script> + import { _ } from 'svelte-i18n'; + + import Glyph from '../glyph/glyph.svelte'; +</script> + +<aside class="post-meta" title="{$_('post.metadata_title', { values: { count: 2, total: 2 } })}"> + <Glyph uuid="b33f0339f7d64d1ca27f1c0aefb7d753" /> + <span class="h-card"> + {$_('post.author_credit')} <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.title', { values: { count: 1, total: 2, author: 'time4carrots' } })}"> + <p>It's just how it is...</p> +</article> +<hr/> + +<style> + .post-meta * { + vertical-align: top; + } +</style> |