feat: แก้ไขส่วน <html>

This commit is contained in:
admin
2025-09-27 16:57:44 +07:00
parent 82fc98e9df
commit 5ce2b68155
2 changed files with 7 additions and 9 deletions

View File

@@ -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">
&copy; {new Date().getFullYear()} np-dms.work
</div>
</div>
</body>
</div>
</html>
);
}

View File

@@ -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>
);
}