From 73cfc74b8ab1e75c894910952a33552abdf1adb2 Mon Sep 17 00:00:00 2001 From: Reo Hakuta Date: Mon, 1 Apr 2024 17:55:23 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=E2=9C=A8=20(`/docs/[.....slug]`)=20App?= =?UTF-8?q?ly=20aurora=20effects=20to=20background=20of=20the=20`/docs`=20?= =?UTF-8?q?layout=20=20(#126)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/web/src/app/docs/layout.tsx | 122 ++++++++++++++++--------------- 1 file changed, 63 insertions(+), 59 deletions(-) diff --git a/apps/web/src/app/docs/layout.tsx b/apps/web/src/app/docs/layout.tsx index ef7ad50f..646cece2 100644 --- a/apps/web/src/app/docs/layout.tsx +++ b/apps/web/src/app/docs/layout.tsx @@ -1,4 +1,5 @@ import type { ReactNode } from 'react'; +import { Aurora } from '@/features/landingPage/components/Aurora/Aurora'; import { Navbar, NavbarButtonContainer } from '@/features/navigation/components/Navbar/Navbar'; import { Sidebar } from '@/features/navigation/components/Sidebar/Sidebar'; import { css } from 'styled-system/css'; @@ -11,74 +12,77 @@ type DocsLayoutProps = { }; const DocsLayout = ({ titleIndicator, pageSpecificNavigations, children }: DocsLayoutProps): ReactNode => ( -
- - {titleIndicator} - {pageSpecificNavigations} - - + +
-
- {children} -
-
- {/* Table of Content here */} + + {titleIndicator} + {pageSpecificNavigations} + + +
+ {children} +
+
+ {/* Table of Content here */} +
-
+ ); export default DocsLayout;