로그인 화면에 버전 표시

This commit is contained in:
2026-09-06 23:26:08 +09:00
parent 309b70ece4
commit 321fe77107
3 changed files with 9 additions and 2 deletions
+5 -1
View File
@@ -2,6 +2,7 @@ import { redirect } from "next/navigation";
import { auth } from "@/auth";
import { Button } from "@/components/ui/button";
import { APP_VERSION } from "@/lib/version";
import { loginAction } from "./actions";
@@ -27,7 +28,10 @@ export default async function LoginPage({ searchParams }: LoginPageProps) {
<main className="flex min-h-screen items-center justify-center bg-muted px-6 py-10">
<section className="w-full max-w-md rounded-lg border bg-background p-8 shadow-sm">
<div className="mb-8">
<h1 className="text-2xl font-semibold tracking-normal">chocoadmin</h1>
<div className="flex items-baseline justify-between gap-3">
<h1 className="text-2xl font-semibold tracking-normal">chocoadmin</h1>
<span className="font-mono text-xs text-muted-foreground">{APP_VERSION}</span>
</div>
<p className="mt-2 text-sm text-muted-foreground"> </p>
</div>