Add mobile H5 QA experience

This commit is contained in:
2026-07-05 18:32:28 +08:00
parent b1b33b2d20
commit 34aeb22760
7 changed files with 508 additions and 0 deletions

View File

@@ -1,9 +1,16 @@
"use client";
import { ReactNode } from "react";
import { usePathname } from "next/navigation";
import Sidebar from "./Sidebar";
export default function Layout({ children }: { children: ReactNode }) {
const pathname = usePathname();
if (pathname.startsWith("/h5")) {
return <div className="min-h-screen bg-[#eef3f1]">{children}</div>;
}
return (
<div className="min-h-screen bg-[#f5f7fa]">
<Sidebar />