aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/PostPreview/PostPreview.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(config): move config from config dir to utilsArmand Philippot2022-01-291-7/+7
|
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-13/+18
|
* chore: add reading time in posts metaArmand Philippot2022-01-251-21/+34
|
* refactor: rename all subject occurrences into topicArmand Philippot2022-01-231-1/+1
| | | | | I change the name in graphql endpoint, so I decided to repercute this change here.
* refactor(config): move defaultLocale as property of config.localesArmand Philippot2022-01-191-1/+1
| | | | | I will need the country code, so I think it makes more sense to gather them inside the same property.
* chore: add structured data using schema.org and JSON-LDArmand Philippot2022-01-191-34/+70
| | | | I also added the featured image on single article.
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-2/+1
| | | | | | | | | I'm now using a widget that can be expanded/collapsed. It also allows me to handle more effectively widgets overflow and to avoid styles repetitions. However, with stylelint rule "no-descending-specificity", I'm not sure if the stylesheets are really logical... Maybe I should deactivate this rule.
* chore(meta): display subjects instead of thematics on Thematic pagesArmand Philippot2022-01-111-0/+1
|
* refactor: improve button-like links stylesArmand Philippot2022-01-081-5/+1
| | | | | | | The goal was to replace the "read more articles about" links with button-like links to keep a certain consistence between buttons. The hasIcon variable was useless so I update some components and especially the back to top link.
* chore: adjust h2 stylesArmand Philippot2022-01-081-1/+1
|
* refactor: reuse PostMeta components on single articles/pagesArmand Philippot2022-01-061-7/+8
|
* chore: replace read more link with ButtonLink componentArmand Philippot2021-12-291-11/+14
| | | | | I also fix the load more button position since I removed the margin auto.
* refactor: rewrite types and servicesArmand Philippot2021-12-201-3/+3
| | | | | | | I was repeating myself a lot in services. So I rewrited the different functions to improve readability and I extracted some formatting functions to put them in utils. I also rewrited/reorganized some types to keep consistent names.
* chore: create thematic page viewArmand Philippot2021-12-161-2/+2
| | | | | | | For now I have to repeat some markup/styles, I cannot reuse PostsList component. WP GraphQL does not offer edges for ACF Post2Post or filters to get thematic posts with another way. I should create custom fields in backend to improve the posts fetching.
* chore: display year between blog postsArmand Philippot2021-12-161-2/+6
|
* chore: display featuredImage and meta on posts listArmand Philippot2021-12-161-0/+61