From d46ebad66decb63b2f82cbd05f78412610d8ec95 Mon Sep 17 00:00:00 2001 From: mdong Date: Mon, 24 Aug 2026 15:48:17 +0800 Subject: [PATCH] udpdate layout visibility --- .../named-layouts/pages/_layouts/landing.tsx | 19 ++++++++++++++++++- .../named-layouts/pages/docs/_layouts/api.tsx | 19 ++++++++++++++++++- .../named-layouts/pages/docs/layout.tsx | 19 ++++++++++++++++++- playground/named-layouts/pages/layout.tsx | 19 ++++++++++++++++++- 4 files changed, 72 insertions(+), 4 deletions(-) diff --git a/playground/named-layouts/pages/_layouts/landing.tsx b/playground/named-layouts/pages/_layouts/landing.tsx index 2463fe6d8..e8e3ee5f8 100644 --- a/playground/named-layouts/pages/_layouts/landing.tsx +++ b/playground/named-layouts/pages/_layouts/landing.tsx @@ -1,3 +1,20 @@ export default function LandingLayout({ children }: { children: React.ReactNode }) { - return
{children}
; + return ( +
+
+ Landing +
+
{children}
+
+ ); } diff --git a/playground/named-layouts/pages/docs/_layouts/api.tsx b/playground/named-layouts/pages/docs/_layouts/api.tsx index 2554485c2..d2d4f843d 100644 --- a/playground/named-layouts/pages/docs/_layouts/api.tsx +++ b/playground/named-layouts/pages/docs/_layouts/api.tsx @@ -1,3 +1,20 @@ export default function ApiLayout({ children }: { children: React.ReactNode }) { - return
{children}
; + return ( +
+
+ API +
+
{children}
+
+ ); } diff --git a/playground/named-layouts/pages/docs/layout.tsx b/playground/named-layouts/pages/docs/layout.tsx index 1f6bd2089..3a6e200bc 100644 --- a/playground/named-layouts/pages/docs/layout.tsx +++ b/playground/named-layouts/pages/docs/layout.tsx @@ -1,3 +1,20 @@ export default function DocsLayout({ children }: { children: React.ReactNode }) { - return
{children}
; + return ( +
+
+ Docs +
+
{children}
+
+ ); } diff --git a/playground/named-layouts/pages/layout.tsx b/playground/named-layouts/pages/layout.tsx index dca16dd6e..b177d5452 100644 --- a/playground/named-layouts/pages/layout.tsx +++ b/playground/named-layouts/pages/layout.tsx @@ -1,3 +1,20 @@ export default function RootLayout({ children }: { children: React.ReactNode }) { - return
{children}
; + return ( +
+
+ Layout +
+
{children}
+
+ ); }