serier och taggar

This commit is contained in:
2025-09-11 01:26:06 +02:00
parent e23822b30c
commit f88c25f117
8 changed files with 242 additions and 1 deletions

View File

@@ -3,6 +3,7 @@ import type { Component } from "solid-js";
import Home from "./components/Home";
import BookList from "./components/BookList";
import AuthorList from "./components/AuthorList";
import SeriesList from "./components/SeriesList";
const App: Component = () => {
return (
@@ -35,6 +36,9 @@ const App: Component = () => {
<a class="nav-link" href="/authors">
Authors
</a>
<a class="nav-link" href="/series">
Series
</a>
</div>
</div>
</div>
@@ -46,6 +50,7 @@ const App: Component = () => {
<Route path="/books/author/:authorid" component={BookList} />
<Route path="/books" component={BookList} />
<Route path="/authors" component={AuthorList} />
<Route path="/series" component={SeriesList} />
<Route path="/" component={Home} />
</Router>
</main>