X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/890274a7b3ac70848ba9973ef33d53ed58ff88a8..24be7b5399ae4162702ad9a1f17b5711922a2da4:/app/components/forum_list/forum_list.svelte?ds=sidebyside

diff --git a/app/components/forum_list/forum_list.svelte b/app/components/forum_list/forum_list.svelte
index 905421e..e49c8d8 100644
--- a/app/components/forum_list/forum_list.svelte
+++ b/app/components/forum_list/forum_list.svelte
@@ -1,21 +1,47 @@
 <script>
-  import {forums, addForum} from '../../models/forums.js'
-
-  import { fade } from 'svelte/transition';
+  import {forums, addForum} from '../../stores/forums.js'
 </script>
 
-<aside>
-  <button on:click="{addForum}">Add a Forum</button>
-  <nav>
-    <ul>
-      {#each $forums as forum}
-        <li transition:fade>
-          <a href="/f/{forum.id}">
-            <span class="navigation-kanji">{forum.kanji}</span>
-            <span class="navigation-label">{forum.label}</span>
-          </a>
-        </li>
-      {/each}
-    </ul>
-  </nav>
-</aside>
+<nav title="List of Forums">
+  <ul>
+    {#each $forums as forum}
+      <li>
+        <a href="/f/{forum.id}">
+          <span aria-hidden="true" class="navigation-glyph {forum.glyph}">{forum.glyph}</span>
+          <span class="navigation-label">{forum.label}</span>
+        </a>
+      </li>
+    {/each}
+  </ul>
+</nav>
+
+<style>
+  nav {
+    grid-column: col-start 1;
+    grid-row: 2;
+    border-right: 1px solid black;
+  }
+
+  ul {
+    padding: 0;
+  }
+
+  li {
+    display: block;
+    text-align: left;
+    margin-bottom: 20px;
+  }
+
+  .navigation-glyph {
+    font-size: 1.5rem;
+    display: block;
+  }
+
+  .â½ {
+    font-size: 2rem;
+  }
+
+  a {
+    text-decoration: none;
+  }
+</style>
