diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-10-17 19:46:08 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:14:41 +0100 |
| commit | c153f93dc8691a71dc76aad3dd618298da9d238a (patch) | |
| tree | 9c116c1472bab5585f98bceee19cfeca5041360d /src/i18n | |
| parent | 006b15b467a5cd835a6eab1b49023100bdc8f2e6 (diff) | |
refactor(components): rewrite Card component
* make the component more generic
* merge `<Summary />` and `<Comment />` styles into card component
to avoid repeating the same structure
* remove most of the props to use composition
However the CSS is a bit complex because of the two variants...
Also, the component should be refactored when the CSS pseudo-class
`:has` has enough support: the provider and the `cover` and `meta`
props should be removed.
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/en.json | 8 | ||||
| -rw-r--r-- | src/i18n/fr.json | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/i18n/en.json b/src/i18n/en.json index 9bfe248..8f552e6 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -231,6 +231,10 @@ "defaultMessage": "Updated on:", "description": "Page: update date label" }, + "FdF33B": { + "defaultMessage": "{title} cover", + "description": "ProjectsPage: figure (cover) accessible name" + }, "G+Twgm": { "defaultMessage": "Search", "description": "SearchModal: modal title" @@ -371,6 +375,10 @@ "defaultMessage": "CV", "description": "Layout: main nav - cv link" }, + "RNVe1W": { + "defaultMessage": "{title} cover", + "description": "Summary: figure (cover) accessible name" + }, "RecdwX": { "defaultMessage": "Published on:", "description": "ArticlePage: publication date label" diff --git a/src/i18n/fr.json b/src/i18n/fr.json index a988729..b499a1f 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -231,6 +231,10 @@ "defaultMessage": "Mis à jour le :", "description": "Page: update date label" }, + "FdF33B": { + "defaultMessage": "Illustration de {title}", + "description": "ProjectsPage: figure (cover) accessible name" + }, "G+Twgm": { "defaultMessage": "Recherche", "description": "SearchModal: modal title" @@ -371,6 +375,10 @@ "defaultMessage": "CV", "description": "Layout: main nav - cv link" }, + "RNVe1W": { + "defaultMessage": "Illustration de {title}", + "description": "Summary: figure (cover) accessible name" + }, "RecdwX": { "defaultMessage": "Publié le :", "description": "ArticlePage: publication date label" |
