All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 7s
38 lines
898 B
TypeScript
38 lines
898 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import Sidebar from "@/components/Sidebar";
|
|
import GridBg from "@/components/GridBg";
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
variable: "--font-inter",
|
|
display: "swap",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Airshelf — AI 短视频生产平台",
|
|
description:
|
|
"为抖音 / TikTok 商户打造的 AI 短视频生产流水线 · 脚本 → 基础资产 → 故事板 → 视频片段 → 拼接导出",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="zh-CN" className={inter.variable}>
|
|
<body>
|
|
<div className="app">
|
|
<Sidebar />
|
|
<main className="main">
|
|
<GridBg />
|
|
{children}
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|