Рабочий фронтенд

This commit is contained in:
2021-06-03 02:01:45 +03:00
parent c3b3f6763e
commit 8bce702a9c
15 changed files with 27341 additions and 67 deletions

48
frontend/src/App.vue Normal file
View File

@@ -0,0 +1,48 @@
<template>
<div>
<img src="./assets/logo.png">
<h2 v-if="loggedin">
Прикол
</h2>
<Login v-else id="login" />
</div>
</template>
<script>
import Login from './components/Login.vue'
export default {
name: 'App',
components: {
Login
},
data() {
return {
loggedin: false
}
}
}
</script>
<style>
body {
background-color: #343a40;
}
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
img {
width: 100px;
padding: 50px;
margin: auto;
display: block;
border-radius: 50%;
}
</style>