feat: add mobile solutions view and enhance about page layout

This commit is contained in:
2025-10-17 18:08:20 +02:00
parent 3206934957
commit 6d37afa8f5
5 changed files with 48 additions and 6 deletions

View File

@@ -2,11 +2,15 @@ import { AboutHero } from "@/components/AboutHero"
import { AboutSolutions } from "@/components/AboutSolutions" import { AboutSolutions } from "@/components/AboutSolutions"
import { AboutTeam } from "@/components/AboutTeam" import { AboutTeam } from "@/components/AboutTeam"
import { AboutCTA } from "@/components/AboutCTA" import { AboutCTA } from "@/components/AboutCTA"
import { AboutSolutionsMobile } from "@/components/AboutSolutionsMobile";
export default function About() { export default function About() {
return ( return (
<div> <div>
<AboutHero /> <AboutHero />
<div className="md:hidden">
<AboutSolutionsMobile />
</div>
<AboutSolutions /> <AboutSolutions />
<AboutTeam /> <AboutTeam />
<AboutCTA /> <AboutCTA />

View File

@@ -1,7 +1,7 @@
export function AboutCTA() { export function AboutCTA() {
return ( return (
<div className="bg-transparent"> <div className="bg-transparent">
<div className="mx-auto max-w-7xl py-24 px-6 lg:px-4"> <div className="mx-auto max-w-7xl lg:py-24 py-12 px-6 lg:px-4">
<div className="relative isolate overflow-hidden bg-stat-gradient py-16 text-center after:pointer-events-none after:absolute after:inset-0 sm:rounded-3xl sm:px-16"> <div className="relative isolate overflow-hidden bg-stat-gradient py-16 text-center after:pointer-events-none after:absolute after:inset-0 sm:rounded-3xl sm:px-16">
<div className="mx-auto max-w-2xl lg:max-w-2xl"> <div className="mx-auto max-w-2xl lg:max-w-2xl">
<h2 className="text-2xl font-semibold tracking-tight leading-tight text-white lg:text-4xl"> <h2 className="text-2xl font-semibold tracking-tight leading-tight text-white lg:text-4xl">

View File

@@ -0,0 +1,32 @@
import React from "react";
import { cn } from "@/lib/utils";
export function AboutSolutionsMobile() {
return (
<div className="relative flex w-full overflow-hidden rounded-md bg-transparent antialiased md:items-center md:justify-center">
<div
className={cn(
"pointer-events-none absolute inset-0 [background-size:40px_40px] select-none",
"[background-image:linear-gradient(to_right,#171717_1px,transparent_1px),linear-gradient(to_bottom,#171717_1px,transparent_1px)]",
)}
/>
<div className="relative z-10 mx-auto w-full max-w-7xl p-6 pt-8 md:pt-0">
<h1 className="bg-opacity-50 bg-gradient-to-b from-neutral-50 to-neutral-400 bg-clip-text tracking-tighter text-center text-3xl font-medium leading-tight text-transparent lg:text-4xl animate-fade-in-delay-2">
A Decentralized Foundation for the Internet.
</h1>
<p className="mx-auto mt-8 max-w-lg text-center text-base lg:text-xl font-light text-neutral-200 animate-fade-in-delay-3">
Unlike traditional internet infrastructure, ThreeFold runs on a global mesh of independent cloud providers, individuals and organizations contributing compute, storage, and network power.
</p>
<p className="mx-auto mt-8 max-w-lg text-center text-base lg:text-xl font-light text-neutral-200 animate-fade-in-delay-3">
This physical decentralization removes bottlenecks, in creases
resilience, and protects privacy. ThreeFold is a neutral, scalable
foundation for the next-generation internet, where digital
pioneers can build and scale their solutions.
</p>
</div>
</div>
);
}

View File

@@ -1,19 +1,25 @@
import { Gallery } from './Gallery' import { Gallery } from './Gallery'
import { Button } from './Button'
export function AboutTeam() { export function AboutTeam() {
return ( return (
<div className="relative my-12 lg:mt-12 lg:mb-24 mx-6"> <div className="relative lg:my-12 py-12 lg:mt-24 mt-12 lg:py-32 mx-6">
<Gallery /> <Gallery />
<div className="mx-auto grid max-w-7xl lg:grid-cols-2"> <div className="mx-auto grid max-w-7xl lg:grid-cols-2">
<div className="pt-16 pb-24 lg:pt-24 lg:col-start-2"> <div className="lg:col-start-2">
<div className="mx-auto max-w-2xl lg:max-w-lg"> <div className="mx-auto max-w-2xl lg:max-w-lg">
<h1 className="mt-2 text-3xl font-medium tracking-tight text-pretty text-white lg:text-4xl"> <h1 className="text-3xl font-medium tracking-tight leading-tight lg:mt-0 mt-6 text-pretty text-white lg:text-4xl">
Founded by Internet Pioneers and Powered by the Community Founded by Internet Pioneers and Powered by the Community
</h1> </h1>
<p className="mt-6 text-sm font-light text-pretty text-gray-600 lg:text-base"> <p className="mt-6 text-sm font-light text-pretty text-gray-700 lg:text-base">
ThreeFold was started by pioneers from the early days of the internet, when it was a true peer-to-peer network. Today, its an open-source movement supported by a dedicated team and a vibrant community of contributors. Over 50 full-time developers and countless Hosters worldwide help bring our shared vision to life. ThreeFold was started by pioneers from the early days of the internet, when it was a true peer-to-peer network. Today, its an open-source movement supported by a dedicated team and a vibrant community of contributors. Over 50 full-time developers and countless Hosters worldwide help bring our shared vision to life.
</p> </p>
<div className="mt-6 lg:mt-10">
<Button href="#" variant="glass" >
Our People
</Button>
</div>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -78,7 +78,7 @@ export function Gallery() {
relative aspect-square relative aspect-square
w-[50px] h-[50px] w-[50px] h-[50px]
lg:w-auto lg:h-auto lg:w-auto lg:h-auto
transition duration-20 ease-in-out transition duration-50 ease-in-out
${activeIndex === index ? 'grayscale-0' : 'grayscale'} ${activeIndex === index ? 'grayscale-0' : 'grayscale'}
`} `}
> >