From 32b370b4253fa7b1798df853edca4fe91454b32e Mon Sep 17 00:00:00 2001 From: jb-alvarado Date: Sat, 6 Apr 2024 23:12:06 +0200 Subject: [PATCH] add logging, messaging, color switch --- assets/scss/main.scss | 1 + components/Menu.vue | 81 +++++++-- layouts/default.vue | 2 - pages/logging.vue | 37 +---- pages/message.vue | 376 +++++++++++++++++++++--------------------- stores/index.ts | 1 + 6 files changed, 260 insertions(+), 238 deletions(-) diff --git a/assets/scss/main.scss b/assets/scss/main.scss index d00d4931..6a1a28ea 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -1,4 +1,5 @@ @import '_variables.scss'; +@import 'bootstrap-icons/font/bootstrap-icons.css'; #__nuxt, #__nuxt > div, diff --git a/components/Menu.vue b/components/Menu.vue index 7a5bcd80..e17c2174 100644 --- a/components/Menu.vue +++ b/components/Menu.vue @@ -1,9 +1,24 @@ diff --git a/stores/index.ts b/stores/index.ts index 27505c6f..6c65562a 100644 --- a/stores/index.ts +++ b/stores/index.ts @@ -2,6 +2,7 @@ import { defineStore } from 'pinia' export const useIndex = defineStore('index', { state: () => ({ + darkMode: false, showAlert: false, alertVariant: 'alert-success', alertMsg: '',