Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
import { motion } from "framer-motion";
import Marquee from "react-fast-marquee";
import { CLIENT_LOGOS } from "./constants";

export function ClientLogosSection() {
return (
<section className="py-12 sm:py-16 md:py-24 px-4 sm:px-6 md:px-8 overflow-hidden">
<div className="max-w-7xl mx-auto">
<motion.div
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: "-100px" }}
transition={{ duration: 0.5, ease: "easeOut" }}
>
<h2 className="text-xl sm:text-2xl font-normal text-center mb-4 sm:mb-8 text-white px-4">
Trusted by engineers from
</h2>
</motion.div>

<motion.div
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true, margin: "-100px" }}
transition={{ duration: 0.5, delay: 0.2 }}
className="relative"
>
<Marquee
speed={30}
gradient={true}
gradientColor="var(--color-neutral-900)"
gradientWidth={100}
pauseOnHover={false}
>
<div className="flex gap-12 sm:gap-16 md:gap-24 items-center mr-12 sm:mr-16 md:mr-24">
{CLIENT_LOGOS.map((client) => (
<div
key={client.name}
className="text-white text-lg sm:text-xl md:text-2xl lg:text-3xl font-semibold opacity-60 hover:opacity-100 transition-opacity cursor-pointer whitespace-nowrap"
>
{client.logo}
</div>
))}
</div>
</Marquee>
</motion.div>
</div>
</section>
);
}
11 changes: 11 additions & 0 deletions apps/website/src/app/components/ClientLogosSection/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export const CLIENT_LOGOS = [
{ name: "onlook", logo: "Onlook" },
{ name: "amazon", logo: "Amazon" },
{ name: "google", logo: "Google" },
{ name: "servicenow", logo: "ServiceNow" },
{ name: "ycombinator", logo: "Y Combinator" },
{ name: "scribe", logo: "Scribe" },
{ name: "numbies", logo: "numbies.xyz" },
{ name: "adamcad", logo: "adam.new" },
{ name: "cadra", logo: "Cadra" },
] as const;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { ClientLogosSection } from "./ClientLogosSection";
37 changes: 37 additions & 0 deletions apps/website/src/app/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
"use client";

import { motion } from "framer-motion";
import Image from "next/image";
import { SocialLinks } from "../SocialLinks";

export function Footer() {
return (
<footer className="border-t border-zinc-800">
<div className="max-w-7xl mx-auto px-4 sm:px-6 md:px-8 py-8 sm:py-12">
<motion.div
initial={{ opacity: 0 }}
whileInView={{ opacity: 1 }}
viewport={{ once: true }}
transition={{ duration: 0.5 }}
className="flex flex-col sm:flex-row justify-between items-center gap-4"
>
<div className="flex items-center gap-2">
<Image
src="/title.svg"
alt="Superset"
width={200}
height={61}
className="h-8 sm:h-10 w-auto"
/>
</div>
<div className="flex items-center gap-6">
<SocialLinks />
<p className="text-zinc-400 text-sm">
© {new Date().getFullYear()} Superset. All rights reserved.
</p>
</div>
</motion.div>
</div>
</footer>
);
}
1 change: 1 addition & 0 deletions apps/website/src/app/components/Footer/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { Footer } from "./Footer";
9 changes: 5 additions & 4 deletions apps/website/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
"use client";

import { ClientLogosSection } from "./components/ClientLogosSection";
import { Footer } from "./components/Footer";
import { Header } from "./components/Header";
import { HeroSection } from "./components/HeroSection";

export default function Home() {
return (
<>
<Header />
<main
className="flex flex-col bg-neutral-900"
style={{ minHeight: "8000px" }}
>
<main className="flex flex-col bg-neutral-900">
<HeroSection />
<ClientLogosSection />
<Footer />
</main>
</>
);
Expand Down
Loading