aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/organisms/layout/summary.test.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace Summary component with PostPreviewArmand Philippot2023-11-111-55/+0
| | | | | | | | | | | * rename component to PostPreview because Summary is an HTML element and it could lead to confusion * replace `title` and `titleLevel` with `heading` and `headingLvl` because `title` is a native attribute * rename `intro` prop to `excerpt` * extract `cover` from `meta` prop * rewrite meta type * extract meta logic into a new component
* build: convert project to esmArmand Philippot2023-10-241-0/+1
|
* refactor: use named export for everything except pagesArmand Philippot2023-09-201-1/+1
| | | | | | Next expect a default export for pages so only those components should use default exports. Everything else should use named exports to reduce the number of import statements.
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-1/+1
| | | | | | Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
* test: install and configure cypressArmand Philippot2022-06-021-1/+1
| | | | I also configure Jest to avoid conflicts between Cypress and Jest.
* refactor: reduce the number of data transformationArmand Philippot2022-05-231-34/+10
|
* chore: add the Blog index pageArmand Philippot2022-05-131-10/+6
|
* refactor: rewrite DescriptionList and Meta componentsArmand Philippot2022-05-091-15/+12
| | | | | | The meta can have different layout. The previous implementation was not enough to easily change the layout. Also, I prefer to restrict the meta types and it prevents me to repeat myself for the labels.
* refactor: support React 18Armand Philippot2022-04-161-1/+1
| | | | | | | | I replaced the deprecated VFC type with FC type and made all children explicits. Formatjs is still not compatible with React 18 so I need to skip type checking when comitting. There are some type errors because of IntlProvider in Storybook stories.
* chore: add a Summary componentArmand Philippot2022-04-121-0/+85