From 8a703cb39ff23ff3639b0da33f0d72f92f1cc55b Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 16 Dec 2021 23:20:58 +0100 Subject: chore: create thematic page view 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. --- src/styles/pages/Thematic.module.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/styles/pages/Thematic.module.scss (limited to 'src/styles') diff --git a/src/styles/pages/Thematic.module.scss b/src/styles/pages/Thematic.module.scss new file mode 100644 index 0000000..0b9aa2d --- /dev/null +++ b/src/styles/pages/Thematic.module.scss @@ -0,0 +1,11 @@ +@use "@styles/abstracts/placeholders"; + +.list { + @extend %reset-ordered-list; + + margin: var(--spacing-md) auto; +} + +li.item { + margin: var(--spacing-md) 0; +} -- cgit v1.2.3