Add "click map" hint; tweak labels
This commit is contained in:
parent
9b1ad270f8
commit
b438e885c0
@ -2,6 +2,7 @@
|
||||
{
|
||||
"title": "Location", "slug": "location",
|
||||
"help": "https://pages.colouring.london/location",
|
||||
"intro": "Where is it?",
|
||||
"fields": [
|
||||
{
|
||||
"title": "Building Name", "slug": "location_name", "type": "text",
|
||||
@ -72,9 +73,9 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"inactive": true,
|
||||
"title": "Size & Shape", "slug": "form",
|
||||
"help": "https://pages.colouring.london/form",
|
||||
"title": "Size & Shape", "slug": "size",
|
||||
"intro": "How big is it?",
|
||||
"help": "https://pages.colouring.london/shape",
|
||||
"fields": [
|
||||
{
|
||||
"title": "Core storeys", "slug": "size_storeys_core", "type": "number", "step": 1,
|
||||
|
@ -53,10 +53,10 @@ const LEGEND_CONFIG = {
|
||||
],
|
||||
like: [
|
||||
{
|
||||
title: 'Like Me!',
|
||||
title: 'Which buildings do you like?',
|
||||
slug: 'like',
|
||||
elements: [
|
||||
{ color: '#f65400', text: 'Liked' },
|
||||
{ color: '#f65400', text: 'We like these buildings 👍 🎉 +1' },
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -71,6 +71,7 @@ const Legend = (props) => {
|
||||
|
||||
return (
|
||||
<Sidebar title="Maps">
|
||||
<p className="data-intro">Click on the map to see more information about a building…</p>
|
||||
{
|
||||
CONFIG.map((data_group) => (
|
||||
<LegendGroup {...data_group} maps={LEGEND_CONFIG[data_group.slug]}
|
||||
|
Loading…
Reference in New Issue
Block a user