fix: remove extra headings

This commit is contained in:
MAZE 2024-02-29 15:52:48 +03:30
parent 0eb47ba2e1
commit 7390a9b3de
6 changed files with 9 additions and 10 deletions

View file

@ -14,7 +14,7 @@ export function Donate() {
</div> </div>
</div> </div>
<h2 className={styles.title}>Support Me</h2> <div className={styles.title}>Support Me</div>
<p className={styles.desc}>Help me keep Moodist ad-free.</p> <p className={styles.desc}>Help me keep Moodist ad-free.</p>
<SpecialButton <SpecialButton
className={styles.button} className={styles.button}

View file

@ -22,7 +22,7 @@ export function Category({
<div className={styles.icon}>{icon}</div> <div className={styles.icon}>{icon}</div>
</div> </div>
<h2 className={styles.title}>{title}</h2> <div className={styles.title}>{title}</div>
<Sounds functional={functional} id={id} sounds={sounds} /> <Sounds functional={functional} id={id} sounds={sounds} />
</div> </div>

View file

@ -61,7 +61,7 @@
} }
} }
& h1 { & h2 {
font-family: var(--font-display); font-family: var(--font-display);
font-size: var(--font-2xlg); font-size: var(--font-2xlg);
font-weight: 600; font-weight: 600;

View file

@ -1,5 +1,4 @@
import { useMemo } from 'react'; import { useMemo } from 'react';
import { Balancer } from 'react-wrap-balancer';
import { BsSoundwave } from 'react-icons/bs/index'; import { BsSoundwave } from 'react-icons/bs/index';
import { Container } from '@/components/container'; import { Container } from '@/components/container';
@ -25,13 +24,11 @@ export function Hero() {
<div className={styles.title}> <div className={styles.title}>
<div className={styles.left}></div> <div className={styles.left}></div>
<h1>Moodist</h1> <h2>Moodist</h2>
<div className={styles.right}></div> <div className={styles.right}></div>
</div> </div>
<h2 className={styles.desc}> <h1 className={styles.desc}>Ambient sounds for focus and calm.</h1>
<Balancer>Ambient sounds for focus and calm.</Balancer>
</h2>
<p className={styles.sounds}> <p className={styles.sounds}>
<span className={styles.icon}> <span className={styles.icon}>

View file

@ -91,7 +91,7 @@
} }
} }
& h3 { & .label {
margin-top: 8px; margin-top: 8px;
font-family: var(--font-heading); font-family: var(--font-heading);
font-size: var(--font-sm); font-size: var(--font-sm);

View file

@ -90,7 +90,9 @@ export function Sound({
icon icon
)} )}
</div> </div>
<h3 id={id}>{label}</h3> <div className={styles.label} id={id}>
{label}
</div>
<Range id={id} /> <Range id={id} />
</div> </div>
); );