serier och taggar
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user