Skip to content

Commit

Permalink
Fixed the wellbeing icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbarne3 committed Jun 12, 2024
1 parent f008ce2 commit d4b76fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ function App() {
type: 'symbol',
layout: {
...defaultLayoutProps,
"icon-image": 'well-being',
"icon-image": 'wellbeing',
visibility: visibility.outdoors.wellBeing! ? 'visible': 'none'
},
};
Expand Down
12 changes: 6 additions & 6 deletions src/components/MapMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ export default function MapMenu(props: MapMenuProps) {
<div className='btn-group'>
<a className='btn btn-outline-dark dropdown-toggle' data-bs-toggle='dropdown' href='#locations' role="button" aria-expanded="false">Outdoors</a>
<ul className='dropdown-menu'>
<li className='dropdown-item'>
<li>
<a
className={props.visibility.outdoors.greenspaces ? 'nav-link active' : 'nav-link'}
className={props.visibility.outdoors.greenspaces ? 'dropdown-item active' : 'dropdown-item'}
href='#greenspaces'
id="greenspaces"
onClick={() =>
Expand All @@ -112,9 +112,9 @@ export default function MapMenu(props: MapMenuProps) {
Green Spaces
</a>
</li>
<li className='dropdown-item'>
<li>
<a
className={props.visibility.outdoors.recreation ? 'nav-link active' : 'nav-link'}
className={props.visibility.outdoors.recreation ? 'dropdown-item active' : 'dropdown-item'}
href='#recreation'
id="recreation"
onClick={() =>
Expand All @@ -126,9 +126,9 @@ export default function MapMenu(props: MapMenuProps) {
Recreation
</a>
</li>
<li className='dropdown-item'>
<li>
<a
className={props.visibility.outdoors.wellBeing ? 'nav-link active' : 'nav-link'}
className={props.visibility.outdoors.wellBeing ? 'dropdown-item active' : 'dropdown-item'}
href='#wellBeing'
id="wellBeing"
onClick={() =>
Expand Down

0 comments on commit d4b76fc

Please sign in to comment.