forked from sashaastiadi/www_mycelium_net
Compare commits
4 Commits
e7b053bd76
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 4eb8a8aba7 | |||
| 90499e2b77 | |||
| 812eb5f455 | |||
| 471f53162f |
@@ -6,7 +6,7 @@ import { PrimaryFeatures } from '@/components/PrimaryFeatures'
|
|||||||
import { UseCases } from '@/components/UseCases'
|
import { UseCases } from '@/components/UseCases'
|
||||||
import { SecondaryFeatures } from '@/components/SecondaryFeatures'
|
import { SecondaryFeatures } from '@/components/SecondaryFeatures'
|
||||||
import { Benefits } from '@/components/Benefits'
|
import { Benefits } from '@/components/Benefits'
|
||||||
import { About } from '@/components/About'
|
import { AboutNew } from '@/components/AboutNew'
|
||||||
import { Features } from '@/components/Features'
|
import { Features } from '@/components/Features'
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
@@ -16,7 +16,7 @@ export default function Home() {
|
|||||||
<Hero />
|
<Hero />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<About />
|
<AboutNew />
|
||||||
</AnimatedSection>
|
</AnimatedSection>
|
||||||
<AnimatedSection>
|
<AnimatedSection>
|
||||||
<Features />
|
<Features />
|
||||||
|
|||||||
@@ -10,11 +10,11 @@ export function About() {
|
|||||||
id="about"
|
id="about"
|
||||||
className="relative bg-gray-900 py-20 lg:py-32"
|
className="relative bg-gray-900 py-20 lg:py-32"
|
||||||
>
|
>
|
||||||
<div className="sticky top-0 flex h-screen items-center justify-center">
|
|
||||||
<CircleBackground color="#06b6d4" className="animate-spin-slower" />
|
|
||||||
</div>
|
|
||||||
<div className="relative -mt-[100vh]">
|
<div className="relative -mt-[100vh]">
|
||||||
<Container>
|
<Container>
|
||||||
|
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||||
|
<CircleBackground id="aboutcircle" color="#06b6d4" className="animate-spin-slower" />
|
||||||
|
</div>
|
||||||
<div className="mx-auto max-w-3xl text-center">
|
<div className="mx-auto max-w-3xl text-center">
|
||||||
<Eyebrow color="accent">Our Mission</Eyebrow>
|
<Eyebrow color="accent">Our Mission</Eyebrow>
|
||||||
<SectionHeader color="white" className="mt-2">
|
<SectionHeader color="white" className="mt-2">
|
||||||
|
|||||||
37
src/components/AboutNew.tsx
Normal file
37
src/components/AboutNew.tsx
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
import { AppStoreLink } from '@/components/AppStoreLink'
|
||||||
|
import { P, SectionHeader } from '@/components/Texts'
|
||||||
|
import { WindowsLink } from '@/components/WindowsLink'
|
||||||
|
import { AndroidLink } from './AndroidLink'
|
||||||
|
import { LinuxLink } from '@/components/LinuxLink'
|
||||||
|
import { CircleBackground } from '@/components/CircleBackground'
|
||||||
|
import { Container } from '@/components/Container'
|
||||||
|
|
||||||
|
export function AboutNew() {
|
||||||
|
return (
|
||||||
|
<section
|
||||||
|
id="get-free-shares-today"
|
||||||
|
className="relative overflow-hidden bg-gray-900 py-20 sm:py-28"
|
||||||
|
>
|
||||||
|
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||||
|
<CircleBackground id="aboutcircle" color="#06b6d4" className="animate-spin-slower" />
|
||||||
|
</div>
|
||||||
|
<Container>
|
||||||
|
<div className="mx-auto max-w-2xl text-center">
|
||||||
|
<SectionHeader as="h2" color="white">
|
||||||
|
Discover Mycelium
|
||||||
|
</SectionHeader>
|
||||||
|
<P color="light" className="mt-6">
|
||||||
|
Mycelium is an unbreakable network, always finding the shortest path and
|
||||||
|
providing 100% secure, peer-to-peer communication. But this is just
|
||||||
|
the beginning.
|
||||||
|
</P>
|
||||||
|
<P color="light" className="mt-6">
|
||||||
|
Our mission is to create a sustainable digital ecosystem where
|
||||||
|
communication is seamless, data is secure, and scalability knows no
|
||||||
|
bounds.
|
||||||
|
</P>
|
||||||
|
</div>
|
||||||
|
</Container>
|
||||||
|
</section>
|
||||||
|
)
|
||||||
|
}
|
||||||
@@ -13,7 +13,7 @@ export function CallToAction() {
|
|||||||
className="relative overflow-hidden bg-gray-900 py-20 sm:py-28"
|
className="relative overflow-hidden bg-gray-900 py-20 sm:py-28"
|
||||||
>
|
>
|
||||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||||
<CircleBackground color="#06b6d4" className="animate-spin-slower" />
|
<CircleBackground id="cta_circle" color="#06b6d4" className="animate-spin-slower" />
|
||||||
</div>
|
</div>
|
||||||
<Container>
|
<Container>
|
||||||
<div className="mx-auto max-w-2xl text-center">
|
<div className="mx-auto max-w-2xl text-center">
|
||||||
|
|||||||
@@ -292,9 +292,9 @@ function FeaturesDesktop() {
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</TabList>
|
</TabList>
|
||||||
<div className="col-span-6">
|
<div className="relative col-span-6">
|
||||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||||
<CircleBackground color="#13B5C8" className="animate-spin-slower" />
|
<CircleBackground id="primaryfeatures_desktop_circle" color="#13B5C8" className="animate-spin-slower" />
|
||||||
</div>
|
</div>
|
||||||
<PhoneFrame className="z-10 mx-auto w-full max-w-[366px]">
|
<PhoneFrame className="z-10 mx-auto w-full max-w-[366px]">
|
||||||
<TabPanels as={Fragment}>
|
<TabPanels as={Fragment}>
|
||||||
@@ -368,16 +368,17 @@ function FeaturesMobile() {
|
|||||||
ref={(ref) => ref && (slideRefs.current[featureIndex] = ref)}
|
ref={(ref) => ref && (slideRefs.current[featureIndex] = ref)}
|
||||||
className="w-full flex-none snap-center px-4 sm:px-6 transition-all duration-300 ease-in-out hover:scale-105"
|
className="w-full flex-none snap-center px-4 sm:px-6 transition-all duration-300 ease-in-out hover:scale-105"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'transform overflow-hidden rounded-2xl bg-gray-800 px-5 py-6 outline-2 transition-colors',
|
'relative transform overflow-hidden rounded-2xl bg-gray-800 px-5 py-6 outline-2 transition-colors',
|
||||||
activeIndex === featureIndex
|
activeIndex === featureIndex
|
||||||
? 'outline-transparent' // Remove outline for active mobile slide
|
? 'outline-transparent' // Remove outline for active mobile slide
|
||||||
: 'outline-transparent hover:outline-cyan-500',
|
: 'outline-transparent hover:outline-cyan-500',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2">
|
||||||
<CircleBackground
|
<CircleBackground
|
||||||
|
id={`primaryfeatures_mobile_circle_${featureIndex}`}
|
||||||
color="#13B5C8"
|
color="#13B5C8"
|
||||||
className={featureIndex % 2 === 1 ? 'rotate-180' : undefined}
|
className={featureIndex % 2 === 1 ? 'rotate-180' : undefined}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user