aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/taxonomies.ts
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove old pages, components, helpers and typesArmand Philippot2022-04-291-114/+0
| | | | | Since I'm using new components, I will also rewrite the GraphQL queries so it is easier to start from scratch.
* refactor: update graphql queries (#14)Armand Philippot2022-03-091-2/+2
| | | | | | | | | | | | | | | | | | * refactor: replace postBy query postBy is now deprecated in WPGraphQL v1.7 * refactor: update post comments query PostBy is deprecated and it is now possible to use the post ID to query comments. * refactor: update get topic by slug query topicBy is deprecated * refactor: update get thematic by slug query thematicBy is deprecated
* chore: display initial posts, thematics & topicsArmand Philippot2022-02-141-0/+2
| | | | | By fetching the data in getStaticProps, I can display the data even for users with Javascript disabled.
* chore: add reading time in posts metaArmand Philippot2022-01-251-2/+6
|
* refactor: rename all subject occurrences into topicArmand Philippot2022-01-231-16/+16
| | | | | I change the name in graphql endpoint, so I decided to repercute this change here.
* chore: add title and meta desc to subjects and thematicsArmand Philippot2022-01-111-1/+3
|
* chore: add a widget to list all blog topicsArmand Philippot2022-01-071-4/+10
|
* chore: add a widget to list all blog thematicsArmand Philippot2022-01-071-0/+6
|
* chore: display subjects list under articlesArmand Philippot2022-01-031-0/+4
|
* refactor: rewrite types and servicesArmand Philippot2021-12-201-60/+54
| | | | | | | 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: add subject viewArmand Philippot2021-12-181-3/+38
|
* chore: create thematic page viewArmand Philippot2021-12-161-0/+47
| | | | | | | 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: retrieve posts list on blog pageArmand Philippot2021-12-151-0/+14