From 515268389d400318c8d6feca0ced60d0432d464a Mon Sep 17 00:00:00 2001 From: rowthan <12638456+rowthan@users.noreply.github.com> Date: Tue, 9 Jul 2024 16:31:02 +0800 Subject: [PATCH] feat: doc vip with notion component --- apps/web/layouts/BasicLayout.tsx | 6 ++++- apps/web/layouts/Doc.tsx | 7 ++--- apps/web/pages/ext/achieve.tsx | 5 ++-- apps/web/pages/ext/setting.tsx | 1 - apps/web/pages/vip.tsx | 31 +++++++++++++++++----- apps/web/service/server/api.ts | 45 ++++++++++++++++++++++++++++++++ apps/web/typing/index.ts | 4 +-- yarn.lock | 22 ---------------- 8 files changed, 81 insertions(+), 40 deletions(-) diff --git a/apps/web/layouts/BasicLayout.tsx b/apps/web/layouts/BasicLayout.tsx index 6d945b60..c5bd6bd3 100644 --- a/apps/web/layouts/BasicLayout.tsx +++ b/apps/web/layouts/BasicLayout.tsx @@ -4,6 +4,7 @@ import Breadcrumbs from '../components/Breadcrumbs' import ErrorBoundary from '../components/debug/ErrorBound' import Error from 'components/debug/ErrorTip' import {Asides} from '../components/HelpAside' +import Footer from "../components/Footer"; // 给普通用户访问的页面,基础layout export default function BasicLayout( @@ -53,7 +54,10 @@ export default function BasicLayout( {/* */} {/* */} {/*)}*/} -
{children}
+
+ {children} +
+ {footer &&