aboutsummaryrefslogtreecommitdiffstats
path: root/src/styles/pages/Page.module.scss
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-12-01 19:34:58 +0100
committerArmand Philippot <git@armandphilippot.com>2023-12-04 19:00:04 +0100
commit53b63ac27c2275262db9a04be02210a3287aa71d (patch)
tree814968e10cad25e1b34ab251de42ac5ecb82b346 /src/styles/pages/Page.module.scss
parent11e3ee75fcab0ab54b2bc1713a402c5cc3070c2d (diff)
refactor(pages): refine Blog pages
* 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
Diffstat (limited to 'src/styles/pages/Page.module.scss')
-rw-r--r--src/styles/pages/Page.module.scss44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/styles/pages/Page.module.scss b/src/styles/pages/Page.module.scss
deleted file mode 100644
index 5c2848e..0000000
--- a/src/styles/pages/Page.module.scss
+++ /dev/null
@@ -1,44 +0,0 @@
-@use "../abstracts/functions" as fun;
-@use "../abstracts/placeholders";
-
-.article {
- composes: grid from "../layout/_grid.scss";
- align-items: start;
-
- > header {
- grid-column: 1 / -1;
- }
-
- > footer,
- .body {
- grid-column: 2;
- }
-
- &--no-comments {
- margin-bottom: var(--spacing-xl);
- }
-}
-
-.body noscript {
- display: block;
- width: 100%;
- text-align: center;
-}
-
-li.item {
- margin: 0 0 var(--spacing-md) 0;
- border-bottom: fun.convert-px(1) solid var(--color-border);
-}
-
-.comments {
- grid-column: 1 / -1;
- composes: grid from "../layout/_grid.scss";
- margin: var(--spacing-md) 0 0;
- padding: var(--spacing-md) 0 var(--spacing-lg);
- background: var(--color-bg-secondary);
- border-top: fun.convert-px(3) solid var(--color-border-light);
-
- > * {
- grid-column: 2;
- }
-}