- Paper page: prominent strategy tabs (全部/V5.1/V5.2) at top - Paper trades: strategy column with color-coded badges (blue=V5.1, green=V5.2) - Paper positions: FR/Liq scores displayed prominently for V5.2 - Signals page: side-by-side V5.1 vs V5.2 score comparison cards - Signals page title updated to 'V5.1 vs V5.2' - New API endpoint for strategy comparison data - Layout: local font fallback for build stability
31 lines
917 B
TypeScript
31 lines
917 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import Sidebar from "@/components/Sidebar";
|
|
import { AuthProvider } from "@/lib/auth";
|
|
import AuthHeader from "@/components/AuthHeader";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Arbitrage Engine",
|
|
description: "Funding rate arbitrage monitoring system",
|
|
};
|
|
|
|
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
|
return (
|
|
<html lang="zh">
|
|
<body className="antialiased min-h-screen bg-slate-50 text-slate-900">
|
|
<AuthProvider>
|
|
<div className="flex min-h-screen">
|
|
<Sidebar />
|
|
<div className="flex-1 flex flex-col min-w-0">
|
|
<AuthHeader />
|
|
<main className="flex-1 p-4 md:p-6 pt-16 md:pt-6">
|
|
{children}
|
|
</main>
|
|
</div>
|
|
</div>
|
|
</AuthProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|