X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/41247723b2940efe89648749b90e56d582bdfb89..bd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6:/app/stores/forums.js diff --git a/app/stores/forums.js b/app/stores/forums.js deleted file mode 100644 index c473124..0000000 --- a/app/stores/forums.js +++ /dev/null @@ -1,86 +0,0 @@ -import { writable } from 'svelte/store'; - -const internals = {}; - -internals.forums = [ - { - id: 'life', - glyph: '☆', - label: 'Life' - }, - { - id: 'the-world', - glyph: '◯', - label: 'The World' - }, - { - id: 'online', - glyph: '⏀', - label: 'Online' - }, - { - id: 'experience', - glyph: '♢', - label: 'Experience' - }, - { - id: 'belief', - glyph: '⏃', - label: 'Belief' - }, - { - id: 'movement', - glyph: '▷', - label: 'Movement' - }, - { - id: 'emotion', - glyph: '☽', - label: 'Emotion' - }, - { - id: 'interaction', - glyph: '〒', - label: 'Interaction' - }, - { - id: 'structure', - glyph: '▢', - label: 'Structure' - }, - { - id: 'sound', - glyph: '〰', - label: 'Sound' - }, - { - id: 'words', - glyph: '╳', - label: 'Words' - }, - { - id: 'us', - glyph: '╱', - label: 'Us' - }, - { - id: 'everything', - glyph: '♡', - label: 'Everything' - } -]; - -export const forums = writable(internals.forums); - -export const addForum = function addForum() { - - const id = Math.random(); - - forums.update((originalForums) => ([...originalForums, - { - id, - glyph: 'の', - label: `Woah ${id}` - } - ])); -};