From c153f93dc8691a71dc76aad3dd618298da9d238a Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 17 Oct 2023 19:46:08 +0200 Subject: refactor(components): rewrite Card component * make the component more generic * merge `` and `` 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. --- src/i18n/en.json | 8 ++++++++ src/i18n/fr.json | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'src/i18n') 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" -- cgit v1.2.3