feat: แก้ไขส่วน <html>
This commit is contained in:
@@ -8,8 +8,8 @@ export const metadata = {
|
||||
export default function AuthLayout({ children }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className="min-h-screen flex items-center justify-center bg-gradient-to-br from-sky-50 to-sky-100">
|
||||
<div className="w-full max-w-md rounded-2xl shadow-lg bg-white p-6">
|
||||
<div className="flex items-center justify-center min-h-screen bg-gradient-to-br from-sky-50 to-sky-100">
|
||||
<div className="w-full max-w-md p-6 bg-white shadow-lg rounded-2xl">
|
||||
{/* Header */}
|
||||
<div className="mb-6 text-center">
|
||||
<h1 className="text-2xl font-bold text-sky-800">
|
||||
@@ -22,11 +22,11 @@ export default function AuthLayout({ children }) {
|
||||
<main>{children}</main>
|
||||
|
||||
{/* Footer */}
|
||||
<div className="mt-6 text-center text-xs text-gray-500">
|
||||
<div className="mt-6 text-xs text-center text-gray-500">
|
||||
© {new Date().getFullYear()} np-dms.work
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</div>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -6,10 +6,8 @@ export const metadata = {
|
||||
|
||||
export default function RootLayout({ children }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className="min-h-screen bg-[linear-gradient(180deg,#F3FBFD_0%,#E6F7FB_100%)]">
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
<body className="min-h-screen bg-[linear-gradient(180deg,#F3FBFD_0%,#E6F7FB_100%)]">
|
||||
{children}
|
||||
</body>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user