fake_shop/app/layout.js

37 lines
844 B
JavaScript
Raw Permalink Normal View History

2025-02-07 18:04:25 +08:00
import "./globals.css";
2025-02-10 19:24:19 +08:00
import { Toaster } from "react-hot-toast";
2025-02-07 18:04:25 +08:00
export const metadata = {
2025-02-11 16:50:04 +08:00
title: "宠物用品商城",
description: "专业的宠物用品购物平台,为您的宠物提供优质商品",
keywords: "宠物用品,宠物商城,宠物食品,宠物玩具",
2025-02-07 18:04:25 +08:00
};
2025-02-25 19:44:39 +08:00
export const viewport = {
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: 0,
};
2025-02-07 18:04:25 +08:00
export default function RootLayout({ children }) {
return (
2025-02-11 16:50:04 +08:00
<html lang="zh-CN">
<body>
2025-03-13 20:12:57 +08:00
<div className="w-full flex justify-center">
<div className="w-[480px]">{children}</div>
</div>
2025-02-10 19:24:19 +08:00
<Toaster
toastOptions={{
duration: 2000,
style: {
background: "#333",
color: "#fff",
},
}}
/>
2025-02-07 18:04:25 +08:00
</body>
</html>
);
}