mirror of
https://github.com/zoo-apps/industries.git
synced 2026-11-03 14:57:13 +00:00
Adds three home compositions sharing the same investor narrative: - / (canonical) — restored old composition with Hero + zoo composite, Ecosystem, ZooLabsNarrative, ServicesOverview, ResearchHighlights, Leadership, TrustedBy, Contact. Adds polished motion (Reveal, Parallax wrappers, scroll-linked Hero drift), softer brutalist reset (rounded utilities now opt-in), and a Zen5 rainbow-gradient top banner. - /homepage1 — backup of the previous / composition (noindex). - /homepage2 — 10-slide deck with snap-mandatory CSS scroll snap, side-rail slide indicator, alternating brand-color slide washes, CSS-3D AI-coin scene behind the Hero (Zen5 family + Cloud / Network spokes, perspective + per-coin float keyframes, light blur), network-mesh edges, Foundation + Leadership + Traction + Access slides, plus the AI-native market-cap composite with NVIDIA as public-market comparable. - /homepage3 — editorial 'Quarterly' variant with serif display, masthead, drop cap, ornamental dividers, chapter framing, and a colophon footer. Wax-seal red accent on a cream paper surface. Other changes: - Navbar: drop rounded floating pill in favour of sharp transparent bar with a sharp backdrop-blur strip + border-b-2 black on scroll. - TopBanner: animated rainbow gradient background (300% width, background-position keyframe, prefers-reduced-motion aware). - Leadership / TeamMemberCard: rounded-full avatars (override the brutalist global border-radius reset via data-circle). - Ecosystem strip: render JPGs at /public/ecosystem/*.jpg with emoji fallback only when an image is missing (bear, drought, lake, eagle, forest, whale). - TheStack: each layer card is now a click target to its live domain (zenlm.org, zoo.cloud, zoo.network, zoo.fund, zoo.vote). - public/: new /hero/zooimg.png, /ecosystem/*.jpg, /pe/*.png. - Reveal / Parallax / ParallaxDivider / ParallaxBackground / CoinScene / SlideIndicator / SlideParallax / NetworkAnimation primitives under components/. Co-authored-by: Hanzo Dev <[email protected]>
58 lines
1.9 KiB
TypeScript
58 lines
1.9 KiB
TypeScript
"use client";
|
|
|
|
import { useEffect } from "react";
|
|
import Hero from "@/components/Hero";
|
|
import Ecosystem from "@/components/Ecosystem";
|
|
import ZooLabsNarrative from "@/components/ZooLabsNarrative";
|
|
import ServicesOverview from "@/components/ServicesOverview";
|
|
import ResearchHighlights from "@/components/ResearchHighlights";
|
|
import Leadership from "@/components/Leadership";
|
|
import TrustedBySection from "@/components/TrustedBySection";
|
|
import Contact from "@/components/Contact";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
export default function PageClient() {
|
|
useEffect(() => {
|
|
const smoothScroll = (e: MouseEvent) => {
|
|
const target = e.target as HTMLAnchorElement;
|
|
if (target.hash) {
|
|
e.preventDefault();
|
|
const element = document.querySelector(target.hash);
|
|
if (element) {
|
|
element.scrollIntoView({ behavior: "smooth" });
|
|
}
|
|
}
|
|
};
|
|
|
|
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
|
anchor.addEventListener("click", smoothScroll);
|
|
});
|
|
|
|
return () => {
|
|
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
|
anchor.removeEventListener("click", smoothScroll);
|
|
});
|
|
};
|
|
}, []);
|
|
|
|
return (
|
|
// Each section is wrapped in <Parallax> so its inner content translates
|
|
// on Y as the section moves through the viewport — creating depth
|
|
// between sections without large empty paddings. Distance is varied so
|
|
// adjacent sections move at slightly different rates (the eye reads
|
|
// this as parallax layering). Hero is kept static — it's always at
|
|
// the top, no scroll has happened yet, and the WebGPU-zebra composite
|
|
// already has its own scale-in animation.
|
|
<main className="relative">
|
|
<Hero />
|
|
<Ecosystem />
|
|
<ZooLabsNarrative />
|
|
<ServicesOverview />
|
|
<ResearchHighlights />
|
|
<Leadership />
|
|
<TrustedBySection />
|
|
<Contact />
|
|
</main>
|
|
);
|
|
}
|