futurice / masifunde-fe

Website for masifunde
https://www.masifunde.de
MIT License
0 stars 3 forks source link

Introduce TypeScript and port "Was wir machen" section #321

Closed denisw closed 1 year ago

denisw commented 1 year ago

Thanks to static type checking, TypeScript will help reveal and avoid bugs like "getting property x of undefined". Also, introduce the Yup validation library to check the content received from Contentful before rendering the page, which leads to much clearer build error messages if the content does not agree with the page's expectations.

Most source files still need to be ported to TypeScript and Yup. However, this PR already converts the "Was wir machen" ("What we do") page and all of its sub-pages.

Fixes #315.

sarunast commented 1 year ago

Deploy Preview for masifunde ready!

Name Link
Latest commit eb4ee52079bb2bfbe67cf41da96787a53b3ec34d
Latest deploy log https://app.netlify.com/sites/masifunde/deploys/638ddadad7304800077d997a
Deploy Preview https://deploy-preview-321--masifunde.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.