alphagov / frontend

Serves the homepage, transactions and some index pages on GOV.UK
https://docs.publishing.service.gov.uk/apps/frontend.html
MIT License
38 stars 20 forks source link

Move case studies routes #4372

Open georges1996 opened 1 week ago

georges1996 commented 1 week ago

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

This PR https://github.com/alphagov/frontend/pull/4379 needs to be merged in and this will need to be rebased to fix the case studies which have translations e.g https://www.gov.uk/government/case-studies/doing-business-in-spain

What

Handle Case Studies documents in Frontend, in preparation for them being taken out of Government Frontend

Why

Ticket: https://trello.com/c/ybpXwp34/368-move-document-type-casestudy-from-government-frontend-to-frontend

How

By moving the routes and necessary code to get the pages rendering in the frontend application

Screenshots?

Frontend

Screenshot 2024-11-06 at 08 22 40 Screenshot 2024-11-06 at 08 23 02

Gov-Frontend

Screenshot 2024-11-06 at 08 22 34 Screenshot 2024-11-06 at 08 22 54
KludgeKML commented 1 day ago

Looking good, a few inline comments to take care of.