Added icon change
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 39s

This commit is contained in:
2026-04-26 21:12:08 +02:00
parent 9048bb0f11
commit 475887420c
20 changed files with 668 additions and 41 deletions

View File

@@ -4,13 +4,31 @@ import ToastManager from './components/managers/ToastManager.vue';
import WindowManager from './components/managers/WindowManager.vue';
import { CreateWindow } from '@/services/Windows'
import { GetUser, HasAdmin } from './services/User';
async function start(){
CreateWindow('login');
if(GetUser()){
CreateWindow('main_menu');
return;
}
if(await HasAdmin()){
CreateWindow('login');
} else {
CreateWindow('register', {firstTime: true});
}
// DisplayToast('aqua', 'All plugins loaded successfully');
}
useHead({
title: 'Dragonroll',
meta: [
{ name: 'description', content: 'Dragonroll is a free and open-source tabletop RPG virtual tabletop. It allows you to play your favorite pen-and-paper RPGs online with your friends, with features like character sheets, dice rolling, maps, tokens, and more.' },
{ name: 'keywords', content: 'virtual tabletop, vtt, online rpg, pen-and-paper rpg, dungeons and dragons, pathfinder, roll20 alternative' },
{ name: 'author', content: 'Aran Roig' },
],
})
onMounted(() => {
setupTheme();
setTheme('dark');