added login page, setup templates
This commit is contained in:
@ -52,7 +52,7 @@ export default {
|
||||
align-items: flex-end;
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
padding: 0 30px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
.username {
|
||||
color: #fff;
|
||||
|
||||
@ -2,14 +2,7 @@
|
||||
<PageHeader />
|
||||
<main>
|
||||
<Navigationbar />
|
||||
<section id="content">
|
||||
<section id="content-header">
|
||||
<pre id="page-name">Pagename</pre>
|
||||
</section>
|
||||
<section id="content-body">
|
||||
<!--<slot />-->
|
||||
</section>
|
||||
</section>
|
||||
<slot />
|
||||
<Actionbar />
|
||||
</main>
|
||||
</template>
|
||||
@ -33,19 +26,19 @@ export default {
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
<style scoped>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
/*body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
justify-content: flex-start;
|
||||
background-color: #212121;
|
||||
}
|
||||
}*/
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
@ -53,50 +46,9 @@ export default {
|
||||
width: 100%;
|
||||
gap: 10px;
|
||||
padding: 10px 25px 10px 10px;
|
||||
background-color: #212121;
|
||||
}
|
||||
|
||||
#content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: stretch;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
gap: 10px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
#content-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
}
|
||||
#page-name {
|
||||
color: #fff;
|
||||
letter-spacing: 1.2px;
|
||||
font: italic 400 24px/125% Overpass, -apple-system, Roboto, Helvetica,
|
||||
sans-serif;
|
||||
}
|
||||
|
||||
#content-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
gap: 20px;
|
||||
margin-bottom: 10px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
|
||||
background-color: #2c2c2c;
|
||||
}
|
||||
|
||||
slot {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
gap: 20px;
|
||||
padding: 20px 30px;
|
||||
}
|
||||
|
||||
</style>
|
||||
40
layouts/empty.vue
Normal file
40
layouts/empty.vue
Normal file
@ -0,0 +1,40 @@
|
||||
<template>
|
||||
<PageHeader />
|
||||
<main>
|
||||
<slot />
|
||||
</main>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
import PageHeader from "../layouts/PageHeader.vue";
|
||||
|
||||
export default {
|
||||
name: "Page",
|
||||
components: {
|
||||
PageHeader,
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<style scoped>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 10px;
|
||||
padding: 10px 25px 10px 10px;
|
||||
background-color: #212121;
|
||||
}
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user