diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-29 18:07:20 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-29 18:07:20 +0100 |
| commit | d363306235f2a48f16e488f20f73e2233ddcf281 (patch) | |
| tree | 5e86a7b5f38416d7ee56a9aff5ef972aa73d82b1 /src/styles/pages | |
| parent | dfa894b76ee3584bf169710c78c57330c5d6ee67 (diff) | |
refactor(pages): improve Homepage
* move custom homepage components that does not require props to the
MDX file (links should not need to be translated here but where they
are defined)
* move SEO title and meta desc to MDX file
* make Page component the wrapper instead of using a React fragment
* fix MDX module types
Diffstat (limited to 'src/styles/pages')
| -rw-r--r-- | src/styles/pages/home.module.scss | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/styles/pages/home.module.scss b/src/styles/pages/home.module.scss deleted file mode 100644 index a926ec3..0000000 --- a/src/styles/pages/home.module.scss +++ /dev/null @@ -1,34 +0,0 @@ -@use "../abstracts/functions" as fun; -@use "../abstracts/mixins" as mix; - -.section { - --card-width: 25ch; - - &:last-of-type { - border-bottom: none; - } -} - -.columns { - margin: 0 0 var(--spacing-sm); -} - -.list { - margin: 0 0 var(--spacing-sm); - - &--cards { - @include mix.media("screen") { - @include mix.dimensions("md") { - margin: 0 calc(var(--spacing-sm) * -1) var(--spacing-sm); - } - } - } -} - -.icon { - margin-right: var(--spacing-2xs); - - &--feed { - width: var(--icon-size); - } -} |
