Stopka z wersją

This commit is contained in:
2022-07-23 23:06:28 +02:00
parent 0cf082166d
commit ee0aa9b32f
3 changed files with 34 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "genera-tor",
"version": "0.1.1",
"version": "0.2.0a",
"private": true,
"scripts": {
"dev": "vite --port 8080",
+24
View File
@@ -1,9 +1,28 @@
<template>
<div id="app_wrapper">
<router-view />
<footer>
&copy; <a href="https://td2.info.pl/profile/?u=20777">Spythere</a> {{ new Date().getUTCFullYear() }} | v.{{
appVersion
}}
</footer>
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import packageInfo from '../package.json';
export default defineComponent({
data() {
return {
appVersion: packageInfo.version,
};
},
});
</script>
<style lang="scss">
@import './styles/global.scss';
@@ -13,6 +32,11 @@
min-height: 100vh;
}
footer {
text-align: center;
padding: 0.5em 0;
}
@media screen and (max-width: 500px) {
#app {
font-size: calc(1vw + 0.5rem);
+9
View File
@@ -15,6 +15,15 @@ html {
font-weight: 500;
}
a {
color: white;
text-decoration: none;
&:hover {
color: $accentCol;
}
}
button {
border: none;
outline: none;