diff --git a/.github/renovate.json b/.github/renovate.json index c994fef..010732b 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,3 +1,3 @@ { "enabled": false -} \ No newline at end of file +} diff --git a/.github/workflows/tag-main.yml b/.github/workflows/tag-main.yml index 64d1ef3..ac4de43 100644 --- a/.github/workflows/tag-main.yml +++ b/.github/workflows/tag-main.yml @@ -2,7 +2,7 @@ name: Bump version and git tag main branch on: push: branches: - - main + - main jobs: tag-main: @@ -32,4 +32,4 @@ jobs: GIT_COMMITTER_NAME: ${{ secrets.SOCIALGROOVYBOT_NAME }} run: | npm version minor --sign-git-tag --message ":bookmark: release v%s" - git push --follow-tags origin \ No newline at end of file + git push --follow-tags origin diff --git a/.kontinuous/config.yaml b/.kontinuous/config.yaml index 3890f79..b3af4d9 100644 --- a/.kontinuous/config.yaml +++ b/.kontinuous/config.yaml @@ -4,8 +4,7 @@ dependencies: fabrique: import: SocialGouv/kontinuous/plugins/fabrique extends: - - name: ovh - + - name: ovh environmentPatterns: # prod: main diff --git a/.kontinuous/templates/app.sealed-secrets.yml b/.kontinuous/templates/app.sealed-secrets.yml index 4c56ad3..3edf901 100644 --- a/.kontinuous/templates/app.sealed-secrets.yml +++ b/.kontinuous/templates/app.sealed-secrets.yml @@ -2,7 +2,7 @@ apiVersion: bitnami.com/v1alpha1 kind: SealedSecret metadata: annotations: - sealedsecrets.bitnami.com/cluster-wide: 'true' + sealedsecrets.bitnami.com/cluster-wide: "true" name: app spec: encryptedData: @@ -10,6 +10,6 @@ spec: template: metadata: annotations: - sealedsecrets.bitnami.com/cluster-wide: 'true' + sealedsecrets.bitnami.com/cluster-wide: "true" name: app type: Opaque diff --git a/.stylelintrc.json b/.stylelintrc.json index 626e3f9..dd4dc5c 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -1,11 +1,8 @@ { - "extends": [ - "stylelint-config-standard", - "stylelint-config-sass-guidelines" - ], - "rules": { - "max-nesting-depth": null, - "selector-max-id" : null, - "selector-class-pattern": null - } -} \ No newline at end of file + "extends": ["stylelint-config-standard", "stylelint-config-sass-guidelines"], + "rules": { + "max-nesting-depth": null, + "selector-max-id": null, + "selector-class-pattern": null + } +} diff --git a/.vscode/extensions.json b/.vscode/extensions.json index f65abad..3323ddf 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -10,4 +10,4 @@ "esbenp.prettier-vscode", "eg2.tslint" ] -} \ No newline at end of file +} diff --git a/.vscode/settings.json b/.vscode/settings.json index cb64ef1..3d930b7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,10 +3,7 @@ "css.validate": false, "less.validate": false, "scss.validate": false, - "stylelint.validate": [ - "css", - "scss" - ], + "stylelint.validate": ["css", "scss"], "[css]": { "editor.defaultFormatter": "stylelint.vscode-stylelint" }, @@ -29,9 +26,7 @@ "cssModules.camelCase": true, "json.schemas": [ { - "fileMatch": [ - "renovate.json" - ], + "fileMatch": ["renovate.json"], "url": "https://docs.renovatebot.com/renovate-schema.json" } ], @@ -44,4 +39,4 @@ "files.associations": { ".env.dist": "dotenv" } -} \ No newline at end of file +} diff --git a/README.md b/README.md index f2b2ba0..319ee0b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Archifiltre Site v2 ## Init + ```sh yarn install ``` @@ -12,4 +13,5 @@ yarn dev ``` ## License + See license [Apache-2.0](LICENSE) diff --git a/TODO.md b/TODO.md index e07abdd..06d7288 100644 --- a/TODO.md +++ b/TODO.md @@ -1,12 +1,12 @@ -- [x] SEO (fin default + par page) -- [x] _error page -- [x] 404 page -- [x] fin style (title = quicksand, text = arial (or other)) + cassures positions titles -- [x] remplir mentions légales et politique de confidentialité +- [x] SEO (fin default + par page) +- [x] \_error page +- [x] 404 page +- [x] fin style (title = quicksand, text = arial (or other)) + cassures positions titles +- [x] remplir mentions légales et politique de confidentialité ----- +--- -- [ ] inline logo ? -- [ ] a11y ? -- [ ] switch sur CSSModules -- [ ] i18n +- [ ] inline logo ? +- [ ] a11y ? +- [ ] switch sur CSSModules +- [ ] i18n diff --git a/components/AnnouncementBanner/AnnouncementBanner.scss b/components/AnnouncementBanner/AnnouncementBanner.scss index d87868e..ae605b9 100644 --- a/components/AnnouncementBanner/AnnouncementBanner.scss +++ b/components/AnnouncementBanner/AnnouncementBanner.scss @@ -8,7 +8,7 @@ z-index: 2; .announcement-link { - color: rgb(243,193,90); + color: rgb(243, 193, 90); text-decoration: underline; } } diff --git a/components/common/Header.tsx b/components/common/Header.tsx index 7df23ea..c864048 100644 --- a/components/common/Header.tsx +++ b/components/common/Header.tsx @@ -6,20 +6,33 @@ export const Header = () => (