Skip to content

Commit

Permalink
updates for James copies and location title when not found.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulysses-cognizant committed Mar 11, 2024
1 parent 28155d1 commit 3b59430
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/server/common/templates/partials/daqi-index.njk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% set table %}
{{ govukTable({
classes: "govuk-!-margin-bottom-6",
caption: "The Daily Air Quality Index (DAQI) tells you the expected levels of air pollution and can inform you about the short-term health effects.",
caption: "The daily air quality index (DAQI) tells you about levels of air pollution. It provides health advice for current levels.",
captionClasses: "govuk-body govuk-!-font-weight-regular govuk-!-margin-bottom-4",
firstCellIsHeader: true,
head: [
Expand Down
2 changes: 1 addition & 1 deletion src/server/common/templates/partials/pollutants.njk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<h2 class="govuk-heading-s">Gases</h2>
<p>Produced by the burning of fossil fuels from sources such as cars, power plants and factories.</p>
<p>Produced by burning fossil fuels. For example, in cars, power stations and factories.</p>
<ul class="govuk-list">
<li>
<a class="govuk-link" href={{[appPathPrefix, '/pollutants/ozone'] | join}}>Ozone</a>
Expand Down
3 changes: 2 additions & 1 deletion src/server/locations/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ const getLocationDataController = {
})
} else {
return h.view('locations/location-not-found', {
userLocation: locationNameOrPostcode
userLocation: locationNameOrPostcode,
pageTitle: `We could not find ${locationNameOrPostcode} - Check local air quality - GOV.UK`
})
}
} else if (locationType === 'ni-location') {
Expand Down
7 changes: 2 additions & 5 deletions src/server/nitrogen-dioxide/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@
<ul class="govuk-list govuk-list--bullet">
<li>asthma attacks</li>
<li>respiratory infections</li>
<li>symptoms of people with lung or heart conditions could be made worse</li>
<li>symptoms of lung or heart conditions to get worse</li>
</ul>
<p>
Long term exposure to Nitrogen dioxide may lead to:
Long term exposure to nitrogen dioxide may lead to an increased risk of respiratory infection and poorer lung function in children.
</p>
<ul class="govuk-list govuk-list--bullet">
<li>an increased risk of respiratory infection and poorer lung function in children</li>
</ul>
</div>
</div>
{% endblock %}
Expand Down
3 changes: 1 addition & 2 deletions src/server/ozone/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<p>There are no major emission sources of ozone itself. Reactions between other pollutants form ozone in the air. For example, when pollutants from cars, power plants, and factories react with sunlight.
</p>
<p>
Ozone can be at unhealthy levels on hot, sunny days and even during colder months. It can travel by the wind, affecting both urban and rural areas.
Ground level ozone can be at unhealthy levels on both hot and cold days. It can travel by the wind, affecting both urban and rural areas.
</p>
<h2 class="govuk-heading-m">Health effects </h2>
<p>
Expand All @@ -37,7 +37,6 @@
<ul class="govuk-list govuk-list--bullet">
<li>increased respiratory illnesses</li>
<li>nervous system issues</li>
<li>reproductive issues</li>
<li>cancer</li>
<li>heart issues</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions src/server/particulate-matter-10/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% endif %}
{{ title | safe }}</h1>
<h2 class="govuk-heading-m">Sources of PM10</h2>
<p>Particulate matter (PM), are small particles of solids or liquids that are in the air. The particles are only 10 micrometres in diameter. For context, the width of a human hair is 50 to 70 micrometres.
<p>Particulate matter (PM) are small particles of solids or liquids that are in the air. The particles are only 10 micrometres in diameter. For context, the width of a human hair is 50 to 70 micrometres.
</p>
<p>The main sources of particulate matter are:</p>
<ul class="govuk-list govuk-list--bullet">
Expand All @@ -31,7 +31,7 @@
<ul class="govuk-list govuk-list--bullet">
<li>difficulty breathing</li>
<li>coughing</li>
<li>eye, nose, and throat irritation</li>
<li>eye, nose and throat irritation</li>
<li>chest tightness and pain</li>
</ul>
<p>Long term health impacts of PM10 can include:</p>
Expand Down
10 changes: 5 additions & 5 deletions src/server/particulate-matter-25/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% endif %}
{{ title | safe }}</h1>
<h2 class="govuk-heading-m">Sources of PM2.5</h2>
<p>Particulate matter (PM), are small particles of solids or liquids that are in the air. The particles are only 2.5 micrometres in diameter. For context, the width of a human hair is 50 to 70 micrometres.</p>
<p>Particulate matter (PM) are small particles of solids or liquids that are in the air. The particles are only 2.5 micrometres in diameter. For context, the width of a human hair is 50 to 70 micrometres.</p>
<p>PM2.5 particles may include:</p>
<ul class="govuk-list govuk-list--bullet">
<li>dust</li>
Expand All @@ -28,21 +28,21 @@
<li>wear of tyres and brakes</li>
<li>wind blown soil and dust</li>
<li>sea spray particles</li>
<li>fires involving burning vegetation</li>
<li>Burning vegetation</li>
</ul>
<h2 class="govuk-heading-m">Health effects </h2>
<p>Short term health impacts of PM2.5 can include worsening of conditions such as:</p>
<ul class="govuk-list govuk-list--bullet">
<li>asthma</li>
<li>chronic obstructive pulmonary disease (COPD)</li>
</ul>
<p>Long term term health impacts of PM2.5 can include:</p>
<p>Long term health impacts of <strong>PM2.5</strong> can include:</p>
<ul class="govuk-list govuk-list--bullet">
<li>stroke</li>
<li>strokes</li>
<li>lung cancer</li>
<li>diabetes</li>
<li>Alzheimer's and Parkinson's disease</li>
<li>reduced lung function growth in children</li>
<li>poor lung heath in children</li>
</ul>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/server/sulphur-dioxide/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<h2 class="govuk-heading-m">Sources of sulphur dioxide</h2>
<p>Sulphur dioxide is a colourless gas with a strong odour. It's mainly produced from:</p>
<ul class="govuk-list govuk-list--bullet">
<li>burning of petrol or diesel in a car engine</li>
<li>burning petrol or diesel in vehicles</li>
<li>gas boilers</li>
<li>coal-burning power stations</li>
<li>coal burning power stations</li>
<li>commercial manufacturing</li>
<li>food manufacturing</li>
</ul>
Expand All @@ -37,7 +37,7 @@
<ul class="govuk-list govuk-list--bullet">
<li>reduced lung function</li>
<li>altered sense of smell</li>
<li>increased in respiratory infections</li>
<li>increased respiratory infections</li>
</ul>
</div>
</div>
Expand Down

0 comments on commit 3b59430

Please sign in to comment.