style: update hero section with new cloud background and button layout

This commit is contained in:
2025-10-22 18:35:05 +02:00
parent 48979de1c7
commit 1f0f18105e
6 changed files with 35 additions and 34 deletions

BIN
public/images/cloud.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@@ -214,7 +214,7 @@
</filter> </filter>
<radialGradient id="b" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" <radialGradient id="b" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0 727 -642 0 184 1)"> gradientTransform="matrix(0 727 -642 0 184 1)">
<stop stop-color="#FAFAFA" /> <stop stop-color="#FFFFFF" />
<stop offset="1" stop-color="#E6E6E6" /> <stop offset="1" stop-color="#E6E6E6" />
</radialGradient> </radialGradient>
<radialGradient id="c" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" <radialGradient id="c" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -4,7 +4,7 @@ import { Footer } from './Footer'
export function Layout() { export function Layout() {
return ( return (
<div className="bg-gray-50 antialiased" style={{ fontFamily: 'var(--font-inter)' }}> <div className="bg-white antialiased" style={{ fontFamily: 'var(--font-inter)' }}>
<Header /> <Header />
<main> <main>
<Outlet /> <Outlet />

View File

@@ -214,7 +214,7 @@
</filter> </filter>
<radialGradient id="b" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" <radialGradient id="b" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0 727 -642 0 184 1)"> gradientTransform="matrix(0 727 -642 0 184 1)">
<stop stop-color="#FAFAFA" /> <stop stop-color="#FFFFFF" />
<stop offset="1" stop-color="#E6E6E6" /> <stop offset="1" stop-color="#E6E6E6" />
</radialGradient> </radialGradient>
<radialGradient id="c" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" <radialGradient id="c" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse"

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -48,7 +48,7 @@ export function GallerySection() {
const prev = () => setActive((i) => wrap(0, galleryItems.length, i - 1)) const prev = () => setActive((i) => wrap(0, galleryItems.length, i - 1))
return ( return (
<div className="bg-[#FAFAFA]"> <div className="bg-white">
<div className="relative isolate pt-8 pb-0 text-center w-full"> <div className="relative isolate pt-8 pb-0 text-center w-full">
<FadeIn transition={{ duration: 0.8, delay: 0.1 }}> <FadeIn transition={{ duration: 0.8, delay: 0.1 }}>
<div className="mx-auto max-w-5xl lg:mt-12"> <div className="mx-auto max-w-5xl lg:mt-12">

View File

@@ -1,36 +1,37 @@
import { motion } from 'framer-motion' 'use client'
import { TypeAnimation } from 'react-type-animation'
import { Container } from '../../components/Container' import { H1, P } from '@/components/Texts'
import { FadeIn } from '@/components/FadeIn'
import { Button } from '@/components/Button'
export function HomeHero() { export function HomeHero() {
return ( return (
<section className="relative bg-white py-20 lg:py-32"> <div
<Container> className="relative isolate overflow-hidden bg-white"
<div className="mx-auto max-w-4xl text-center"> style={{
<h1 className="text-4xl lg:text-6xl font-medium tracking-tight text-gray-900"> backgroundImage: 'url(/images/cloud.png)',
<TypeAnimation backgroundSize: 'cover',
sequence={[ backgroundPosition: 'center',
'Decentralized Autonomous Agentic Cloud.', }}
1000,
]}
wrapper="span"
speed={50}
repeat={0}
/>
</h1>
<motion.div
initial={{ opacity: 0 }}
animate={{ opacity: 1 }}
transition={{ duration: 1, delay: 1 }}
className="mt-8"
> >
<p className="text-lg lg:text-xl text-gray-600"> <div className="mx-auto max-w-7xl px-6 py-24 lg:py-32 lg:flex lg:px-8">
<div className="mx-auto max-w-2xl shrink-0 lg:mx-0 lg:pt-8">
<H1 color="primary" className="mt-10 text-5xl font-semibold tracking-tight text-pretty sm:text-7xl">
Decentralized Autonomous Agentic Cloud.
</H1>
<P color="secondary" className="mt-8 text-lg font-medium text-pretty sm:text-xl/8">
Mycelium's advancements in Agentic infrastructure supports private, secure and autonomous Agents that connect, learn and grow with you. Mycelium's advancements in Agentic infrastructure supports private, secure and autonomous Agents that connect, learn and grow with you.
</p> </P>
</motion.div> <div className="mt-10 flex items-center gap-x-6">
<Button variant="solid" color="cyan" href="#">
Get started
</Button>
<a href="#" className="text-sm/6 font-semibold text-gray-50">
Learn more <span aria-hidden="true"></span>
</a>
</div>
</div>
</div>
</div> </div>
</Container>
</section>
) )
} }