Add dev mode warning

This commit is contained in:
dragongoose 2023-06-13 14:51:35 -04:00
parent ca599c45a7
commit a9365de22b
Signed by: dragongoose
GPG key ID: 50DB99B921579009
2 changed files with 11 additions and 0 deletions

View file

@ -1,9 +1,13 @@
<script setup lang="ts">
import { RouterView } from 'vue-router'
import NavbarItem from './components/NavbarView.vue'
import DevWarning from './components/DevWarning.vue'
const dev = import.meta.env.DEV
</script>
<template class="bg-ctp-base h-full">
<dev-warning v-if="dev"></dev-warning>
<navbar-item></navbar-item>
<Suspense>

View file

@ -0,0 +1,7 @@
<template>
<div class="rounded-lg z-50 flex m-3 h-20 bg-amber-400 border-4 border-amber-600">
<div class="m-auto">
<h1 class="font-bold text-2xl">SafeTwitch is currently in development mode.</h1>
</div>
</div>
</template>