Files
moodist/src/components/sections/about.astro
2023-12-10 15:37:37 +03:30

63 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
import { Container } from '@/components/container';
import { count as soundCount } from '@/lib/sounds';
const count = soundCount();
---
<div class="about">
<Container>
<div class="titleWrapper">
<h2 class="title">What is Moodist?</h2>
<div class="line"></div>
</div>
<p class="desc">
Welcome to Moodist your free, open-source ambient sound generator. With <span
>{count} curated sounds</span
>, effortlessly create your custom mix for focus or relaxation. No
accounts, no hassle just pure tranquility. Explore nature&apos;s calm
and urban rhythms. Elevate your ambiance with Moodist, where simplicity
meets serenity.
</p>
</Container>
</div>
<style>
.about {
padding: 80px 0;
& .titleWrapper {
display: flex;
column-gap: 12px;
align-items: center;
& .title {
margin-bottom: 12px;
font-family: var(--font-display);
font-size: var(--font-lg);
font-weight: 600;
}
& .line {
flex-grow: 1;
height: 1px;
background: linear-gradient(
90deg,
var(--color-neutral-300),
transparent
);
transform: translateY(-0.25rem);
}
}
& .desc {
line-height: 1.7;
color: var(--color-foreground-subtle);
& span {
color: var(--color-foreground);
}
}
}
</style>