From bca730681e7179dbcd21d553e0b4fe75e030dc27 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 22 Oct 2025 13:01:08 +0200 Subject: [PATCH] refactor: replace hardcoded text elements with reusable Text components in Hero section --- src/components/Hero.tsx | 22 +++++++++++----------- src/components/Texts.tsx | 3 ++- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index c6cdee2..80cb11a 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -3,6 +3,7 @@ import Image from 'next/image' import clsx from 'clsx' import { DownloadLink } from '@/components/DownloadLink' +import { H1, H2, H3, H4, H5, P } from '@/components/Texts' import { Button } from '@/components/Button' import phoneFrame from '@/images/phoneframe.png' import { Container } from '@/components/Container' @@ -103,18 +104,17 @@ export function Hero() {
-

- Mycelium -

-

- Unleashing the Power of Decentralized Networks -

-

- Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking. -

-

+

Mycelium

+
+ Unleashing the Power of Decentralized Networks +
+

+ Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The + future of secure, efficient, and scalable networking. +

+

Coming Soon: New Decentralized Features -

+

{/*