Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1535 Add "Definitions of ZAP Updates" page to ZAP Search #1537

Merged
merged 7 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions client/app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Router.map(function() { // eslint-disable-line
this.route('show-project', { path: '/projects/:id' });
this.route('show-geography', { path: '/projects' });
this.route('disclaimer');
if (config.showAlerts) { this.route('statuses'); }
this.route('not-found', { path: '/*path' });
this.route('oops');
this.route('my-projects', function() {
Expand Down
4 changes: 4 additions & 0 deletions client/app/routes/statuses.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Route from '@ember/routing/route';

export default Route.extend({
});
1 change: 1 addition & 0 deletions client/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ $completed-color: #a6cee3;
@import 'modules/_m-reveal-modal';
@import 'modules/_m-search';
@import 'modules/_m-site-header';
@import 'modules/_m-statuses';
@import 'modules/_m-tabs';
@import 'modules/_m-project-summary-cards';
@import 'modules/_m-tooltipster';
Expand Down
42 changes: 42 additions & 0 deletions client/app/styles/modules/_m-statuses.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// --------------------------------------------------
// Module: Statuses
// --------------------------------------------------

.status-options {
counter-reset: statusoption;
list-style: none;
padding-left: 40px;
padding-top: 3rem;
padding-bottom: 3rem;
}

.status-options .numbered-option {
counter-increment: statusoption;
margin: 0 0 0.5rem 0;
position: relative;
}

.status-options li::before {
content: counter(statusoption);
font-weight: bold;
position: absolute;
--size: 2rem;
left: calc(-1 * var(--size) - 10px);
line-height: var(--size);
width: var(--size);
height: var(--size);
top: 0;
background: #FBF0E9;
border-radius: 50%;
text-align: center;
}

.numbered-option h4 {
margin-bottom: 0.25rem;
}

.status-updates {
font-size: 21px;
padding-top: 3rem;
font-weight: 700;
}
38 changes: 38 additions & 0 deletions client/app/templates/statuses.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<div class="cell">
<div class="grid-container">
<div class="grid-x grid-padding-x grid-padding-y align-middle" style="justify-content: center;">
<div class="cell large-8" style="padding-top: 4rem">
<h1 class="header-xxl dcp-orange">Definition of ZAP Updates</h1>
<p>Below outlines 4 major status for a Zoning Application milestone:</p>
<ol class="status-options">
<li class="numbered-option">
<h4>Filed</h4>
<p>A Land Use Application has been submitted to DCP. The minimum fees have been paid.</p>
</li>
<li class="numbered-option">
<h4>Noticed</h4>
<p>An application is notified that it will be certified within 30 days per City Charter requirements.</p>
</li>
<li class="numbered-option">
<h4>In Public Review</h4>
<p>Applications are now in public review.</p>
</li>
<li class="numbered-option">
<h4>Completed</h4>
<p>An application has reached one of the following:</p>
<ul>
<li>Approved</li>
<li>Disapproved</li>
<li>Withdrawn</li>
<li>Terminated</li>
</ul>
</li>
</ol>
<p>When you sign up for ZAP updates, you will only be notified when a project's public status is changed to "<b>Filed</b>" or "<b>In public review</b>"</p>
<p class="status-updates">To sign up for ZAP updates, please visit <LinkTo @route="subscribe">here</LinkTo>.</p>
</div>
</div>
</div>
</div>

{{outlet}}
11 changes: 11 additions & 0 deletions client/tests/unit/routes/statuses-test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';

module('Unit | Route | statuses', function(hooks) {
setupTest(hooks);

test('it exists', function(assert) {
const route = this.owner.lookup('route:statuses');
assert.ok(route);
});
});
Loading