refactor: replace hardcoded text styles with reusable Text components

This commit is contained in:
2025-10-22 13:07:51 +02:00
parent bca730681e
commit d03b67df7d
10 changed files with 223 additions and 122 deletions

View File

@@ -1,4 +1,5 @@
import { AppStoreLink } from '@/components/AppStoreLink'
import { P, SectionHeader } from '@/components/Texts'
import { WindowsLink } from '@/components/WindowsLink'
import { AndroidLink } from './AndroidLink'
import { LinuxLink } from '@/components/LinuxLink'
@@ -16,12 +17,13 @@ export function CallToAction() {
</div>
<Container className="relative">
<div className="mx-auto max-w-2xl text-center">
<h2 className="text-3xl lg:text-4xl font-medium tracking-tight text-white sm:text-4xl">
<SectionHeader as="h2" color="white">
Get Started Today
</h2>
<p className="mt-6 text-lg text-gray-300">
Download the Mycelium app and step into the future of secure, peer-to-peer networking; fast, private, and decentralized.
</p>
</SectionHeader>
<P color="lightSecondary" className="mt-6">
Download the Mycelium app and step into the future of secure,
peer-to-peer networking; fast, private, and decentralized.
</P>
<div className="mt-10 flex flex-wrap justify-center gap-x-6 gap-y-4">
<AppStoreLink color="white" />
<WindowsLink color="white" />