fake_shop/app/layout.js

28 lines
629 B
JavaScript
Raw 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
};
export default function RootLayout({ children }) {
return (
2025-02-11 16:50:04 +08:00
<html lang="zh-CN">
<body>
2025-02-07 18:04:25 +08:00
{children}
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>
);
}