Terms and Conditions - hackforla/tdm-calculator GitHub Wiki
Terms and Condition Form
- Terms and condition page allows user to read the agreement between The Los Angeles Department of Transportation (LADOT), the Department of City Planning and Hack for LA.
- User do not need access to view terms and condition page
URLS
- Dev URL: http://tdm-dev.azurewebsites.net/termsandconditions
- Prod URL: https://tdm.ladot.lacity.org/termsandconditions
- GitHub location:
- Figma Design:
- WIKI TDM Calculator Figma Pages and Structure
- Figma [TDM Calculator Figma Pages and Structure, User-Facing Screens]
- Figma [TDM Calculator Handoff, User-Facing Screens]
Issue label
- Issue Label on Issue tab: p-feature: Terms and Conditions
- Issue label on Project Board: p-feature: Terms and Conditions
Screen shots of page
Technical Details
This is static JSX content.
When the user accesses the site for the first time, it is presented inside a modal dialog, with "Accept" and "Decline and Exit Site" buttons. If the user accepts the terms, an entry named termsAndConditions
is written to local storage with the value "Accepted", so on subsequent visits to the site from the same machine and browser, they will not see the dialog again. If they choose "Decline and Exit Site", their browser will be redirected to https://ladot.lacity.gov/
At any time, the user can also see this information by clicking on the "Terms and Conditions" link in the application footer. This will show them the same content as a page with a blank sidebar and no buttons (since they are already accessing the site, they have already accepted the Terms and Conditions.)