Archived: [Project has been split out into two components, @ https://github.com/cds-snc/tracker and https://github.com/cds-snc/track-web ] Check whether a Government of Canada domain is adhering to best security practices.
This PR looks much bigger than it actually is because I added in french placeholder copies of the pages to demo routing.
This PR primarily adds more flexible routing to not double up the English and French routes. Routes now accept a prefix and generate the template path based on the prefix & page id. If the prefix isn't en or fr, the app throws a 404. If the route doesn't exist in general, the app still throws a 404.
Known issues:
Language swap button doesn't work yet, that's a future PR that builds off this one
Organization table still links to english version of domains page, this will be fixed when I add i18n support to data tables
This PR looks much bigger than it actually is because I added in french placeholder copies of the pages to demo routing.
This PR primarily adds more flexible routing to not double up the English and French routes. Routes now accept a prefix and generate the template path based on the prefix & page id. If the prefix isn't en or fr, the app throws a 404. If the route doesn't exist in general, the app still throws a 404.
Known issues: