forked from emre/www_projectmycelium_com
refactor: remove unused props and imports, standardize Eyebrow styling in SecondaryFeatures and StorageFeatures
- Removed unused onGetStartedClick prop from CloudHeroNew component - Removed unused H3 and P imports from NetworkDownload - Added H3, P, and Eyebrow imports to SecondaryFeatures - Replaced generic elements with typography components (Eyebrow, H3, P) in SecondaryFeatures - Changed Eyebrow styling to text-cyan-500 uppercase tracking-[0.16em] in SecondaryFeatures - Updated description text
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { H3, Eyebrow, P } from "@/components/Texts"
|
||||
import { Button } from "@/components/Button"
|
||||
|
||||
export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) {
|
||||
export function CloudHeroNew() {
|
||||
return (
|
||||
<div className="">
|
||||
{/* Boxed container */}
|
||||
|
||||
@@ -7,7 +7,7 @@ import windowsIcon from '@/images/windows.svg'
|
||||
import androidIcon from '@/images/android.svg'
|
||||
import linuxIcon from '@/images/linux.svg'
|
||||
|
||||
import { CT, CP, H3, P } from '@/components/Texts'
|
||||
import { CT, CP } from '@/components/Texts'
|
||||
|
||||
const features = [
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useId } from 'react'
|
||||
import { Container } from '@/components/Container'
|
||||
import { CP } from '@/components/Texts'
|
||||
import { CP, H3, P, Eyebrow } from '@/components/Texts'
|
||||
|
||||
const features = [
|
||||
{
|
||||
@@ -197,13 +197,13 @@ export function SecondaryFeatures() {
|
||||
|
||||
<Container className="py-12 border border-t-0 border-b-0 border-gray-100">
|
||||
<div className="mx-auto max-w-4xl sm:text-center">
|
||||
<h2 className="text-base/7 font-semibold text-cyan-500">FEATURES</h2>
|
||||
<p className="text-3xl lg:text-4xl font-medium tracking-tight text-gray-900">
|
||||
<Eyebrow className="text-cyan-500 uppercase tracking-[0.16em]">FEATURES</Eyebrow>
|
||||
<H3 className="mt-6 text-black">
|
||||
Core Features
|
||||
</p>
|
||||
<p className="mt-6 text-lg text-gray-600">
|
||||
</H3>
|
||||
<P className="mt-6 text-gray-700 text-base leading-relaxed">
|
||||
The Mycelium Network is evolving with new features to support richer data movement, identity, and application connectivity across the mesh.
|
||||
</p>
|
||||
</P>
|
||||
</div>
|
||||
<ul
|
||||
role="list"
|
||||
|
||||
@@ -64,7 +64,7 @@ export function StorageFeatures() {
|
||||
<section id="storage-features" className="bg-white py-24 sm:py-32">
|
||||
<Container>
|
||||
<div className="mx-auto max-w-3xl text-center">
|
||||
<Eyebrow>
|
||||
<Eyebrow className="text-cyan-500 uppercase tracking-[0.16em]">
|
||||
Core Features
|
||||
</Eyebrow>
|
||||
<SectionHeader as="h2" className="mt-6 text-gray-900">
|
||||
|
||||
Reference in New Issue
Block a user