aboutsummaryrefslogtreecommitdiffstats
path: root/tests/cypress/e2e/pages/homepage.cy.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): improve HomepageArmand Philippot2023-11-291-1/+26
| | | | | | | | | * move custom homepage components that does not require props to the MDX file (links should not need to be translated here but where they are defined) * move SEO title and meta desc to MDX file * make Page component the wrapper instead of using a React fragment * fix MDX module types
* refactor(hooks): remove useSettings hookArmand Philippot2023-11-151-3/+3
| | | | | | | It does not make sense to re-export an existing object through a hook. On some pages both the hook and the object was imported... It is better to use the CONFIG (previously settings) object directly and by doing it we avoid potential errors because of conditional hooks.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-1/+1
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* test(e2e): add other pages testArmand Philippot2022-06-031-0/+9
Sometimes a build can be successful but the page is not working, so these tests allows me to check if the page is correctly loaded.