aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/pages/Page.module.scss
Commit message (Collapse)AuthorAgeFilesLines
* refactor(pages): refine Blog pagesArmand Philippot2023-12-041-44/+0
| | | | | | | | | | * replace usePostsList with useArticlesList to keep names coherent * remove useIsMounted hook * rewrite useRedirection hook * add redirect in getStaticProps to avoid unecessary fetching * move Pagination component in a noscript tag * use hooks to refresh thematics and topics lists * complete Cypress tests
* refactor(components): rewrite List componentArmand Philippot2023-11-111-4/+0
| | | | | | | | | * change `items` prop to children * replace `kind` prop with `isHierarchical`, `isOrdered` & `isInline` props * add `hideMarker` prop * add `spacing` prop to control item spacing * move lists styles to Sass placeholders to avoid repeats because of headless WordPress
* refactor(build): replace paths aliases with relative pathsArmand Philippot2023-09-191-5/+4
| | | | | | 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.
* chore: add a banner for users with JS disabledArmand Philippot2022-02-141-0/+6
|
* refactor: extract contact form from contact pageArmand Philippot2022-02-101-20/+0
| | | | | The contact page file was too long. By extracting the contact form the readability is improved.
* chore: improve contact form behaviorArmand Philippot2022-02-101-0/+20
| | | | | | | * The status was not visile in top of the form, so I moved it under the submit button. * It was possible to send an empty form. * The input type for email should be email instead of text.
* refactor(styles): rename shadow and border variablesArmand Philippot2022-01-161-2/+2
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-151-29/+0
| | | | | | | | | 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: change posts list stylesArmand Philippot2022-01-141-1/+2
|
* chore: add meta, toc and widgets on thematic pagesArmand Philippot2022-01-111-0/+20
|
* refactor(sidebar): use a component to avoid styles repetitionArmand Philippot2022-01-111-17/+0
| | | | | | I also fix some overflow/sticky issues. I have to set overflow auto only when there is no button-like links otherwise, with translate, the button is cropped on hover.
* refactor(aside): move width from aside to sharing widgetArmand Philippot2022-01-101-1/+0
| | | | Only the Sharing widget needs the "min-content" width.
* refactor(styles): use compose to declare grid layouts onceArmand Philippot2022-01-101-48/+4
| | | | | | | I'm using same grid layouts in multiple places. To avoid maintenance issue, I think it is better to declare the grid once and to import its declaration where it is needed. Thanks to CSS modules, I can use compose to do that.
* chore: add article header stylesArmand Philippot2022-01-071-3/+4
|
* chore: move Main grid to its childrenArmand Philippot2022-01-061-0/+112
This way I can use full width background for some blocks.