|
| 1 | +import Tag from "../elements/Tag"; |
| 2 | +import IntegrationColumn from "../ui/IntegrationColumn"; |
| 3 | + |
| 4 | +const integrations = [ |
| 5 | + { |
| 6 | + name: "Figma", |
| 7 | + icon: "/components/integrations/figma-logo.svg", |
| 8 | + description: "Figma is a collaborative interface design tool.", |
| 9 | + }, |
| 10 | + { |
| 11 | + name: "Notion", |
| 12 | + icon: "/components/integrations/notion-logo.svg", |
| 13 | + description: "Notion is an all-in-one workspace for notes and docs.", |
| 14 | + }, |
| 15 | + { |
| 16 | + name: "Slack", |
| 17 | + icon: "/components/integrations/slack-logo.svg", |
| 18 | + description: "Slack is a powerful team communication platform.", |
| 19 | + }, |
| 20 | + { |
| 21 | + name: "Relume", |
| 22 | + icon: "/components/integrations/relume-logo.svg", |
| 23 | + description: "Relume is a no-code website builder and design system.", |
| 24 | + }, |
| 25 | + { |
| 26 | + name: "Framer", |
| 27 | + icon: "/components/integrations/framer-logo.svg", |
| 28 | + description: "Framer is a professional website prototyping tool.", |
| 29 | + }, |
| 30 | + { |
| 31 | + name: "GitHub", |
| 32 | + icon: "/components/integrations/github-logo.svg", |
| 33 | + description: "GitHub is the leading platform for code collaboration.", |
| 34 | + }, |
| 35 | +]; |
| 36 | + |
| 37 | +export default function Integrations() { |
| 38 | + return ( |
| 39 | + <section className="py-24 px-6 sm:px-10 md:px-16 overflow-hidden"> |
| 40 | + <div className="container mx-auto"> |
| 41 | + <div className="grid lg:grid-cols-2 items-center lg:gap-16"> |
| 42 | + {/* Text Section */} |
| 43 | + <div className="text-center lg:text-left mb-8 lg:mb-0"> |
| 44 | + <Tag>Integration</Tag> |
| 45 | + <h2 className="text-5xl sm:text-6xl font-medium mt-6 leading-tight"> |
| 46 | + Plays well with <br /> |
| 47 | + <span className="text-lime-400">others</span> |
| 48 | + </h2> |
| 49 | + <p className="text-white/50 mt-4 text-base sm:text-lg"> |
| 50 | + Layers seamlessly connects with your favourite tools and |
| 51 | + platforms. It's easy to plug into any workflow and collaborate |
| 52 | + platforms. |
| 53 | + </p> |
| 54 | + </div> |
| 55 | + |
| 56 | + {/* Integration Columns */} |
| 57 | + <div className="grid md:grid-cols-2 gap-4 lg:h-[800px] h-[400px] overflow-hidden [mask-image:linear-gradient(to_bottom,transparent,black_10%,black_90%,transparent)]"> |
| 58 | + <IntegrationColumn integrations={integrations} /> |
| 59 | + <IntegrationColumn |
| 60 | + integrations={integrations.slice().reverse()} |
| 61 | + className="hidden md:flex" |
| 62 | + reverse |
| 63 | + /> |
| 64 | + </div> |
| 65 | + </div> |
| 66 | + </div> |
| 67 | + </section> |
| 68 | + ); |
| 69 | +} |
0 commit comments