fix: showing settings page
This commit is contained in:
@ -32,9 +32,9 @@ export const App = () => {
|
|||||||
<Route path="/image/:imageId" component={ImagePage} />
|
<Route path="/image/:imageId" component={ImagePage} />
|
||||||
<Route path="/entity/:entityId" component={Entity} />
|
<Route path="/entity/:entityId" component={Entity} />
|
||||||
<Route path="/gallery/:entity" component={Gallery} />
|
<Route path="/gallery/:entity" component={Gallery} />
|
||||||
|
<Route path="/settings" component={Settings} />
|
||||||
</Route>
|
</Route>
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="/settings" component={Settings} />
|
|
||||||
</Route>
|
</Route>
|
||||||
</Route>
|
</Route>
|
||||||
<Route path="*" component={() => <Navigate href="/" />} />
|
<Route path="*" component={() => <Navigate href="/" />} />
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { ProcessingImages } from "@components/notifications/ProcessingImage";
|
import { ProcessingImages } from "@components/notifications/ProcessingImage";
|
||||||
import { useLocation, useNavigate } from "@solidjs/router";
|
import { A, useLocation, useNavigate } from "@solidjs/router";
|
||||||
import { IconArrowLeft } from "@tabler/icons-solidjs";
|
import { IconArrowLeft, IconSettings } from "@tabler/icons-solidjs";
|
||||||
import { Component, Show } from "solid-js";
|
import { Component, Show } from "solid-js";
|
||||||
|
|
||||||
export const Topbar: Component = () => {
|
export const Topbar: Component = () => {
|
||||||
@ -16,7 +16,12 @@ export const Topbar: Component = () => {
|
|||||||
</Show>
|
</Show>
|
||||||
<h1 class="font-bold text-2xl">Haystack</h1>
|
<h1 class="font-bold text-2xl">Haystack</h1>
|
||||||
<div class="ml-auto">
|
<div class="ml-auto">
|
||||||
<ProcessingImages />
|
<div class="flex items-center gap-2">
|
||||||
|
<ProcessingImages />
|
||||||
|
<A href="/settings" class="w-16 h-16 flex items-center">
|
||||||
|
<IconSettings />
|
||||||
|
</A>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user