feat: homework multi-image upload and crop
这个提交包含在:
39
frontend/app/layout.tsx
普通文件
39
frontend/app/layout.tsx
普通文件
@@ -0,0 +1,39 @@
|
||||
import "./globals.css";
|
||||
import { Fraunces, Source_Serif_4, IBM_Plex_Mono } from "next/font/google";
|
||||
|
||||
const display = Fraunces({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-display",
|
||||
weight: ["400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const body = Source_Serif_4({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-body",
|
||||
weight: ["400", "500", "600"],
|
||||
});
|
||||
|
||||
const mono = IBM_Plex_Mono({
|
||||
subsets: ["latin"],
|
||||
variable: "--font-mono",
|
||||
weight: ["400", "500"],
|
||||
});
|
||||
|
||||
export const metadata = {
|
||||
title: "作业工坊",
|
||||
description: "拍照或上传作业,自动转为 Markdown 并批改",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<html lang="zh">
|
||||
<body className={`${display.variable} ${body.variable} ${mono.variable}`}>
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户