Add Kill Switch section
Currently there's a nasty bug which doesn't allow users from navigating
from the "Kill Switch" section to any other section of the app (see bug
twpowertools:59), but everything else is working.
Change-Id: I3c71352b1899e4ddf9ba5886aa1434a5a1ed93eb
diff --git a/frontend/src/pages/NotAuthorized.vue b/frontend/src/pages/NotAuthorized.vue
index f0b0a49..99b81ff 100644
--- a/frontend/src/pages/NotAuthorized.vue
+++ b/frontend/src/pages/NotAuthorized.vue
@@ -1,38 +1,13 @@
<script>
-import Page from './utils/Page.vue';
+import MiniMessage from './MiniMessage.vue';
export default {
components: {
- Page,
+ MiniMessage,
},
};
</script>
<template>
- <page mini>
- <div class="layout">
- <mcw-material-icon class="main-icon" icon="no_accounts" />
- <span class="label">You're not signed in.</span>
- </div>
- </page>
+ <mini-message icon="no_accounts">You're not signed in.</mini-message>
</template>
-
-<style lang="scss" scoped>
-@use "@material/theme/color-palette" as palette;
-
-.layout {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin: 16px 0;
-}
-
-.main-icon {
- font-size: 75px;
- color: palette.$grey-800;
-}
-
-.label {
- margin-top: 14px;
-}
-</style>