From 6488fd1e9c409673f55189cc8bc0af65777bd495 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Fri, 1 Nov 2024 09:42:57 +0100 Subject: [PATCH] warn if seed url is used in production. assume voucher and switch to private tab if has funds --- assets/scss/main.scss | 5 +++ components/ui/WarningBanner.vue | 57 +++++++++++++++++++++++++++++++++ pages/index.vue | 33 ++++++++++++++++--- 3 files changed, 90 insertions(+), 5 deletions(-) create mode 100644 components/ui/WarningBanner.vue diff --git a/assets/scss/main.scss b/assets/scss/main.scss index c71275c..2762347 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -411,6 +411,7 @@ a { --integritee-blue: #1845b9; --integritee-green: #24ad7c; --integritee-red: #ff4d4d; + --integritee-yellow: #ffdb4d; --integritee-gray: #696868; } @@ -430,6 +431,10 @@ a { background: var(--integritee-green); } +.incognitee-yellow { + background: var(--integritee-yellow); +} + .incognitee-border-gradient { width: 100%; height: 100%; diff --git a/components/ui/WarningBanner.vue b/components/ui/WarningBanner.vue new file mode 100644 index 0000000..07be4c7 --- /dev/null +++ b/components/ui/WarningBanner.vue @@ -0,0 +1,57 @@ + + + + + diff --git a/pages/index.vue b/pages/index.vue index 7b2cde8..8a68805 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,11 +1,21 @@