From ba413763c0216a3611e2f1b45f0c6f041639cb64 Mon Sep 17 00:00:00 2001 From: Md Ariful Islam <73895992+Arifulislam5577@users.noreply.github.com> Date: Wed, 27 Dec 2023 20:43:25 +0600 Subject: [PATCH] Documentation Page Design Updated. (#116) --- app/components/CodePreview.tsx | 10 +- app/components/Navbar.tsx | 52 +++--- app/docs.css | 22 +++ .../variant/DefaultNotification.tsx | 3 +- .../variant/NotificationWithIcon.tsx | 2 +- app/docs/layout.tsx | 154 +++++++++--------- app/globals.css | 13 +- app/page.tsx | 6 +- mdx-components.tsx | 2 +- 9 files changed, 148 insertions(+), 116 deletions(-) diff --git a/app/components/CodePreview.tsx b/app/components/CodePreview.tsx index b8dae092..a26c9944 100644 --- a/app/components/CodePreview.tsx +++ b/app/components/CodePreview.tsx @@ -15,16 +15,16 @@ interface CodePreviewProps { const CodePreview = ({ children, code, github }: CodePreviewProps) => { const [active, setActive] = useState(0) const { copy, copyToClipboard } = useCopy() - const githubUrl = `https://github.com/StaticMania/keep-react/tree/main/src/components/${github}` + const githubUrl = `https://github.com/StaticMania/keep-react/tree/main/app/src/components/${github}` return (