aboutsummaryrefslogtreecommitdiff
path: root/src/components/update_notification/update_notification.vue
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.vue
parent3fc9673a7d0fb851283e4ed687c2fd7790f03317 (diff)
initial scratch
Diffstat (limited to 'src/components/update_notification/update_notification.vue')
-rw-r--r--src/components/update_notification/update_notification.vue41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/components/update_notification/update_notification.vue b/src/components/update_notification/update_notification.vue
new file mode 100644
index 00000000..e7118d81
--- /dev/null
+++ b/src/components/update_notification/update_notification.vue
@@ -0,0 +1,41 @@
+<template>
+ <Modal
+ :is-open="true"
+ class="UpdateNotification"
+ :class="{ peek: modalPeeked }"
+ :no-background="true"
+ >
+ <div class="UpdateNotificationModal panel">
+ <div class="panel-heading">
+ <span class="title">
+ {{ $t('update.big_update_title') }}
+ </span>
+ </div>
+ <div class="panel-body">
+ <p>
+ {{ $t('update.big_update_content') }}
+ </p>
+ <p>
+ <button
+ class="button-unstyled -link tall-status-hider"
+ @click.prevent="toggleShowMore"
+ >
+ {{ $t("general.show_more") }}
+ </button>
+ {{ ' ' }}
+ <button
+ class="button-unstyled -link tall-status-hider"
+ @click.prevent="toggleShowMore"
+ >
+ {{ $t("general.never_show_again") }}
+ </button>
+ </p>
+ <img class="pleroma-tan" :src="pleromaTanVariant"/>
+ </div>
+ </div>
+ </Modal>
+</template>
+
+<script src="./update_notification.js"></script>
+
+<style src="./update_notification.scss" lang="scss"></style>