From 5b7c6538745083dfd48771392ab22de557a7a344 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 2 Aug 2022 00:37:48 +0300 Subject: initial scratch --- .../update_notification/update_notification.js | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/components/update_notification/update_notification.js (limited to 'src/components/update_notification/update_notification.js') 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 -- cgit v1.2.3-70-g09d2