diff --git a/src/components/about/about.module.css b/src/components/about/about.module.css new file mode 100644 index 0000000..e0282ce --- /dev/null +++ b/src/components/about/about.module.css @@ -0,0 +1,19 @@ +.about { + padding: 120px 0; + + & .title { + margin-bottom: 12px; + font-family: var(--font-display); + font-size: var(--font-lg); + font-weight: 600; + } + + & .desc { + color: var(--color-foreground-subtle); + line-height: 1.7; + + & span { + color: var(--color-foreground); + } + } +} diff --git a/src/components/about/about.tsx b/src/components/about/about.tsx new file mode 100644 index 0000000..09a48cb --- /dev/null +++ b/src/components/about/about.tsx @@ -0,0 +1,35 @@ +import { Container } from '@/components/container'; + +import { sounds } from '@/data/sounds'; + +import styles from './about.module.css'; +import { useMemo } from 'react'; + +export function About() { + const count = useMemo(() => { + let count = 0; + + sounds.categories.forEach(category => { + count += category.sounds.length; + }); + + return count; + }, []); + + return ( +
+ Moodist is your gateway to a world of serenity and focus. It's a + free and registration-free online ambient sound generator offering{' '} + {count} handpicked sounds in various categories, from + nature's tranquil melodies to the soothing ambiance of urban + life. Whether you're seeking relaxation or a productivity boost, + Moodist lets you effortlessly customize your environment with the + perfect background sounds. +
+