Kjdsjk
Some checks failed
Build and Deploy Nuxt / build (push) Failing after 2s

This commit is contained in:
2026-03-17 18:27:16 +01:00
parent dad1a6714b
commit 7164d04098
34 changed files with 0 additions and 0 deletions

37
frontend/app/app.vue Normal file
View File

@@ -0,0 +1,37 @@
<template>
<head>
<title>Aran Central</title>
</head>
<div>
<NuxtRouteAnnouncer />
<div class="container">
<NuxtPage></NuxtPage>
</div>
</div>
</template>
<script setup lang="ts">
import { onMounted } from 'vue';
onMounted(() => {
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
if (isDarkMode) {
document.documentElement.setAttribute("data-theme", "dark");
} else {
document.documentElement.setAttribute("data-theme", "light");
}
});
</script>
<style lang="scss" scoped>
.container {
margin-top: 320px;
margin-bottom: 200px;
display: flex;
flex-direction: column;
padding-left: 20px;
padding-right: 20px;
max-width: 1100px;
}
</style>