draft character page

This commit is contained in:
2024-05-18 18:55:37 +02:00
parent c38f44c182
commit 6c99fa0401
3 changed files with 15 additions and 0 deletions

11
src/pages/Characters.vue Normal file
View File

@@ -0,0 +1,11 @@
<script setup lang="ts">
const addCharacter = () => {
// TODO
}
</script>
<template>
<div class="grid mb-2 mt-4">
<button class="justify-self-end" @click="addCharacter">Add chacarcter</button>
</div>
</template>

View File

@@ -11,5 +11,6 @@ export const routes: RouteRecordRaw[] = [
{ path: 'acquisitions', component: () => import('@/pages/market/Acquisitions.vue') },
] },
{ path: '/tools', component: () => import('@/pages/Tools.vue') },
{ path: '/characters', component: () => import('@/pages/Characters.vue') },
{ path: '/about', name: 'about', component: () => import('@/pages/About.vue') },
];

View File

@@ -25,6 +25,9 @@ const logout = async () => {
<span>{{ authStore.username }}</span>
</template>
<ul>
<li>
<RouterLink class="sidebar-button py-0.5 px-2" to="/characters">Characters</RouterLink>
</li>
<li>
<RouterLink class="sidebar-button py-0.5 px-2" :to="{name: 'about'}">About EVE Online</RouterLink>
</li>