mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2026-08-05 21:32:23 +00:00
Add navbar
This commit is contained in:
+14
-6
@@ -1,7 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import { RouterView } from "vue-router"
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<RouterView />
|
||||
</template>
|
||||
<div class="bg-white text-gray-900
|
||||
dark:bg-gray-900 min-h-screen dark:text-slate-50">
|
||||
<RouterView />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { onMounted } from "vue";
|
||||
import { RouterView } from "vue-router";
|
||||
|
||||
onMounted(() => {
|
||||
document.documentElement.classList.add("dark");
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user