aboutsummaryrefslogtreecommitdiff
path: root/src/components/update_notification/update_notification.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-08-02 00:37:48 +0300
committerHenry Jameson <me@hjkos.com>2022-08-02 00:37:48 +0300
commit5b7c6538745083dfd48771392ab22de557a7a344 (patch)
tree3f7f17a881280c0d56a1ddf119334c35771eb400 /src/components/update_notification/update_notification.js
parent3fc9673a7d0fb851283e4ed687c2fd7790f03317 (diff)
initial scratch
Diffstat (limited to 'src/components/update_notification/update_notification.js')
-rw-r--r--src/components/update_notification/update_notification.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/update_notification/update_notification.js b/src/components/update_notification/update_notification.js
new file mode 100644
index 00000000..6b8665dd
--- /dev/null
+++ b/src/components/update_notification/update_notification.js
@@ -0,0 +1,24 @@
+import Modal from 'src/components/modal/modal.vue'
+import { library } from '@fortawesome/fontawesome-svg-core'
+import pleromaTan from 'src/assets/pleromatan_apology.png'
+import pleromaTanFox from 'src/assets/pleromatan_apology_fox.png'
+
+import {
+ faTimes
+} from '@fortawesome/free-solid-svg-icons'
+library.add(
+ faTimes
+)
+
+const SettingsModal = {
+ data () {
+ return {
+ pleromaTanVariant: Math.random() > 0.5 ? pleromaTan : pleromaTanFox
+ }
+ },
+ components: {
+ Modal
+ }
+}
+
+export default SettingsModal