added login page, setup templates
This commit is contained in:
84
pages/home.vue
Normal file
84
pages/home.vue
Normal file
@ -0,0 +1,84 @@
|
||||
<template>
|
||||
<Navigationbar />
|
||||
<section id="content">
|
||||
<div id="content-header">
|
||||
<pre id="page-name">Pagename</pre>
|
||||
</div>
|
||||
<div id="content-body">
|
||||
<!--<slot />-->
|
||||
</div>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
|
||||
<script setup>
|
||||
definePageMeta({
|
||||
layout: 'empty'
|
||||
})
|
||||
</script>
|
||||
|
||||
<script>
|
||||
import Navigationbar from "./Navigationbar.vue";
|
||||
|
||||
export default {
|
||||
name: "Page",
|
||||
components: {
|
||||
Navigationbar,
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#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>
|
||||
Reference in New Issue
Block a user