-
-
Notifications
You must be signed in to change notification settings - Fork 33
Terms and Conditions
- 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
- Dev URL: http://tdm-dev.azurewebsites.net/termsandconditions
- Prod URL: https://tdm.ladot.lacity.org/termsandconditions
- GitHub location:
- Figma Design:
- Issue Label on Issue tab: https://github.com/hackforla/tdm-calculator/issues?q=is%3Aopen+is%3Aissue+label%3A%22p-feature%3A+Terms+and+Conditions%22
- Issue label on Project Board: https://github.com/hackforla/tdm-calculator/projects/1?card_filter_query=label%3A%22p-feature%3A+terms+and+conditions%22
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.)