diff --git a/hub/static/css/_area.scss b/hub/static/css/_area.scss index add7c17b2..b3b45d578 100644 --- a/hub/static/css/_area.scss +++ b/hub/static/css/_area.scss @@ -77,6 +77,17 @@ @include media-breakpoint-up('lg') { grid-template-columns: repeat(3, 1fr); } + + &.two-col-grid { + @include media-breakpoint-up('md') { + grid-template-columns: repeat(1, 1fr); + grid-gap: $grid-gutter-width; + } + + @include media-breakpoint-up('lg') { + grid-template-columns: repeat(2, 1fr); + } + } } .area-data--sm { diff --git a/hub/static/img/map-placeholder.png b/hub/static/img/map-placeholder.png new file mode 100644 index 000000000..b6f1da827 Binary files /dev/null and b/hub/static/img/map-placeholder.png differ diff --git a/hub/templates/hub/area.html b/hub/templates/hub/area.html index 5f5b4080a..9d9328da0 100644 --- a/hub/templates/hub/area.html +++ b/hub/templates/hub/area.html @@ -22,7 +22,46 @@

{{ area.name }}

Old parliamentary constituency

This constituency no longer exists. Please select one of the replacement constituencies below

{% elif area_type == "WMC23" %} -

New parliamentary constituency

+ + + + + +

New parliamentary constituency

+ + (Show map) + {% endif %} @@ -543,6 +582,172 @@

{{ dataset.label }}

{% endif %} +
+
+

Place

+ + {% include 'hub/includes/icons/map.html' with width="1.5rem" height="1.5rem" %} + Go to map + +
+
+
+
+ + + +
+ +
+

Country of the UK

+ +
+
+ +

Scotland

+ +
+ +
+ + +
+ +
+

Estimated child poverty

+ +
+
+ +

17.0%

+ +

29.3% national average

+ + + +
+ +
+ + + + + +
+ +
+

Number of onshore windfarms

+ +
+
+ + +

0

+ + + +

0.7 national average

+ + + + +
+ +
+ +
+
+
+ James Madeupname +
+
+ +
+ + More place data + < + +
+
+

Movement

diff --git a/hub/templates/hub/includes/icons/location.html b/hub/templates/hub/includes/icons/location.html new file mode 100644 index 000000000..ef162788c --- /dev/null +++ b/hub/templates/hub/includes/icons/location.html @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/hub/templates/hub/includes/icons/map.html b/hub/templates/hub/includes/icons/map.html new file mode 100644 index 000000000..ac5d92acb --- /dev/null +++ b/hub/templates/hub/includes/icons/map.html @@ -0,0 +1 @@ + \ No newline at end of file