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