forked from emre/www_projectmycelium_com
- Replaced em dashes with commas for better readability in descriptions - Standardized punctuation in aria-labels (changed "—" to ",") - Removed unnecessary em dashes in favor of commas or removed punctuation - Fixed inconsistent spacing around punctuation marks - Improved sentence flow in multiple component descriptions
56 lines
2.0 KiB
TypeScript
56 lines
2.0 KiB
TypeScript
"use client";
|
|
|
|
import { Button } from "@/components/Button";
|
|
import { Spotlight } from "@/components/ui/spotlight";
|
|
import { cn } from "@/lib/utils";
|
|
import { H1, H4, H5 } from "@/components/Texts";
|
|
|
|
export function HomeSpotlight({
|
|
onGetStartedClick,
|
|
}: {
|
|
onGetStartedClick: () => void;
|
|
}) {
|
|
return (
|
|
<div className="px-4">
|
|
{/* Boxed container */}
|
|
<div className="relative mx-auto max-w-7xl border border-t-0 border-gray-100 bg-white overflow-hidden py-24 lg:py-32">
|
|
|
|
{/* ✅ Grid background */}
|
|
<div
|
|
className={cn(
|
|
"pointer-events-none absolute inset-0 select-none [background-size:40px_40px]",
|
|
"[background-image:linear-gradient(to_right,#f4f4f4_1px,transparent_1px),linear-gradient(to_bottom,#f4f4f4_1px,transparent_1px)]"
|
|
)}
|
|
/>
|
|
|
|
{/* ✅ Cyan Spotlight */}
|
|
<Spotlight className="-top-40 left-0 md:-top-20 md:left-60" />
|
|
|
|
{/* ✅ Foreground content */}
|
|
<div className="relative z-10 mx-auto w-full max-w-7xl p-4 md:pt-0">
|
|
<H1 className="bg-opacity-50 bg-gradient-to-b from-neutral-50 to-black bg-clip-text text-center font-bold text-transparent ">
|
|
MYCELIUM
|
|
</H1>
|
|
<H4 className="text-center mt-4">The Living Network of the Next Internet</H4>
|
|
|
|
<H5 className="mx-auto mt-6 max-w-4xl text-center font-normal text-neutral-500">
|
|
A new internet is emerging, a private, distributed, and self-sovereign.
|
|
Mycelium is the living network that makes it possible.
|
|
A peer-to-peer foundation where people, data, and intelligence connect
|
|
directly without intermediaries, without compromise.
|
|
</H5>
|
|
|
|
<div className="mt-8 flex justify-center gap-6">
|
|
<Button variant="solid" color="cyan" onClick={onGetStartedClick}>
|
|
Enter the Network
|
|
</Button>
|
|
<Button variant="outline" color="gray" onClick={onGetStartedClick}>
|
|
Explore Docs
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|