feat: change name and add demo notice
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Timetable V2</title>
|
||||
<title>Timetable V2 Demo</title>
|
||||
<meta name="description" content="Timetable and Substitution plan viewer" />
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||
<link rel="mask-icon" href="/favicon.svg" color="#212121" />
|
||||
|
@ -50,6 +50,7 @@ const isDataView = computed(() => route.meta.dataView || false);
|
||||
v-show="isDataView"
|
||||
/>
|
||||
<main>
|
||||
<div class="demoNotice">{{ $t("demoNotice") }}</div>
|
||||
<div class="wrapper">
|
||||
<RouterView />
|
||||
</div>
|
||||
@ -95,7 +96,7 @@ main {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: grid;
|
||||
grid-template-rows: 1fr;
|
||||
grid-template-rows: auto 1fr;
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -110,4 +111,9 @@ main {
|
||||
.wrapper {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.demoNotice {
|
||||
padding: 15px 15px;
|
||||
font-style: italic;
|
||||
}
|
||||
</style>
|
||||
|
@ -1,5 +1,7 @@
|
||||
export const strings = {
|
||||
en: {
|
||||
demoNotice:
|
||||
"This is a demo instance of Timetable V2. The displayed data is entirely fictional.",
|
||||
title: {
|
||||
timetable: "Timetable",
|
||||
substitutions: "Substitutions",
|
||||
@ -133,6 +135,8 @@ export const strings = {
|
||||
},
|
||||
},
|
||||
de: {
|
||||
demoNotice:
|
||||
"Dies ist eine Demo-Instanz von Timetable V2. Die angezeigten Daten sind nicht echt.",
|
||||
title: {
|
||||
timetable: "Stundenplan",
|
||||
substitutions: "Vertretungsplan",
|
||||
|
@ -81,7 +81,7 @@ import {
|
||||
|
||||
<style scoped>
|
||||
.settings {
|
||||
padding: 20px 10px 0px 10px;
|
||||
padding: 0px 10px 0px 10px;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
|
@ -27,8 +27,8 @@ export default defineConfig({
|
||||
],
|
||||
registerType: "autoUpdate",
|
||||
manifest: {
|
||||
name: "Timetable V2",
|
||||
short_name: "Timetable",
|
||||
name: "Timetable V2 Demo",
|
||||
short_name: "Timetable Demo",
|
||||
description: "Timetable and Substitution plan viewer",
|
||||
theme_color: "#212121",
|
||||
background_color: "#353535",
|
||||
@ -61,15 +61,5 @@ export default defineConfig({
|
||||
},
|
||||
server: {
|
||||
port: 3001,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://localhost:3000",
|
||||
changeOrigin: true,
|
||||
},
|
||||
"/auth": {
|
||||
target: "http://localhost:3000",
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user