diff --git a/public/images/head-light.png b/public/images/head-light.png index 68a48cc..f565aed 100644 Binary files a/public/images/head-light.png and b/public/images/head-light.png differ diff --git a/public/images/head.png b/public/images/head.png index 3cf5fa6..ce60f5d 100644 Binary files a/public/images/head.png and b/public/images/head.png differ diff --git a/src/components/common/card/card.module.scss b/src/components/common/card/card.module.scss index deb1b67..e67cb0e 100644 --- a/src/components/common/card/card.module.scss +++ b/src/components/common/card/card.module.scss @@ -220,6 +220,12 @@ &.is_news { gap: tovw(60px, 'default', 30px); + + @media screen and (max-width: 1200px) { + display: flex; + flex-direction: column; + gap: tovw(2px, 'default', 2px); + } } } diff --git a/src/components/sections/blog/post-hero/hero.module.scss b/src/components/sections/blog/post-hero/hero.module.scss index 5234843..04218f8 100644 --- a/src/components/sections/blog/post-hero/hero.module.scss +++ b/src/components/sections/blog/post-hero/hero.module.scss @@ -20,8 +20,10 @@ min-height: auto; } - .author { - margin-top: tovw(48px, 'default', 48px); + .meta { + display: flex; + gap: tovw(25px, 'default', 25px); + margin-top: tovw(42px, 'default', 35px); text-transform: uppercase; line-height: tovw(22px, 'default', 22px); letter-spacing: -0.02em; @@ -29,14 +31,6 @@ font-size: tovw(18px, 'default', 18px); } - .date { - margin-bottom: tovw(20px, 'default', 23px); - line-height: tovw(22px, 'default', 22px); - letter-spacing: -0.02em; - font-family: var(--font-dm-mono); - font-size: tovw(18px, 'default', 18px); - } - h1 { @include respond-to('mobile') { line-height: 104%; @@ -48,7 +42,7 @@ .categories { display: flex; - margin-top: tovw(45px, 'default', 45px); + margin-top: tovw(25px, 'default', 20px); padding: 0; list-style: none; gap: tovw(8px, 'default', 8px); diff --git a/src/components/sections/blog/post-hero/index.tsx b/src/components/sections/blog/post-hero/index.tsx index 4c54eef..d485d30 100644 --- a/src/components/sections/blog/post-hero/index.tsx +++ b/src/components/sections/blog/post-hero/index.tsx @@ -1,5 +1,3 @@ -import clsx from 'clsx' - import Category from '~/components/common/category' import Section from '~/components/layout/section' import Heading from '~/components/primitives/heading' @@ -15,14 +13,15 @@ interface HeroProps { const Hero = ({ data }: HeroProps) => { return (
- {formatDate(data.date)} {data.title} - - By — {data.author?.name} - -