aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/src/js/app.js
Commit message (Collapse)AuthorAgeFilesLines
* chore: move htdocs to repo rootArmand Philippot2021-10-301-382/+0
|
* chore: keep projects url consistentArmand Philippot2021-10-291-2/+2
| | | | | Since I added legal notice, project hash could be added to legal notice page. Instead I make sure it is only added to website root.
* chore: update document titleArmand Philippot2021-10-291-0/+1
| | | | | Set a default title to static page, then change the title on project view.
* chore: add legal noticeArmand Philippot2021-10-281-1/+14
| | | | In France, legal notice is required for any website.
* chore(i18n): translate the instructions on homepageArmand Philippot2021-10-281-0/+2
|
* fix(i18n): use english language if preferred language is not supportedArmand Philippot2021-10-281-1/+1
| | | | | | If the language is not supported, the 'code' property does not exist. So I need to check its existence before using it. Now, the 'en' fallback is working.
* chore(i18n): handle singular/plural formArmand Philippot2021-10-281-2/+6
|
* chore: add todos project credentialsArmand Philippot2021-10-281-1/+2
| | | | | I change the description element from 'p' to 'div', it makes more sense since I'm using line breaks to display them.
* feat: define app locale depending on navigator preferred languageArmand Philippot2021-10-271-2/+20
|
* feat: translate the app - two locales available: fr and enArmand Philippot2021-10-261-5/+22
|
* fix(animation): add fade-in animation to project details on large vwArmand Philippot2021-10-261-0/+1
| | | | | | The animation was not triggered because I forgot to add the class in the right place. I also increase a little the animation timing.
* chore: add a different style to the selected project inside navArmand Philippot2021-10-261-2/+19
|
* refactor: move animation functions to a separated fileArmand Philippot2021-10-261-44/+6
| | | | | App.js becomes heavy. So by moving some functions outside this file, it improves the readability.
* chore: handle page reloadArmand Philippot2021-10-251-9/+21
| | | | | | | If the current page is a project, on page refresh we want to show the exact same project. It can be use to share a specific page. I change the history pushState method to use hash instead since the server doesn't know the "fake" URLs. This way, no 404.
* chore: hide the about project button on homepageArmand Philippot2021-10-251-0/+17
|
* chore: print the project preview & details on clickArmand Philippot2021-10-251-41/+216
| | | | | | On small viewport, hide the project details and display it when the user clicks on toolbar button. So I adjust the toolbar z-index and the preview height.
* chore: define the header/footer visibility according to viewportArmand Philippot2021-10-241-0/+60
|
* chore: hide or show the toolbar according to viewportArmand Philippot2021-10-241-1/+29
|
* chore: print the projects listArmand Philippot2021-10-241-0/+32
|
* chore: load styles on development modeArmand Philippot2021-10-241-0/+22