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

Add license plate lookup page #407

Open
wants to merge 23 commits into
base: production
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
add message if plate not permitted
  • Loading branch information
chiaberry committed Jul 19, 2023
commit 05cf806c6ec897a8c2ca64f1b965cc56ec32b8e0
43 changes: 27 additions & 16 deletions pages/residential-parking.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,22 +144,33 @@ export default function ResidentialParking({ bearerTokenObj }) {
</Row>
) : (
result && (
<Row className="my-3">
<Col>
{permitted ? (
/* todo, add padding here*/ <FaCheckSquare
color="green"
size="1.5em"
/>
) : (
<FaTimesCircle />
)}
Vehicle with license plate{" "}
<span className="fw-bold">{form.plate}</span> is{" "}
{!permitted && "not "}
permitted
</Col>
</Row>
<>
<Row className="my-3">
<Col>
<span>
{permitted ? (
<FaCheckSquare color="green" size="1.5em" />
) : (
<FaTimesCircle />
)}
</span>
Vehicle with license plate{" "}
<span className="fw-bold">{form.plate}</span> is{" "}
{!permitted && "not "}
permitted
</Col>
</Row>
<Row>
<p>
For any inquires regarding vehicles that are not permitted
please refer to the Residential Parking Permit{" "}
<a href="https://www.austintexas.gov/department/residential-permit-parking">
webpage
</a>{" "}
frequently asked questions.
</p>
</Row>
</>
)
)}
</Container>
Expand Down