Feature/Auth: implement user authentication #3

Merged
homeburger merged 48 commits from feature/auth into main 2026-03-22 20:52:22 -05:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 3d219b8cf7 - Show all commits

View File

@@ -24,7 +24,7 @@ function logout() {
<div>
<h1>Items</h1>
<router-link to="/user/new">Create Item</router-link>
<router-link to="/item/new">Create Item</router-link>
<table>
<tr v-for="item in store.items" :key="item.id">

View File

@@ -10,8 +10,8 @@
<h3>yeah im so cool rn</h3>
<h1>imagining what I could do with themes :o</h1>
<router-link to="/users" custom v-slot="{ navigate }">
<button @click="navigate" role="link">Users</button>
<router-link to="/items" custom v-slot="{ navigate }">
<button @click="navigate" role="link">Items</button>
</router-link>
<router-link to="/register" custom v-slot="{ navigate }"> <!-- TODO: only if token == invalid -->