mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-04 00:56:40 +08:00
27 lines
648 B
TypeScript
27 lines
648 B
TypeScript
import "@/app/app/login.scss";
|
|
import { Metadata } from "next";
|
|
import { ReactNode } from "react";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Admin | 管理页面",
|
|
};
|
|
|
|
export default async function AdminLayout({
|
|
children,
|
|
}: {
|
|
children: ReactNode;
|
|
}) {
|
|
return (
|
|
<div className="flex min-h-screen flex-col justify-center py-12 sm:px-6 lg:px-8 w-full">
|
|
<div className="w-full">
|
|
<h1 className="mt-6 text-center font-cal text-3xl dark:text-white">
|
|
Admin Page
|
|
</h1>
|
|
<div className="mx-auto mt-4 w-11/12 max-w-screen-lg sm:w-full">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|