From 7390a9b3de0c52163d63b42ad48a882087886b65 Mon Sep 17 00:00:00 2001 From: MAZE Date: Thu, 29 Feb 2024 15:52:48 +0330 Subject: [PATCH] fix: remove extra headings --- src/components/categories/donate/donate.tsx | 2 +- src/components/category/category.tsx | 2 +- src/components/hero/hero.module.css | 2 +- src/components/hero/hero.tsx | 7 ++----- src/components/sound/sound.module.css | 2 +- src/components/sound/sound.tsx | 4 +++- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/components/categories/donate/donate.tsx b/src/components/categories/donate/donate.tsx index a5c3ac5..1593ca5 100644 --- a/src/components/categories/donate/donate.tsx +++ b/src/components/categories/donate/donate.tsx @@ -14,7 +14,7 @@ export function Donate() { -

Support Me

+
Support Me

Help me keep Moodist ad-free.

{icon} -

{title}

+
{title}
diff --git a/src/components/hero/hero.module.css b/src/components/hero/hero.module.css index a4d0a1c..899c887 100644 --- a/src/components/hero/hero.module.css +++ b/src/components/hero/hero.module.css @@ -61,7 +61,7 @@ } } - & h1 { + & h2 { font-family: var(--font-display); font-size: var(--font-2xlg); font-weight: 600; diff --git a/src/components/hero/hero.tsx b/src/components/hero/hero.tsx index 2b34b63..cc4cd2c 100644 --- a/src/components/hero/hero.tsx +++ b/src/components/hero/hero.tsx @@ -1,5 +1,4 @@ import { useMemo } from 'react'; -import { Balancer } from 'react-wrap-balancer'; import { BsSoundwave } from 'react-icons/bs/index'; import { Container } from '@/components/container'; @@ -25,13 +24,11 @@ export function Hero() {
-

Moodist

+

Moodist

-

- Ambient sounds for focus and calm. -

+

Ambient sounds for focus and calm.

diff --git a/src/components/sound/sound.module.css b/src/components/sound/sound.module.css index c4f2373..fd733ff 100644 --- a/src/components/sound/sound.module.css +++ b/src/components/sound/sound.module.css @@ -91,7 +91,7 @@ } } - & h3 { + & .label { margin-top: 8px; font-family: var(--font-heading); font-size: var(--font-sm); diff --git a/src/components/sound/sound.tsx b/src/components/sound/sound.tsx index c6fc1eb..dba6639 100644 --- a/src/components/sound/sound.tsx +++ b/src/components/sound/sound.tsx @@ -90,7 +90,9 @@ export function Sound({ icon )} -

{label}

+
+ {label} +
);