aboutsummaryrefslogtreecommitdiff
path: root/app/models/forums.js
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2020-01-26 16:33:43 +0100
committerBen Beltran <ben@nsovocal.com>2020-01-26 16:33:43 +0100
commit66dc4cae4cd37e82d773dc30be046d82d380ec4d (patch)
tree89723b2fa1505907a3998f8cbe81fd5448614ef6 /app/models/forums.js
parent32ec81f6370328833fd0ba3dfe1c2974ac775973 (diff)
Add skeleton for topic
Tested with VoiceOver
Diffstat (limited to 'app/models/forums.js')
-rw-r--r--app/models/forums.js85
1 files changed, 0 insertions, 85 deletions
diff --git a/app/models/forums.js b/app/models/forums.js
deleted file mode 100644
index 211181e..0000000
--- a/app/models/forums.js
+++ /dev/null
@@ -1,85 +0,0 @@
-import { writable } from 'svelte/store';
-
-const internals = {};
-
-internals.forums = [
- {
- id: 'life',
- kanji: '命',
- label: 'Life'
- },
- {
- id: 'the-world',
- kanji: '世',
- label: 'The World'
- },
- {
- id: 'online',
- kanji: '直結',
- label: 'Online'
- },
- {
- id: 'experience',
- kanji: '体験',
- label: 'Experience'
- },
- {
- id: 'belief',
- kanji: '信念',
- label: 'Belief'
- },
- {
- id: 'movement',
- kanji: '動',
- label: 'Movement'
- },
- {
- id: 'emotion',
- kanji: '情',
- label: 'Emotion'
- },
- {
- id: 'interaction',
- kanji: '交流',
- label: 'Interaction'
- },
- {
- id: 'structure',
- kanji: '構造',
- label: 'Structure'
- },
- {
- id: 'sound',
- kanji: '音',
- label: 'Sound'
- },
- {
- id: 'words',
- kanji: '言葉',
- label: 'Words'
- },
- {
- id: 'us',
- kanji: '一同',
- label: 'Us'
- },
- {
- id: 'everything',
- kanji: '何事も',
- label: 'Everything'
- }
-];
-
-export const forums = writable(internals.forums);
-
-export function addForum() {
- const id = Math.random();
-
- forums.update((forums) => ([...forums,
- {
- id,
- kanji: 'の',
- label: `Woah ${id}`
- }
- ]));
-};