diff --git a/website/package.json b/website/package.json index ea44a0ec..786701dd 100644 --- a/website/package.json +++ b/website/package.json @@ -27,6 +27,7 @@ "vue-meta": "^2.4.0", "vue-router": "^3.2.0", "vue-socket.io-extended": "^4.1.0", + "vue-tweet-embed": "^2.4.0", "vue-youtube-embed": "^2.2.2", "vuex": "^3.6.2" }, diff --git a/website/src/components/broadcast/roots/GFXRoot.vue b/website/src/components/broadcast/roots/GFXRoot.vue index c77a926a..9e89a1ae 100644 --- a/website/src/components/broadcast/roots/GFXRoot.vue +++ b/website/src/components/broadcast/roots/GFXRoot.vue @@ -3,6 +3,7 @@ + @@ -18,10 +19,11 @@ import BracketOverlay from "@/components/broadcast/roots/BracketOverlay.vue"; import ImageOverlay from "@/components/broadcast/roots/ImageOverlay.vue"; import IframeOverlay from "@/components/broadcast/roots/IframeOverlay.vue"; import StandingsOverlay from "@/components/broadcast/roots/StandingsOverlay.vue"; +import TweetOverlay from "@/components/broadcast/roots/TweetOverlay.vue"; export default { name: "GFXRoot", - components: { StandingsOverlay, IframeOverlay, ImageOverlay, BracketOverlay, ScheduleOverlay }, + components: { TweetOverlay, StandingsOverlay, IframeOverlay, ImageOverlay, BracketOverlay, ScheduleOverlay }, props: { index: Number, broadcast: Object, @@ -38,7 +40,7 @@ export default { forceBracket: this.gfx?.bracket, image: this.gfx?.image?.[0], url: this.gfx?.url, - key: this.gfx?.key + identifier: this.gfx?.identifier }; }, gfx() { diff --git a/website/src/components/broadcast/roots/TweetOverlay.vue b/website/src/components/broadcast/roots/TweetOverlay.vue new file mode 100644 index 00000000..d6b25c26 --- /dev/null +++ b/website/src/components/broadcast/roots/TweetOverlay.vue @@ -0,0 +1,40 @@ + + + + + +