Small fixes

This commit is contained in:
2026-02-24 21:15:21 +02:00
parent 52c1739149
commit 082eb2575e
4 changed files with 2 additions and 19 deletions

View File

@@ -1,5 +1,3 @@
using Microsoft.Data.Sqlite;
public static class SystemEndpoints
{
public static void MapSystemEndpoints(WebApplication app)

View File

@@ -1,15 +0,0 @@
import { createSignal } from "solid-js";
import { t } from "~/i18n";
export default function Counter() {
const [count, setCount] = createSignal(0);
return (
<button
class="w-52 rounded-full bg-[#F5D1A9] border-2 border-[#C99763] text-[#4C250E] focus:border-[#A56C38] hover:bg-[#EED5B8] transition-colors py-4"
onclick={() => setCount(prev => prev + 1)}
>
{t("counter.clicks")}: {count()}
</button>
);
}

View File

@@ -4,7 +4,7 @@ import { useAuth } from "~/components/Context";
import { language, setLanguage, t } from "~/i18n";
export default function Nav() {
const { signedIn, logout } = useAuth();
const { session, signedIn, logout } = useAuth();
const isHome = useMatch(() => "/");
const isAbout = useMatch(() => "/about");
@@ -25,6 +25,7 @@ export default function Nav() {
{t("nav.about")}
</a>
<div class="ml-auto flex items-center gap-2">
<b class="font-large text-[#F5D1A9]">{session()?.email}</b>
<div class="flex items-center gap-1 rounded-md border border-[#8E4F24] bg-[#8E4F24]/45 p-1">
<button
type="button"

View File

@@ -10,7 +10,6 @@ export default function Home() {
<Title>{t("home.title")}</Title>
<h1 class="text-center">{t("home.heading")}</h1>
<img src="/favicon.svg" alt={t("home.logoAlt")} class="w-28" />
{t("home.signedInAs")} <b class="font-medium">{session()?.email}</b>
</main>
);
}