forked from emre/www_projectmycelium_com
refactor: standardize Eyebrow styling and improve CloudHeroNew typography across pages
- Changed all Eyebrow components from uppercase tracking-[0.16em] text-cyan-600 to text-cyan-500 - Applied changes to AgentPro, CloudPros, HomeDesign, NetworkPros, PodsDesign, and PodsPro - Updated CloudHeroNew to hide background image on mobile using md:bg-[url(...)] classes - Replaced inline style with Tailwind classes for background image in CloudHeroNew - Converted CloudHeroNew description from two separate
This commit is contained in:
@@ -38,7 +38,7 @@ export function AgentPro() {
|
|||||||
{/* Intro Block */}
|
{/* Intro Block */}
|
||||||
<div className="bg-[#FDFDFD] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-100">
|
<div className="bg-[#FDFDFD] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-100">
|
||||||
<div className="px-8 py-12 max-w-4xl mx-auto flex flex-col items-center justify-center min-h-[220px] text-center">
|
<div className="px-8 py-12 max-w-4xl mx-auto flex flex-col items-center justify-center min-h-[220px] text-center">
|
||||||
<Eyebrow className="uppercase tracking-[0.16em] text-cyan-600">
|
<Eyebrow className="text-cyan-500">
|
||||||
Advantages
|
Advantages
|
||||||
</Eyebrow>
|
</Eyebrow>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { H3, Eyebrow } 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({ onGetStartedClick = () => {} }: { onGetStartedClick?: () => void }) {
|
||||||
@@ -6,8 +6,7 @@ export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedCli
|
|||||||
<div className="">
|
<div className="">
|
||||||
{/* Boxed container */}
|
{/* Boxed container */}
|
||||||
<div
|
<div
|
||||||
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white overflow-hidden bg-contain bg-right bg-no-repeat"
|
className="relative mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-100 bg-white overflow-hidden md:bg-[url('/images/cloudhero4.webp')] md:bg-contain md:bg-right md:bg-no-repeat"
|
||||||
style={{ backgroundImage: "url('/images/cloudhero4.webp')", backgroundSize: "contain" }}
|
|
||||||
>
|
>
|
||||||
{/* Inner padding */}
|
{/* Inner padding */}
|
||||||
<div className="px-6 py-16 lg:py-24">
|
<div className="px-6 py-16 lg:py-24">
|
||||||
@@ -18,13 +17,11 @@ export function CloudHeroNew({ onGetStartedClick = () => {} }: { onGetStartedCli
|
|||||||
<H3 className="mt-4">
|
<H3 className="mt-4">
|
||||||
Sovereign Edge Cloud Infrastructure
|
Sovereign Edge Cloud Infrastructure
|
||||||
</H3>
|
</H3>
|
||||||
<p className="mt-6 text-lg text-gray-600">
|
<P className="mt-6 text-gray-600">
|
||||||
Run compute, storage, and AI resources on infrastructure you control.
|
Run compute, storage, and AI resources on infrastructure you control.
|
||||||
</p>
|
|
||||||
<p className="mt-2 text-lg text-gray-600">
|
|
||||||
The Mycelium Cloud runs on a distributed grid of independent nodes,
|
The Mycelium Cloud runs on a distributed grid of independent nodes,
|
||||||
delivering secure, scalable performance wherever your users or data live.
|
delivering secure, scalable performance wherever your users or data live.
|
||||||
</p>
|
</P>
|
||||||
<div className="mt-10 flex items-center gap-x-6">
|
<div className="mt-10 flex items-center gap-x-6">
|
||||||
<Button
|
<Button
|
||||||
as="a"
|
as="a"
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ export function CloudIntro() {
|
|||||||
|
|
||||||
<H3 color="white">What You Can Run on Mycelium Cloud</H3>
|
<H3 color="white">What You Can Run on Mycelium Cloud</H3>
|
||||||
|
|
||||||
<P className="max-w-3xl text-gray-400 mt-6">
|
<P className="max-w-3xl text-gray-200 mt-6">
|
||||||
Host nodes, deploy workloads, or build private AI systems all on
|
Host nodes, deploy workloads, or build private AI systems all on
|
||||||
infrastructure you own and control. Mycelium gives you scalable compute,
|
infrastructure you own and control. Mycelium gives you scalable compute,
|
||||||
secure storage, and sovereign orchestration without depending on
|
secure storage, and sovereign orchestration without depending on
|
||||||
@@ -138,7 +138,7 @@ export function CloudIntro() {
|
|||||||
<button
|
<button
|
||||||
key={tab.id}
|
key={tab.id}
|
||||||
onClick={() => setActive(tab.id)}
|
onClick={() => setActive(tab.id)}
|
||||||
className={`text-sm font-medium tracking-wide pb-2 ${
|
className={`text-sm font-medium tracking-wide leading-tight pb-2 ${
|
||||||
active === tab.id
|
active === tab.id
|
||||||
? "border-b-2 border-cyan-500 text-white"
|
? "border-b-2 border-cyan-500 text-white"
|
||||||
: "text-gray-400 hover:text-white"
|
: "text-gray-400 hover:text-white"
|
||||||
@@ -152,8 +152,8 @@ export function CloudIntro() {
|
|||||||
{/* Tab Content */}
|
{/* Tab Content */}
|
||||||
<div className="mt-6 space-y-6">
|
<div className="mt-6 space-y-6">
|
||||||
<div>
|
<div>
|
||||||
<p className="text-lg font-medium text-white">{current.item}</p>
|
<p className="text-lg lg:text-xl font-medium text-white">{current.item}</p>
|
||||||
<p className="mt-2 text-base text-gray-400 leading-relaxed">
|
<p className="mt-2 text-base text-gray-300 leading-relaxed">
|
||||||
{current.desc}
|
{current.desc}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -165,7 +165,7 @@ export function CloudIntro() {
|
|||||||
|
|
||||||
<ul className="space-y-2">
|
<ul className="space-y-2">
|
||||||
{current.bullets.map((b, i) => (
|
{current.bullets.map((b, i) => (
|
||||||
<li key={i} className="text-base text-gray-300 flex gap-2">
|
<li key={i} className="text-base text-gray-400 flex gap-2">
|
||||||
<span className="text-cyan-500">•</span>
|
<span className="text-cyan-500">•</span>
|
||||||
{b}
|
{b}
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export function CloudPros() {
|
|||||||
{/* Intro Block */}
|
{/* Intro Block */}
|
||||||
<div className="bg-[#FDFDFD] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-100">
|
<div className="bg-[#FDFDFD] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-100">
|
||||||
<div className="px-8 py-12 max-w-4xl">
|
<div className="px-8 py-12 max-w-4xl">
|
||||||
<Eyebrow className="uppercase tracking-[0.16em] text-cyan-600">
|
<Eyebrow className=" text-cyan-500">
|
||||||
Cloud Advantages
|
Cloud Advantages
|
||||||
</Eyebrow>
|
</Eyebrow>
|
||||||
|
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export function HomeDesign() {
|
|||||||
<div className="mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200">
|
<div className="mx-auto max-w-7xl border border-t-0 border-b-0 border-gray-200">
|
||||||
{/* Centered intro */}
|
{/* Centered intro */}
|
||||||
<div className="px-6 pt-12 pb-4 text-center max-w-4xl mx-auto ">
|
<div className="px-6 pt-12 pb-4 text-center max-w-4xl mx-auto ">
|
||||||
<Eyebrow className="uppercase tracking-[0.16em] text-cyan-600">
|
<Eyebrow className="text-cyan-500">
|
||||||
Who's it For
|
Who's it For
|
||||||
</Eyebrow>
|
</Eyebrow>
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ export function NetworkPros() {
|
|||||||
<div className="bg-[#121212] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-800">
|
<div className="bg-[#121212] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-800">
|
||||||
{/* Centered intro */}
|
{/* Centered intro */}
|
||||||
<div className="px-6 pt-12 pb-4 text-center max-w-4xl mx-auto ">
|
<div className="px-6 pt-12 pb-4 text-center max-w-4xl mx-auto ">
|
||||||
<Eyebrow className="uppercase tracking-[0.16em] text-cyan-600">
|
<Eyebrow className="text-cyan-500">
|
||||||
WHY
|
WHY
|
||||||
</Eyebrow>
|
</Eyebrow>
|
||||||
|
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export function PodsDesign() {
|
|||||||
<div className="bg-[#FDFDFD] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-100">
|
<div className="bg-[#FDFDFD] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-100">
|
||||||
<div className="px-8 py-12 max-w-4xl mx-auto flex flex-col items-center justify-center min-h-[220px] text-center">
|
<div className="px-8 py-12 max-w-4xl mx-auto flex flex-col items-center justify-center min-h-[220px] text-center">
|
||||||
|
|
||||||
<Eyebrow className="uppercase tracking-[0.16em] text-cyan-600">
|
<Eyebrow className="text-cyan-500">
|
||||||
{product.subtitle}
|
{product.subtitle}
|
||||||
</Eyebrow>
|
</Eyebrow>
|
||||||
|
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export function PodsPro() {
|
|||||||
<div className="bg-[#FDFDFD] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-100">
|
<div className="bg-[#FDFDFD] w-full max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-100">
|
||||||
<div className="px-8 py-12 max-w-4xl mx-auto flex flex-col items-center justify-center min-h-[220px] text-center">
|
<div className="px-8 py-12 max-w-4xl mx-auto flex flex-col items-center justify-center min-h-[220px] text-center">
|
||||||
|
|
||||||
<Eyebrow className="uppercase tracking-[0.16em] text-cyan-600">
|
<Eyebrow className="text-cyan-500">
|
||||||
{product.subtitle}
|
{product.subtitle}
|
||||||
</Eyebrow>
|
</Eyebrow>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user