From 74322dbf42a9ab80b259ad809ddd0011688f124e Mon Sep 17 00:00:00 2001 From: lyf <1910527151@qq.com> Date: Wed, 18 Sep 2024 10:46:30 +0800 Subject: [PATCH] feat document --- src/components/icons.tsx | 22 ++++++++++++++++++++++ src/config/index.ts | 1 + src/layout/narbar.tsx | 6 +++--- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/src/components/icons.tsx b/src/components/icons.tsx index a2259ff..921cbcc 100644 --- a/src/components/icons.tsx +++ b/src/components/icons.tsx @@ -451,3 +451,25 @@ export const BoxIcon: React.FC = ({ size = 24, width, height, ...p ); }; + +export const SolarIcon: React.FC = ({ size = 24, width, height, ...props }) => { + return ( + + + + + + + + ); +}; diff --git a/src/config/index.ts b/src/config/index.ts index adccb70..36982a1 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -34,5 +34,6 @@ export const siteConfig = { bilibili: 'https://www.bilibili.com/video/BV1se411n7tD/', invitation: 'https://fork-way.feishu.cn/share/base/form/shrcnVMJP4h2BKi9zlnWEh7DOJB?iframeFrom=docx&ccm_open=iframe', + document: 'https://gitmaya-doc.netlify.app/', }, }; diff --git a/src/layout/narbar.tsx b/src/layout/narbar.tsx index 255f799..d276c66 100644 --- a/src/layout/narbar.tsx +++ b/src/layout/narbar.tsx @@ -14,7 +14,7 @@ import { link as linkStyles } from '@nextui-org/theme'; import { siteConfig } from '@/config'; import clsx from 'clsx'; -import { GithubIcon, Logo, LarkWhiteIcon, BoxIcon } from '@/components/icons'; +import { GithubIcon, Logo, LarkWhiteIcon, SolarIcon } from '@/components/icons'; // import { ThemeSwitch } from '@/components/theme-switch'; import { I18nSwitch } from '@/components/i18n-switch'; @@ -77,8 +77,8 @@ export const Navbar = () => { - - + + {/* */}