draft character page
This commit is contained in:
11
src/pages/Characters.vue
Normal file
11
src/pages/Characters.vue
Normal 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>
|
||||||
@@ -11,5 +11,6 @@ export const routes: RouteRecordRaw[] = [
|
|||||||
{ path: 'acquisitions', component: () => import('@/pages/market/Acquisitions.vue') },
|
{ path: 'acquisitions', component: () => import('@/pages/market/Acquisitions.vue') },
|
||||||
] },
|
] },
|
||||||
{ path: '/tools', component: () => import('@/pages/Tools.vue') },
|
{ path: '/tools', component: () => import('@/pages/Tools.vue') },
|
||||||
|
{ path: '/characters', component: () => import('@/pages/Characters.vue') },
|
||||||
{ path: '/about', name: 'about', component: () => import('@/pages/About.vue') },
|
{ path: '/about', name: 'about', component: () => import('@/pages/About.vue') },
|
||||||
];
|
];
|
||||||
@@ -25,6 +25,9 @@ const logout = async () => {
|
|||||||
<span>{{ authStore.username }}</span>
|
<span>{{ authStore.username }}</span>
|
||||||
</template>
|
</template>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li>
|
||||||
|
<RouterLink class="sidebar-button py-0.5 px-2" to="/characters">Characters</RouterLink>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<RouterLink class="sidebar-button py-0.5 px-2" :to="{name: 'about'}">About EVE Online</RouterLink>
|
<RouterLink class="sidebar-button py-0.5 px-2" :to="{name: 'about'}">About EVE Online</RouterLink>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user