Under construction
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 2m4s
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 2m4s
This commit is contained in:
@@ -1,8 +1,33 @@
|
||||
<template>
|
||||
<head>
|
||||
<title>Aran Central</title>
|
||||
</head>
|
||||
<div>
|
||||
<NuxtRouteAnnouncer />
|
||||
<h1>Hi</h1>
|
||||
<h2>This is website</h2>
|
||||
<p>Maybe its not my person</p>
|
||||
<div class="container">
|
||||
<NuxtPage></NuxtPage>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
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: auto auto;
|
||||
margin-top: -30px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
max-width: 1100px;
|
||||
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user