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