From 8b305533ced7921a61452d723350bc796b54c5c3 Mon Sep 17 00:00:00 2001 From: zhaoxinxin <1186037180@qq.com> Date: Mon, 22 Jan 2024 21:26:28 +0800 Subject: [PATCH] feat: change navbar Signed-off-by: zhaoxinxin <1186037180@qq.com> --- docusaurus.config.js | 2 +- src/pages/components/{NavbarScroll.js => NavbarScroll.jsx} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/pages/components/{NavbarScroll.js => NavbarScroll.jsx} (100%) diff --git a/docusaurus.config.js b/docusaurus.config.js index 09321d0f..fbc27eba 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -26,7 +26,7 @@ const config = { }, }, }, - clientModules: [require.resolve('./src/pages/components/NavbarScroll.js')], + clientModules: [require.resolve('./src/pages/components/NavbarScroll.jsx')], presets: [ [ 'classic', diff --git a/src/pages/components/NavbarScroll.js b/src/pages/components/NavbarScroll.jsx similarity index 100% rename from src/pages/components/NavbarScroll.js rename to src/pages/components/NavbarScroll.jsx