]> git.r.bdr.sh - rbdr/forum/blob - src/components/post/post.svelte
Add loader component
[rbdr/forum] / src / components / post / post.svelte
1 <script>
2 import { _ } from 'svelte-i18n';
3
4 import Glyph from '../glyph/glyph.svelte';
5 </script>
6
7 <aside class="post-meta" title="{$_('post.metadata_title', { values: { count: 2, total: 2 } })}">
8 <Glyph uuid="b33f0339f7d64d1ca27f1c0aefb7d753" />
9 <span class="h-card">
10 {$_('post.author_credit')} <a href="/a/time4carrots" class="p-nickname u-url">time4carrots</a>.
11 </span>
12 <time role="presentation" class="dt-published" datetime="2018-08-15T04:10:00.929Z">
13 <a href="/p/da9910f3febde91948000ce1535ea">
14 2018-08-15 04:10:00
15 </a>
16 </time>
17 </aside>
18 <article class="e-content" title="{$_('post.title', { values: { count: 1, total: 2, author: 'time4carrots' } })}">
19 <p>It's just how it is...</p>
20 </article>
21 <hr/>
22
23 <style>
24 .post-meta * {
25 vertical-align: top;
26 }
27 </style>