Skip to content

Commit 64af47e

Browse files
authored
fix: change slug (#400)
1 parent b6d98ca commit 64af47e

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

Diff for: src/components/Docs/SideBarDocs.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ function SideBarDocs() {
88
<section className = "py-8 px-5 ">
99
<ul className ="p-2 flex flex-col gap-4" >
1010
<NavLink className={(navData) => {if (navData.isActive) return 'text-primary'; return ''}} to='/docs/getting-started'>Getting started (new users)</NavLink>
11+
1112
<NavLink
1213
className={(navData) => {
1314
if (navData.isActive) return 'text-primary';

Diff for: src/components/Header.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const Header = forwardRef(({ open, setOpen, ...props }: any, ref: any) => {
7878
if (pathname==="docs") return 'text-primary';
7979
return '';
8080
}}
81-
to="/docs/org-signin"
81+
to="/docs/getting-started"
8282
>
8383
{t('Docs')}
8484
</NavLink>
@@ -148,7 +148,7 @@ const Header = forwardRef(({ open, setOpen, ...props }: any, ref: any) => {
148148
</Link>
149149
</li>
150150
<li className="p-2 w-full mt-2 dark:text-dark-text-fill text-primary">
151-
<Link to="/docs/org-signin">{t('Docs')}</Link>
151+
<Link to="/docs/getting-started">{t('Docs')}</Link>
152152
</li>
153153

154154
<li className="p-2 w-full dark:text-dark-text-fill mt-6 mb-2 bg-primary text-white rounded-md px-[35%]">

Diff for: src/components/Navbar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const Header = forwardRef(({ open, setOpen, ...props }: any, ref: any) => {
9292
if (pathname === 'docs') return 'text-primary';
9393
return '';
9494
}}
95-
to="/docs/org-signin"
95+
to="/docs/getting-started"
9696
>
9797
{t('Docs')}
9898
</NavLink>

Diff for: src/containers/Routes.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function MainRoutes() {
9191
/>
9292
<Route path="/docs/org-signup" element={<SignupOrgDocs />} />
9393
<Route path="/docs/org-signin" element={<SigninOrgDocs />} />
94-
<Route path='/docs/users' element={< UsersDocs />} />
94+
<Route path='/docs/getting-started' element={< UsersDocs />} />
9595
<Route path="/noredirect" element={<Noredirect />} />
9696
</Route>
9797
<Route path="*" element={<Error />} />

0 commit comments

Comments
 (0)