Skip to content

Commit

Permalink
refactor(mapper): add mapping guide to sidebar + update links
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Dec 12, 2024
1 parent f8853b4 commit 5888d34
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/frontend/src/utilities/CustomDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const MenuItems = [
},
{
name: 'About',
ref: 'https://docs.fmtm.dev/About/',
ref: 'https://docs.fmtm.dev/about/about/',
isExternalLink: true,
isActive: true,
},
Expand Down
12 changes: 4 additions & 8 deletions src/mapper/src/constants/drawerItems.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ type drawerItemsType = {

export const drawerItems: drawerItemsType[] = [
{
name: 'Explore Projects',
path: `${window.location.origin}`,
},
{
name: 'Learn',
path: 'https://hotosm.github.io/fmtm',
name: 'About',
path: 'https://docs.fmtm.dev/about/about/',
},
{
name: 'About',
path: 'https://docs.fmtm.dev/About/',
name: 'Guide For Mappers',
path: 'https://docs.fmtm.dev/manuals/mapping/',
},
{
name: 'Support',
Expand Down
2 changes: 1 addition & 1 deletion src/mapper/src/lib/components/header.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<div class="p-3 flex items-center justify-between">
<div class="flex items-center gap-1">
<img src={HotLogo} alt="hot-logo" class="h-[2.2rem] sm:h-[3rem]" />
<a href={window.location.origin}><img src={HotLogo} alt="hot-logo" class="h-[2.2rem] sm:h-[3rem]" /></a>
<img src={HotLogoText} alt="hot-logo" class="h-[2.2rem] sm:h-[3rem]" />
</div>
<div class="flex items-center gap-4">
Expand Down

0 comments on commit 5888d34

Please sign in to comment.