84 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Vue
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Vue
		
	
	
	
	
	
| <template>
 | |
|   <Navigationbar />
 | |
|   <section id="content">
 | |
|     <div id="content-header">
 | |
|       <pre :class="[darkMode ? 'pre-darkmode' : 'pre-lightmode']" id="page-name">Home</pre>
 | |
|     </div>
 | |
|     <div id="content-body">
 | |
|       <Dashboard />
 | |
|       <QuickAccess />
 | |
|     </div>
 | |
|   </section>
 | |
| </template>
 | |
|   
 | |
|   
 | |
| <script setup>
 | |
| import { ref } from 'vue';
 | |
| 
 | |
| import Navigationbar from "../layouts/Navigationbar.vue";
 | |
| import Dashboard from "../components/Dashboard.vue";
 | |
| import QuickAccess from "../components/QuickAccess.vue";
 | |
| 
 | |
| definePageMeta({
 | |
|   layout: 'empty',
 | |
|   title: 'Home'
 | |
| })
 | |
| 
 | |
| const darkMode = ref(true)
 | |
| </script>
 | |
| 
 | |
| <script>
 | |
| export default {
 | |
|   name: "HomePage",
 | |
| }
 | |
| </script>   
 | |
|     
 | |
|     
 | |
| <style>
 | |
| * {
 | |
|   box-sizing: border-box;
 | |
| }
 | |
| 
 | |
| #content {
 | |
|   display: flex;
 | |
|   flex-direction: column;
 | |
|   float: left;
 | |
|   justify-content: stretch;
 | |
|   align-items: stretch;
 | |
|   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;
 | |
|   width: 100%;
 | |
|   gap: 1.25rem;
 | |
|   margin-bottom: 0.625rem;
 | |
|   border-radius: 0.625rem;
 | |
| }
 | |
| </style> |