로그인 화면에 버전 표시
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user