tiefen_space_h5/app/layout.js

49 lines
1007 B
JavaScript
Raw Normal View History

2024-06-25 20:18:37 +08:00
import { Inter } from "next/font/google";
2024-07-03 19:59:39 +08:00
import React, { useEffect } from 'react';
2024-06-25 20:18:37 +08:00
import "./globals.css";
import BottomNav from "../components/BottomNav";
2024-06-25 20:18:37 +08:00
const inter = Inter({ subsets: ["latin"] });
2024-06-24 22:12:13 +08:00
export const metadata = {
2024-06-26 19:46:31 +08:00
title: "铁粉空间",
2024-07-03 19:59:39 +08:00
2024-06-26 19:46:31 +08:00
description: "与Ta永不失联",
keywords: [
"铁粉空间",
"铁粉空间APP",
"社交",
"网红",
"粉丝",
"创作者",
"变现",
"平台",
"铁粉",
"空间",
],
};
export const viewport = {
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: 0,
2024-06-25 20:18:37 +08:00
};
2024-06-24 22:12:13 +08:00
export default function RootLayout({ children }) {
return (
2024-06-25 20:18:37 +08:00
<html
lang="zh-CN"
className="bg-deepBg"
2024-06-25 20:18:37 +08:00
data-prefers-color-scheme="dark"
2024-07-03 19:59:39 +08:00
2024-06-25 20:18:37 +08:00
>
<body className={inter.className}>
{children}
2024-07-02 15:09:48 +08:00
<main
className={`fixed bottom-0 left-0 w-full bg-deepBg border-t-[1px] border-[#333333]`}
>
<BottomNav />
2024-07-02 15:09:48 +08:00
</main>
</body>
2024-06-24 22:12:13 +08:00
</html>
2024-06-25 20:18:37 +08:00
);
2024-06-24 22:12:13 +08:00
}