Skip to content

fix: fixing typos#6

Open
gcruchon wants to merge 2 commits intoAxaFrance:masterfrom
gcruchon:fix/typos
Open

fix: fixing typos#6
gcruchon wants to merge 2 commits intoAxaFrance:masterfrom
gcruchon:fix/typos

Conversation

@gcruchon
Copy link

@gcruchon gcruchon commented Oct 25, 2020

Fix #5

I fixed:

  • some general MD issues
  • some issues with punctuation
  • some typos in
    • /components/*
    • /pages/atoms/*
    • /pages/components/*
    • /pages/get-started/*
    • /pages/guidelines/*

@gcruchon
Copy link
Author

gcruchon commented Oct 25, 2020

WORK IN PROGRESS

TODO :

  • /pages/home/*
  • /pages/molecules/*
  • /pages/organisms/*
  • /pages/pages/*
  • /pages/patterns/*

@gcruchon gcruchon changed the title fix: fixing typos in components, pages/atoms, pages/components, pages… fix: fixing typos Oct 25, 2020
sisko59
sisko59 previously approved these changes Oct 26, 2020
Un badge indique le statut d’un élément auquel il est rattaché.

<img src="../../assets/images/badge/badge-01.jpg" alt="badge" class="tk-markdown__img-fullscreen" />
<p>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourquoi englobé d'un p ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est une règle de MD-Lint qui dit qu'on ne doit pas mettre de inline HTML... mais je ne pense que c'est inutile, je vais les virer...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok pour l'enlever

- Univers AXA: rattaché à un univers métier d’AXA, comme assurance auto, maison etc.
- Un badge peut être utilisé dans des composants tels que des tableaux, des groupes de listes, un bloc de restitution.
- Les badges se déclinent en plusieurs couleurs, sémantiques ou contextuelles. Chaque couleur doit être utilisé en accord avec le sens rattaché&nbsp;:
- Vert&nbsp;: succès,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mettre un espace pas le code d'un espace

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est la différence entre un espace et un espace insécable (non-breakable space). Devant un deux-points (:) il faut mettre un insécable, pas un espace "classique" (tu ne veux pas que le signe de ponctuation soit séparé du mot qui le précède ou le suit)

Idem pour les guillemets

https://fr.wikipedia.org/wiki/Espace_ins%C3%A9cable

</p>

a) Position
### a) Position

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le marqueur ### permet déjà de savoir que c'est un titre donc peut être supprimer le a)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si @samuel-gomez est OK, pas de souci pour moi. Je voulais le faire aussi... mais je ne l'ai pas fait pour ne pas dénaturer le texte.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok pour moi , globalement la hiérarchisation des contenus est à revoir

a.tk-contributor__link(href="https://github.com/xballoy" title="xballoy") xballoy
img.tk-contributor__avatar(src="https://avatars2.githubusercontent.com/u/686305?v=4" loading="lazy")
span.tk-contributor__badge #2
span.tk-contributor__commits Commits : 34

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rendre dynamique cette page ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Elle l'est :-D

generateContributors.js ligne 45.

Après, je suis d'accord que c'est mieux si c'est un .md qui est généré et pas un .pug. On ouvre une issue?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça reviendra au même, à la fin c'est de l'HTML :) , le markdown est utile quand on souhaite pouvoir en modifier le contenu manuellement, ce qui ne sera jamais le cas ici.

@gcruchon
Copy link
Author

J'ai pushé des corrections sur la PR, reste encore à faire :

  • /pages/home/*
  • /pages/molecules/*
  • /pages/organisms/*
  • /pages/pages/*
  • /pages/patterns/*

indent_style = space
indent_size = 4
trim_trailing_whitespace = false

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ce n'est pas déjà fait dans ton autre PR ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si, je savait pas quelle PR allait arriver avant :-D

Pour aller plus loin: [https://www.w3.org/Translations/WCAG20-fr/](https://www.w3.org/Translations/WCAG20-fr/)

<img src="../../assets/images/accessibility/daltoniens.jpg" alt="daltoniens" class="tk-markdown__img-fullscreen" />
<p><img src="../../assets/images/accessibility/daltoniens.jpg" alt="daltoniens" class="tk-markdown__img-fullscreen" /></p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pourras-tu faire une repasse pour enlever tous les 'p' autour des images, stp ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est prévu...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review typos throughout the repo

4 participants

Comments