Fix link to Streetscape Wix page (URL is /greenery)

This commit is contained in:
Tom Russell 2019-10-04 15:00:29 +01:00
parent c14ee75eec
commit 98a826179c

View File

@ -64,7 +64,7 @@ const Categories = (props) => (
title="Streetscape" title="Streetscape"
desc="Environment" desc="Environment"
slug="streetscape" slug="streetscape"
help="https://pages.colouring.london/streetscape" help="https://pages.colouring.london/greenery"
inactive={true} inactive={true}
mode={props.mode} mode={props.mode}
building_id={props.building_id} building_id={props.building_id}
@ -125,7 +125,7 @@ Categories.propTypes = {
const Category = (props) => { const Category = (props) => {
let categoryLink = `/${props.mode}/${props.slug}`; let categoryLink = `/${props.mode}/${props.slug}`;
if (props.building_id != undefined) categoryLink += `/${props.building_id}`; if (props.building_id != undefined) categoryLink += `/${props.building_id}`;
return ( return (
<li className={`category-block ${props.slug} background-${props.slug}`}> <li className={`category-block ${props.slug} background-${props.slug}`}>
<NavLink <NavLink