包含 webapp(Next.js 用户端)、webapp-back(Go 后端)、 antdesign(管理后台)、landingpage(营销落地页)、 数据库 SQL 和配置文件。
32 lines
737 B
TypeScript
32 lines
737 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import Providers from "@/components/Providers";
|
|
import localFont from "next/font/local";
|
|
|
|
const inter = localFont({
|
|
src: "../public/fonts/InterVariable.woff2",
|
|
variable: "--font-inter",
|
|
display: "swap",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Asset Homepage",
|
|
description: "Asset management platform homepage",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" className={inter.variable}>
|
|
<body className={`antialiased ${inter.className}`}>
|
|
<Providers>
|
|
{children}
|
|
</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|