]> git.r.bdr.sh - rbdr/forum/blame - src/components/topic/topic.svelte
Add loader component
[rbdr/forum] / src / components / topic / topic.svelte
CommitLineData
66dc4cae 1<script>
bd8e98d7
RBR
2 import { _ } from 'svelte-i18n';
3
66dc4cae
BB
4 import Glyph from '../glyph/glyph.svelte';
5</script>
6
bd8e98d7 7<div class="h-entry" title="{$_('topic.title')}">
66dc4cae 8 <h1 class="p-name">This is a post in the forum.</h1>
bd8e98d7
RBR
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>
66dc4cae 13 </aside>
bd8e98d7
RBR
14 <aside class="topic-tags" title="{$_('topic.tags_title')}">
15 {$_('topic.tags_location')}
24be7b53
BB
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>
66dc4cae 20 </aside>
bd8e98d7 21 <aside class="post-meta" title="{$_('post.metadata_title', { values: { count: 1, total: 2 } })}">
66dc4cae
BB
22 <Glyph uuid="3cd8c84e18144a2da71f6bace9392abc" />
23 <span class="h-card">
bd8e98d7 24 {$_('post.author_credit')} <a href="/a/rbdr" class="p-nickname u-url">rbdr</a>.
66dc4cae 25 </span>
8d2ed7de 26 <time role="presentation" class="dt-published" datetime="2018-08-14T03:32:10.929Z">
bd8e98d7 27 <a title="{$_('post.permalink_title')}" href="/p/a80c70ea0120387123097ce1907ff">
66dc4cae
BB
28 2018-08-14 03:32:10
29 </a>
30 </time>
31 </aside>
bd8e98d7 32 <article class="e-content" title="{$_('post.title', { values: { count: 1, total: 2, author: 'rbdr' } })}">
66dc4cae
BB
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/>
bd8e98d7 38 <aside class="post-meta" title="{$_('post.metadata_title', { values: { count: 2, total: 2 } })}">
66dc4cae
BB
39 <Glyph uuid="b33f0339f7d64d1ca27f1c0aefb7d753" />
40 <span class="h-card">
bd8e98d7 41 {$_('post.author_credit')} <a href="/a/time4carrots" class="p-nickname u-url">time4carrots</a>.
66dc4cae 42 </span>
24be7b53 43 <time role="presentation" class="dt-published" datetime="2018-08-15T04:10:00.929Z">
66dc4cae
BB
44 <a href="/p/da9910f3febde91948000ce1535ea">
45 2018-08-15 04:10:00
46 </a>
47 </time>
48 </aside>
bd8e98d7 49 <article class="e-content" title="{$_('post.title', { values: { count: 1, total: 2, author: 'time4carrots' } })}">
66dc4cae
BB
50 <p>It's just how it is...</p>
51 </article>
52 <hr/>
38416066 53</div>
66dc4cae
BB
54
55<style>
bd8e98d7 56 .post-meta * {
66dc4cae
BB
57 vertical-align: top;
58 }
59</style>