]> git.r.bdr.sh - rbdr/forum/blob - src/components/topic/topic.svelte
2aff79a6ce42ef33b64b463a19dd5aab3c2baf3f
[rbdr/forum] / src / components / topic / topic.svelte
1 <script>
2 import { _ } from 'svelte-i18n';
3
4 import Glyph from '../glyph/glyph.svelte';
5 </script>
6
7 <div class="h-entry" title="{$_('topic.title')}">
8 <h1 class="p-name">This is a post in the forum.</h1>
9 <aside class="topic-meta" title="{$_('topic.metadata_title')}">
10 <span class="topic-location">{$_('topic.category_location')} <a href="/f/interaction"
11 class="p-category">{$_('forum.name.interaction')}</a>.</span>
12 <span class="topic-ttl"><a class="u-url u-uid" title="{$_('topic.permalink_title')}" href="/t/2a3fc567af8c897ca6f55fb5fj">{$_('topic.remaining_time', { values: { remaining: $_('time.days', { values: { count: 3 } }) } })}</a>.</span>
13 </aside>
14 <aside class="topic-tags" title="{$_('topic.tags_title')}">
15 {$_('topic.tags_location')}
16 <a href="/g/question" class="p-category">question<span class="tag-weight">(5)</span></a>
17 <a href="/g/meta" class="p-category">meta<span class="tag-weight">(34)</span></a>
18 <a href="/g/carrots" class="p-category">carrots<span class="tag-weight">(1)</span></a>
19 <a href="/g/tpbo" class="p-category">tpbo<span class="tag-weight">(2)</span></a>
20 </aside>
21 <aside class="post-meta" title="{$_('post.metadata_title', { values: { count: 1, total: 2 } })}">
22 <Glyph uuid="3cd8c84e18144a2da71f6bace9392abc" />
23 <span class="h-card">
24 {$_('post.author_credit')} <a href="/a/rbdr" class="p-nickname u-url">rbdr</a>.
25 </span>
26 <time role="presentation" class="dt-published" datetime="2018-08-14T03:32:10.929Z">
27 <a title="{$_('post.permalink_title')}" href="/p/a80c70ea0120387123097ce1907ff">
28 2018-08-14 03:32:10
29 </a>
30 </time>
31 </aside>
32 <article class="e-content" title="{$_('post.title', { values: { count: 1, total: 2, author: 'rbdr' } })}">
33 <p>This is a main topic in the forum. Does that abstraction still even make sense?</p>
34 <p>Is this really it??</p>
35 <p>This might all be fake but at least the links look purple when visited</p>
36 </article>
37 <hr/>
38 <aside class="post-meta" title="{$_('post.metadata_title', { values: { count: 2, total: 2 } })}">
39 <Glyph uuid="b33f0339f7d64d1ca27f1c0aefb7d753" />
40 <span class="h-card">
41 {$_('post.author_credit')} <a href="/a/time4carrots" class="p-nickname u-url">time4carrots</a>.
42 </span>
43 <time role="presentation" class="dt-published" datetime="2018-08-15T04:10:00.929Z">
44 <a href="/p/da9910f3febde91948000ce1535ea">
45 2018-08-15 04:10:00
46 </a>
47 </time>
48 </aside>
49 <article class="e-content" title="{$_('post.title', { values: { count: 1, total: 2, author: 'time4carrots' } })}">
50 <p>It's just how it is...</p>
51 </article>
52 <hr/>
53 </div>
54
55 <style>
56 .post-meta * {
57 vertical-align: top;
58 }
59 </style>