tiefen_space_h5/app/layout.js

49 lines
1007 B
JavaScript

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