86 lines
1.3 KiB
Vue
86 lines
1.3 KiB
Vue
<template>
|
|
<section id="content">
|
|
<div id="content-header">
|
|
<pre :class="[darkMode ? 'pre-darkmode' : 'pre-lightmode']" id="page-name"> </pre>
|
|
</div>
|
|
<div id="content-body">
|
|
<LoginForm />
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
import { ref } from 'vue';
|
|
|
|
import LoginForm from "../components/LoginForm.vue";
|
|
|
|
definePageMeta({
|
|
layout: 'empty',
|
|
title: 'Login',
|
|
auth: false,
|
|
})
|
|
|
|
const darkMode = ref(true)
|
|
</script>
|
|
|
|
<script>
|
|
export default {
|
|
name: "LoginPage",
|
|
}
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
|
|
#content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
float: left;
|
|
justify-content: stretch;
|
|
align-items: center;
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
gap: 0.625rem;
|
|
padding: 0 1.25rem;
|
|
}
|
|
|
|
#content-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 3.125rem;
|
|
}
|
|
|
|
#page-name {
|
|
letter-spacing: 5%;
|
|
font: 400 1.5rem/125% Overpass, -apple-system, Roboto, Helvetica, sans-serif;
|
|
}
|
|
|
|
.pre-darkmode {
|
|
color: #fff;
|
|
}
|
|
|
|
.pre-lightmode {
|
|
color: #000;
|
|
}
|
|
|
|
#content-body {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
width: fit-content;
|
|
height: fit-content;
|
|
gap: 1.25rem;
|
|
margin-bottom: 0.625rem;
|
|
border-radius: 0.625rem;
|
|
}
|
|
</style> |