Skip to content

Commit

Permalink
Merge release 4.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mmazanec22 committed Aug 7, 2019
2 parents d0b6219 + dcef000 commit c406239
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simplicity2",
"version": "4.3.9",
"version": "4.3.10",
"description": "Version 2 of SimpliCity",
"main": "index.js",
"scripts": {
Expand Down
44 changes: 25 additions & 19 deletions src/app/development/trc/MajorDevelopmentDashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ import Accordion from '../../../shared/Accordion';
import ErrorBoundary from '../../../shared/ErrorBoundary';
import { devDashSections } from './textContent';

const introductoryContent = (
<React.Fragment>
<h1>Large-Scale Development in Asheville</h1>
<p>There is a lot of private land development happening in Asheville. This tool can help you:</p>
<ul>
<li>
Understand the development process from the first permit application to breaking ground
</li>
<li>
Understand your role in the process and how your voice can be heard
</li>
<li>
<a href="https://notifications.ashevillenc.gov" target="_blank" rel="noopener noreferrer">Sign up to be notified</a> when someone applies for a permit to build something near you
</li>
</ul>
<p>This is a brand new tool. Like all digital products created by the City of Asheville, it will be updated and refined iteratively in response to public input. Please <a href="https://forms.gle/kSRTZidJUtNdZ8Rz7" target="_blank" rel="noopener noreferrer">give us feedback</a> so that we may better understand your needs.</p>
<br />
<br />
</React.Fragment>
);

class MajorDevelopmentDashboard extends React.Component {
constructor() {
super();
Expand Down Expand Up @@ -46,8 +67,8 @@ class MajorDevelopmentDashboard extends React.Component {
// Make it less overwhelming/scrolly for smaller screens
if (this.state.width < 800) {
return (
<div id="majorDevDash">
<h1>Major Development in Asheville</h1>
<main id="majorDevDash">
{introductoryContent}
<Accordion
data={this.sections}
componentId="top-level"
Expand All @@ -63,7 +84,7 @@ class MajorDevelopmentDashboard extends React.Component {
}
}}
/>
</div>
</main>
);
}

Expand All @@ -73,22 +94,7 @@ class MajorDevelopmentDashboard extends React.Component {
links={this.sections}
/>
<main>
<h1>Large-Scale Development in Asheville</h1>
<p>There is a lot of private land development happening in Asheville. This tool can help you:</p>
<ul>
<li>
Understand the development process from the first permit application to breaking ground
</li>
<li>
Understand your role in the process and how your voice can be heard
</li>
<li>
<a href="#notifications">Sign up to be notified</a> when someone applies for a permit to build something near you
</li>
</ul>
<p>This is a brand new tool. Like all digital products created by the City of Asheville, it will be updated and refined iteratively in response to public input. Please <a href="https://forms.gle/kSRTZidJUtNdZ8Rz7" target="_blank" rel="noopener noreferrer">give us feedback</a> so that we may better understand your needs.</p>
<br />
<br />
{introductoryContent}
{this.sections.map(section => (
<section id={section.linkId} ref={section.ref} key={section.linkId} style={{ overflow: 'auto' }}>
<h2>{section.header}</h2>
Expand Down

0 comments on commit c406239

Please sign in to comment.