Skip to content

Commit

Permalink
Merge pull request #1268 from colouring-cities/interface/ui-tweaks
Browse files Browse the repository at this point in the history
Interface/UI tweaks
  • Loading branch information
mdsimpson42 authored Nov 7, 2023
2 parents f402937 + 6a03282 commit 79c0be7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/frontend/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const App: React.FC<AppProps> = props => {
<Header animateLogo={false} />
</Route>
<Route>
<Header animateLogo={true} />
<Header animateLogo={false} />
</Route>
</Switch>
<Switch>
Expand Down
4 changes: 4 additions & 0 deletions app/src/frontend/building/data-containers/planning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
copy={props.copy}
onChange={props.onChange}
mode={props.mode}
disabled={true}
/>
<button className={`map-switcher-inline ${flood}-state btn btn-outline btn-outline-dark ${darkLightTheme}`} onClick={floodSwitchOnClick}>
{(flood === 'enabled')? 'Click to hide Flood Zones' : 'Click to see Flood Zones mapped'}
Expand All @@ -301,6 +302,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
copy={props.copy}
onChange={props.onChange}
mode={props.mode}
disabled={true}
/>
<button className={`map-switcher-inline ${housing}-state btn btn-outline btn-outline-dark ${darkLightTheme}`} onClick={housingSwitchOnClick}>
{(housing === 'enabled')? 'Click to hide Housing Zones' : 'Click to see Housing Zones mapped'}
Expand All @@ -313,6 +315,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
copy={props.copy}
onChange={props.onChange}
mode={props.mode}
disabled={true}
/>
<button className={`map-switcher-inline ${creative}-state btn btn-outline btn-outline-dark ${darkLightTheme}`} onClick={creativeSwitchOnClick}>
{(creative === 'enabled')? 'Click to hide Creative Enterprise Zones' : 'Click to see Creative Enterprise Zones'}
Expand All @@ -325,6 +328,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
copy={props.copy}
onChange={props.onChange}
mode={props.mode}
disabled={true}
/>
<button className={`map-switcher-inline ${vista}-state btn btn-outline btn-outline-dark ${darkLightTheme}`} onClick={vistaSwitchOnClick}>
{(vista === 'enabled')? 'Click to hide Protected Vistas' : 'Click to see Protected Vistas'}
Expand Down

0 comments on commit 79c0be7

Please sign in to comment.