From 5c08c32c9295488130c4182026df3ff58ad989d6 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Fri, 2 Apr 2021 19:30:47 +0530 Subject: [PATCH] add brackets --- package.json | 4 +- src/components/Brackets.vue | 135 ++++++++++++++++++++++++++++++++++++ src/store.js | 1 + src/utils/websocket.js | 1 + src/views/Home.vue | 4 ++ 5 files changed, 143 insertions(+), 2 deletions(-) create mode 100644 src/components/Brackets.vue diff --git a/package.json b/package.json index 5220f06..f5ad90f 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "slapdash", - "version": "1.3.1", + "version": "1.4.0", "author": "Ayush Mukherjee", "description": "Dashboard for APL-Nuke cum APL-Boost data manager", - "private": true, + "private": false, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", diff --git a/src/components/Brackets.vue b/src/components/Brackets.vue new file mode 100644 index 0000000..4b3edba --- /dev/null +++ b/src/components/Brackets.vue @@ -0,0 +1,135 @@ + + + + + \ No newline at end of file diff --git a/src/store.js b/src/store.js index 9046f7c..e303308 100644 --- a/src/store.js +++ b/src/store.js @@ -17,6 +17,7 @@ const state = reactive({ hosts: [], streams: [], streamsFull: [], + brackets: [], overlayStream: null, server: false, }) diff --git a/src/utils/websocket.js b/src/utils/websocket.js index fa476dc..84a316c 100644 --- a/src/utils/websocket.js +++ b/src/utils/websocket.js @@ -14,6 +14,7 @@ const channels = [ 'casters', 'hosts', 'streams', + 'brackets', ] const channelEvents = [ diff --git a/src/views/Home.vue b/src/views/Home.vue index 7255f6e..0df329e 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -9,6 +9,7 @@ + APL Logo
@@ -33,6 +34,7 @@ +
@@ -46,6 +48,7 @@ import Matches from '@/components/Matches.vue' import Casters from '@/components/Casters.vue' import Hosts from '@/components/Hosts.vue' import Streams from '@/components/Streams.vue' +import Brackets from '@/components/Brackets.vue' export default { components: { @@ -55,6 +58,7 @@ export default { Casters, Hosts, Streams, + Brackets, }, setup() { const store = inject('store')