Skip to content

Commit

Permalink
alt modified in decorative images.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramin Farhadi authored and Ramin Farhadi committed Jul 15, 2024
1 parent 08d0697 commit 44678ae
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions src/components/MapMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function MapMenu(props: MapMenuProps) {
'buildings': !props.visibility.locations.buildings
}})
}>
<img width={15} alt="item" src={ props.visibility.locations.buildings ? checked : unchecked } /> &nbsp;Buildings
<img width={15} alt="" src={ props.visibility.locations.buildings ? checked : unchecked } /> &nbsp;Buildings
</a>
</li>
<li>
Expand All @@ -48,7 +48,7 @@ export default function MapMenu(props: MapMenuProps) {
...props.visibility.locations,
'housing': !props.visibility.locations.housing
}})
}><img width={15} alt="item" src={ props.visibility.locations.housing ? checked : unchecked } />
}><img width={15} alt="" src={ props.visibility.locations.housing ? checked : unchecked } />
&nbsp;
Housing
</a>
Expand All @@ -63,7 +63,7 @@ export default function MapMenu(props: MapMenuProps) {
...props.visibility.locations,
'dining': !props.visibility.locations.dining
}})
}><img width={15} alt="item" src={ props.visibility.locations.dining ? checked : unchecked } />
}><img width={15} alt="" src={ props.visibility.locations.dining ? checked : unchecked }/>
&nbsp;
Dining
</a>
Expand All @@ -78,7 +78,7 @@ export default function MapMenu(props: MapMenuProps) {
...props.visibility.locations,
'retail': !props.visibility.locations.retail
}})
}><img width={15} alt="item" src={ props.visibility.locations.retail ? checked : unchecked } />
}><img width={15} alt="" src={ props.visibility.locations.retail ? checked : unchecked } />
&nbsp;
Retail
</a>
Expand All @@ -93,7 +93,7 @@ export default function MapMenu(props: MapMenuProps) {
...props.visibility.locations,
'labs': !props.visibility.locations.labs
}})
}><img width={15} alt="item" src={ props.visibility.locations.labs ? checked : unchecked } />&nbsp;
}><img width={15} alt="" src={ props.visibility.locations.labs ? checked : unchecked } />&nbsp;
Labs
</a>
</li>
Expand All @@ -119,7 +119,7 @@ export default function MapMenu(props: MapMenuProps) {
...props.visibility.outdoors,
'greenspaces': !props.visibility.outdoors.greenspaces
}})
}><img width={15} alt="item" src={ props.visibility.outdoors.greenspaces ? checked : unchecked } />
}><img width={15} alt="" src={ props.visibility.outdoors.greenspaces ? checked : unchecked } />
&nbsp;
Green Spaces
</a>
Expand All @@ -134,7 +134,7 @@ export default function MapMenu(props: MapMenuProps) {
...props.visibility.outdoors,
'recreation': !props.visibility.outdoors.recreation
}})
}><img width={15} alt="item" src={ props.visibility.outdoors.recreation ? checked : unchecked } />
}><img width={15} alt="" src={ props.visibility.outdoors.recreation ? checked : unchecked } />
&nbsp;
Recreation
</a>
Expand All @@ -149,7 +149,7 @@ export default function MapMenu(props: MapMenuProps) {
...props.visibility.outdoors,
'wellBeing': !props.visibility.outdoors.wellBeing
}})
}><img width={15} alt="item" src={ props.visibility.outdoors.wellBeing ? checked : unchecked } />
}><img width={15} alt="" src={ props.visibility.outdoors.wellBeing ? checked : unchecked } />
&nbsp;
Well-Being
</a>
Expand All @@ -165,7 +165,7 @@ export default function MapMenu(props: MapMenuProps) {
href='#bikeRack'
id="bikeRacks"
onClick={() => props.setVisibility({ ...props.visibility, 'bikeRacks': !props.visibility['bikeRacks'] })}
> <img width={15} alt="item" src={ props.visibility.bikeRacks ? checked : unchecked } />
> <img width={15} alt="" src={ props.visibility.bikeRacks ? checked : unchecked } />
&nbsp;
Bike Racks
</a>
Expand All @@ -176,7 +176,7 @@ export default function MapMenu(props: MapMenuProps) {
id="family"
href='#family'
onClick={() => props.setVisibility({ ...props.visibility, 'family': !props.visibility['family'] })}
><img width={15} alt="item" src={ props.visibility.family ? checked : unchecked } />
><img width={15} alt="" src={ props.visibility.family ? checked : unchecked } />
&nbsp;
Family Resources
</a>
Expand All @@ -187,7 +187,7 @@ export default function MapMenu(props: MapMenuProps) {
id="pantry"
href='#pantry'
onClick={() => props.setVisibility({ ...props.visibility, 'knightsPantry': !props.visibility['knightsPantry'] })}
> <img width={15} alt="item" src={ props.visibility.knightsPantry ? checked : unchecked } />
> <img width={15} alt="" src={ props.visibility.knightsPantry ? checked : unchecked } />
&nbsp;
Knight's Pantry
</a>
Expand All @@ -198,7 +198,7 @@ export default function MapMenu(props: MapMenuProps) {
id="art"
href='#art'
onClick={() => props.setVisibility({ ...props.visibility, 'art': !props.visibility['art'] })}
><img width={15} alt="item" src={ props.visibility.art ? checked : unchecked } />
><img width={15} alt="" src={ props.visibility.art ? checked : unchecked } />
&nbsp; Art
</a>
</li>
Expand All @@ -208,7 +208,7 @@ export default function MapMenu(props: MapMenuProps) {
id="services"
href='#services'
onClick={() => props.setVisibility({ ...props.visibility, 'studentServices': !props.visibility['studentServices'] })}
> <img width={15} alt="item" src={ props.visibility.studentServices ? checked : unchecked } />
> <img width={15} alt="" src={ props.visibility.studentServices ? checked : unchecked } />
&nbsp;
Student Services
</a>
Expand Down Expand Up @@ -237,7 +237,7 @@ export default function MapMenu(props: MapMenuProps) {
'parking': !props.visibility.accessibility.parking
}})
}
> <img width={15} alt='item' src={ props.visibility.accessibility.parking ? checked : unchecked } />
> <img width={15} alt='' src={ props.visibility.accessibility.parking ? checked : unchecked } />
&nbsp;
Parking
</a>
Expand All @@ -253,7 +253,7 @@ export default function MapMenu(props: MapMenuProps) {
'buildingRamps': !props.visibility.accessibility.buildingRamps
}})
}
><img width={15} alt="item" src={ props.visibility.accessibility.buildingRamps ? checked : unchecked } />
><img width={15} alt="" src={ props.visibility.accessibility.buildingRamps ? checked : unchecked } />
&nbsp;
Building Ramps
</a>
Expand All @@ -269,7 +269,7 @@ export default function MapMenu(props: MapMenuProps) {
'curbRamps': !props.visibility.accessibility.curbRamps
}})
}
> <img width={15} alt="item" src={ props.visibility.accessibility.curbRamps ? checked : unchecked } />
> <img width={15} alt="" src={ props.visibility.accessibility.curbRamps ? checked : unchecked } />
&nbsp;
Parking Ramps
</a>
Expand All @@ -285,7 +285,7 @@ export default function MapMenu(props: MapMenuProps) {
'autoDoors': !props.visibility.accessibility.autoDoors
}})
}
><img width={15} alt="item" src={ props.visibility.accessibility.autoDoors ? checked : unchecked } />
><img width={15} alt="" src={ props.visibility.accessibility.autoDoors ? checked : unchecked } />
&nbsp;
Automatic Doors
</a>
Expand Down

0 comments on commit 44678ae

Please sign in to comment.