From d03b67df7d7e45fd0b99a190164463d6e64f0e6e Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 22 Oct 2025 13:07:51 +0200 Subject: [PATCH] refactor: replace hardcoded text styles with reusable Text components --- src/app/not-found.tsx | 11 ++-- src/components/About.tsx | 23 ++++--- src/components/CallToAction.tsx | 12 ++-- src/components/DevHub.tsx | 29 ++++++--- src/components/DownloadHero.tsx | 50 +++++++++----- src/components/Faqs.tsx | 18 ++---- src/components/Features.tsx | 97 +++++++++++++++------------- src/components/PrimaryFeatures.tsx | 38 +++++++---- src/components/SecondaryFeatures.tsx | 30 ++++++--- src/components/Texts.tsx | 37 +++++++++++ 10 files changed, 223 insertions(+), 122 deletions(-) diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 357608e..60af5ae 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -1,4 +1,5 @@ import { Button } from '@/components/Button' +import { P, SectionHeader, Small } from '@/components/Texts' import { CirclesBackground } from '@/components/CirclesBackground' import { Container } from '@/components/Container' import { Layout } from '@/components/Layout' @@ -8,13 +9,13 @@ export default function NotFound() { -

404

-

+ 404 + Page not found -

-

+ +

Sorry, we couldn’t find the page you’re looking for. -

+

diff --git a/src/components/About.tsx b/src/components/About.tsx index 727ec5b..eb4750c 100644 --- a/src/components/About.tsx +++ b/src/components/About.tsx @@ -1,4 +1,5 @@ import { AppStoreLink } from '@/components/AppStoreLink' +import { Eyebrow, P, SectionHeader } from '@/components/Texts' import { Button } from '@/components/Button' import { CircleBackground } from '@/components/CircleBackground' import { Container } from '@/components/Container' @@ -14,16 +15,20 @@ export function About() {
-

Our Mission

-

+ Our Mission + Discover Mycelium -

-

- Mycelium is an unbreakable network, always finding the shortest path and providing 100% secure, peer-to-peer communication. But this is just the beginning. -

-

- Our mission is to create a sustainable digital ecosystem where communication is seamless, data is secure, and scalability knows no bounds. -

+ +

+ Mycelium is an unbreakable network, always finding the shortest path and + providing 100% secure, peer-to-peer communication. But this is just + the beginning. +

+

+ Our mission is to create a sustainable digital ecosystem where + communication is seamless, data is secure, and scalability knows no + bounds. +