feat: homework multi-image upload and crop

这个提交包含在:
cryptocommuniums-afk
2026-02-01 11:33:59 +08:00
当前提交 7a7e0a0d7f
修改 20 个文件,包含 3973 行新增0 行删除

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>
);
}