Skip to content

Commit

Permalink
feat: update map and share button labels and icons (#1079) (#1093)
Browse files Browse the repository at this point in the history
- Update the map button icon to 'MapTrifold'
- Correctly label the 'share' button as 'Copy Link'
  • Loading branch information
athuv authored Feb 11, 2024
1 parent f206fdf commit a5c1ea9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/(default)/components/AreaPageActions.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Link from 'next/link'
import { PencilSimple, ArrowElbowLeftDown } from '@phosphor-icons/react/dist/ssr'
import { PencilSimple, MapTrifold } from '@phosphor-icons/react/dist/ssr'
import { ShareAreaLinkButton } from '@/app/(default)/components/ShareAreaLinkButton'
import { UploadPhotoButton } from '@/components/media/PhotoUploadButtons'

Expand All @@ -15,7 +15,7 @@ export const AreaPageActions: React.FC<{ uuid: string, areaName: string } > = ({
<UploadPhotoButton />

<Link href='#map' className='btn'>
<ArrowElbowLeftDown size={20} className='hidden md:inline' /> Map
<MapTrifold size={20} className='hidden md:inline' /> Map
</Link>
<ShareAreaLinkButton uuid={uuid} areaName={areaName} />
</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/app/(default)/components/ShareAreaLinkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const ShareAreaLinkButton: React.FC<{ uuid: string, areaName: string }> =
setClicked(true)
}}
>
<LinkSimple size={20} /><span className='hidden md:inline'>Share</span>
<LinkSimple size={20} /><span className='hidden md:inline'>Copy Link</span>
</button>
</ControlledTooltip>
)
Expand Down

0 comments on commit a5c1ea9

Please sign in to comment.