The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
More parts of the new website. (#19094)
Abdullah.d246b16063f2
diff --git a/packages/twenty-website-new/public/images/home/stepper/background-shape.png b/packages/twenty-website-new/public/images/home/stepper/background-shape.pngnew file mode 100644index 00000000000..bc06894a5abBinary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/background-shape.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/background.png b/packages/twenty-website-new/public/images/home/stepper/background.pngnew file mode 100644index 00000000000..822dfe28fbbBinary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/background.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-one-one.png b/packages/twenty-website-new/public/images/home/stepper/step-one-one.pngnew file mode 100644index 00000000000..963e7c91fa0Binary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-one-one.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-one-three.png b/packages/twenty-website-new/public/images/home/stepper/step-one-three.pngnew file mode 100644index 00000000000..18fd9d94b55Binary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-one-three.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-one-two.png b/packages/twenty-website-new/public/images/home/stepper/step-one-two.pngnew file mode 100644index 00000000000..3b592dea572Binary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-one-two.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-three-four.png b/packages/twenty-website-new/public/images/home/stepper/step-three-four.pngnew file mode 100644index 00000000000..815f5f4b400Binary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-three-four.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-three-one.png b/packages/twenty-website-new/public/images/home/stepper/step-three-one.pngnew file mode 100644index 00000000000..4862c48aafbBinary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-three-one.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-three-three.png b/packages/twenty-website-new/public/images/home/stepper/step-three-three.pngnew file mode 100644index 00000000000..bdfaee41c2cBinary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-three-three.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-three-two.png b/packages/twenty-website-new/public/images/home/stepper/step-three-two.pngnew file mode 100644index 00000000000..aa9f12e271eBinary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-three-two.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-two-four.png b/packages/twenty-website-new/public/images/home/stepper/step-two-four.pngnew file mode 100644index 00000000000..f9404c1b6a9Binary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-two-four.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-two-one.png b/packages/twenty-website-new/public/images/home/stepper/step-two-one.pngnew file mode 100644index 00000000000..cbd8da81cf9Binary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-two-one.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-two-three.png b/packages/twenty-website-new/public/images/home/stepper/step-two-three.pngnew file mode 100644index 00000000000..63e3e65c639Binary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-two-three.png differdiff --git a/packages/twenty-website-new/public/images/home/stepper/step-two-two.png b/packages/twenty-website-new/public/images/home/stepper/step-two-two.pngnew file mode 100644index 00000000000..4cfd743549cBinary files /dev/null and b/packages/twenty-website-new/public/images/home/stepper/step-two-two.png differdiff --git a/packages/twenty-website-new/public/images/pricing/engagement-band/overlay.png b/packages/twenty-website-new/public/images/pricing/engagement-band/overlay.pngnew file mode 100644index 00000000000..4304b15fb4aBinary files /dev/null and b/packages/twenty-website-new/public/images/pricing/engagement-band/overlay.png differdiff --git a/packages/twenty-website-new/public/images/product/demo/background.png b/packages/twenty-website-new/public/images/product/demo/background.pngnew file mode 100644index 00000000000..62075b9bc37Binary files /dev/null and b/packages/twenty-website-new/public/images/product/demo/background.png differdiff --git a/packages/twenty-website-new/public/images/product/demo/kanban.png b/packages/twenty-website-new/public/images/product/demo/kanban.pngnew file mode 100644index 00000000000..aaf81353a34Binary files /dev/null and b/packages/twenty-website-new/public/images/product/demo/kanban.png differdiff --git a/packages/twenty-website-new/public/images/product/stepper/background-shape.png b/packages/twenty-website-new/public/images/product/stepper/background-shape.pngnew file mode 100644index 00000000000..efd5b78f2cdBinary files /dev/null and b/packages/twenty-website-new/public/images/product/stepper/background-shape.png differdiff --git a/packages/twenty-website-new/public/images/product/stepper/background.png b/packages/twenty-website-new/public/images/product/stepper/background.pngnew file mode 100644index 00000000000..846ada6b201Binary files /dev/null and b/packages/twenty-website-new/public/images/product/stepper/background.png differdiff --git a/packages/twenty-website-new/public/images/product/stepper/step-one.png b/packages/twenty-website-new/public/images/product/stepper/step-one.pngnew file mode 100644index 00000000000..f3b737fde98Binary files /dev/null and b/packages/twenty-website-new/public/images/product/stepper/step-one.png differdiff --git a/packages/twenty-website-new/public/images/product/stepper/step-three.png b/packages/twenty-website-new/public/images/product/stepper/step-three.pngnew file mode 100644index 00000000000..44ecba1bc8fBinary files /dev/null and b/packages/twenty-website-new/public/images/product/stepper/step-three.png differdiff --git a/packages/twenty-website-new/public/images/product/stepper/step-two.png b/packages/twenty-website-new/public/images/product/stepper/step-two.pngnew file mode 100644index 00000000000..faff8d76714Binary files /dev/null and b/packages/twenty-website-new/public/images/product/stepper/step-two.png differdiff --git a/packages/twenty-website-new/public/images/product/tabs/background-shape.png b/packages/twenty-website-new/public/images/product/tabs/background-shape.pngnew file mode 100644index 00000000000..dac49f263a8Binary files /dev/null and b/packages/twenty-website-new/public/images/product/tabs/background-shape.png differdiff --git a/packages/twenty-website-new/public/images/product/tabs/background.png b/packages/twenty-website-new/public/images/product/tabs/background.pngnew file mode 100644index 00000000000..cc903b05b2dBinary files /dev/null and b/packages/twenty-website-new/public/images/product/tabs/background.png differdiff --git a/packages/twenty-website-new/public/images/product/tabs/deals.png b/packages/twenty-website-new/public/images/product/tabs/deals.pngnew file mode 100644index 00000000000..248883a37e2Binary files /dev/null and b/packages/twenty-website-new/public/images/product/tabs/deals.png differdiff --git a/packages/twenty-website-new/public/images/product/tabs/history.png b/packages/twenty-website-new/public/images/product/tabs/history.pngnew file mode 100644index 00000000000..57332618a61Binary files /dev/null and b/packages/twenty-website-new/public/images/product/tabs/history.png differdiff --git a/packages/twenty-website-new/public/images/product/tabs/tasks.png b/packages/twenty-website-new/public/images/product/tabs/tasks.pngnew file mode 100644index 00000000000..8155e441fddBinary files /dev/null and b/packages/twenty-website-new/public/images/product/tabs/tasks.png differdiff --git a/packages/twenty-website-new/public/images/product/tabs/workflow.png b/packages/twenty-website-new/public/images/product/tabs/workflow.pngnew file mode 100644index 00000000000..ea28fbb379aBinary files /dev/null and b/packages/twenty-website-new/public/images/product/tabs/workflow.png differdiff --git a/packages/twenty-website-new/src/app/(home)/constants/faq.ts b/packages/twenty-website-new/src/app/(home)/constants/faq.tsnew file mode 100644index 00000000000..8cab0a6aab3--- /dev/null+++ b/packages/twenty-website-new/src/app/(home)/constants/faq.ts@@ -0,0 +1,71 @@+import { FaqDataType } from '@/sections/Faq/types';++export const FAQ_DATA: FaqDataType = {+ illustration: {+ src: 'https://app.endlesstools.io/embed/0510f6d4-e09b-4470-86f8-7fb8d9db4c45',+ title: 'Endless Tools Editor',+ },+ eyebrow: {+ heading: {+ text: 'Any Questions?',+ fontFamily: 'sans',+ },+ },+ heading: [+ {+ text: 'Stop fighting custom.\n',+ fontFamily: 'serif',+ },+ {+ text: ' Start building, with Twenty',+ fontFamily: 'sans',+ },+ ],+ questions: [+ {+ question: {+ text: 'How long does it take to get started?',+ fontFamily: 'sans',+ },+ answer: {+ text: "Toute personne souhaitant investir dans l'immobilier de luxe, qu'elle soit expérimentée ou novice, peut soumettre une candidature pour rejoindre le Kretz Club.",+ },+ },+ {+ question: {+ text: 'Can I migrate from Salesforce or HubSpot?',+ fontFamily: 'sans',+ },+ answer: {+ text: 'Yes. We provide migration tools and support to help you move your data from Salesforce, HubSpot, and other CRMs into Twenty.',+ },+ },+ {+ question: {+ text: 'Do I need a developer to customize Twenty?',+ fontFamily: 'sans',+ },+ answer: {+ text: 'Twenty is designed to be customizable without code. For advanced customizations, our API and documentation support developer-led extensions.',+ },+ },+ {+ question: {+ text: 'Is my data secure?',+ fontFamily: 'sans',+ },+ answer: {+ text: 'We take security seriously. Your data is encrypted at rest and in transit, and you can self-host to keep full control.',+ },+ },+ {+ question: {+ text: 'How does AI usage pricing work?',+ fontFamily: 'sans',+ },+ answer: {+ text: 'AI features are billed based on usage. See our pricing page for details and current rates.',+ },+ },+ ],+};diff --git a/packages/twenty-website-new/src/app/(home)/constants/hero.ts b/packages/twenty-website-new/src/app/(home)/constants/hero.tsindex 95ed63264a8..300b5b4e168 100644--- a/packages/twenty-website-new/src/app/(home)/constants/hero.ts+++ b/packages/twenty-website-new/src/app/(home)/constants/hero.ts@@ -1,6 +1,6 @@-import { HeroDataType } from '@/sections/Hero/types';+import { HeroHomeDataType } from '@/sections/Hero/types';-export const HERO_DATA: HeroDataType = {+export const HERO_DATA: HeroHomeDataType = {heading: [{ text: 'Build', fontFamily: 'sans' },{ text: ' your Enterprise CRM ', fontFamily: 'serif' },@@ -9,4 +9,12 @@ export const HERO_DATA: HeroDataType = {body: {text: 'Twenty gives technical teams the building blocks for a custom CRM that meets complex business needs and quickly adapts as the business evolves.',},+ background: {+ src: '/images/home/hero/background.png',+ alt: '',+ },+ foreground: {+ src: '/images/home/hero/foreground.png',+ alt: '',+ },};diff --git a/packages/twenty-website-new/src/app/(home)/constants/menu.ts b/packages/twenty-website-new/src/app/(home)/constants/menu.tsnew file mode 100644index 00000000000..27fca34645c--- /dev/null+++ b/packages/twenty-website-new/src/app/(home)/constants/menu.ts@@ -0,0 +1,43 @@+import type { MenuDataType } from '@/sections/Menu/types';++export const MENU_DATA: MenuDataType = {+ navItems: [+ { label: 'Product', href: '/product' },+ { label: 'Pricing', href: '/pricing' },+ { label: 'Partners', href: '/partner' },+ { label: 'Why Twenty', href: '/why-twenty' },+ ],+ socialLinks: [+ {+ ariaLabel: 'GitHub (opens in new tab)',+ href: 'https://github.com/twentyhq/twenty',+ icon: 'github',+ label: '39.8K',+ showInDesktop: true,+ showInDrawer: true,+ },+ {+ ariaLabel: 'Discord (opens in new tab)',+ className: 'discord-link',+ href: 'https://discord.gg/cx5n4Jzs57',+ icon: 'discord',+ label: '5.6K',+ showInDesktop: true,+ showInDrawer: true,+ },+ {+ ariaLabel: 'LinkedIn (opens in new tab)',+ href: 'https://www.linkedin.com/company/twenty',+ icon: 'linkedin',+ showInDesktop: false,+ showInDrawer: true,+ },+ {+ ariaLabel: 'X (opens in new tab)',+ href: 'https://x.com/twentycrm',+ icon: 'x',+ showInDesktop: false,+ showInDrawer: true,+ },+ ],+};diff --git a/packages/twenty-website-new/src/app/(home)/constants/stepper.ts b/packages/twenty-website-new/src/app/(home)/constants/stepper.tsnew file mode 100644index 00000000000..fa8710cf613--- /dev/null+++ b/packages/twenty-website-new/src/app/(home)/constants/stepper.ts@@ -0,0 +1,101 @@+import type { HeroStepperDataType } from '@/sections/HeroStepper/types';++export const STEPPER_DATA: HeroStepperDataType = {+ steps: [+ {+ heading: [+ {+ text: 'Begin with production-grade',+ fontFamily: 'serif',+ },+ {+ text: ' building blocks',+ fontFamily: 'sans',+ },+ ],+ body: {+ text: 'Compose your CRM and internal apps with a single extensibility toolkit. Data model, layout, and automation.',+ },+ images: [+ {+ src: '/images/home/stepper/step-one-one.png',+ alt: 'Twenty modules for logic, data model, and layout',+ },+ {+ src: '/images/home/stepper/step-one-two.png',+ alt: 'Twenty data model and layout building blocks',+ },+ {+ src: '/images/home/stepper/step-one-three.png',+ alt: 'Twenty automation and extensibility toolkit',+ },+ ],+ },+ {+ heading: [+ {+ text: 'Continue iteration',+ fontFamily: 'serif',+ },+ {+ text: ' without friction',+ fontFamily: 'sans',+ },+ ],+ body: {+ text: 'Enjoy unlimited customization using the AI coding tools you already love. Adapt your CRM to fit the way your business grows and wins.',+ },+ images: [+ {+ src: '/images/home/stepper/step-two-one.png',+ alt: 'Twenty CRM adapted with familiar development tools',+ },+ {+ src: '/images/home/stepper/step-two-two.png',+ alt: 'Customizing Twenty with AI-assisted coding workflows',+ },+ {+ src: '/images/home/stepper/step-two-three.png',+ alt: 'Iterating on Twenty as your business grows',+ },+ {+ src: '/images/home/stepper/step-two-four.png',+ alt: 'Twenty workspace tailored to your team',+ },+ ],+ },+ {+ heading: [+ {+ text: 'Stay in control with our',+ fontFamily: 'serif',+ },+ {+ text: ' open-source software',+ fontFamily: 'sans',+ },+ ],+ body: {+ text: "Don't get locked into someone else's ecosystem. Twenty's developer experience looks like normal software, with local setup, real data, live testing, and no proprietary tooling.",+ },+ images: [+ {+ src: '/images/home/stepper/step-three-one.png',+ alt: 'Twenty open-source CRM in a normal local development setup',+ },+ {+ src: '/images/home/stepper/step-three-two.png',+ alt: 'Twenty developer experience with real data and live testing',+ },+ {+ src: '/images/home/stepper/step-three-three.png',+ alt: 'Twenty without proprietary vendor lock-in',+ },+ {+ src: '/images/home/stepper/step-three-four.png',+ alt: 'Twenty as transparent, self-hosted software',+ },+ ],+ },+ ],+};diff --git a/packages/twenty-website-new/src/app/(home)/constants/three-cards-feature.ts b/packages/twenty-website-new/src/app/(home)/constants/three-cards-feature.tsindex 7ce6586fd46..6ae39d14cfd 100644--- a/packages/twenty-website-new/src/app/(home)/constants/three-cards-feature.ts+++ b/packages/twenty-website-new/src/app/(home)/constants/three-cards-feature.ts@@ -17,18 +17,30 @@ export const THREE_CARDS_FEATURE_DATA: ThreeCardsFeatureCardsDataType = {body: {text: "Twenty makes it simple. It's clean, intuitive, and built to feel like Notion.",},+ image: {+ src: '/images/home/three-cards-feature/familiar-interface.png',+ alt: 'Familiar interface',+ },},{heading: { text: 'Fast path to action', fontFamily: 'sans' },body: {text: 'Smart patterns, shortcuts, and layouts make everyday tasks faster and easier to execute.',},+ image: {+ src: '/images/home/three-cards-feature/fast-path.png',+ alt: 'Fast path',+ },},{heading: { text: 'Live data and AI Built', fontFamily: 'sans' },body: {text: 'Everything updates in real time, with AI chat always ready to help you move faster.',},+ image: {+ src: '/images/home/three-cards-feature/live-data.png',+ alt: 'Live data',+ },},],};diff --git a/packages/twenty-website-new/src/app/(home)/constants/three-cards-illustration.ts b/packages/twenty-website-new/src/app/(home)/constants/three-cards-illustration.tsindex 8de854a9edf..3ab2fdedc1d 100644--- a/packages/twenty-website-new/src/app/(home)/constants/three-cards-illustration.ts+++ b/packages/twenty-website-new/src/app/(home)/constants/three-cards-illustration.ts@@ -22,6 +22,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {role: { text: 'Head of Engineering' },company: { text: 'Mid-Market Fintech' },},+ illustration: {+ src: 'https://app.endlesstools.io/embed/ea42603a-8644-4634-8b7a-9b7bd9a8d899',+ title: 'Endless Tools Editor',+ },},{heading: { text: 'AI for rapid iterations', fontFamily: 'sans' },@@ -33,6 +37,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {role: { text: 'Head of Engineering' },company: { text: 'Mid-Market Fintech' },},+ illustration: {+ src: 'https://app.endlesstools.io/embed/99a4f00e-bb70-4192-82e1-24e9ce8cd136',+ title: 'Endless Tools Editor',+ },},{heading: { text: 'Control without drag', fontFamily: 'sans' },@@ -44,6 +52,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {role: { text: 'Head of Engineering' },company: { text: 'Mid-Market Fintech' },},+ illustration: {+ src: 'https://app.endlesstools.io/embed/ba47c943-9565-412e-ae45-4ec092c149aa',+ title: 'Endless Tools Editor',+ },},],};diff --git a/packages/twenty-website-new/src/app/(home)/page.tsx b/packages/twenty-website-new/src/app/(home)/page.tsxindex e5983322926..f8176a01cbd 100644--- a/packages/twenty-website-new/src/app/(home)/page.tsx+++ b/packages/twenty-website-new/src/app/(home)/page.tsx@@ -1,11 +1,15 @@+import { FAQ_DATA } from '@/app/(home)/constants/faq';import { HERO_DATA } from '@/app/(home)/constants/hero';+import { MENU_DATA } from '@/app/(home)/constants/menu';import { PROBLEM_DATA } from '@/app/(home)/constants/problem';import { THREE_CARDS_FEATURE_DATA } from '@/app/(home)/constants/three-cards-feature';import { THREE_CARDS_ILLUSTRATION_DATA } from '@/app/(home)/constants/three-cards-illustration';import { TRUSTED_BY_DATA } from '@/app/(home)/constants/trusted-by';import { Body, Eyebrow, Heading, LinkButton } from '@/design-system/components';import { Pages } from '@/enums/pages';+import { Faq } from '@/sections/Faq/components';import { Hero } from '@/sections/Hero/components';+import { Menu } from '@/sections/Menu/components';import { Problem } from '@/sections/Problem/components';import { ThreeCards } from '@/sections/ThreeCards/components';import { TrustedBy } from '@/sections/TrustedBy/components';@@ -14,6 +18,18 @@ import { theme } from '@/theme';export default function HomePage() {return (<>+ <Menu.Root+ backgroundColor={theme.colors.primary.background[100]}+ scheme="primary"+ navItems={MENU_DATA.navItems}+ socialLinks={MENU_DATA.socialLinks}+ >+ <Menu.Logo scheme="primary" />+ <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />+ <Menu.Social scheme="primary" socialLinks={MENU_DATA.socialLinks} />+ <Menu.Cta scheme="primary" />+ </Menu.Root>+<Hero.Root backgroundColor={theme.colors.primary.background[100]}><Hero.Heading page={Pages.Home} segments={HERO_DATA.heading} /><Hero.Body page={Pages.Home} body={HERO_DATA.body} size="sm" />@@ -26,7 +42,10 @@ export default function HomePage() {variant="contained"/></Hero.Cta>- <Hero.HomeVisual />+ <Hero.HomeVisual+ background={HERO_DATA.background}+ foreground={HERO_DATA.foreground}+ /></Hero.Root><TrustedBy.Root>@@ -67,6 +86,8 @@ export default function HomePage() {/></ThreeCards.Root>+ {/* <HeroStepper.Flow steps={STEPPER_DATA.steps} /> */}+<ThreeCards.Root backgroundColor={theme.colors.primary.background[100]}><ThreeCards.Intro page={Pages.Home} align="center"><Eyebrow@@ -83,6 +104,33 @@ export default function HomePage() {featureCards={THREE_CARDS_FEATURE_DATA.featureCards}/></ThreeCards.Root>++ <Faq.Root illustration={FAQ_DATA.illustration}>+ <Faq.Intro>+ <Eyebrow+ colorScheme="secondary"+ heading={FAQ_DATA.eyebrow.heading}+ />+ <Faq.Heading segments={FAQ_DATA.heading} />+ <Faq.Cta>+ <LinkButton+ color="primary"+ href="https://app.twenty.com/welcome"+ label="Get started"+ type="anchor"+ variant="contained"+ />+ <LinkButton+ color="primary"+ href="https://twenty.com/contact"+ label="Talk to us"+ type="anchor"+ variant="outlined"+ />+ </Faq.Cta>+ </Faq.Intro>+ <Faq.Items questions={FAQ_DATA.questions} />+ </Faq.Root></>);}diff --git a/packages/twenty-website-new/src/app/layout.tsx b/packages/twenty-website-new/src/app/layout.tsxindex 2ef8d8527b1..c2300d7d590 100644--- a/packages/twenty-website-new/src/app/layout.tsx+++ b/packages/twenty-website-new/src/app/layout.tsx@@ -1,5 +1,4 @@import { Footer } from '@/sections/Footer/components';-import { Menu } from '@/sections/Menu/components';import { theme } from '@/theme';import { cssVariables } from '@/theme/css-variables';import { css } from '@linaria/core';@@ -69,12 +68,6 @@ export default function RootLayout({<bodyclassName={`${cssVariables} ${hostGrotesk.variable} ${aleo.variable} ${azeretMono.variable}`}>- <Menu.Root>- <Menu.Logo />- <Menu.Nav />- <Menu.Social />- <Menu.Cta />- </Menu.Root><StyledMain>{children}</StyledMain><Footer.Root><Footer.Logo />diff --git a/packages/twenty-website-new/src/app/partner/constants/engagement-band.ts b/packages/twenty-website-new/src/app/partner/constants/engagement-band.tsnew file mode 100644index 00000000000..bd683d2b08e--- /dev/null+++ b/packages/twenty-website-new/src/app/partner/constants/engagement-band.ts@@ -0,0 +1,11 @@+import type { EngagementBandDataType } from '@/sections/EngagementBand/types';++export const ENGAGEMENT_BAND_DATA: EngagementBandDataType = {+ heading: {+ text: 'Looking for a partners',+ fontFamily: 'serif',+ },+ body: {+ text: 'Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.',+ },+};diff --git a/packages/twenty-website-new/src/app/partner/constants/hero.ts b/packages/twenty-website-new/src/app/partner/constants/hero.tsindex 7983f82b325..7f66155d7d2 100644--- a/packages/twenty-website-new/src/app/partner/constants/hero.ts+++ b/packages/twenty-website-new/src/app/partner/constants/hero.ts@@ -1,6 +1,6 @@-import { HeroDataType } from '@/sections/Hero/types';+import { HeroIllustrationDataType } from '@/sections/Hero/types';-export const HERO_DATA: HeroDataType = {+export const HERO_DATA: HeroIllustrationDataType = {heading: [{ text: 'Become a ', fontFamily: 'serif' },{ text: 'Twenty Partner', fontFamily: 'sans' },@@ -8,4 +8,8 @@ export const HERO_DATA: HeroDataType = {body: {text: "We're building the #1 open-source CRM, but we can't do it alone. Join our partner ecosystem and grow with us.",},+ illustration: {+ src: 'https://app.endlesstools.io/embed/1c6c8259-3276-4cf2-84d8-6b7e87e7ec95',+ title: 'Endless Tools Editor',+ },};diff --git a/packages/twenty-website-new/src/app/partner/constants/three-cards-illustration.ts b/packages/twenty-website-new/src/app/partner/constants/three-cards-illustration.tsindex 857319c75b7..f91393a1ac1 100644--- a/packages/twenty-website-new/src/app/partner/constants/three-cards-illustration.ts+++ b/packages/twenty-website-new/src/app/partner/constants/three-cards-illustration.ts@@ -24,6 +24,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {{ text: 'Soon: earn revenue' },],attribution: undefined,+ illustration: {+ src: 'https://app.endlesstools.io/embed/627cb43a-5b5f-41a7-9642-26e66b9c4890',+ title: 'Endless Tools Editor',+ },},{heading: { text: 'Content & Community Partners', fontFamily: 'sans' },@@ -36,6 +40,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {{ text: 'Marketing assets & brand resources' },],attribution: undefined,+ illustration: {+ src: 'https://app.endlesstools.io/embed/4ef11ab1-d013-46dd-bf2e-cbf913370a8a',+ title: 'Endless Tools Editor',+ },},{heading: { text: 'Solutions Partners', fontFamily: 'sans' },@@ -48,6 +56,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {{ text: 'Dedicated partner support' },],attribution: undefined,+ illustration: {+ src: 'https://app.endlesstools.io/embed/624e9b40-f52c-4da2-9a2e-72d1fb2b5356',+ title: 'Endless Tools Editor',+ },},],};diff --git a/packages/twenty-website-new/src/app/partner/page.tsx b/packages/twenty-website-new/src/app/partner/page.tsxindex 1fe36e86687..61f7e8526ca 100644--- a/packages/twenty-website-new/src/app/partner/page.tsx+++ b/packages/twenty-website-new/src/app/partner/page.tsx@@ -1,9 +1,15 @@+import { FAQ_DATA } from '@/app/(home)/constants/faq';+import { MENU_DATA } from '@/app/(home)/constants/menu';import { TRUSTED_BY_DATA } from '@/app/(home)/constants/trusted-by';+import { ENGAGEMENT_BAND_DATA } from '@/app/partner/constants/engagement-band';import { HERO_DATA } from '@/app/partner/constants/hero';import { THREE_CARDS_ILLUSTRATION_DATA } from '@/app/partner/constants/three-cards-illustration';import { Body, Eyebrow, Heading, LinkButton } from '@/design-system/components';import { Pages } from '@/enums/pages';+import { EngagementBand } from '@/sections/EngagementBand/components';+import { Faq } from '@/sections/Faq/components';import { Hero } from '@/sections/Hero/components';+import { Menu } from '@/sections/Menu/components';import { ThreeCards } from '@/sections/ThreeCards/components';import { TrustedBy } from '@/sections/TrustedBy/components';import { theme } from '@/theme';@@ -11,6 +17,18 @@ import { theme } from '@/theme';export default function PartnerPage() {return (<>+ <Menu.Root+ backgroundColor={theme.colors.primary.background[100]}+ scheme="primary"+ navItems={MENU_DATA.navItems}+ socialLinks={MENU_DATA.socialLinks}+ >+ <Menu.Logo scheme="primary" />+ <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />+ <Menu.Social scheme="primary" socialLinks={MENU_DATA.socialLinks} />+ <Menu.Cta scheme="primary" />+ </Menu.Root>+<Hero.Root backgroundColor={theme.colors.primary.background[100]}><Hero.Heading page={Pages.Partner} segments={HERO_DATA.heading} /><Hero.Body page={Pages.Partner} body={HERO_DATA.body} />@@ -31,8 +49,7 @@ export default function PartnerPage() {/></Hero.Cta><Hero.Illustration- src="https://app.endlesstools.io/embed/1c6c8259-3276-4cf2-84d8-6b7e87e7ec95"- title="Endless Tools Editor"+ illustration={HERO_DATA.illustration}backgroundColor={theme.colors.secondary.background[100]}/></Hero.Root>@@ -45,8 +62,31 @@ export default function PartnerPage() {/></TrustedBy.Root>+ <EngagementBand.Root+ backgroundColor={theme.colors.primary.background[100]}+ >+ <EngagementBand.Strip+ fillColor={theme.colors.secondary.background[100]}+ variant="secondary"+ >+ <EngagementBand.Copy>+ <EngagementBand.Heading segments={ENGAGEMENT_BAND_DATA.heading} />+ <EngagementBand.Body body={ENGAGEMENT_BAND_DATA.body} />+ </EngagementBand.Copy>+ <EngagementBand.Actions>+ <LinkButton+ color="primary"+ href="https://app.twenty.com/welcome"+ label="Read our case studies"+ type="anchor"+ variant="contained"+ />+ </EngagementBand.Actions>+ </EngagementBand.Strip>+ </EngagementBand.Root>+<ThreeCards.Root backgroundColor={theme.colors.secondary.background[5]}>- <ThreeCards.Intro align="left">+ <ThreeCards.Intro page={Pages.Partner} align="left"><EyebrowcolorScheme="primary"heading={THREE_CARDS_ILLUSTRATION_DATA.eyebrow.heading}@@ -63,6 +103,30 @@ export default function PartnerPage() {variant="simple"/></ThreeCards.Root>++ <Faq.Root illustration={FAQ_DATA.illustration}>+ <Faq.Intro>+ <Eyebrow colorScheme="secondary" heading={FAQ_DATA.eyebrow.heading} />+ <Faq.Heading segments={FAQ_DATA.heading} />+ <Faq.Cta>+ <LinkButton+ color="primary"+ href="https://app.twenty.com/welcome"+ label="Get started"+ type="anchor"+ variant="contained"+ />+ <LinkButton+ color="primary"+ href="https://twenty.com/contact"+ label="Talk to us"+ type="anchor"+ variant="outlined"+ />+ </Faq.Cta>+ </Faq.Intro>+ <Faq.Items questions={FAQ_DATA.questions} />+ </Faq.Root></>);}diff --git a/packages/twenty-website-new/src/app/pricing/constants/engagement-band.ts b/packages/twenty-website-new/src/app/pricing/constants/engagement-band.tsnew file mode 100644index 00000000000..0dd078380ba--- /dev/null+++ b/packages/twenty-website-new/src/app/pricing/constants/engagement-band.ts@@ -0,0 +1,11 @@+import type { EngagementBandDataType } from '@/sections/EngagementBand/types';++export const ENGAGEMENT_BAND_DATA: EngagementBandDataType = {+ heading: {+ text: 'Want a tailored made plan?',+ fontFamily: 'serif',+ },+ body: {+ text: 'Help customers implement, customize,and succeed with Twenty. Combine sales and services to grow your business.',+ },+};diff --git a/packages/twenty-website-new/src/app/pricing/constants/hero.ts b/packages/twenty-website-new/src/app/pricing/constants/hero.tsindex 7a8abeb9f32..26d0541ddbb 100644--- a/packages/twenty-website-new/src/app/pricing/constants/hero.ts+++ b/packages/twenty-website-new/src/app/pricing/constants/hero.ts@@ -1,6 +1,6 @@-import { HeroDataType } from '@/sections/Hero/types';+import { HeroBaseDataType } from '@/sections/Hero/types';-export const HERO_DATA: HeroDataType = {+export const HERO_DATA: HeroBaseDataType = {heading: [{ text: 'A pricing that scales ', fontFamily: 'serif' },{ text: 'with your need', fontFamily: 'sans' },diff --git a/packages/twenty-website-new/src/app/pricing/constants/plans.ts b/packages/twenty-website-new/src/app/pricing/constants/plans.tsnew file mode 100644index 00000000000..b68034ea872--- /dev/null+++ b/packages/twenty-website-new/src/app/pricing/constants/plans.ts@@ -0,0 +1,131 @@+const PRO_HEADING = { fontFamily: 'sans' as const, text: 'Pro' };+const ORGANIZATION_HEADING = {+ fontFamily: 'sans' as const,+ text: 'Organization',+};++const PRO_ILLUSTRATION = {+ src: 'https://app.endlesstools.io/embed/207b0732-c6ef-414e-add5-462e68689a2e',+ title: 'Endless Tools Editor',+};++const ORGANIZATION_ILLUSTRATION = {+ src: 'https://app.endlesstools.io/embed/588638be-e22e-4467-b701-3f36e900613d',+ title: 'Endless Tools Editor',+};++const PRO_FEATURES_TITLE = { text: 'Key Features' };+const ORGANIZATION_FEATURES_TITLE = { text: 'everything in pro +' };++const PRO_BULLETS_DEFAULT = [+ { text: 'Full customisation' },+ { text: 'AI Agents with custom skills' },+ { text: '1K automation credits' },+ { text: 'Standard support' },+ { text: 'Add-on AI (1-month trial)' },+];++const PRO_BULLETS_SELF_HOST_MONTHLY = [+ { text: 'Full customisation' },+ { text: 'AI Agents with custom skills' },+ { text: 'Standard support' },+ { text: 'Add-on AI (1-month trial)' },+];++const PRO_BULLETS_SELF_HOST_YEARLY = [+ { text: 'Full customisation' },+ { text: 'AI Agents with custom skills' },+ { text: 'Standard support' },+ { text: 'Add-on AI (1-month trial)' },+];++const ORGANIZATION_BULLETS = [+ { text: 'Roles & Permissions' },+ { text: 'SAML/OIDC SSO' },+ { text: '2K automation credits' },+ { text: 'Priority support' },+ { text: 'Add-on AI full time' },+];++import type { PlansDataType } from '@/sections/Plans/types';++export const PLANS_DATA = {+ organization: {+ cells: {+ cloud: {+ monthly: {+ featureBullets: ORGANIZATION_BULLETS,+ price: {+ body: { text: '/month, paid monthly' },+ heading: { fontFamily: 'sans', text: '$25 USD' },+ },+ },+ yearly: {+ featureBullets: ORGANIZATION_BULLETS,+ price: {+ body: { text: '/month, paid yearly' },+ heading: { fontFamily: 'sans', text: '$19 USD' },+ },+ },+ },+ selfHost: {+ monthly: {+ featureBullets: ORGANIZATION_BULLETS,+ price: {+ body: { text: '/month, paid monthly' },+ heading: { fontFamily: 'sans', text: '$25 USD' },+ },+ },+ yearly: {+ featureBullets: ORGANIZATION_BULLETS,+ price: {+ body: { text: '/month, paid yearly' },+ heading: { fontFamily: 'sans', text: '$19 USD' },+ },+ },+ },+ },+ featuresTitle: ORGANIZATION_FEATURES_TITLE,+ heading: ORGANIZATION_HEADING,+ illustration: ORGANIZATION_ILLUSTRATION,+ },+ pro: {+ cells: {+ cloud: {+ monthly: {+ featureBullets: PRO_BULLETS_DEFAULT,+ price: {+ body: { text: '/month, paid monthly' },+ heading: { fontFamily: 'sans', text: '$12 USD' },+ },+ },+ yearly: {+ featureBullets: PRO_BULLETS_DEFAULT,+ price: {+ body: { text: '/month, paid yearly' },+ heading: { fontFamily: 'sans', text: '$9 USD' },+ },+ },+ },+ selfHost: {+ monthly: {+ featureBullets: PRO_BULLETS_SELF_HOST_MONTHLY,+ price: {+ body: { text: '/month, paid monthly' },+ heading: { fontFamily: 'sans', text: '$0 USD' },+ },+ },+ yearly: {+ featureBullets: PRO_BULLETS_SELF_HOST_YEARLY,+ price: {+ body: { text: '/month, paid yearly' },+ heading: { fontFamily: 'sans', text: '$0 USD' },+ },+ },+ },+ },+ featuresTitle: PRO_FEATURES_TITLE,+ heading: PRO_HEADING,+ illustration: PRO_ILLUSTRATION,+ },+} satisfies PlansDataType;diff --git a/packages/twenty-website-new/src/app/pricing/page.tsx b/packages/twenty-website-new/src/app/pricing/page.tsxindex 3c119728de8..2274edb0563 100644--- a/packages/twenty-website-new/src/app/pricing/page.tsx+++ b/packages/twenty-website-new/src/app/pricing/page.tsx@@ -1,15 +1,86 @@+import { FAQ_DATA } from '@/app/(home)/constants/faq';+import { MENU_DATA } from '@/app/(home)/constants/menu';+import { ENGAGEMENT_BAND_DATA } from '@/app/partner/constants/engagement-band';import { HERO_DATA } from '@/app/pricing/constants/hero';+import { Eyebrow, LinkButton } from '@/design-system/components';import { Pages } from '@/enums/pages';+import { EngagementBand } from '@/sections/EngagementBand/components';+import { Faq } from '@/sections/Faq/components';import { Hero } from '@/sections/Hero/components';+import { Menu } from '@/sections/Menu/components';+import { Plans } from '@/sections/Plans/components';import { theme } from '@/theme';export default function PricingPage() {return (<>+ <Menu.Root+ backgroundColor={theme.colors.secondary.background[5]}+ scheme="primary"+ navItems={MENU_DATA.navItems}+ socialLinks={MENU_DATA.socialLinks}+ >+ <Menu.Logo scheme="primary" />+ <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />+ <Menu.Social scheme="primary" socialLinks={MENU_DATA.socialLinks} />+ <Menu.Cta scheme="primary" />+ </Menu.Root>+<Hero.Root backgroundColor={theme.colors.secondary.background[5]}><Hero.Heading page={Pages.Pricing} segments={HERO_DATA.heading} /><Hero.Body page={Pages.Pricing} body={HERO_DATA.body} /></Hero.Root>++ <Plans.Root backgroundColor={theme.colors.secondary.background[5]}>+ <Plans.Content />+ </Plans.Root>++ <EngagementBand.Root+ backgroundColor={theme.colors.secondary.background[5]}+ >+ <EngagementBand.Strip+ fillColor={theme.colors.primary.background[100]}+ variant="primary"+ >+ <EngagementBand.Copy>+ <EngagementBand.Heading segments={ENGAGEMENT_BAND_DATA.heading} />+ <EngagementBand.Body body={ENGAGEMENT_BAND_DATA.body} />+ </EngagementBand.Copy>+ <EngagementBand.Actions>+ <LinkButton+ color="secondary"+ href="https://app.twenty.com/welcome"+ label="Read our case studies"+ type="anchor"+ variant="contained"+ />+ </EngagementBand.Actions>+ </EngagementBand.Strip>+ </EngagementBand.Root>++ <Faq.Root illustration={FAQ_DATA.illustration}>+ <Faq.Intro>+ <Eyebrow colorScheme="secondary" heading={FAQ_DATA.eyebrow.heading} />+ <Faq.Heading segments={FAQ_DATA.heading} />+ <Faq.Cta>+ <LinkButton+ color="primary"+ href="https://app.twenty.com/welcome"+ label="Get started"+ type="anchor"+ variant="contained"+ />+ <LinkButton+ color="primary"+ href="https://twenty.com/contact"+ label="Talk to us"+ type="anchor"+ variant="outlined"+ />+ </Faq.Cta>+ </Faq.Intro>+ <Faq.Items questions={FAQ_DATA.questions} />+ </Faq.Root></>);}diff --git a/packages/twenty-website-new/src/app/product/constants/demo.ts b/packages/twenty-website-new/src/app/product/constants/demo.tsnew file mode 100644index 00000000000..026d55ab785--- /dev/null+++ b/packages/twenty-website-new/src/app/product/constants/demo.ts@@ -0,0 +1,24 @@+import type { DemoDataType } from '@/sections/Demo/types';++export const DEMO_DATA: DemoDataType = {+ eyebrow: {+ heading: {+ text: 'Try it live',+ fontFamily: 'sans',+ },+ },+ heading: [+ {+ text: 'A demo worth a',+ fontFamily: 'serif',+ },+ {+ text: ' thousand words',+ fontFamily: 'sans',+ },+ ],+ image: {+ src: '/images/product/demo/kanban.png',+ alt: '',+ },+};diff --git a/packages/twenty-website-new/src/app/product/constants/hero.ts b/packages/twenty-website-new/src/app/product/constants/hero.tsindex 9e0eeec7c77..989fed27ca6 100644--- a/packages/twenty-website-new/src/app/product/constants/hero.ts+++ b/packages/twenty-website-new/src/app/product/constants/hero.ts@@ -1,6 +1,6 @@-import { HeroDataType } from '@/sections/Hero/types';+import { HeroIllustrationDataType } from '@/sections/Hero/types';-export const HERO_DATA: HeroDataType = {+export const HERO_DATA: HeroIllustrationDataType = {heading: [{ text: 'The CRM that moves ', fontFamily: 'serif' },{ text: 'as fast as you do', fontFamily: 'sans' },@@ -8,4 +8,8 @@ export const HERO_DATA: HeroDataType = {body: {text: 'Modern interface. AI assistance. All the features you need, ready from day one.',},+ illustration: {+ src: 'https://app.endlesstools.io/embed/0bcf3ac2-58cf-4cd5-90bd-e8fada9816a9',+ title: 'Endless Tools Editor',+ },};diff --git a/packages/twenty-website-new/src/app/product/constants/stepper.ts b/packages/twenty-website-new/src/app/product/constants/stepper.tsnew file mode 100644index 00000000000..22fdbd4fbc5--- /dev/null+++ b/packages/twenty-website-new/src/app/product/constants/stepper.ts@@ -0,0 +1,67 @@+import type { ProductStepperDataType } from '@/sections/ProductStepper/types';++export const STEPPER_DATA: ProductStepperDataType = {+ eyebrow: {+ heading: {+ text: 'Customization',+ fontFamily: 'sans',+ },+ },+ heading: [+ {+ text: 'Go the extra mile',+ fontFamily: 'serif',+ },+ {+ text: ' with no-code',+ fontFamily: 'sans',+ },+ ],+ body: {+ text: 'Need a quick change? Skip the engineering ticket. Customize your workspace in minutes.',+ },+ steps: [+ {+ icon: 'users',+ heading: {+ text: 'Data model',+ fontFamily: 'sans',+ },+ body: {+ text: 'Add objects and fields',+ },+ image: {+ src: '/images/product/stepper/step-one.png',+ alt: 'Twenty data model: add objects and fields',+ },+ },+ {+ icon: 'check',+ heading: {+ text: 'Automation',+ fontFamily: 'sans',+ },+ body: {+ text: 'Create a workflow',+ },+ image: {+ src: '/images/product/stepper/step-two.png',+ alt: 'Twenty automation: create a workflow',+ },+ },+ {+ icon: 'eye',+ heading: {+ text: 'Layout',+ fontFamily: 'sans',+ },+ body: {+ text: 'Tailor record pages, menus, and views',+ },+ image: {+ src: '/images/product/stepper/step-three.png',+ alt: 'Twenty layout: record pages, menus, and views',+ },+ },+ ],+};diff --git a/packages/twenty-website-new/src/app/product/constants/tabs.ts b/packages/twenty-website-new/src/app/product/constants/tabs.tsnew file mode 100644index 00000000000..4210515744d--- /dev/null+++ b/packages/twenty-website-new/src/app/product/constants/tabs.ts@@ -0,0 +1,65 @@+import type { TabsDataType } from '@/sections/Tabs/types';++export const TABS_DATA: TabsDataType = {+ eyebrow: {+ heading: {+ text: 'AI & Automation',+ fontFamily: 'sans',+ },+ },+ heading: [+ {+ text: 'AI that actually\nhelps you ',+ fontFamily: 'serif',+ },+ {+ text: 'work faster',+ fontFamily: 'sans',+ },+ ],+ body: {+ text: 'The AI understands your CRM and takes action.',+ },+ tabs: [+ {+ body: {+ text: 'Show me all deals closing this month',+ },+ icon: 'search',+ image: {+ src: '/images/product/tabs/deals.png',+ alt: 'Deals view',+ },+ },+ {+ body: {+ text: 'Create follow-up tasks for my top 10 accounts',+ },+ icon: 'eye',+ image: {+ src: '/images/product/tabs/tasks.png',+ alt: 'Tasks view',+ },+ },+ {+ body: {+ text: "Summarize this customer's history",+ },+ icon: 'edit',+ image: {+ src: '/images/product/tabs/history.png',+ alt: 'History view',+ },+ },+ {+ body: {+ text: 'Create a workflow that send an email sequence',+ },+ icon: 'check',+ image: {+ src: '/images/product/tabs/workflow.png',+ alt: 'Workflow view',+ },+ },+ ],+};diff --git a/packages/twenty-website-new/src/app/product/constants/three-cards.ts b/packages/twenty-website-new/src/app/product/constants/three-cards.tsindex 57902ca01cd..563c3ea41be 100644--- a/packages/twenty-website-new/src/app/product/constants/three-cards.ts+++ b/packages/twenty-website-new/src/app/product/constants/three-cards.ts@@ -17,6 +17,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {},benefits: undefined,attribution: undefined,+ illustration: {+ src: 'https://app.endlesstools.io/embed/21767ad6-67f4-4941-a668-6cf772c27621',+ title: 'Endless Tools Editor',+ },},{heading: { text: 'Real-time data', fontFamily: 'sans' },@@ -25,6 +29,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {},benefits: undefined,attribution: undefined,+ illustration: {+ src: 'https://app.endlesstools.io/embed/9c504c9c-46f9-423c-98b3-2e840ddb3b1e',+ title: 'Endless Tools Editor',+ },},{heading: { text: 'Stay in Flow', fontFamily: 'sans' },@@ -33,6 +41,10 @@ export const THREE_CARDS_ILLUSTRATION_DATA: ThreeCardsIllustrationDataType = {},benefits: undefined,attribution: undefined,+ illustration: {+ src: 'https://app.endlesstools.io/embed/8d577747-2718-4e7e-87a6-dd9c334f3903',+ title: 'Endless Tools Editor',+ },},],};diff --git a/packages/twenty-website-new/src/app/product/page.tsx b/packages/twenty-website-new/src/app/product/page.tsxindex 681c9be58c6..f44c91f59b0 100644--- a/packages/twenty-website-new/src/app/product/page.tsx+++ b/packages/twenty-website-new/src/app/product/page.tsx@@ -1,9 +1,17 @@+import { FAQ_DATA } from '@/app/(home)/constants/faq';+import { MENU_DATA } from '@/app/(home)/constants/menu';import { TRUSTED_BY_DATA } from '@/app/(home)/constants/trusted-by';+import { DEMO_DATA } from '@/app/product/constants/demo';import { HERO_DATA } from '@/app/product/constants/hero';+import { TABS_DATA } from '@/app/product/constants/tabs';import { THREE_CARDS_ILLUSTRATION_DATA } from '@/app/product/constants/three-cards';import { Body, Eyebrow, Heading, LinkButton } from '@/design-system/components';import { Pages } from '@/enums/pages';+import { Demo } from '@/sections/Demo/components';+import { Faq } from '@/sections/Faq/components';import { Hero } from '@/sections/Hero/components';+import { Menu } from '@/sections/Menu/components';+import { Tabs } from '@/sections/Tabs/components';import { ThreeCards } from '@/sections/ThreeCards/components';import { TrustedBy } from '@/sections/TrustedBy/components';import { theme } from '@/theme';@@ -11,6 +19,18 @@ import { theme } from '@/theme';export default function ProductPage() {return (<>+ <Menu.Root+ backgroundColor={theme.colors.primary.background[100]}+ scheme="primary"+ navItems={MENU_DATA.navItems}+ socialLinks={MENU_DATA.socialLinks}+ >+ <Menu.Logo scheme="primary" />+ <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />+ <Menu.Social scheme="primary" socialLinks={MENU_DATA.socialLinks} />+ <Menu.Cta scheme="primary" />+ </Menu.Root>+<Hero.Root backgroundColor={theme.colors.primary.background[100]}><Hero.Heading page={Pages.Product} segments={HERO_DATA.heading} /><Hero.Body page={Pages.Product} body={HERO_DATA.body} />@@ -24,37 +44,89 @@ export default function ProductPage() {/></Hero.Cta><Hero.Illustration- src="https://app.endlesstools.io/embed/0bcf3ac2-58cf-4cd5-90bd-e8fada9816a9"- title="Endless Tools Editor"+ illustration={HERO_DATA.illustration}backgroundColor={theme.colors.secondary.background[5]}/>+ </Hero.Root>++ <TrustedBy.Root>+ <TrustedBy.Separator separator={TRUSTED_BY_DATA.separator} />+ <TrustedBy.Logos+ clientCountLabel={TRUSTED_BY_DATA.clientCountLabel}+ logos={TRUSTED_BY_DATA.logos}+ />+ </TrustedBy.Root>++ <Tabs.Root>+ <Eyebrow colorScheme="secondary" heading={TABS_DATA.eyebrow.heading} />+ <Tabs.Heading segments={TABS_DATA.heading} />+ <Tabs.Body body={TABS_DATA.body} />+ <Tabs.TabGroup tabs={TABS_DATA.tabs} />+ </Tabs.Root>- <TrustedBy.Root>- <TrustedBy.Separator separator={TRUSTED_BY_DATA.separator} />- <TrustedBy.Logos- clientCountLabel={TRUSTED_BY_DATA.clientCountLabel}- logos={TRUSTED_BY_DATA.logos}+ <ThreeCards.Root backgroundColor={theme.colors.primary.background[100]}>+ <ThreeCards.Intro page={Pages.Product} align="left">+ <Eyebrow+ colorScheme="primary"+ heading={THREE_CARDS_ILLUSTRATION_DATA.eyebrow.heading}/>- </TrustedBy.Root>+ <Heading+ segments={THREE_CARDS_ILLUSTRATION_DATA.heading}+ size="lg"+ weight="light"+ />+ <Body body={THREE_CARDS_ILLUSTRATION_DATA.body} size="sm" />+ </ThreeCards.Intro>+ <ThreeCards.IllustrationCards+ illustrationCards={THREE_CARDS_ILLUSTRATION_DATA.illustrationCards}+ />+ </ThreeCards.Root>- <ThreeCards.Root backgroundColor={theme.colors.primary.background[100]}>- <ThreeCards.Intro page={Pages.Product} align="left">- <Eyebrow- colorScheme="primary"- heading={THREE_CARDS_ILLUSTRATION_DATA.eyebrow.heading}+ {/* <ProductStepper.Flow+ body={STEPPER_DATA.body}+ eyebrow={STEPPER_DATA.eyebrow}+ heading={STEPPER_DATA.heading}+ steps={STEPPER_DATA.steps}+ /> */}++ <Demo.Root>+ <Eyebrow colorScheme="primary" heading={DEMO_DATA.eyebrow.heading} />+ <Demo.Heading segments={DEMO_DATA.heading} />+ <Demo.Cta>+ <LinkButton+ color="secondary"+ href="https://app.twenty.com/welcome"+ label="Try twenty cloud"+ type="anchor"+ variant="contained"+ />+ </Demo.Cta>+ <Demo.Screenshot image={DEMO_DATA.image} />+ </Demo.Root>++ <Faq.Root illustration={FAQ_DATA.illustration}>+ <Faq.Intro>+ <Eyebrow colorScheme="secondary" heading={FAQ_DATA.eyebrow.heading} />+ <Faq.Heading segments={FAQ_DATA.heading} />+ <Faq.Cta>+ <LinkButton+ color="primary"+ href="https://app.twenty.com/welcome"+ label="Get started"+ type="anchor"+ variant="contained"/>- <Heading- segments={THREE_CARDS_ILLUSTRATION_DATA.heading}- size="lg"- weight="light"+ <LinkButton+ color="primary"+ href="https://twenty.com/contact"+ label="Talk to us"+ type="anchor"+ variant="outlined"/>- <Body body={THREE_CARDS_ILLUSTRATION_DATA.body} size="sm" />- </ThreeCards.Intro>- <ThreeCards.IllustrationCards- illustrationCards={THREE_CARDS_ILLUSTRATION_DATA.illustrationCards}- />- </ThreeCards.Root>- </Hero.Root>+ </Faq.Cta>+ </Faq.Intro>+ <Faq.Items questions={FAQ_DATA.questions} />+ </Faq.Root></>);}diff --git a/packages/twenty-website-new/src/app/why-twenty/constants/hero.ts b/packages/twenty-website-new/src/app/why-twenty/constants/hero.tsindex 7db806d4295..4ce36be1c6b 100644--- a/packages/twenty-website-new/src/app/why-twenty/constants/hero.ts+++ b/packages/twenty-website-new/src/app/why-twenty/constants/hero.ts@@ -1,6 +1,6 @@-import { HeroDataType } from '@/sections/Hero/types';+import { HeroWhyTwentyDataType } from '@/sections/Hero/types';-export const HERO_DATA: HeroDataType = {+export const HERO_DATA: HeroWhyTwentyDataType = {heading: [{ text: 'The future of CRM is built, ', fontFamily: 'serif' },{ text: 'not bought.', fontFamily: 'sans' },@@ -8,4 +8,12 @@ export const HERO_DATA: HeroDataType = {body: {text: 'Most packaged software makes companies more similar. CRM is no exception. AI is turning software into a commodity. That does not make your go-to-market a commodity. It makes it the battleground.',},+ image: {+ src: '/images/why-twenty/hero/background.png',+ alt: '',+ },+ illustration: {+ src: 'https://app.endlesstools.io/embed/479566da-0f55-44ef-99fe-90350aa88b9c',+ title: 'Endless Tools Editor',+ },};diff --git a/packages/twenty-website-new/src/app/why-twenty/page.tsx b/packages/twenty-website-new/src/app/why-twenty/page.tsxindex 69a3b2550d2..6fb441d33c1 100644--- a/packages/twenty-website-new/src/app/why-twenty/page.tsx+++ b/packages/twenty-website-new/src/app/why-twenty/page.tsx@@ -1,14 +1,37 @@+import { MENU_DATA } from '@/app/(home)/constants/menu';import { HERO_DATA } from '@/app/why-twenty/constants/hero';import { Pages } from '@/enums/pages';import { Hero } from '@/sections/Hero/components';+import { Menu } from '@/sections/Menu/components';import { theme } from '@/theme';export default function WhyTwentyPage() {return (- <Hero.Root backgroundColor={theme.colors.secondary.background[100]}>- <Hero.Heading page={Pages.WhyTwenty} segments={HERO_DATA.heading} size="xl" />- <Hero.Body page={Pages.WhyTwenty} body={HERO_DATA.body} />- <Hero.WhyTwentyVisual />- </Hero.Root>+ <>+ <Menu.Root+ backgroundColor={theme.colors.secondary.background[100]}+ scheme="secondary"+ navItems={MENU_DATA.navItems}+ socialLinks={MENU_DATA.socialLinks}+ >+ <Menu.Logo scheme="secondary" />+ <Menu.Nav scheme="secondary" navItems={MENU_DATA.navItems} />+ <Menu.Social scheme="secondary" socialLinks={MENU_DATA.socialLinks} />+ <Menu.Cta scheme="secondary" />+ </Menu.Root>++ <Hero.Root backgroundColor={theme.colors.secondary.background[100]}>+ <Hero.Heading+ page={Pages.WhyTwenty}+ segments={HERO_DATA.heading}+ size="xl"+ />+ <Hero.Body page={Pages.WhyTwenty} body={HERO_DATA.body} />+ <Hero.WhyTwentyVisual+ image={HERO_DATA.image}+ illustration={HERO_DATA.illustration}+ />+ </Hero.Root>+ </>);}diff --git a/packages/twenty-website-new/src/icons/index.ts b/packages/twenty-website-new/src/icons/index.tsindex 0b42ff04113..5fb9c89d625 100644--- a/packages/twenty-website-new/src/icons/index.ts+++ b/packages/twenty-website-new/src/icons/index.ts@@ -1,4 +1,13 @@export { CLIENT_ICONS, FlexportIcon, ZapierIcon } from "./clients";+export {+ CheckIcon,+ EditIcon,+ EyeIcon,+ INFORMATIVE_ICONS,+ SearchIcon,+ UsersIcon,+ type InformativeIconProps,+} from "./informative";export { ArrowLeftIcon } from "./functional/ArrowLeft";export { ArrowRightIcon } from "./functional/ArrowRight";export { ArrowRightUpIcon } from "./functional/ArrowRightUp";@@ -9,7 +18,11 @@ export { PlusIcon } from "./functional/Plus";export { RectangleFillIcon } from "./functional/RectangleFill";export { RectangleOutlineIcon } from "./functional/RectangleOutline";export { Logo } from "./logo/Logo";-export { DiscordIcon } from "./social/Discord";-export { GitHubIcon } from "./social/GitHub";-export { LinkedInIcon } from "./social/LinkedIn";-export { XIcon } from "./social/X";+export {+ DiscordIcon,+ GitHubIcon,+ LinkedInIcon,+ SOCIAL_ICONS,+ XIcon,+ type SocialIconProps,+} from './social';diff --git a/packages/twenty-website-new/src/icons/informative/Check.tsx b/packages/twenty-website-new/src/icons/informative/Check.tsxnew file mode 100644index 00000000000..3801583f056--- /dev/null+++ b/packages/twenty-website-new/src/icons/informative/Check.tsx@@ -0,0 +1,25 @@+type CheckIconProps = { size: number; color: string };++export function CheckIcon({ size, color }: CheckIconProps) {+ return (+ <svg+ width={size}+ height={size}+ viewBox="0 0 16 16"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ aria-hidden+ >+ <path+ d="m11 6-3.75 4L5 8"+ stroke={color}+ strokeWidth={2}+ />+ <path+ d="M8 14a6 6 0 1 0-4.243-1.757"+ stroke={color}+ strokeWidth={2}+ />+ </svg>+ );+}diff --git a/packages/twenty-website-new/src/icons/informative/Edit.tsx b/packages/twenty-website-new/src/icons/informative/Edit.tsxnew file mode 100644index 00000000000..933e26bd480--- /dev/null+++ b/packages/twenty-website-new/src/icons/informative/Edit.tsx@@ -0,0 +1,30 @@+'use client';++import { useId } from 'react';++type EditIconProps = { size: number; color: string };++export function EditIcon({ size, color }: EditIconProps) {+ const clipPathId = useId().replace(/:/g, '');++ return (+ <svg+ width={size}+ height={size}+ viewBox="0 0 16 16"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ aria-hidden+ >+ <g clipPath={`url(#${clipPathId})`} stroke={color} strokeWidth={2}>+ <path d="M7.604 3.621c-.744.034-1.476.112-2.19.194-.96.11-1.729.88-1.835 1.84-.104.94-.2 1.911-.2 2.904s.096 1.963.2 2.904c.106.96.875 1.729 1.835 1.839.946.109 1.922.211 2.919.211s1.973-.102 2.92-.211a2.094 2.094 0 0 0 1.834-1.839 35 35 0 0 0 .178-2.032" />+ <path d="M11.916 2.61 8.847 6.09a1.74 1.74 0 0 0-.394.791L8.087 8.6c-.074.349.29.68.63.572l1.724-.542c.287-.09.541-.247.743-.46l3.171-3.336c.578-.608.477-1.625-.222-2.243-.683-.604-1.676-.596-2.217.018Z" />+ </g>+ <defs>+ <clipPath id={clipPathId}>+ <path fill="#fff" d="M0 0h16v16H0z" />+ </clipPath>+ </defs>+ </svg>+ );+}diff --git a/packages/twenty-website-new/src/icons/informative/Eye.tsx b/packages/twenty-website-new/src/icons/informative/Eye.tsxnew file mode 100644index 00000000000..2cb8aefa79a--- /dev/null+++ b/packages/twenty-website-new/src/icons/informative/Eye.tsx@@ -0,0 +1,27 @@+type EyeIconProps = { size: number; color: string };++export function EyeIcon({ size, color }: EyeIconProps) {+ const height = (size * 13) / 16;++ return (+ <svg+ width={size}+ height={height}+ viewBox="0 0 16 13"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ aria-hidden+ >+ <path+ d="M9.437 5.719a1.719 1.719 0 1 1-3.437 0 1.719 1.719 0 0 1 3.437 0Z"+ stroke={color}+ strokeWidth={2}+ />+ <path+ d="M11.458 2.363C10.38 1.583 9.07 1 7.656 1 3.98 1 1 4.94 1 6.059 1 6.77 2.207 8.626 4.033 9.88m9.265-5.765c.643.801 1.015 1.549 1.015 1.944 0 1.118-2.98 5.059-6.657 5.059a5.5 5.5 0 0 1-1.362-.177"+ stroke={color}+ strokeWidth={2}+ />+ </svg>+ );+}diff --git a/packages/twenty-website-new/src/icons/informative/Search.tsx b/packages/twenty-website-new/src/icons/informative/Search.tsxnew file mode 100644index 00000000000..1da1f566547--- /dev/null+++ b/packages/twenty-website-new/src/icons/informative/Search.tsx@@ -0,0 +1,29 @@+type SearchIconProps = { size: number; color: string };++export function SearchIcon({ size, color }: SearchIconProps) {+ return (+ <svg+ width={size}+ height={size}+ viewBox="0 0 16 16"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ aria-hidden+ >+ <circle+ cx={6.5}+ cy={6.5}+ r={4.5}+ stroke={color}+ strokeWidth={2}+ strokeLinejoin="round"+ />+ <path+ d="m11 11 4 4"+ stroke={color}+ strokeWidth={2}+ strokeLinejoin="round"+ />+ </svg>+ );+}diff --git a/packages/twenty-website-new/src/icons/informative/index.ts b/packages/twenty-website-new/src/icons/informative/index.tsnew file mode 100644index 00000000000..5c3ad32d33e--- /dev/null+++ b/packages/twenty-website-new/src/icons/informative/index.ts@@ -0,0 +1,29 @@+import { createElement, type ComponentType } from 'react';+import { CheckIcon } from './Check';+import { EditIcon } from './Edit';+import { EyeIcon } from './Eye';+import { SearchIcon } from './Search';+import { UsersIcon } from './Users';++export { CheckIcon } from './Check';+export { EditIcon } from './Edit';+export { EyeIcon } from './Eye';+export { SearchIcon } from './Search';+export { UsersIcon } from './Users';++export type InformativeIconProps = { size: number; color: string };++function InformativeUsersIcon({ size, color }: InformativeIconProps) {+ return createElement(UsersIcon, { size, fillColor: color });+}++export const INFORMATIVE_ICONS: Record<+ string,+ ComponentType<InformativeIconProps>+> = {+ check: CheckIcon,+ edit: EditIcon,+ eye: EyeIcon,+ search: SearchIcon,+ users: InformativeUsersIcon,+};diff --git a/packages/twenty-website-new/src/icons/social/index.ts b/packages/twenty-website-new/src/icons/social/index.tsnew file mode 100644index 00000000000..634f47f7c02--- /dev/null+++ b/packages/twenty-website-new/src/icons/social/index.ts@@ -0,0 +1,19 @@+import type { ComponentType } from 'react';+import { DiscordIcon } from './Discord';+import { GitHubIcon } from './GitHub';+import { LinkedInIcon } from './LinkedIn';+import { XIcon } from './X';++export { DiscordIcon } from './Discord';+export { GitHubIcon } from './GitHub';+export { LinkedInIcon } from './LinkedIn';+export { XIcon } from './X';++export type SocialIconProps = { size: number; fillColor: string };++export const SOCIAL_ICONS: Record<string, ComponentType<SocialIconProps>> = {+ discord: DiscordIcon,+ github: GitHubIcon,+ linkedin: LinkedInIcon,+ x: XIcon,+};diff --git a/packages/twenty-website-new/src/sections/Demo/components/Cta/Cta.tsx b/packages/twenty-website-new/src/sections/Demo/components/Cta/Cta.tsxnew file mode 100644index 00000000000..09c2942cd7d--- /dev/null+++ b/packages/twenty-website-new/src/sections/Demo/components/Cta/Cta.tsx@@ -0,0 +1,16 @@+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const CTAsContainer = styled.div`+ display: flex;+ flex-wrap: wrap;+ gap: ${theme.spacing(4)};+ justify-content: center;+`;++type CtaProps = { children: ReactNode };++export function Cta({ children }: CtaProps) {+ return <CTAsContainer>{children}</CTAsContainer>;+}diff --git a/packages/twenty-website-new/src/sections/Demo/components/Heading/Heading.tsx b/packages/twenty-website-new/src/sections/Demo/components/Heading/Heading.tsxnew file mode 100644index 00000000000..2f6047da9ba--- /dev/null+++ b/packages/twenty-website-new/src/sections/Demo/components/Heading/Heading.tsx@@ -0,0 +1,20 @@+import { Heading as BaseHeading } from '@/design-system/components';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const StyledHeading = styled(BaseHeading)`+ max-width: 360px;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 672px;+ }+`;++type HeadingProps = {+ segments: HeadingType[];+};++export function Heading({ segments }: HeadingProps) {+ return <StyledHeading segments={segments} size="lg" weight="light" />;+}diff --git a/packages/twenty-website-new/src/sections/Demo/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Demo/components/Root/Root.tsxnew file mode 100644index 00000000000..d0d26c58920--- /dev/null+++ b/packages/twenty-website-new/src/sections/Demo/components/Root/Root.tsx@@ -0,0 +1,89 @@+import { Container } from '@/design-system/components';+import { theme } from '@/theme';+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import NextImage from 'next/image';+import type { ReactNode } from 'react';++const RootWrapper = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ position: relative;+ width: 100%;+`;++const BackgroundLayer = styled.div`+ align-self: stretch;+ grid-column: 1;+ grid-row: 1;+ opacity: 0.6;+ pointer-events: none;+ position: relative;+ width: 100%;+ z-index: 0;+`;++const PatternLayer = styled.div`+ bottom: 0;+ height: 60%;+ left: 50%;+ position: absolute;+ transform: translateX(-50%);+ width: 100%;+`;++const patternImageClassName = css`+ object-fit: cover;+ object-position: center top;+`;++const StyledSection = styled.section`+ grid-column: 1;+ grid-row: 1;+ position: relative;+ width: 100%;+ z-index: 1;+`;++const StyledContainer = styled(Container)`+ display: grid;+ grid-template-columns: 1fr;+ justify-items: center;+ padding-bottom: ${theme.spacing(16)};+ padding-left: ${theme.spacing(4)};+ padding-right: ${theme.spacing(4)};+ padding-top: ${theme.spacing(16)};+ row-gap: ${theme.spacing(6)};+ text-align: center;+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ padding-bottom: ${theme.spacing(24)};+ padding-left: ${theme.spacing(10)};+ padding-right: ${theme.spacing(10)};+ padding-top: ${theme.spacing(24)};+ }+`;++type RootProps = { children: ReactNode };++export function Root({ children }: RootProps) {+ return (+ <RootWrapper>+ <BackgroundLayer aria-hidden>+ <PatternLayer>+ <NextImage+ alt=""+ className={patternImageClassName}+ fill+ sizes="(min-width: 921px) 100vw"+ src="/images/product/demo/background.png"+ />+ </PatternLayer>+ </BackgroundLayer>+ <StyledSection>+ <StyledContainer>{children}</StyledContainer>+ </StyledSection>+ </RootWrapper>+ );+}diff --git a/packages/twenty-website-new/src/sections/Demo/components/Screenshot/Screenshot.tsx b/packages/twenty-website-new/src/sections/Demo/components/Screenshot/Screenshot.tsxnew file mode 100644index 00000000000..6ddbe7d2b75--- /dev/null+++ b/packages/twenty-website-new/src/sections/Demo/components/Screenshot/Screenshot.tsx@@ -0,0 +1,42 @@+import type { ImageType } from '@/design-system/components/Image/types/Image';+import { theme } from '@/theme';+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import NextImage from 'next/image';++const ScreenshotRoot = styled.div`+ aspect-ratio: 136 / 69;+ border-radius: ${theme.radius(4)};+ overflow: hidden;+ position: relative;+ width: 100%;+ max-width: 800px;+ margin-top: ${theme.spacing(12)};+ margin-bottom: ${theme.spacing(11)};++ @media (min-width: ${theme.breakpoints.md}px) {+ border-radius: ${theme.radius(6)};+ margin-top: ${theme.spacing(19)};+ margin-bottom: ${theme.spacing(11)};+ }+`;++const screenshotImageClassName = css`+ object-fit: cover;+`;++type ScreenshotProps = { image: ImageType };++export function Screenshot({ image }: ScreenshotProps) {+ return (+ <ScreenshotRoot>+ <NextImage+ alt={image.alt}+ className={screenshotImageClassName}+ fill+ sizes="(min-width: 1440px) 1360px, 100vw"+ src={image.src}+ />+ </ScreenshotRoot>+ );+}diff --git a/packages/twenty-website-new/src/sections/Demo/components/index.ts b/packages/twenty-website-new/src/sections/Demo/components/index.tsnew file mode 100644index 00000000000..071af376686--- /dev/null+++ b/packages/twenty-website-new/src/sections/Demo/components/index.ts@@ -0,0 +1,6 @@+import { Cta } from './Cta/Cta';+import { Heading } from './Heading/Heading';+import { Root } from './Root/Root';+import { Screenshot } from './Screenshot/Screenshot';++export const Demo = { Cta, Heading, Root, Screenshot };diff --git a/packages/twenty-website-new/src/sections/Demo/types/DemoData.ts b/packages/twenty-website-new/src/sections/Demo/types/DemoData.tsnew file mode 100644index 00000000000..c41a421e246--- /dev/null+++ b/packages/twenty-website-new/src/sections/Demo/types/DemoData.ts@@ -0,0 +1,9 @@+import type { EyebrowType } from '@/design-system/components/Eyebrow/types/Eyebrow';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import type { ImageType } from '@/design-system/components/Image/types/Image';++export type DemoDataType = {+ eyebrow: EyebrowType;+ heading: HeadingType[];+ image: ImageType;+};diff --git a/packages/twenty-website-new/src/sections/Demo/types/index.ts b/packages/twenty-website-new/src/sections/Demo/types/index.tsnew file mode 100644index 00000000000..b2d705eeb3b--- /dev/null+++ b/packages/twenty-website-new/src/sections/Demo/types/index.ts@@ -0,0 +1 @@+export type { DemoDataType } from './DemoData';diff --git a/packages/twenty-website-new/src/sections/EngagementBand/EngagementBandShape.tsx b/packages/twenty-website-new/src/sections/EngagementBand/EngagementBandShape.tsxnew file mode 100644index 00000000000..ac777ac571a--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/EngagementBandShape.tsx@@ -0,0 +1,34 @@+const ENGAGEMENT_BAND_SHAPE_PATH =+ 'M0 4a4 4 0 0 1 4-4h1352a4 4 0 0 1 4 4v89.502a8 8 0 0 1-2.57 5.873l-35.13 32.498a8 8 0 0 1-5.43 2.127H4a4 4 0 0 1-4-4z';++type EngagementBandShapeProps = {+ fillColor: string;+};++export function EngagementBandShape({ fillColor }: EngagementBandShapeProps) {+ return (+ <div+ aria-hidden+ style={{+ height: '100%',+ inset: 0,+ pointerEvents: 'none',+ position: 'absolute',+ width: '100%',+ zIndex: -1,+ }}+ >+ <svg+ fill="none"+ height="100%"+ preserveAspectRatio="none"+ style={{ display: 'block' }}+ viewBox="0 0 1360 134"+ width="100%"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path d={ENGAGEMENT_BAND_SHAPE_PATH} fill={fillColor} />+ </svg>+ </div>+ );+}diff --git a/packages/twenty-website-new/src/sections/EngagementBand/components/Actions/Actions.tsx b/packages/twenty-website-new/src/sections/EngagementBand/components/Actions/Actions.tsxnew file mode 100644index 00000000000..bb7d8b9bb75--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/components/Actions/Actions.tsx@@ -0,0 +1,24 @@+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledActions = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ justify-items: start;+ min-width: 0;+ position: relative;+ z-index: 1;++ @media (min-width: ${theme.breakpoints.md}px) {+ justify-items: end;+ }+`;++type ActionsProps = {+ children: ReactNode;+};++export function Actions({ children }: ActionsProps) {+ return <StyledActions>{children}</StyledActions>;+}diff --git a/packages/twenty-website-new/src/sections/EngagementBand/components/Body/Body.tsx b/packages/twenty-website-new/src/sections/EngagementBand/components/Body/Body.tsxnew file mode 100644index 00000000000..2528a4a3ab4--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/components/Body/Body.tsx@@ -0,0 +1,16 @@+import { Body as BaseBody } from '@/design-system/components';+import type { BodyType } from '@/design-system/components/Body/types/Body';+import { styled } from '@linaria/react';++const StyledBody = styled(BaseBody)`+ max-width: 668px;+ opacity: 0.9;+`;++type BodyProps = {+ body: BodyType;+};++export function Body({ body }: BodyProps) {+ return <StyledBody body={body} size="sm" weight="regular" />;+}diff --git a/packages/twenty-website-new/src/sections/EngagementBand/components/Copy/Copy.tsx b/packages/twenty-website-new/src/sections/EngagementBand/components/Copy/Copy.tsxnew file mode 100644index 00000000000..ecbf9ea38c4--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/components/Copy/Copy.tsx@@ -0,0 +1,21 @@+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledCopy = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ max-width: 100%;+ min-width: 0;+ position: relative;+ row-gap: ${theme.spacing(2)};+ z-index: 1;+`;++type CopyProps = {+ children: ReactNode;+};++export function Copy({ children }: CopyProps) {+ return <StyledCopy>{children}</StyledCopy>;+}diff --git a/packages/twenty-website-new/src/sections/EngagementBand/components/Heading/Heading.tsx b/packages/twenty-website-new/src/sections/EngagementBand/components/Heading/Heading.tsxnew file mode 100644index 00000000000..79f5d07f935--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/components/Heading/Heading.tsx@@ -0,0 +1,20 @@+import { Heading as BaseHeading } from '@/design-system/components';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const StyledHeading = styled(BaseHeading)`+ white-space: pre-line;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 668px;+ }+`;++type HeadingProps = {+ segments: HeadingType;+};++export function Heading({ segments }: HeadingProps) {+ return <StyledHeading segments={segments} size="md" weight="light" />;+}diff --git a/packages/twenty-website-new/src/sections/EngagementBand/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/EngagementBand/components/Root/Root.tsxnew file mode 100644index 00000000000..89fab7ed1f0--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/components/Root/Root.tsx@@ -0,0 +1,35 @@+import { Container } from '@/design-system/components';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledSection = styled.section`+ width: 100%;+`;++const StyledContainer = styled(Container)`+ min-width: 0;+ padding-bottom: ${theme.spacing(20)};+ padding-left: ${theme.spacing(4)};+ padding-right: ${theme.spacing(4)};+ padding-top: ${theme.spacing(6)};+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ padding-left: ${theme.spacing(10)};+ padding-right: ${theme.spacing(10)};+ }+`;++type RootProps = {+ backgroundColor: string;+ children: ReactNode;+};++export function Root({ backgroundColor, children }: RootProps) {+ return (+ <StyledSection style={{ backgroundColor }}>+ <StyledContainer>{children}</StyledContainer>+ </StyledSection>+ );+}diff --git a/packages/twenty-website-new/src/sections/EngagementBand/components/Strip/Strip.tsx b/packages/twenty-website-new/src/sections/EngagementBand/components/Strip/Strip.tsxnew file mode 100644index 00000000000..002678345ad--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/components/Strip/Strip.tsx@@ -0,0 +1,80 @@+import { EngagementBandShape } from '@/sections/EngagementBand/EngagementBandShape';+import { theme } from '@/theme';+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import NextImage from 'next/image';+import type { ReactNode } from 'react';++const ENGAGEMENT_BAND_OVERLAY_SRC =+ '/images/pricing/engagement-band/overlay.png';++const OverlayLayer = styled.div`+ bottom: 0;+ left: 60%;+ pointer-events: none;+ position: absolute;+ right: 0;+ top: 0;+ z-index: 0;+`;++const overlayImageClassName = css`+ object-fit: cover;+ object-position: right center;+`;++const StyledStrip = styled.div`+ border-radius: ${theme.radius(1)};+ display: grid;+ grid-template-columns: 1fr;+ max-width: 100%;+ min-width: 0;+ overflow: hidden;+ padding-top: ${theme.spacing(6)};+ padding-right: ${theme.spacing(4)};+ padding-bottom: ${theme.spacing(6)};+ padding-left: ${theme.spacing(6)};+ position: relative;+ row-gap: ${theme.spacing(6)};+ z-index: 0;++ @media (min-width: ${theme.breakpoints.md}px) {+ align-items: center;+ column-gap: ${theme.spacing(2)};+ grid-template-columns: minmax(0, 668px) minmax(0, 1fr);+ padding-right: ${theme.spacing(16)};+ row-gap: 0;+ }++ &[data-variant='primary'] {+ color: ${theme.colors.primary.text[100]};+ }++ &[data-variant='secondary'] {+ color: ${theme.colors.secondary.text[100]};+ }+`;++type StripProps = {+ children: ReactNode;+ fillColor: string;+ variant: 'primary' | 'secondary';+};++export function Strip({ children, fillColor, variant }: StripProps) {+ return (+ <StyledStrip data-variant={variant}>+ <EngagementBandShape fillColor={fillColor} />+ <OverlayLayer aria-hidden>+ <NextImage+ alt=""+ className={overlayImageClassName}+ fill+ sizes="50vw"+ src={ENGAGEMENT_BAND_OVERLAY_SRC}+ />+ </OverlayLayer>+ {children}+ </StyledStrip>+ );+}diff --git a/packages/twenty-website-new/src/sections/EngagementBand/components/index.ts b/packages/twenty-website-new/src/sections/EngagementBand/components/index.tsnew file mode 100644index 00000000000..7e57749e96a--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/components/index.ts@@ -0,0 +1,15 @@+import { Actions } from './Actions/Actions';+import { Body } from './Body/Body';+import { Copy } from './Copy/Copy';+import { Heading } from './Heading/Heading';+import { Root } from './Root/Root';+import { Strip } from './Strip/Strip';++export const EngagementBand = {+ Actions,+ Body,+ Copy,+ Heading,+ Root,+ Strip,+};diff --git a/packages/twenty-website-new/src/sections/EngagementBand/types/EngagementBandData.ts b/packages/twenty-website-new/src/sections/EngagementBand/types/EngagementBandData.tsnew file mode 100644index 00000000000..42285fa99ae--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/types/EngagementBandData.ts@@ -0,0 +1,7 @@+import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';++export type EngagementBandDataType = {+ body: BodyType;+ heading: HeadingType;+};diff --git a/packages/twenty-website-new/src/sections/EngagementBand/types/index.ts b/packages/twenty-website-new/src/sections/EngagementBand/types/index.tsnew file mode 100644index 00000000000..1c6d688860b--- /dev/null+++ b/packages/twenty-website-new/src/sections/EngagementBand/types/index.ts@@ -0,0 +1 @@+export type { EngagementBandDataType } from './EngagementBandData';diff --git a/packages/twenty-website-new/src/sections/Faq/components/Cta/Cta.tsx b/packages/twenty-website-new/src/sections/Faq/components/Cta/Cta.tsxnew file mode 100644index 00000000000..3a65dd915b6--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/components/Cta/Cta.tsx@@ -0,0 +1,18 @@+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledCta = styled.div`+ column-gap: ${theme.spacing(2)};+ display: grid;+ grid-template-columns: auto auto;+ justify-content: start;+`;++type CtaProps = {+ children: ReactNode;+};++export function Cta({ children }: CtaProps) {+ return <StyledCta>{children}</StyledCta>;+}diff --git a/packages/twenty-website-new/src/sections/Faq/components/Heading/Heading.tsx b/packages/twenty-website-new/src/sections/Faq/components/Heading/Heading.tsxnew file mode 100644index 00000000000..79f86ca19eb--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/components/Heading/Heading.tsx@@ -0,0 +1,28 @@+import { Heading as BaseHeading } from '@/design-system/components';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import { theme } from '@/theme';+import { css } from '@linaria/core';++const faqHeadingClassName = css`+ white-space: pre-line;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 700px;+ }+`;++type HeadingProps = {+ segments: HeadingType[];+};++export function Heading({ segments }: HeadingProps) {+ return (+ <BaseHeading+ as="h2"+ className={faqHeadingClassName}+ segments={segments}+ size="lg"+ weight="light"+ />+ );+}diff --git a/packages/twenty-website-new/src/sections/Faq/components/Intro/Intro.tsx b/packages/twenty-website-new/src/sections/Faq/components/Intro/Intro.tsxnew file mode 100644index 00000000000..b73d532ca7d--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/components/Intro/Intro.tsx@@ -0,0 +1,17 @@+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledIntro = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ row-gap: ${theme.spacing(6)};+`;++type IntroProps = {+ children: ReactNode;+};++export function Intro({ children }: IntroProps) {+ return <StyledIntro>{children}</StyledIntro>;+}diff --git a/packages/twenty-website-new/src/sections/Faq/components/Item/Item.tsx b/packages/twenty-website-new/src/sections/Faq/components/Item/Item.tsxnew file mode 100644index 00000000000..80b8f73cbb5--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/components/Item/Item.tsx@@ -0,0 +1,206 @@+'use client';++import {+ Accordion as BaseAccordion,+ type AccordionTriggerState,+} from '@base-ui/react/accordion';+import {+ MinusIcon,+ PlusIcon,+ RectangleFillIcon,+ RectangleOutlineIcon,+} from '@/icons';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import { IconButton } from '@/design-system/components';+import type { FaqQuestionType } from '@/sections/Faq/types/FaqQuestion';++const QuestionText = styled.span`+ color: ${theme.colors.secondary.text[40]};+ font-size: 2rem;+ font-weight: ${theme.font.weight.regular};+ grid-column: 3;+ line-height: 1.25;+ min-width: 0;+ overflow-wrap: break-word;+ transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);+`;++const QuestionIconLayer = styled.span`+ bottom: 0;+ display: block;+ left: 0;+ position: absolute;+ right: 0;+ top: 7px;+ transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);++ &[data-layer='outline'] {+ opacity: 1;+ }++ &[data-layer='fill'] {+ opacity: 0;+ }+`;++const ToggleContainer = styled.div`+ grid-column: 5;+ margin-top: ${theme.spacing(0.5)};++ button::after {+ bottom: 0;+ content: '';+ left: 0;+ position: absolute;+ right: 0;+ top: 0;+ }+`;++export const ItemRow = styled.div`+ border-top: 1px solid ${theme.colors.secondary.text[40]};+ display: grid;+ grid-template-columns: 14px 12px 1fr 32px 36px;+ padding-bottom: ${theme.spacing(6)};+ padding-top: ${theme.spacing(6)};+ row-gap: ${theme.spacing(2)};++ &[data-open] ${QuestionText} {+ color: ${theme.colors.secondary.text[100]};+ }++ &[data-open] ${QuestionIconLayer}[data-layer='outline'] {+ opacity: 0;+ }++ &[data-open] ${QuestionIconLayer}[data-layer='fill'] {+ opacity: 1;+ }++ @media (min-width: ${theme.breakpoints.md}px) {+ grid-template-columns: 14px 60px 1fr 80px 36px;+ row-gap: ${theme.spacing(4)};+ }+`;++const Header = styled.h3`+ display: grid;+ grid-column: 1 / -1;+ grid-template-columns: subgrid;+ margin-bottom: 0;+ margin-left: 0;+ margin-right: 0;+ margin-top: 0;+ position: relative;++ &:hover ${QuestionText} {+ color: #ffffff;+ }++ &:hover ${QuestionIconLayer}[data-layer='outline'] {+ opacity: 0;+ }++ &:hover ${QuestionIconLayer}[data-layer='fill'] {+ opacity: 1;+ }++ &:hover ${ToggleContainer} button {+ border-color: ${theme.colors.secondary.text[100]};+ }+`;++const QuestionIconContainer = styled.span`+ grid-column: 1;+ height: 12px;+ position: relative;+ width: 12px;+`;++const AnswerWrapper = styled.div`+ display: grid;+ grid-column: 3;+ grid-template-rows: 0fr;+ opacity: 0;+ transition:+ grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1),+ opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),+ visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);+ visibility: hidden;++ &[data-open] {+ grid-template-rows: 1fr;+ opacity: 1;+ visibility: visible;+ }+`;++const AnswerInner = styled.div`+ overflow: hidden;+`;++const AnswerText = styled.div`+ color: ${theme.colors.secondary.text[100]};+ font-family: ${theme.font.family.sans};+ font-size: ${theme.font.size(4)};+ line-height: 1.5;+ margin: 0;+`;++type ItemProps = {+ question: FaqQuestionType;+ value: string;+};++export function Item({ question, value }: ItemProps) {+ return (+ <BaseAccordion.Item key={value} value={value} render={<ItemRow />}>+ <BaseAccordion.Header render={<Header />}>+ <QuestionIconContainer aria-hidden>+ <QuestionIconLayer data-layer="outline">+ <RectangleOutlineIcon+ size={14}+ strokeColor={theme.colors.secondary.text[100]}+ />+ </QuestionIconLayer>+ <QuestionIconLayer data-layer="fill">+ <RectangleFillIcon+ size={14}+ fillColor={theme.colors.secondary.text[100]}+ />+ </QuestionIconLayer>+ </QuestionIconContainer>++ <QuestionText>{question.question.text}</QuestionText>++ <ToggleContainer>+ <BaseAccordion.Trigger+ render={(props, state: AccordionTriggerState) => {+ const isOpen = state.open;+ return (+ <IconButton+ icon={isOpen ? MinusIcon : PlusIcon}+ ariaLabel={isOpen ? 'Collapse' : 'Expand'}+ borderColor={theme.colors.secondary.border[40]}+ iconFillColor="none"+ iconSize={12}+ iconStrokeColor={theme.colors.secondary.border[80]}+ size={36}+ onClick={props.onClick}+ ariaExpanded={isOpen}+ />+ );+ }}+ />+ </ToggleContainer>+ </BaseAccordion.Header>++ <BaseAccordion.Panel render={<AnswerWrapper />} keepMounted>+ <AnswerInner>+ <AnswerText>{question.answer.text}</AnswerText>+ </AnswerInner>+ </BaseAccordion.Panel>+ </BaseAccordion.Item>+ );+}diff --git a/packages/twenty-website-new/src/sections/Faq/components/Items/Items.tsx b/packages/twenty-website-new/src/sections/Faq/components/Items/Items.tsxnew file mode 100644index 00000000000..9407d2b48b7--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/components/Items/Items.tsx@@ -0,0 +1,36 @@+'use client';++import { Accordion as BaseAccordion } from '@base-ui/react/accordion';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { FaqQuestionType } from '@/sections/Faq/types/FaqQuestion';+import { Item } from '../Item/Item';++type ItemsProps = {+ questions: FaqQuestionType[];+};++const AccordionList = styled.div`+ margin-bottom: 0;+ margin-left: auto;+ margin-right: auto;+ margin-top: 0;++ @media (min-width: ${theme.breakpoints.md}px) {+ width: 66%;+ }+`;++export function Items({ questions }: ItemsProps) {+ return (+ <BaseAccordion.Root render={<AccordionList />}>+ {questions.map((faqQuestion, index) => (+ <Item+ key={index}+ question={faqQuestion}+ value={`faq-${index}`}+ />+ ))}+ </BaseAccordion.Root>+ );+}diff --git a/packages/twenty-website-new/src/sections/Faq/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Faq/components/Root/Root.tsxnew file mode 100644index 00000000000..202a264864b--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/components/Root/Root.tsx@@ -0,0 +1,43 @@+import { Container } from '@/design-system/components';+import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledSection = styled.section`+ background-color: ${theme.colors.secondary.background[100]};+ color: ${theme.colors.secondary.text[100]};+ overflow: hidden;+ position: relative;+ width: 100%;+`;++const StyledContainer = styled(Container)`+ display: grid;+ grid-template-columns: 1fr;+ padding-bottom: ${theme.spacing(30)};+ padding-left: ${theme.spacing(6)};+ padding-right: ${theme.spacing(6)};+ padding-top: ${theme.spacing(30)};+ position: relative;+ row-gap: ${theme.spacing(20)};+ z-index: 1;++ @media (min-width: ${theme.breakpoints.md}px) {+ padding-left: ${theme.spacing(10)};+ padding-right: ${theme.spacing(10)};+ }+`;++type RootProps = {+ children: ReactNode;+ illustration: IllustrationType;+};++export function Root({ children, illustration }: RootProps) {+ return (+ <StyledSection>+ <StyledContainer>{children}</StyledContainer>+ </StyledSection>+ );+}diff --git a/packages/twenty-website-new/src/sections/Faq/components/index.ts b/packages/twenty-website-new/src/sections/Faq/components/index.tsnew file mode 100644index 00000000000..23572130525--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/components/index.ts@@ -0,0 +1,13 @@+import { Cta } from './Cta/Cta';+import { Heading } from './Heading/Heading';+import { Intro } from './Intro/Intro';+import { Items } from './Items/Items';+import { Root } from './Root/Root';++export const Faq = {+ Cta,+ Heading,+ Intro,+ Items,+ Root,+};diff --git a/packages/twenty-website-new/src/sections/Faq/types/FaqData.ts b/packages/twenty-website-new/src/sections/Faq/types/FaqData.tsnew file mode 100644index 00000000000..d908145b9db--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/types/FaqData.ts@@ -0,0 +1,11 @@+import { EyebrowType } from '@/design-system/components/Eyebrow/types/Eyebrow';+import { HeadingType } from '@/design-system/components/Heading/types/Heading';+import { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';+import { FaqQuestionType } from '@/sections/Faq/types/FaqQuestion';++export type FaqDataType = {+ illustration: IllustrationType;+ eyebrow: EyebrowType;+ heading: HeadingType[];+ questions: FaqQuestionType[];+};diff --git a/packages/twenty-website-new/src/sections/Faq/types/FaqQuestion.ts b/packages/twenty-website-new/src/sections/Faq/types/FaqQuestion.tsnew file mode 100644index 00000000000..187c1e357a3--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/types/FaqQuestion.ts@@ -0,0 +1,7 @@+import { BodyType } from '@/design-system/components/Body/types/Body';+import { HeadingType } from '@/design-system/components/Heading/types/Heading';++export type FaqQuestionType = {+ question: HeadingType;+ answer: BodyType;+};diff --git a/packages/twenty-website-new/src/sections/Faq/types/index.ts b/packages/twenty-website-new/src/sections/Faq/types/index.tsnew file mode 100644index 00000000000..08f9220111f--- /dev/null+++ b/packages/twenty-website-new/src/sections/Faq/types/index.ts@@ -0,0 +1,2 @@+export type { FaqDataType } from './FaqData';+export type { FaqQuestionType } from './FaqQuestion';diff --git a/packages/twenty-website-new/src/sections/Footer/components/Bottom/Bottom.tsx b/packages/twenty-website-new/src/sections/Footer/components/Bottom/Bottom.tsxindex 8f9a4ca65e2..c66f74234ef 100644--- a/packages/twenty-website-new/src/sections/Footer/components/Bottom/Bottom.tsx+++ b/packages/twenty-website-new/src/sections/Footer/components/Bottom/Bottom.tsx@@ -6,8 +6,10 @@ const BottomGrid = styled.div`display: grid;font-size: ${theme.font.size(3)};gap: ${theme.spacing(6)};- grid-template-columns: 1fr 1fr;+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);grid-template-rows: auto auto;+ min-width: 0;+ width: 100%;`;const Copyright = styled.div`diff --git a/packages/twenty-website-new/src/sections/Footer/components/Social/Social.tsx b/packages/twenty-website-new/src/sections/Footer/components/Social/Social.tsxindex 558620aff74..f9b96fd0022 100644--- a/packages/twenty-website-new/src/sections/Footer/components/Social/Social.tsx+++ b/packages/twenty-website-new/src/sections/Footer/components/Social/Social.tsx@@ -8,12 +8,18 @@ import React from 'react';const SocialContainer = styled.nav`align-items: center;display: flex;+ flex-wrap: wrap;gap: ${theme.spacing(6)};grid-column: 1 / -1;grid-row: 1;+ justify-content: center;+ max-width: 100%;+ min-width: 0;@media (min-width: ${theme.breakpoints.md}px) {+ flex-wrap: nowrap;grid-column: 2;+ justify-content: flex-end;justify-self: end;}`;@@ -29,11 +35,13 @@ const SocialItem = styled.a`align-items: center;color: ${theme.colors.primary.text[100]};display: flex;+ flex-shrink: 0;font-size: ${theme.font.size(3)};font-weight: ${theme.font.weight.medium};gap: ${theme.spacing(3)};line-height: 14px;text-decoration: none;+ white-space: nowrap;&:focus-visible {outline: 1px solid ${theme.colors.highlight[100]};diff --git a/packages/twenty-website-new/src/sections/Hero/components/Body/Body.tsx b/packages/twenty-website-new/src/sections/Hero/components/Body/Body.tsxindex df7e8cc92b2..b50bd50654f 100644--- a/packages/twenty-website-new/src/sections/Hero/components/Body/Body.tsx+++ b/packages/twenty-website-new/src/sections/Hero/components/Body/Body.tsx@@ -9,28 +9,32 @@ import { styled } from '@linaria/react';const BodyContainer = styled.div`color: ${theme.colors.primary.text[60]};margin-top: calc(${theme.spacing(2)} - ${theme.spacing(6)});- width: 360px;+ max-width: 360px;+ width: 100%;++ &[data-page=${Pages.WhyTwenty}] {+ color: ${theme.colors.secondary.text[100]};+ }@media (min-width: ${theme.breakpoints.md}px) {&[data-page=${Pages.Home}] {- width: 591px;+ max-width: 591px;}&[data-page=${Pages.Partner}] {- width: 500px;+ max-width: 500px;}&[data-page=${Pages.Pricing}] {- width: 500px;+ max-width: 500px;}&[data-page=${Pages.Product}] {- width: 591px;+ max-width: 591px;}&[data-page=${Pages.WhyTwenty}] {- width: 443px;- color: ${theme.colors.secondary.text[100]};+ max-width: 443px;}}`;diff --git a/packages/twenty-website-new/src/sections/Hero/components/Heading/Heading.tsx b/packages/twenty-website-new/src/sections/Hero/components/Heading/Heading.tsxindex 0f3d2305809..beaa696183f 100644--- a/packages/twenty-website-new/src/sections/Hero/components/Heading/Heading.tsx+++ b/packages/twenty-website-new/src/sections/Hero/components/Heading/Heading.tsx@@ -7,15 +7,16 @@ import { theme } from '@/theme';import { styled } from '@linaria/react';const HeadingContainer = styled.div`- width: 360px;+ max-width: 360px;+ width: 100%;word-wrap: break-word;- @media (min-width: ${theme.breakpoints.md}px) {- width: 672px;+ &[data-page=${Pages.WhyTwenty}] {+ color: ${theme.colors.secondary.text[100]};+ }- &[data-page=${Pages.WhyTwenty}] {- color: ${theme.colors.secondary.text[100]};- }+ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 672px;}`;diff --git a/packages/twenty-website-new/src/sections/Hero/components/HomeVisual/HomeVisual.tsx b/packages/twenty-website-new/src/sections/Hero/components/HomeVisual/HomeVisual.tsxindex 68c41fedcf2..c8eb569ad46 100644--- a/packages/twenty-website-new/src/sections/Hero/components/HomeVisual/HomeVisual.tsx+++ b/packages/twenty-website-new/src/sections/Hero/components/HomeVisual/HomeVisual.tsx@@ -1,4 +1,5 @@import { Image } from '@/design-system/components';+import type { ImageType } from '@/design-system/components/Image/types/Image';import { theme } from '@/theme';import { styled } from '@linaria/react';@@ -25,7 +26,8 @@ const StyledBackgroundImage = styled(Image)`width: 98%;@media (min-width: ${theme.breakpoints.md}px) {- width: 850px;+ max-width: 850px;+ width: 100%;}`;@@ -41,15 +43,21 @@ const StyledForegroundImage = styled(Image)`justify-self: center;margin-right: ${theme.spacing(40)};margin-top: ${theme.spacing(17.5)};- width: 800px;+ max-width: 800px;+ width: 100%;}`;-export function HomeVisual() {+type HomeVisualProps = {+ background: ImageType;+ foreground: ImageType;+};++export function HomeVisual({ background, foreground }: HomeVisualProps) {return (<StyledHomeVisual>- <StyledBackgroundImage src="/images/home/hero/background.png" alt="" />- <StyledForegroundImage src="/images/home/hero/foreground.png" alt="" />+ <StyledBackgroundImage src={background.src} alt={background.alt} />+ <StyledForegroundImage src={foreground.src} alt={foreground.alt} /></StyledHomeVisual>);}diff --git a/packages/twenty-website-new/src/sections/Hero/components/Illustration/Illustration.tsx b/packages/twenty-website-new/src/sections/Hero/components/Illustration/Illustration.tsxindex 11eb01c4ea1..b221cc18660 100644--- a/packages/twenty-website-new/src/sections/Hero/components/Illustration/Illustration.tsx+++ b/packages/twenty-website-new/src/sections/Hero/components/Illustration/Illustration.tsx@@ -1,31 +1,36 @@-import { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';+import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';import { theme } from '@/theme';import { styled } from '@linaria/react';const StyledIllustrationContainer = styled.div`+ justify-self: stretch;margin-top: ${theme.spacing(6)};+ max-width: 100%;+ min-width: 0;width: 100%;`;-type IllustrationProps = IllustrationType & {+type IllustrationProps = {+ illustration: IllustrationType;backgroundColor: string;};export function Illustration({- src,- title,+ illustration,backgroundColor,}: IllustrationProps) {return (<StyledIllustrationContainer><iframe- src={src}- title={title}+ src={illustration.src}+ title={illustration.title}allow="clipboard-write; encrypted-media; gyroscope; web-share"referrerPolicy="strict-origin-when-cross-origin"allowFullScreenstyle={{width: '100%',+ maxWidth: '100%',+ minWidth: 0,height: '462px',border: 'none',backgroundColor: backgroundColor,diff --git a/packages/twenty-website-new/src/sections/Hero/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Hero/components/Root/Root.tsxindex b661e3f5559..4ad026cf92b 100644--- a/packages/twenty-website-new/src/sections/Hero/components/Root/Root.tsx+++ b/packages/twenty-website-new/src/sections/Hero/components/Root/Root.tsx@@ -4,13 +4,15 @@ import { styled } from '@linaria/react';import type { ReactNode } from 'react';const StyledSection = styled.section`+ min-width: 0;width: 100%;`;const StyledContainer = styled(Container)`display: grid;- grid-template-columns: 1fr;+ grid-template-columns: minmax(0, 1fr);justify-items: center;+ min-width: 0;text-align: center;padding-top: ${theme.spacing(7.5)};padding-left: ${theme.spacing(4)};diff --git a/packages/twenty-website-new/src/sections/Hero/components/WhyTwentyVisual/WhyTwentyVisual.tsx b/packages/twenty-website-new/src/sections/Hero/components/WhyTwentyVisual/WhyTwentyVisual.tsxindex 325f018b541..cef9c721c2a 100644--- a/packages/twenty-website-new/src/sections/Hero/components/WhyTwentyVisual/WhyTwentyVisual.tsx+++ b/packages/twenty-website-new/src/sections/Hero/components/WhyTwentyVisual/WhyTwentyVisual.tsx@@ -1,4 +1,6 @@import { Image } from '@/design-system/components';+import { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';+import { ImageType } from '@/design-system/components/Image/types/Image';import { theme } from '@/theme';import { styled } from '@linaria/react';@@ -26,13 +28,18 @@ const StyledIframe = styled.iframe`width: 200%;`;-export function WhyTwentyVisual() {+type WhyTwentyVisualProps = {+ image: ImageType;+ illustration: IllustrationType;+};++export function WhyTwentyVisual({ image, illustration }: WhyTwentyVisualProps) {return (<VisualContainer>- <StyledBackground src="/images/why-twenty/hero/background.png" alt="" />+ <StyledBackground src={image.src} alt={image.alt} /><StyledIframe- src="https://app.endlesstools.io/embed/479566da-0f55-44ef-99fe-90350aa88b9c"- title="Endless Tools Editor"+ src={illustration.src}+ title={illustration.title}allow="clipboard-write; encrypted-media; gyroscope; web-share"referrerPolicy="strict-origin-when-cross-origin"allowFullScreendiff --git a/packages/twenty-website-new/src/sections/Hero/types/HeroData.ts b/packages/twenty-website-new/src/sections/Hero/types/HeroBaseData.tssimilarity index 85%rename from packages/twenty-website-new/src/sections/Hero/types/HeroData.tsrename to packages/twenty-website-new/src/sections/Hero/types/HeroBaseData.tsindex d4064ddeeb1..b1e889e777b 100644--- a/packages/twenty-website-new/src/sections/Hero/types/HeroData.ts+++ b/packages/twenty-website-new/src/sections/Hero/types/HeroBaseData.ts@@ -1,7 +1,7 @@import { BodyType } from '@/design-system/components/Body/types/Body';import { HeadingType } from '@/design-system/components/Heading/types/Heading';-export type HeroDataType = {+export type HeroBaseDataType = {heading: HeadingType[];body: BodyType;};diff --git a/packages/twenty-website-new/src/sections/Hero/types/HeroHomeData.ts b/packages/twenty-website-new/src/sections/Hero/types/HeroHomeData.tsnew file mode 100644index 00000000000..4ab69897af9--- /dev/null+++ b/packages/twenty-website-new/src/sections/Hero/types/HeroHomeData.ts@@ -0,0 +1,7 @@+import { ImageType } from '@/design-system/components/Image/types/Image';+import { HeroBaseDataType } from '@/sections/Hero/types/HeroBaseData';++export type HeroHomeDataType = HeroBaseDataType & {+ background: ImageType;+ foreground: ImageType;+};diff --git a/packages/twenty-website-new/src/sections/Hero/types/HeroIllustrationData.ts b/packages/twenty-website-new/src/sections/Hero/types/HeroIllustrationData.tsnew file mode 100644index 00000000000..8466dcaad8f--- /dev/null+++ b/packages/twenty-website-new/src/sections/Hero/types/HeroIllustrationData.ts@@ -0,0 +1,6 @@+import { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';+import { HeroBaseDataType } from '@/sections/Hero/types/HeroBaseData';++export type HeroIllustrationDataType = HeroBaseDataType & {+ illustration: IllustrationType;+};diff --git a/packages/twenty-website-new/src/sections/Hero/types/HeroWhyTwentyData.ts b/packages/twenty-website-new/src/sections/Hero/types/HeroWhyTwentyData.tsnew file mode 100644index 00000000000..901ba93444b--- /dev/null+++ b/packages/twenty-website-new/src/sections/Hero/types/HeroWhyTwentyData.ts@@ -0,0 +1,8 @@+import { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';+import { ImageType } from '@/design-system/components/Image/types/Image';+import { HeroBaseDataType } from '@/sections/Hero/types/HeroBaseData';++export type HeroWhyTwentyDataType = HeroBaseDataType & {+ image: ImageType;+ illustration: IllustrationType;+};diff --git a/packages/twenty-website-new/src/sections/Hero/types/index.ts b/packages/twenty-website-new/src/sections/Hero/types/index.tsindex 4109d511017..66c4e59e850 100644--- a/packages/twenty-website-new/src/sections/Hero/types/index.ts+++ b/packages/twenty-website-new/src/sections/Hero/types/index.ts@@ -1 +1,4 @@-export type { HeroDataType } from './HeroData';+export type { HeroBaseDataType } from './HeroBaseData';+export type { HeroHomeDataType } from './HeroHomeData';+export type { HeroIllustrationDataType } from './HeroIllustrationData';+export type { HeroWhyTwentyDataType } from './HeroWhyTwentyData';diff --git a/packages/twenty-website-new/src/sections/HeroStepper/components/Content/Content.tsx b/packages/twenty-website-new/src/sections/HeroStepper/components/Content/Content.tsxnew file mode 100644index 00000000000..0574a9a8a4e--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/components/Content/Content.tsx@@ -0,0 +1,217 @@+'use client';++import { Body, Heading } from '@/design-system/components';+import type { HeroStepperContentProps } from '@/sections/HeroStepper/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import { useEffect, useRef, type ReactNode } from 'react';++const ContentRoot = styled.div`+ display: grid;+ grid-template-columns: auto 1fr;+ gap: ${theme.spacing(6)};+ min-width: 0;++ @media (min-width: ${theme.breakpoints.md}px) {+ gap: ${theme.spacing(10)};+ }+`;++const ProgressRail = styled.div`+ display: none;++ @media (min-width: ${theme.breakpoints.md}px) {+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: ${theme.spacing(2)};+ position: sticky;+ top: calc(50vh - ${theme.spacing(10)});+ height: max-content;+ }+`;++const StepIndicatorRow = styled.div`+ display: flex;+ align-items: flex-start;+ gap: ${theme.spacing(4)};+`;++const PillBackground = styled.div`+ background-color: ${theme.colors.primary.border[80]};+ border-radius: ${theme.radius(8)};+ display: flex;+ height: ${theme.spacing(20)};+ overflow: hidden;+ width: ${theme.spacing(1)};+`;++const PillFill = styled.div`+ background-color: ${theme.colors.highlight[100]};+ border-radius: ${theme.radius(10)};+ transition: height 0.4s ease;+ width: 100%;+`;++const ActiveLabel = styled.p`+ color: ${theme.colors.highlight[100]};+ font-family: ${theme.font.family.mono};+ font-size: ${theme.font.size(3)};+ font-weight: ${theme.font.weight.medium};+ margin: 0;+ text-transform: uppercase;+ line-height: ${theme.spacing(4)};+`;++const InactiveDotWrapper = styled.div`+ display: flex;+ align-items: center;+ gap: ${theme.spacing(4)};+`;++const InactiveDot = styled.div`+ background-color: ${theme.colors.primary.border[80]};+ border-radius: 50%;+ height: ${theme.spacing(1)};+ width: ${theme.spacing(1)};+`;++const StepsColumn = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ min-width: 0;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 454px;+ }+`;++const StepBlock = styled.div`+ align-content: center;+ display: grid;+ grid-template-columns: 1fr;+ min-height: 80vh;+ opacity: 0.3;+ row-gap: ${theme.spacing(4)};+ transition: opacity 0.4s ease;++ @media (min-width: ${theme.breakpoints.md}px) {+ min-height: 100vh;+ row-gap: ${theme.spacing(6)};+ }++ &[data-active='true'] {+ opacity: 1;+ }+`;++type ProgressRailProps = {+ activeImageIndex: number;+ activeStepIndex: number;+ steps: HeroStepperContentProps['steps'];+};++function HeroProgressRail({+ activeImageIndex,+ activeStepIndex,+ steps,+}: ProgressRailProps) {+ const nodes: ReactNode[] = [];+ const stepCount = steps.length;++ for (let index = 0; index < stepCount; index += 1) {+ if (index === activeStepIndex) {+ const stepImagesCount = steps[index]?.images.length || 1;+ const fillPercentage = ((activeImageIndex + 1) / stepImagesCount) * 100;++ nodes.push(+ <StepIndicatorRow key={`step-${index}`}>+ <PillBackground>+ <PillFill style={{ height: `${fillPercentage}%` }} />+ </PillBackground>+ <ActiveLabel>{String(index + 1).padStart(2, '0')}</ActiveLabel>+ </StepIndicatorRow>,+ );+ } else {+ nodes.push(+ <InactiveDotWrapper key={`step-${index}`}>+ <InactiveDot />+ </InactiveDotWrapper>,+ );+ }+ }++ return <ProgressRail>{nodes}</ProgressRail>;+}++export function Content({+ activeImageIndex,+ activeStepIndex,+ onActiveStepChange,+ steps,+}: HeroStepperContentProps) {+ const stepRefs = useRef<(HTMLDivElement | null)[]>([]);++ useEffect(() => {+ stepRefs.current = stepRefs.current.slice(0, steps.length);+ }, [steps.length]);++ useEffect(() => {+ const elements = stepRefs.current.filter(Boolean) as HTMLDivElement[];+ if (elements.length === 0) {+ return;+ }++ const observer = new IntersectionObserver(+ (entries) => {+ const candidates = entries.filter(+ (entry) => entry.isIntersecting && entry.intersectionRatio > 0.15,+ );+ if (candidates.length === 0) {+ return;+ }++ const best = candidates.reduce((previous, current) =>+ current.intersectionRatio > previous.intersectionRatio+ ? current+ : previous,+ );+ const indexAttribute = best.target.getAttribute('data-step-index');+ const index = indexAttribute === null ? NaN : Number(indexAttribute);+ if (!Number.isNaN(index)) {+ onActiveStepChange(index);+ }+ },+ { root: null, threshold: [0, 0.15, 0.3, 0.5, 0.75, 1] },+ );++ elements.forEach((element) => observer.observe(element));++ return () => observer.disconnect();+ }, [onActiveStepChange, steps]);++ return (+ <ContentRoot>+ <HeroProgressRail+ activeImageIndex={activeImageIndex}+ activeStepIndex={activeStepIndex}+ steps={steps}+ />+ <StepsColumn>+ {steps.map((step, index) => (+ <StepBlock+ data-active={String(index === activeStepIndex)}+ data-step-index={index}+ key={index}+ ref={(element) => {+ stepRefs.current[index] = element;+ }}+ >+ <Heading segments={step.heading} size="lg" weight="light" />+ <Body body={step.body} size="sm" />+ </StepBlock>+ ))}+ </StepsColumn>+ </ContentRoot>+ );+}diff --git a/packages/twenty-website-new/src/sections/HeroStepper/components/Flow/Flow.tsx b/packages/twenty-website-new/src/sections/HeroStepper/components/Flow/Flow.tsxnew file mode 100644index 00000000000..96a535026d8--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/components/Flow/Flow.tsx@@ -0,0 +1,45 @@+'use client';++import type { HeroStepperStepType } from '@/sections/HeroStepper/types/HeroStepperStep';+import { useEffect, useState } from 'react';+import { Content } from '../Content/Content';+import { Root } from '../Root/Root';+import { Visual } from '../Visual/Visual';++type FlowProps = {+ steps: HeroStepperStepType[];+};++export function Flow({ steps }: FlowProps) {+ const [activeStepIndex, setActiveStepIndex] = useState(0);+ const [activeImageIndex, setActiveImageIndex] = useState(0);++ useEffect(() => {+ setActiveImageIndex(0);+ }, [activeStepIndex]);++ useEffect(() => {+ const imageList = steps[activeStepIndex]?.images ?? [];+ if (imageList.length <= 1) {+ return;+ }+ const timerId = window.setInterval(() => {+ setActiveImageIndex((previous) => (previous + 1) % imageList.length);+ }, 5000);+ return () => window.clearInterval(timerId);+ }, [activeStepIndex, steps]);++ const images = steps[activeStepIndex]?.images ?? [];++ return (+ <Root>+ <Content+ activeImageIndex={activeImageIndex}+ activeStepIndex={activeStepIndex}+ onActiveStepChange={setActiveStepIndex}+ steps={steps}+ />+ <Visual activeImageIndex={activeImageIndex} images={images} />+ </Root>+ );+}diff --git a/packages/twenty-website-new/src/sections/HeroStepper/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/HeroStepper/components/Root/Root.tsxnew file mode 100644index 00000000000..462f41a4e20--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/components/Root/Root.tsx@@ -0,0 +1,42 @@+import { Container } from '@/design-system/components';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledSection = styled.section`+ background-color: ${theme.colors.primary.text[5]};+ width: 100%;+`;++const Grid = styled(Container)`+ display: grid;+ grid-template-columns: 1fr;+ min-width: 0;+ padding-bottom: ${theme.spacing(12)};+ padding-left: ${theme.spacing(4)};+ padding-right: ${theme.spacing(4)};+ padding-top: ${theme.spacing(12)};+ row-gap: ${theme.spacing(10)};+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ align-items: start;+ column-gap: ${theme.spacing(10)};+ grid-template-columns: minmax(0, 1fr) minmax(0, 672px);+ padding-bottom: ${theme.spacing(20)};+ padding-left: ${theme.spacing(10)};+ padding-right: ${theme.spacing(10)};+ padding-top: ${theme.spacing(20)};+ row-gap: ${theme.spacing(12)};+ }+`;++type RootProps = { children: ReactNode };++export function Root({ children }: RootProps) {+ return (+ <StyledSection>+ <Grid>{children}</Grid>+ </StyledSection>+ );+}diff --git a/packages/twenty-website-new/src/sections/HeroStepper/components/StepperVisualFrame/StepperVisualFrame.tsx b/packages/twenty-website-new/src/sections/HeroStepper/components/StepperVisualFrame/StepperVisualFrame.tsxnew file mode 100644index 00000000000..8d8481a9428--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/components/StepperVisualFrame/StepperVisualFrame.tsx@@ -0,0 +1,80 @@+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import NextImage from 'next/image';+import type { ReactNode } from 'react';++const FrameRoot = styled.div`+ position: relative;+ width: 100%;+ aspect-ratio: 672 / 705;+`;++const PatternBackdrop = styled.div`+ inset: 0;+ opacity: 0.55;+ pointer-events: none;+ position: absolute;+ z-index: 0;+`;++const patternImageClassName = css`+ object-fit: cover;+ object-position: center;+`;++const SlideArea = styled.div`+ inset: 0;+ position: absolute;+ z-index: 1;+`;++const ShapeOverlay = styled.div`+ inset: 0;+ pointer-events: none;+ position: absolute;+ z-index: 2;+`;++const shapeImageClassName = css`+ height: 100%;+ object-fit: fill;+ object-position: center;+ width: 100%;+`;++type StepperVisualFrameProps = {+ backgroundSrc: string;+ children: ReactNode;+ shapeSrc: string;+};++export function StepperVisualFrame({+ backgroundSrc,+ children,+ shapeSrc,+}: StepperVisualFrameProps) {+ return (+ <FrameRoot>+ <PatternBackdrop aria-hidden>+ <NextImage+ alt=""+ className={patternImageClassName}+ fill+ sizes="(min-width: 921px) 672px, 100vw"+ src={backgroundSrc}+ />+ </PatternBackdrop>+ <SlideArea>{children}</SlideArea>+ <ShapeOverlay aria-hidden>+ <NextImage+ alt=""+ className={shapeImageClassName}+ fill+ priority={false}+ sizes="(min-width: 921px) 672px, 100vw"+ src={shapeSrc}+ />+ </ShapeOverlay>+ </FrameRoot>+ );+}diff --git a/packages/twenty-website-new/src/sections/HeroStepper/components/Visual/Visual.tsx b/packages/twenty-website-new/src/sections/HeroStepper/components/Visual/Visual.tsxnew file mode 100644index 00000000000..7c31e9d3c80--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/components/Visual/Visual.tsx@@ -0,0 +1,61 @@+import type { HeroStepperVisualProps } from '@/sections/HeroStepper/types';+import { theme } from '@/theme';+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import NextImage from 'next/image';+import { StepperVisualFrame } from '../StepperVisualFrame/StepperVisualFrame';++const HOME_STEPPER_BACKGROUND = '/images/home/stepper/background.png';+const HOME_STEPPER_SHAPE = '/images/home/stepper/background-shape.png';++const VisualColumn = styled.div`+ min-width: 0;+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 672px;+ position: sticky;+ top: ${theme.spacing(10)};+ }+`;++const slideImageClassName = css`+ object-fit: contain;+ object-position: center;+ opacity: 0;+ transition: opacity 0.4s ease;++ &[data-active='true'] {+ opacity: 1;+ }+`;++export function Visual({+ activeImageIndex = 0,+ images,+}: HeroStepperVisualProps) {+ if (!images || images.length === 0) {+ return null;+ }++ return (+ <VisualColumn>+ <StepperVisualFrame+ backgroundSrc={HOME_STEPPER_BACKGROUND}+ shapeSrc={HOME_STEPPER_SHAPE}+ >+ {images.map((image, index) => (+ <NextImage+ key={`${image.src}-${index}`}+ alt={image.alt}+ className={slideImageClassName}+ data-active={String(index === activeImageIndex)}+ fill+ sizes="(min-width: 921px) 672px, 100vw"+ src={image.src}+ />+ ))}+ </StepperVisualFrame>+ </VisualColumn>+ );+}diff --git a/packages/twenty-website-new/src/sections/HeroStepper/components/index.ts b/packages/twenty-website-new/src/sections/HeroStepper/components/index.tsnew file mode 100644index 00000000000..37969298804--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/components/index.ts@@ -0,0 +1,11 @@+import { Content } from './Content/Content';+import { Flow } from './Flow/Flow';+import { Root } from './Root/Root';+import { Visual } from './Visual/Visual';++export const HeroStepper = {+ Content,+ Flow,+ Root,+ Visual,+};diff --git a/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperContentProps.ts b/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperContentProps.tsnew file mode 100644index 00000000000..3b3de16e86b--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperContentProps.ts@@ -0,0 +1,8 @@+import type { HeroStepperStepType } from '@/sections/HeroStepper/types/HeroStepperStep';++export type HeroStepperContentProps = {+ activeImageIndex: number;+ activeStepIndex: number;+ onActiveStepChange: (index: number) => void;+ steps: HeroStepperStepType[];+};diff --git a/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperData.ts b/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperData.tsnew file mode 100644index 00000000000..16258eb93da--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperData.ts@@ -0,0 +1,5 @@+import type { HeroStepperStepType } from '@/sections/HeroStepper/types/HeroStepperStep';++export type HeroStepperDataType = {+ steps: HeroStepperStepType[];+};diff --git a/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperStep.ts b/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperStep.tsnew file mode 100644index 00000000000..cd2c64d6cb5--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperStep.ts@@ -0,0 +1,9 @@+import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import type { ImageType } from '@/design-system/components/Image/types/Image';++export type HeroStepperStepType = {+ body: BodyType;+ heading: HeadingType[];+ images: ImageType[];+};diff --git a/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperVisualProps.ts b/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperVisualProps.tsnew file mode 100644index 00000000000..d6318208162--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/types/HeroStepperVisualProps.ts@@ -0,0 +1,6 @@+import type { ImageType } from '@/design-system/components/Image/types/Image';++export type HeroStepperVisualProps = {+ activeImageIndex?: number;+ images: ImageType[];+};diff --git a/packages/twenty-website-new/src/sections/HeroStepper/types/index.ts b/packages/twenty-website-new/src/sections/HeroStepper/types/index.tsnew file mode 100644index 00000000000..2069f4d6d26--- /dev/null+++ b/packages/twenty-website-new/src/sections/HeroStepper/types/index.ts@@ -0,0 +1,4 @@+export type { HeroStepperContentProps } from './HeroStepperContentProps';+export type { HeroStepperDataType } from './HeroStepperData';+export type { HeroStepperStepType } from './HeroStepperStep';+export type { HeroStepperVisualProps } from './HeroStepperVisualProps';diff --git a/packages/twenty-website-new/src/sections/Menu/components/Cta/Cta.tsx b/packages/twenty-website-new/src/sections/Menu/components/Cta/Cta.tsxindex d909d74628c..9ea7f18eece 100644--- a/packages/twenty-website-new/src/sections/Menu/components/Cta/Cta.tsx+++ b/packages/twenty-website-new/src/sections/Menu/components/Cta/Cta.tsx@@ -1,4 +1,5 @@import { LinkButton } from '@/design-system/components';+import type { MenuScheme } from '@/sections/Menu/types';import { theme } from '@/theme';import { styled } from '@linaria/react';@@ -7,23 +8,30 @@ const CtaContainer = styled.div`@media (min-width: ${theme.breakpoints.md}px) {align-items: center;- display: flex;- gap: ${theme.spacing(2)};+ column-gap: ${theme.spacing(2)};+ display: grid;+ grid-auto-flow: column;}`;-export function Cta() {+type CtaProps = {+ scheme: MenuScheme;+};++export function Cta({ scheme }: CtaProps) {+ const buttonColor = scheme === 'primary' ? 'secondary' : 'primary';+return (<CtaContainer><LinkButton- color="secondary"+ color={buttonColor}href="https://app.twenty.com/welcome"label="Log in"type="anchor"variant="outlined"/><LinkButton- color="secondary"+ color={buttonColor}href="https://app.twenty.com/welcome"label="Get started"type="anchor"diff --git a/packages/twenty-website-new/src/sections/Menu/components/Drawer/Drawer.tsx b/packages/twenty-website-new/src/sections/Menu/components/Drawer/Drawer.tsxindex 9ec80247b2a..d8ff317720e 100644--- a/packages/twenty-website-new/src/sections/Menu/components/Drawer/Drawer.tsx+++ b/packages/twenty-website-new/src/sections/Menu/components/Drawer/Drawer.tsx@@ -1,7 +1,10 @@import { LinkButton } from '@/design-system/components';-import { ArrowRightUpIcon } from '@/icons';-import { NAV_ITEMS } from '@/sections/Menu/constants/nav-items';-import { SOCIAL_LINKS } from '@/sections/Menu/constants/social-links';+import { ArrowRightUpIcon, SOCIAL_ICONS } from '@/icons';+import type {+ MenuNavItemType,+ MenuScheme,+ MenuSocialLinkType,+} from '@/sections/Menu/types';import { theme } from '@/theme';import { Drawer } from '@base-ui/react/drawer';import { Separator } from '@base-ui/react/separator';@@ -9,10 +12,9 @@ import { styled } from '@linaria/react';import Link from 'next/link';import React from 'react';-const DrawerPopup = styled(Drawer.Popup)`- background: ${theme.colors.primary.background[100]};- display: flex;- flex-direction: column;+const StyledDrawerContent = styled.div`+ display: grid;+ grid-template-rows: 1fr auto auto;height: 100vh;left: 0;overflow-y: auto;@@ -24,21 +26,26 @@ const DrawerPopup = styled(Drawer.Popup)`top: 0;width: 100vw;z-index: 90;++ &[data-scheme='primary'] {+ background: ${theme.colors.primary.background[100]};+ }++ &[data-scheme='secondary'] {+ background: ${theme.colors.secondary.background[100]};+ }`;const NavigationContainer = styled.nav`- align-items: stretch;- display: flex;- flex: 1;- flex-direction: column;- gap: ${theme.spacing(8)};- justify-content: center;+ align-content: center;+ display: grid;+ grid-template-columns: 1fr;+ row-gap: ${theme.spacing(8)};width: 100%;`;const NavItem = styled(Link)`border-radius: ${theme.radius(2)};- color: ${theme.colors.primary.text[100]};display: block;font-family: ${theme.font.family.mono};font-size: ${theme.font.size(8)};@@ -49,6 +56,14 @@ const NavItem = styled(Link)`text-transform: uppercase;width: 100%;+ &[data-scheme='primary'] {+ color: ${theme.colors.primary.text[100]};+ }++ &[data-scheme='secondary'] {+ color: ${theme.colors.secondary.text[100]};+ }+&:focus-visible {outline: 1px solid ${theme.colors.highlight[100]};outline-offset: 1px;@@ -58,8 +73,8 @@ const NavItem = styled(Link)`const HorizontalSeparator = styled(Separator)`background: repeating-linear-gradient(90deg,- ${theme.colors.primary.border[60]} 0,- ${theme.colors.primary.border[60]} 1px,+ var(--separator-color) 0,+ var(--separator-color) 1px,transparent 2px,transparent 4px);@@ -74,20 +89,33 @@ const CtaContainer = styled.div`const SocialContainer = styled.div`align-items: center;- display: flex;- gap: ${theme.spacing(6)};+ column-gap: ${theme.spacing(6)};+ display: grid;+ grid-auto-flow: column;+ justify-content: center;+ max-width: 100%;+ min-width: 0;`;const SocialItem = styled.a`align-items: center;border-radius: ${theme.radius(1)};- color: ${theme.colors.primary.text[100]};- display: flex;+ column-gap: ${theme.spacing(3)};+ display: grid;font-size: ${theme.font.size(3)};font-weight: ${theme.font.weight.medium};- gap: ${theme.spacing(3)};+ grid-auto-flow: column;line-height: 14px;text-decoration: none;+ white-space: nowrap;++ &[data-scheme='primary'] {+ color: ${theme.colors.primary.text[100]};+ }++ &[data-scheme='secondary'] {+ color: ${theme.colors.secondary.text[100]};+ }&:focus-visible {outline: 1px solid ${theme.colors.highlight[100]};@@ -96,26 +124,63 @@ const SocialItem = styled.a``;const Divider = styled(Separator)`- border-left: 1px solid ${theme.colors.primary.border[40]};height: 10px;width: 0px;++ &[data-scheme='primary'] {+ border-left: 1px solid ${theme.colors.primary.border[40]};+ }++ &[data-scheme='secondary'] {+ border-left: 1px solid ${theme.colors.secondary.border[40]};+ }`;-export function MenuDrawer() {+type MenuDrawerProps = {+ navItems: MenuNavItemType[];+ scheme: MenuScheme;+ socialLinks: MenuSocialLinkType[];+};++export function MenuDrawer({+ navItems,+ scheme,+ socialLinks,+}: MenuDrawerProps) {+ const buttonColor = scheme === 'primary' ? 'secondary' : 'primary';++ const iconFillColor =+ scheme === 'primary'+ ? theme.colors.secondary.background[100]+ : theme.colors.primary.background[100];++ const separatorColor =+ scheme === 'primary'+ ? theme.colors.primary.border[60]+ : theme.colors.secondary.border[60];+return (<Drawer.Portal>- <DrawerPopup aria-label="Navigation menu">- <NavigationContainer aria-label="Mobile navigation">- {NAV_ITEMS.map((item, index) => (+ <Drawer.Popup aria-label="Navigation menu">+ <StyledDrawerContent data-scheme={scheme}>+ <NavigationContainer aria-label="Mobile navigation">+ {navItems.map((item, index) => (<React.Fragment key={item.href}><Drawer.ClosenativeButton={false}- render={<NavItem href={item.href} />}+ render={+ <NavItem data-scheme={scheme} href={item.href} />+ }>{item.label}</Drawer.Close>- {index < NAV_ITEMS.length - 1 && (- <HorizontalSeparator orientation="horizontal" />+ {index < navItems.length - 1 && (+ <HorizontalSeparator+ orientation="horizontal"+ style={+ { '--separator-color': separatorColor } as React.CSSProperties+ }+ />)}</React.Fragment>))}@@ -123,7 +188,7 @@ export function MenuDrawer() {<CtaContainer><LinkButton- color="secondary"+ color={buttonColor}href="https://app.twenty.com/welcome"label="Log in"type="anchor"@@ -132,35 +197,44 @@ export function MenuDrawer() {</CtaContainer><SocialContainer>- {SOCIAL_LINKS.filter((item) => item.showInDrawer).map(- (item, index) => (- <React.Fragment key={item.href}>- {index > 0 && <Divider orientation="vertical" />}- <SocialItem- href={item.href}- target="_blank"- rel="noopener noreferrer"- aria-label={item.ariaLabel}- >- <item.icon- size={14}- fillColor={theme.colors.secondary.background[100]}- aria-hidden="true"- />- {item.label}- {item.label && (- <ArrowRightUpIcon- size={8}- strokeColor={theme.colors.highlight[100]}+ {socialLinks+ .filter((item) => item.showInDrawer)+ .map((item, index) => {+ const IconComponent = SOCIAL_ICONS[item.icon];+ if (!IconComponent) return null;++ return (+ <React.Fragment key={item.href}>+ {index > 0 && (+ <Divider data-scheme={scheme} orientation="vertical" />+ )}+ <SocialItem+ data-scheme={scheme}+ href={item.href}+ target="_blank"+ rel="noopener noreferrer"+ aria-label={item.ariaLabel}+ >+ <IconComponent+ size={14}+ fillColor={iconFillColor}aria-hidden="true"/>- )}- </SocialItem>- </React.Fragment>- ),- )}+ {item.label}+ {item.label && (+ <ArrowRightUpIcon+ size={8}+ strokeColor={theme.colors.highlight[100]}+ aria-hidden="true"+ />+ )}+ </SocialItem>+ </React.Fragment>+ );+ })}</SocialContainer>- </DrawerPopup>+ </StyledDrawerContent>+ </Drawer.Popup></Drawer.Portal>);}diff --git a/packages/twenty-website-new/src/sections/Menu/components/Logo/Logo.tsx b/packages/twenty-website-new/src/sections/Menu/components/Logo/Logo.tsxindex 396844fa9ac..1812225f348 100644--- a/packages/twenty-website-new/src/sections/Menu/components/Logo/Logo.tsx+++ b/packages/twenty-website-new/src/sections/Menu/components/Logo/Logo.tsx@@ -1,4 +1,5 @@import { Logo as LogoIcon } from '@/icons';+import type { MenuScheme } from '@/sections/Menu/types';import { theme } from '@/theme';import { Drawer } from '@base-ui/react/drawer';import { styled } from '@linaria/react';@@ -6,11 +7,11 @@ import Link from 'next/link';const LogoContainer = styled.div`align-items: center;- display: flex;+ display: grid;`;const LogoLink = styled(Link)`- display: flex;+ display: grid;text-decoration: none;&:focus-visible {@@ -19,7 +20,21 @@ const LogoLink = styled(Link)`}`;-export function Logo() {+type LogoProps = {+ scheme: MenuScheme;+};++export function Logo({ scheme }: LogoProps) {+ const fillColor =+ scheme === 'primary'+ ? theme.colors.primary.background[100]+ : theme.colors.secondary.background[100];++ const backgroundColor =+ scheme === 'primary'+ ? theme.colors.secondary.background[100]+ : theme.colors.primary.background[100];+return (<LogoContainer><Drawer.Close@@ -28,8 +43,8 @@ export function Logo() {><LogoIconsize={40}- fillColor={theme.colors.primary.background[100]}- backgroundColor={theme.colors.secondary.background[100]}+ fillColor={fillColor}+ backgroundColor={backgroundColor}/></Drawer.Close></LogoContainer>diff --git a/packages/twenty-website-new/src/sections/Menu/components/Nav/Nav.tsx b/packages/twenty-website-new/src/sections/Menu/components/Nav/Nav.tsxindex 12b866f5253..092e3493ec3 100644--- a/packages/twenty-website-new/src/sections/Menu/components/Nav/Nav.tsx+++ b/packages/twenty-website-new/src/sections/Menu/components/Nav/Nav.tsx@@ -1,4 +1,4 @@-import { NAV_ITEMS } from '@/sections/Menu/constants/nav-items';+import type { MenuNavItemType, MenuScheme } from '@/sections/Menu/types';import { theme } from '@/theme';import { NavigationMenu } from '@base-ui/react/navigation-menu';import { Separator } from '@base-ui/react/separator';@@ -14,13 +14,13 @@ const NavList = styled(NavigationMenu.List)`@media (min-width: ${theme.breakpoints.md}px) {align-items: center;- display: flex;- gap: ${theme.spacing(8)};+ column-gap: ${theme.spacing(8)};+ display: grid;+ grid-auto-flow: column;}`;const NavLink = styled(NavigationMenu.Link)`- color: ${theme.colors.primary.text[100]};font-family: ${theme.font.family.mono};font-size: ${theme.font.size(3)};font-weight: ${theme.font.weight.medium};@@ -28,6 +28,14 @@ const NavLink = styled(NavigationMenu.Link)`text-decoration: none;text-transform: uppercase;+ &[data-scheme='primary'] {+ color: ${theme.colors.primary.text[100]};+ }++ &[data-scheme='secondary'] {+ color: ${theme.colors.secondary.text[100]};+ }+&:focus-visible {outline: 1px solid ${theme.colors.highlight[100]};outline-offset: 1px;@@ -35,24 +43,39 @@ const NavLink = styled(NavigationMenu.Link)``;const Divider = styled(Separator)`- border-left: 1px solid ${theme.colors.primary.border[40]};height: 10px;width: 0px;++ &[data-scheme='primary'] {+ border-left: 1px solid ${theme.colors.primary.border[40]};+ }++ &[data-scheme='secondary'] {+ border-left: 1px solid ${theme.colors.secondary.border[40]};+ }`;-export function Nav() {+type NavProps = {+ navItems: MenuNavItemType[];+ scheme: MenuScheme;+};++export function Nav({ navItems, scheme }: NavProps) {return (<NavigationMenu.Root render={<div />}><NavList>- {NAV_ITEMS.map((item, index) => (+ {navItems.map((item, index) => (<React.Fragment key={item.href}><NavigationMenu.Item>- <NavLink render={<Link href={item.href} />}>+ <NavLink+ data-scheme={scheme}+ render={<Link href={item.href} />}+ >{item.label}</NavLink></NavigationMenu.Item>- {index < NAV_ITEMS.length - 1 && (- <Divider orientation="vertical" />+ {index < navItems.length - 1 && (+ <Divider data-scheme={scheme} orientation="vertical" />)}</React.Fragment>))}diff --git a/packages/twenty-website-new/src/sections/Menu/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Menu/components/Root/Root.tsxindex e378540192b..b00883a60d0 100644--- a/packages/twenty-website-new/src/sections/Menu/components/Root/Root.tsx+++ b/packages/twenty-website-new/src/sections/Menu/components/Root/Root.tsx@@ -2,27 +2,37 @@import { Container, IconButton, LinkButton } from '@/design-system/components';import { CloseIcon, MenuIcon } from '@/icons';+import type {+ MenuNavItemType,+ MenuScheme,+ MenuSocialLinkType,+} from '@/sections/Menu/types';import { theme } from '@/theme';import { Drawer } from '@base-ui/react/drawer';import { styled } from '@linaria/react';-import type { ReactNode } from 'react';-import { useState } from 'react';+import { useState, type ReactNode } from 'react';import { CloseDrawerWhenNavigationExpandsEffect } from '../../effect-components/CloseDrawerWhenNavigationExpandsEffect';import { MenuDrawer } from '../Drawer/Drawer';-const StyledMenuContainer = styled(Container)`- margin-top: ${theme.spacing(4)};+const StyledSection = styled.section`+ min-width: 0;+ width: 100%;+`;++const StyledContainer = styled(Container)`+ padding-top: ${theme.spacing(4)};position: relative;z-index: 100;`;const StyledNav = styled.nav`align-items: center;- background-color: ${theme.colors.primary.background[100]};border-radius: ${theme.radius(2)};- display: flex;- height: 48px;+ display: grid;+ grid-auto-flow: column;justify-content: space-between;+ min-height: 48px;+ min-width: 0;padding-left: ${theme.spacing(4)};padding-right: ${theme.spacing(4)};width: 100%;@@ -35,19 +45,49 @@ const StyledNav = styled.nav`const MobileRightContainer = styled.div`align-items: center;- display: flex;- gap: ${theme.spacing(1)};+ column-gap: ${theme.spacing(1)};+ display: grid;+ grid-template-columns: auto auto;@media (min-width: ${theme.breakpoints.md}px) {display: none;}`;-type RootProps = { children: ReactNode };+type RootProps = {+ backgroundColor: string;+ children: ReactNode;+ navItems: MenuNavItemType[];+ scheme: MenuScheme;+ socialLinks: MenuSocialLinkType[];+};-export function Root({ children }: RootProps) {+export function Root({+ backgroundColor,+ children,+ navItems,+ scheme,+ socialLinks,+}: RootProps) {const [isDrawerOpen, setIsDrawerOpen] = useState(false);+ const buttonColor: {+ border: string;+ stroke: string;+ linkButton: 'primary' | 'secondary';+ } =+ scheme === 'primary'+ ? {+ border: theme.colors.primary.border[20],+ stroke: theme.colors.primary.text[100],+ linkButton: 'secondary',+ }+ : {+ border: theme.colors.secondary.border[20],+ stroke: theme.colors.secondary.text[100],+ linkButton: 'primary',+ };+return (<Drawer.Rootopen={isDrawerOpen}@@ -57,31 +97,37 @@ export function Root({ children }: RootProps) {<CloseDrawerWhenNavigationExpandsEffectonClose={() => setIsDrawerOpen(false)}/>- <StyledMenuContainer>- <StyledNav aria-label="Primary navigation">- {children}- <MobileRightContainer>- <LinkButton- color="secondary"- href="https://app.twenty.com/welcome"- label="Get started"- type="anchor"- variant="contained"- />- <IconButton- icon={isDrawerOpen ? CloseIcon : MenuIcon}- ariaLabel={isDrawerOpen ? 'Close menu' : 'Open menu'}- borderColor={theme.colors.primary.border[20]}- iconFillColor="none"- iconSize={14}- iconStrokeColor={theme.colors.primary.text[100]}- size={40}- onClick={() => setIsDrawerOpen((prev) => !prev)}- />- </MobileRightContainer>- </StyledNav>- </StyledMenuContainer>- <MenuDrawer />+ <StyledSection style={{ backgroundColor }}>+ <StyledContainer>+ <StyledNav aria-label="Primary navigation" data-scheme={scheme}>+ {children}+ <MobileRightContainer>+ <LinkButton+ color={buttonColor.linkButton}+ href="https://app.twenty.com/welcome"+ label="Get started"+ type="anchor"+ variant="contained"+ />+ <IconButton+ icon={isDrawerOpen ? CloseIcon : MenuIcon}+ ariaLabel={isDrawerOpen ? 'Close menu' : 'Open menu'}+ borderColor={buttonColor.border}+ iconFillColor="none"+ iconSize={14}+ iconStrokeColor={buttonColor.stroke}+ size={40}+ onClick={() => setIsDrawerOpen((prev) => !prev)}+ />+ </MobileRightContainer>+ </StyledNav>+ </StyledContainer>+ </StyledSection>+ <MenuDrawer+ navItems={navItems}+ scheme={scheme}+ socialLinks={socialLinks}+ /></Drawer.Root>);}diff --git a/packages/twenty-website-new/src/sections/Menu/components/Social/Social.tsx b/packages/twenty-website-new/src/sections/Menu/components/Social/Social.tsxindex aaead7fab3d..56f06e484ae 100644--- a/packages/twenty-website-new/src/sections/Menu/components/Social/Social.tsx+++ b/packages/twenty-website-new/src/sections/Menu/components/Social/Social.tsx@@ -1,16 +1,20 @@-import { ArrowRightUpIcon } from '@/icons';-import { SOCIAL_LINKS } from '@/sections/Menu/constants/social-links';+import { ArrowRightUpIcon, SOCIAL_ICONS } from '@/icons';+import type { MenuScheme, MenuSocialLinkType } from '@/sections/Menu/types';import { theme } from '@/theme';import { Separator } from '@base-ui/react/separator';import { styled } from '@linaria/react';const SocialContainer = styled.nav`display: none;+ max-width: 100%;+ min-width: 0;@media (min-width: ${theme.breakpoints.md}px) {align-items: center;- display: flex;- gap: ${theme.spacing(5)};+ column-gap: ${theme.spacing(5)};+ display: grid;+ grid-auto-flow: column;+ justify-content: end;}`;@@ -19,8 +23,9 @@ const SocialLinkItem = styled.div`@media (min-width: ${theme.breakpoints.md}px) {align-items: center;- display: flex;- gap: ${theme.spacing(5)};+ column-gap: ${theme.spacing(5)};+ display: grid;+ grid-auto-flow: column;&.discord-link {display: none;@@ -29,7 +34,7 @@ const SocialLinkItem = styled.div`@media (min-width: ${theme.breakpoints.lg}px) {&.discord-link {- display: flex;+ display: grid;}}`;@@ -37,13 +42,22 @@ const SocialLinkItem = styled.div`const SocialLink = styled.a`align-items: center;border-radius: ${theme.radius(1)};- color: ${theme.colors.primary.text[100]};- display: flex;+ column-gap: ${theme.spacing(2)};+ display: grid;font-size: ${theme.font.size(3)};font-weight: ${theme.font.weight.medium};- gap: ${theme.spacing(2)};+ grid-auto-flow: column;letter-spacing: 0;text-decoration: none;+ white-space: nowrap;++ &[data-scheme='primary'] {+ color: ${theme.colors.primary.text[100]};+ }++ &[data-scheme='secondary'] {+ color: ${theme.colors.secondary.text[100]};+ }&:focus-visible {outline: 1px solid ${theme.colors.highlight[100]};@@ -52,37 +66,64 @@ const SocialLink = styled.a``;const Divider = styled(Separator)`- border-left: 1px solid ${theme.colors.primary.border[40]};height: 10px;width: 0px;++ &[data-scheme='primary'] {+ border-left: 1px solid ${theme.colors.primary.border[40]};+ }++ &[data-scheme='secondary'] {+ border-left: 1px solid ${theme.colors.secondary.border[40]};+ }`;-export function Social() {+type SocialProps = {+ scheme: MenuScheme;+ socialLinks: MenuSocialLinkType[];+};++export function Social({ scheme, socialLinks }: SocialProps) {+ const iconFillColor =+ scheme === 'primary'+ ? theme.colors.secondary.background[100]+ : theme.colors.primary.background[100];+return (<SocialContainer aria-label="Social media">- {SOCIAL_LINKS.filter((item) => item.showInDesktop).map((item, index) => (- <SocialLinkItem key={item.href} className={item.className}>- {index > 0 && <Divider orientation="vertical" />}- <SocialLink- href={item.href}- target="_blank"- rel="noopener noreferrer"- aria-label={item.ariaLabel}- >- <item.icon- size={14}- fillColor={theme.colors.secondary.background[100]}- aria-hidden="true"- />- {item.label}- <ArrowRightUpIcon- size={8}- strokeColor={theme.colors.highlight[100]}- aria-hidden="true"- />- </SocialLink>- </SocialLinkItem>- ))}+ {socialLinks+ .filter((item) => item.showInDesktop)+ .map((item, index) => {+ const IconComponent = SOCIAL_ICONS[item.icon];+ if (!IconComponent) return null;++ return (+ <SocialLinkItem key={item.href} className={item.className}>+ {index > 0 && (+ <Divider data-scheme={scheme} orientation="vertical" />+ )}+ <SocialLink+ data-scheme={scheme}+ href={item.href}+ target="_blank"+ rel="noopener noreferrer"+ aria-label={item.ariaLabel}+ >+ <IconComponent+ size={14}+ fillColor={iconFillColor}+ aria-hidden="true"+ />+ {item.label}+ <ArrowRightUpIcon+ size={8}+ strokeColor={theme.colors.highlight[100]}+ aria-hidden="true"+ />+ </SocialLink>+ </SocialLinkItem>+ );+ })}</SocialContainer>);}diff --git a/packages/twenty-website-new/src/sections/Menu/constants/nav-items.ts b/packages/twenty-website-new/src/sections/Menu/constants/nav-items.tsdeleted file mode 100644index 99b8a94aadb..00000000000--- a/packages/twenty-website-new/src/sections/Menu/constants/nav-items.ts+++ /dev/null@@ -1,6 +0,0 @@-export const NAV_ITEMS = [- { label: 'Product', href: '/product' },- { label: 'Pricing', href: '/pricing' },- { label: 'Partners', href: '/partner' },- { label: 'Why Twenty', href: '/why-twenty' },-];diff --git a/packages/twenty-website-new/src/sections/Menu/constants/social-links.ts b/packages/twenty-website-new/src/sections/Menu/constants/social-links.tsdeleted file mode 100644index beaf0ca0999..00000000000--- a/packages/twenty-website-new/src/sections/Menu/constants/social-links.ts+++ /dev/null@@ -1,37 +0,0 @@-import { DiscordIcon, GitHubIcon, LinkedInIcon, XIcon } from "@/icons"--export const SOCIAL_LINKS = [- {- href: "https://github.com/twentyhq/twenty",- icon: GitHubIcon,- label: "39.8K",- ariaLabel: "GitHub (opens in new tab)",- showInDesktop: true,- showInDrawer: true,- },- {- href: "https://discord.gg/cx5n4Jzs57",- icon: DiscordIcon,- label: "5.6K",- ariaLabel: "Discord (opens in new tab)",- className: "discord-link",- showInDesktop: true,- showInDrawer: true,- },- {- href: "https://www.linkedin.com/company/twenty",- icon: LinkedInIcon,- label: undefined,- ariaLabel: "LinkedIn (opens in new tab)",- showInDesktop: false,- showInDrawer: true,- },- {- href: "https://x.com/twentycrm",- icon: XIcon,- label: undefined,- ariaLabel: "X (opens in new tab)",- showInDesktop: false,- showInDrawer: true,- },-]diff --git a/packages/twenty-website-new/src/sections/Menu/types/MenuData.ts b/packages/twenty-website-new/src/sections/Menu/types/MenuData.tsnew file mode 100644index 00000000000..c0c6a67c935--- /dev/null+++ b/packages/twenty-website-new/src/sections/Menu/types/MenuData.ts@@ -0,0 +1,7 @@+import type { MenuNavItemType } from './MenuNavItem';+import type { MenuSocialLinkType } from './MenuSocialLink';++export type MenuDataType = {+ navItems: MenuNavItemType[];+ socialLinks: MenuSocialLinkType[];+};diff --git a/packages/twenty-website-new/src/sections/Menu/types/MenuNavItem.ts b/packages/twenty-website-new/src/sections/Menu/types/MenuNavItem.tsnew file mode 100644index 00000000000..84f5c451a2a--- /dev/null+++ b/packages/twenty-website-new/src/sections/Menu/types/MenuNavItem.ts@@ -0,0 +1,4 @@+export type MenuNavItemType = {+ href: string;+ label: string;+};diff --git a/packages/twenty-website-new/src/sections/Menu/types/MenuSocialLink.ts b/packages/twenty-website-new/src/sections/Menu/types/MenuSocialLink.tsnew file mode 100644index 00000000000..206c3543aff--- /dev/null+++ b/packages/twenty-website-new/src/sections/Menu/types/MenuSocialLink.ts@@ -0,0 +1,9 @@+export type MenuSocialLinkType = {+ ariaLabel: string;+ className?: string;+ href: string;+ icon: string;+ label?: string;+ showInDesktop: boolean;+ showInDrawer: boolean;+};diff --git a/packages/twenty-website-new/src/sections/Menu/types/index.ts b/packages/twenty-website-new/src/sections/Menu/types/index.tsnew file mode 100644index 00000000000..8995789ae31--- /dev/null+++ b/packages/twenty-website-new/src/sections/Menu/types/index.ts@@ -0,0 +1,4 @@+export type { MenuDataType } from './MenuData';+export type { MenuNavItemType } from './MenuNavItem';+export type MenuScheme = 'primary' | 'secondary';+export type { MenuSocialLinkType } from './MenuSocialLink';diff --git a/packages/twenty-website-new/src/sections/Plans/components/BillingToggle/BillingToggle.tsx b/packages/twenty-website-new/src/sections/Plans/components/BillingToggle/BillingToggle.tsxnew file mode 100644index 00000000000..39856b131d3--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/components/BillingToggle/BillingToggle.tsx@@ -0,0 +1,94 @@+'use client';++import type { PlansBillingPeriod } from '@/sections/Plans/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const ToggleTrack = styled.div`+ align-items: center;+ background-color: ${theme.colors.primary.border[10]};+ border-radius: ${theme.radius(10)};+ display: flex;+ padding-bottom: ${theme.spacing(1)};+ padding-left: ${theme.spacing(1.5)};+ padding-right: ${theme.spacing(1.5)};+ padding-top: ${theme.spacing(1)};+`;++const ToggleOption = styled.button`+ align-items: center;+ background: none;+ border: none;+ border-radius: ${theme.radius(9)};+ cursor: pointer;+ display: flex;+ font-family: ${theme.font.family.mono};+ font-size: ${theme.font.size(3)};+ font-weight: ${theme.font.weight.medium};+ column-gap: ${theme.spacing(2)};+ justify-content: center;+ line-height: ${theme.lineHeight(4)};+ padding-bottom: ${theme.spacing(1)};+ padding-left: ${theme.spacing(3)};+ padding-right: ${theme.spacing(3)};+ padding-top: ${theme.spacing(1)};+ text-transform: uppercase;+ white-space: nowrap;++ &[data-active='true'] {+ background-color: ${theme.colors.primary.background[100]};+ color: ${theme.colors.primary.text[100]};+ }++ &[data-active='false'] {+ color: ${theme.colors.primary.text[60]};+ }+`;++const DiscountBadge = styled.span`+ background-color: ${theme.colors.highlight[100]};+ border-radius: ${theme.radius(6)};+ color: ${theme.colors.secondary.text[100]};+ font-family: ${theme.font.family.sans};+ font-size: ${theme.font.size(3)};+ font-weight: ${theme.font.weight.regular};+ line-height: ${theme.lineHeight(3.5)};+ padding-bottom: ${theme.spacing(1)};+ padding-left: ${theme.spacing(1)};+ padding-right: ${theme.spacing(1)};+ padding-top: ${theme.spacing(1)};+`;++type BillingToggleProps = {+ billing: PlansBillingPeriod;+ onBillingChange: (billing: PlansBillingPeriod) => void;+};++export function BillingToggle({+ billing,+ onBillingChange,+}: BillingToggleProps) {+ return (+ <ToggleTrack role="radiogroup" aria-label="Billing period">+ <ToggleOption+ aria-checked={billing === 'monthly'}+ data-active={billing === 'monthly'}+ onClick={() => onBillingChange('monthly')}+ role="radio"+ type="button"+ >+ Monthly+ </ToggleOption>+ <ToggleOption+ aria-checked={billing === 'yearly'}+ data-active={billing === 'yearly'}+ onClick={() => onBillingChange('yearly')}+ role="radio"+ type="button"+ >+ Yearly+ <DiscountBadge>-20%</DiscountBadge>+ </ToggleOption>+ </ToggleTrack>+ );+}diff --git a/packages/twenty-website-new/src/sections/Plans/components/Card/Card.tsx b/packages/twenty-website-new/src/sections/Plans/components/Card/Card.tsxnew file mode 100644index 00000000000..4f06edab899--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/components/Card/Card.tsx@@ -0,0 +1,157 @@+import { Body, Heading, LinkButton } from '@/design-system/components';+import { CheckIcon } from '@/icons/informative/Check';+import type { PlanCardType } from '@/sections/Plans/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const FIXED_ROWS = 4;++const StyledCard = styled.div`+ background-color: ${theme.colors.primary.background[100]};+ border-radius: ${theme.radius(1)};+ display: grid;+ grid-template-columns: 1fr;+ grid-template-rows: subgrid;+ overflow: hidden;+ padding-bottom: ${theme.spacing(4)};+ padding-left: ${theme.spacing(4)};+ padding-right: ${theme.spacing(4)};+ padding-top: ${theme.spacing(4)};+ row-gap: ${theme.spacing(4)};++ &[data-highlighted='true'] {+ border: 1px solid ${theme.colors.highlight[100]};+ }+`;++const CardHeader = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ justify-content: space-between;+ overflow: hidden;++ @media (min-width: ${theme.breakpoints.md}px) {+ grid-template-columns: 1fr auto;+ }+`;++const CardHeaderInfo = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ min-width: 0;+ overflow: hidden;+ row-gap: ${theme.spacing(4)};+`;++const PriceLine = styled.div`+ align-items: baseline;+ display: flex;+ white-space: nowrap;+`;++const CardIllustration = styled.iframe`+ background-color: ${theme.colors.primary.background[100]};+ border: none;+ display: none;+ flex-shrink: 0;+ height: 112px;+ overflow: hidden;+ width: 197px;++ @media (min-width: ${theme.breakpoints.md}px) {+ display: block;+ }+`;++const CardRule = styled.div`+ border-top: 1px dotted ${theme.colors.primary.border[10]};+ height: 0;+ width: 100%;+`;++const FeaturesList = styled.ul`+ display: grid;+ grid-template-columns: 1fr;+ grid-template-rows: subgrid;+ list-style: none;+ margin: 0;+ padding-bottom: 0;+ padding-left: 0;+ padding-right: 0;+ padding-top: 0;+`;++const FeatureItem = styled.li`+ align-items: center;+ column-gap: ${theme.spacing(2)};+ display: grid;+ grid-template-columns: auto 1fr;+`;++type CardProps = {+ card: PlanCardType;+ highlighted?: boolean;+ maxBullets: number;+};++export function Card({ card, highlighted = false, maxBullets }: CardProps) {+ const totalRows = FIXED_ROWS + maxBullets;++ return (+ <StyledCard+ data-highlighted={highlighted}+ style={{ gridRow: `span ${totalRows}` }}+ >+ <CardHeader>+ <CardHeaderInfo>+ <Heading+ as="h3"+ segments={card.heading}+ size="md"+ weight="light"+ />+ <PriceLine>+ <Heading+ as="h4"+ segments={card.price.heading}+ size="sm"+ weight="regular"+ />+ <Body+ as="span"+ body={card.price.body}+ size="sm"+ />+ </PriceLine>+ </CardHeaderInfo>+ <CardIllustration+ allow="clipboard-write; encrypted-media; gyroscope; web-share"+ referrerPolicy="strict-origin-when-cross-origin"+ src={card.illustration.src}+ title={card.illustration.title}+ />+ </CardHeader>++ <LinkButton+ color="secondary"+ href="https://app.twenty.com/welcome"+ label="Start for free"+ type="anchor"+ variant="contained"+ />++ <CardRule />++ <Body body={card.features.title} size="md" />++ <FeaturesList style={{ gridRow: `span ${maxBullets}` }}>+ {card.features.bullets.map((bullet, index) => (+ <FeatureItem key={index}>+ <CheckIcon color={theme.colors.highlight[100]} size={16} />+ <Body as="span" body={bullet} size="sm" />+ </FeatureItem>+ ))}+ </FeaturesList>+ </StyledCard>+ );+}diff --git a/packages/twenty-website-new/src/sections/Plans/components/Cards/Cards.tsx b/packages/twenty-website-new/src/sections/Plans/components/Cards/Cards.tsxnew file mode 100644index 00000000000..8d202c1c10d--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/components/Cards/Cards.tsx@@ -0,0 +1,35 @@+import type { PlanCardType } from '@/sections/Plans/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import { Card } from '../Card/Card';++const CardsGrid = styled.div`+ column-gap: ${theme.spacing(4)};+ display: grid;+ grid-template-columns: 1fr;+ row-gap: ${theme.spacing(4)};+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ grid-template-columns: 1fr 1fr;+ }+`;++type CardsProps = {+ organization: PlanCardType;+ pro: PlanCardType;+};++export function Cards({ organization, pro }: CardsProps) {+ const maxBullets = Math.max(+ pro.features.bullets.length,+ organization.features.bullets.length,+ );++ return (+ <CardsGrid>+ <Card card={pro} maxBullets={maxBullets} />+ <Card card={organization} highlighted maxBullets={maxBullets} />+ </CardsGrid>+ );+}diff --git a/packages/twenty-website-new/src/sections/Plans/components/PlansContent/PlansContent.tsx b/packages/twenty-website-new/src/sections/Plans/components/PlansContent/PlansContent.tsxnew file mode 100644index 00000000000..95c60ad7354--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/components/PlansContent/PlansContent.tsx@@ -0,0 +1,33 @@+'use client';++import { PLANS_DATA } from '@/app/pricing/constants/plans';+import type {+ PlansBillingPeriod,+ PlansHostingMode,+} from '@/sections/Plans/types';+import { getPlanCard } from '@/sections/Plans/utils';+import { useState } from 'react';+import { BillingToggle } from '../BillingToggle/BillingToggle';+import { Cards } from '../Cards/Cards';+import { SelfHostToggle } from '../SelfHostToggle/SelfHostToggle';++export function PlansContent() {+ const [billing, setBilling] = useState<PlansBillingPeriod>('yearly');+ const [hosting, setHosting] = useState<PlansHostingMode>('cloud');++ const proCard = getPlanCard(PLANS_DATA, 'pro', hosting, billing);+ const organizationCard = getPlanCard(+ PLANS_DATA,+ 'organization',+ hosting,+ billing,+ );++ return (+ <>+ <BillingToggle billing={billing} onBillingChange={setBilling} />+ <SelfHostToggle hosting={hosting} onHostingChange={setHosting} />+ <Cards organization={organizationCard} pro={proCard} />+ </>+ );+}diff --git a/packages/twenty-website-new/src/sections/Plans/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Plans/components/Root/Root.tsxnew file mode 100644index 00000000000..ae51710fe53--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/components/Root/Root.tsx@@ -0,0 +1,39 @@+import { Container } from '@/design-system/components';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledSection = styled.section`+ width: 100%;+`;++const StyledContainer = styled(Container)`+ display: grid;+ grid-template-columns: 1fr;+ justify-items: center;+ padding-bottom: ${theme.spacing(12)};+ padding-left: ${theme.spacing(4)};+ padding-right: ${theme.spacing(4)};+ padding-top: ${theme.spacing(12)};+ row-gap: ${theme.spacing(8)};++ @media (min-width: ${theme.breakpoints.md}px) {+ padding-bottom: ${theme.spacing(20)};+ padding-left: ${theme.spacing(10)};+ padding-right: ${theme.spacing(10)};+ padding-top: ${theme.spacing(20)};+ }+`;++type RootProps = {+ backgroundColor: string;+ children: ReactNode;+};++export function Root({ backgroundColor, children }: RootProps) {+ return (+ <StyledSection style={{ backgroundColor }}>+ <StyledContainer>{children}</StyledContainer>+ </StyledSection>+ );+}diff --git a/packages/twenty-website-new/src/sections/Plans/components/SelfHostToggle/SelfHostToggle.tsx b/packages/twenty-website-new/src/sections/Plans/components/SelfHostToggle/SelfHostToggle.tsxnew file mode 100644index 00000000000..bbe6b5c0f87--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/components/SelfHostToggle/SelfHostToggle.tsx@@ -0,0 +1,96 @@+'use client';++import type { PlansHostingMode } from '@/sections/Plans/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const ToggleRow = styled.label`+ align-items: center;+ column-gap: ${theme.spacing(2)};+ cursor: pointer;+ display: grid;+ grid-template-columns: auto 1fr;+ width: 100%;+`;++const Checkbox = styled.span`+ align-items: center;+ border: 1px solid ${theme.colors.highlight[100]};+ border-radius: ${theme.radius(1)};+ display: grid;+ height: 20px;+ justify-items: center;+ width: 20px;++ &[data-checked='true'] {+ background-color: ${theme.colors.highlight[100]};+ }++ &[data-checked='false'] {+ background-color: ${theme.colors.primary.text[5]};+ }+`;++function CheckmarkIcon() {+ return (+ <svg+ aria-hidden+ fill="none"+ height="12"+ viewBox="0 0 12 12"+ width="12"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ d="m2.5 6 2.5 2.5 4.5-5"+ stroke="white"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ />+ </svg>+ );+}++const HiddenInput = styled.input`+ height: 0;+ opacity: 0;+ position: absolute;+ width: 0;+`;++const LabelText = styled.span`+ color: ${theme.colors.primary.text[80]};+ font-family: ${theme.font.family.sans};+ font-size: ${theme.font.size(4)};+ font-weight: ${theme.font.weight.regular};+ line-height: ${theme.lineHeight(5.5)};+`;++type SelfHostToggleProps = {+ hosting: PlansHostingMode;+ onHostingChange: (hosting: PlansHostingMode) => void;+};++export function SelfHostToggle({+ hosting,+ onHostingChange,+}: SelfHostToggleProps) {+ const isSelfHost = hosting === 'selfHost';++ return (+ <ToggleRow>+ <HiddenInput+ checked={isSelfHost}+ onChange={() =>+ onHostingChange(isSelfHost ? 'cloud' : 'selfHost')+ }+ type="checkbox"+ />+ <Checkbox data-checked={isSelfHost}>+ {isSelfHost && <CheckmarkIcon />}+ </Checkbox>+ <LabelText>Selfhosting</LabelText>+ </ToggleRow>+ );+}diff --git a/packages/twenty-website-new/src/sections/Plans/components/index.ts b/packages/twenty-website-new/src/sections/Plans/components/index.tsnew file mode 100644index 00000000000..c7cd32fd618--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/components/index.ts@@ -0,0 +1,15 @@+import { BillingToggle } from './BillingToggle/BillingToggle';+import { Card } from './Card/Card';+import { Cards } from './Cards/Cards';+import { PlansContent } from './PlansContent/PlansContent';+import { Root } from './Root/Root';+import { SelfHostToggle } from './SelfHostToggle/SelfHostToggle';++export const Plans = {+ BillingToggle,+ Card,+ Cards,+ Content: PlansContent,+ Root,+ SelfHostToggle,+};diff --git a/packages/twenty-website-new/src/sections/Plans/types/PlanCard.ts b/packages/twenty-website-new/src/sections/Plans/types/PlanCard.tsnew file mode 100644index 00000000000..d03a8accdd3--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/types/PlanCard.ts@@ -0,0 +1,11 @@+import { HeadingType } from '@/design-system/components/Heading/types/Heading';+import { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';+import { PlanFeaturesType } from '@/sections/Plans/types/PlanFeatures';+import { PlanPriceType } from '@/sections/Plans/types/PlanPrice';++export type PlanCardType = {+ heading: HeadingType;+ price: PlanPriceType;+ illustration: IllustrationType;+ features: PlanFeaturesType;+};diff --git a/packages/twenty-website-new/src/sections/Plans/types/PlanFeatures.ts b/packages/twenty-website-new/src/sections/Plans/types/PlanFeatures.tsnew file mode 100644index 00000000000..369b1f9b014--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/types/PlanFeatures.ts@@ -0,0 +1,6 @@+import { BodyType } from '@/design-system/components/Body/types/Body';++export type PlanFeaturesType = {+ title: BodyType;+ bullets: BodyType[];+};diff --git a/packages/twenty-website-new/src/sections/Plans/types/PlanPrice.ts b/packages/twenty-website-new/src/sections/Plans/types/PlanPrice.tsnew file mode 100644index 00000000000..02b6b59164c--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/types/PlanPrice.ts@@ -0,0 +1,7 @@+import { BodyType } from '@/design-system/components/Body/types/Body';+import { HeadingType } from '@/design-system/components/Heading/types/Heading';++export type PlanPriceType = {+ heading: HeadingType;+ body: BodyType;+};diff --git a/packages/twenty-website-new/src/sections/Plans/types/PlansData.ts b/packages/twenty-website-new/src/sections/Plans/types/PlansData.tsnew file mode 100644index 00000000000..07ed1b9d609--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/types/PlansData.ts@@ -0,0 +1,38 @@+import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';+import type { PlanPriceType } from './PlanPrice';++// Same literals as UI toggles when reading cells.+export type PlansHostingMode = 'cloud' | 'selfHost';+export type PlansBillingPeriod = 'monthly' | 'yearly';+export type PlansTierId = 'pro' | 'organization';++// Varies per hosting × billing (eight leaves per tier).+export type PlansTierCellType = {+ featureBullets: BodyType[];+ price: PlanPriceType;+};++export type PlansTierBillingMatrixType = {+ monthly: PlansTierCellType;+ yearly: PlansTierCellType;+};++export type PlansTierCellsType = {+ cloud: PlansTierBillingMatrixType;+ selfHost: PlansTierBillingMatrixType;+};++// Shared across all eight combinations for this tier.+export type PlansTierType = {+ cells: PlansTierCellsType;+ featuresTitle: BodyType;+ heading: HeadingType;+ illustration: IllustrationType;+};++export type PlansDataType = {+ organization: PlansTierType;+ pro: PlansTierType;+};diff --git a/packages/twenty-website-new/src/sections/Plans/types/index.ts b/packages/twenty-website-new/src/sections/Plans/types/index.tsnew file mode 100644index 00000000000..62fb7f4ba83--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/types/index.ts@@ -0,0 +1,13 @@+export type { PlanCardType } from './PlanCard';+export type { PlanFeaturesType } from './PlanFeatures';+export type { PlanPriceType } from './PlanPrice';+export type {+ PlansBillingPeriod,+ PlansDataType,+ PlansHostingMode,+ PlansTierBillingMatrixType,+ PlansTierCellType,+ PlansTierCellsType,+ PlansTierId,+ PlansTierType,+} from './PlansData';diff --git a/packages/twenty-website-new/src/sections/Plans/utils/get-plan-card.ts b/packages/twenty-website-new/src/sections/Plans/utils/get-plan-card.tsnew file mode 100644index 00000000000..492281c3a6b--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/utils/get-plan-card.ts@@ -0,0 +1,27 @@+import type { PlanCardType } from '@/sections/Plans/types/PlanCard';+import type {+ PlansBillingPeriod,+ PlansDataType,+ PlansHostingMode,+ PlansTierId,+} from '@/sections/Plans/types/PlansData';++export function getPlanCard(+ plansData: PlansDataType,+ tierId: PlansTierId,+ hosting: PlansHostingMode,+ billing: PlansBillingPeriod,+): PlanCardType {+ const tier = plansData[tierId];+ const cell = tier.cells[hosting][billing];++ return {+ heading: tier.heading,+ illustration: tier.illustration,+ price: cell.price,+ features: {+ bullets: cell.featureBullets,+ title: tier.featuresTitle,+ },+ };+}diff --git a/packages/twenty-website-new/src/sections/Plans/utils/index.ts b/packages/twenty-website-new/src/sections/Plans/utils/index.tsnew file mode 100644index 00000000000..5f095263eb1--- /dev/null+++ b/packages/twenty-website-new/src/sections/Plans/utils/index.ts@@ -0,0 +1 @@+export { getPlanCard } from './get-plan-card';diff --git a/packages/twenty-website-new/src/sections/Problem/components/Points/Points.tsx b/packages/twenty-website-new/src/sections/Problem/components/Points/Points.tsxindex 5d17463fc22..e088d8cbe45 100644--- a/packages/twenty-website-new/src/sections/Problem/components/Points/Points.tsx+++ b/packages/twenty-website-new/src/sections/Problem/components/Points/Points.tsx@@ -1,6 +1,6 @@import { Body } from '@/design-system/components/Body/Body';import { Heading } from '@/design-system/components/Heading/Heading';-import { ProblemPointType } from '@/sections/Problem/types';+import type { ProblemPointType } from '@/sections/Problem/types';import { theme } from '@/theme';import { styled } from '@linaria/react';import React from 'react';@@ -28,7 +28,8 @@ const StyledPoint = styled.div`row-gap: ${theme.spacing(2)};@media (min-width: ${theme.breakpoints.md}px) {- width: 380px;+ max-width: 380px;+ width: 100%;}`;diff --git a/packages/twenty-website-new/src/sections/ProductStepper/components/Content/Content.tsx b/packages/twenty-website-new/src/sections/ProductStepper/components/Content/Content.tsxnew file mode 100644index 00000000000..32f837e64da--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/Content/Content.tsx@@ -0,0 +1,275 @@+'use client';++import { Body, Eyebrow, Heading } from '@/design-system/components';+import { INFORMATIVE_ICONS } from '@/icons';+import type { ProductStepperContentProps } from '@/sections/ProductStepper/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import { useEffect, useRef } from 'react';++const ContentRoot = styled.div`+ display: grid;+ grid-template-columns: auto 1fr;+ gap: ${theme.spacing(6)};+ min-width: 0;++ @media (min-width: ${theme.breakpoints.md}px) {+ gap: ${theme.spacing(10)};+ }+`;++const ProgressRail = styled.div`+ display: none;++ @media (min-width: ${theme.breakpoints.md}px) {+ display: flex;+ flex-direction: column;+ align-items: center;+ gap: ${theme.spacing(2)};+ position: sticky;+ top: calc(50vh - ${theme.spacing(10)});+ height: max-content;+ }+`;++const StepIndicatorRow = styled.div`+ display: flex;+ align-items: flex-start;+ gap: ${theme.spacing(4)};+`;++const PillBackground = styled.div`+ background-color: ${theme.colors.primary.border[80]};+ border-radius: ${theme.radius(8)};+ display: flex;+ height: ${theme.spacing(20)};+ overflow: hidden;+ width: ${theme.spacing(1)};+`;++const PillFill = styled.div`+ background-color: ${theme.colors.highlight[100]};+ border-radius: ${theme.radius(10)};+ transition: height 0.4s ease;+ width: 100%;+`;++const ActiveLabel = styled.p`+ color: ${theme.colors.highlight[100]};+ font-family: ${theme.font.family.mono};+ font-size: ${theme.font.size(3)};+ font-weight: ${theme.font.weight.medium};+ margin: 0;+ text-transform: uppercase;+ line-height: ${theme.spacing(4)};+`;++const InactiveDotWrapper = styled.div`+ display: flex;+ align-items: center;+ gap: ${theme.spacing(4)};+`;++const InactiveDot = styled.div`+ background-color: ${theme.colors.primary.border[80]};+ border-radius: 50%;+ height: ${theme.spacing(1)};+ width: ${theme.spacing(1)};+`;++const StepsColumn = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ min-width: 0;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 520px;+ }+`;++const StepBlock = styled.div`+ align-content: center;+ display: grid;+ grid-template-columns: 1fr;+ min-height: 80vh;+ opacity: 0.3;+ row-gap: ${theme.spacing(4)};+ transition: opacity 0.4s ease;++ @media (min-width: ${theme.breakpoints.md}px) {+ min-height: 100vh;+ row-gap: ${theme.spacing(6)};+ }++ &[data-active='true'] {+ opacity: 1;+ }+`;++const IntroBlock = styled.div`+ align-content: center;+ display: grid;+ grid-template-columns: 1fr;+ min-height: 80vh;+ row-gap: ${theme.spacing(4)};++ @media (min-width: ${theme.breakpoints.md}px) {+ min-height: 100vh;+ }+`;++type ProgressRailProps = {+ activeStepIndex: number;+ stepCount: number;+};++function ProductProgressRail({+ activeStepIndex,+ stepCount,+}: ProgressRailProps) {+ const nodes = [];++ for (let index = 0; index < stepCount; index += 1) {+ if (index === activeStepIndex) {+ nodes.push(+ <StepIndicatorRow key={`step-${index}`}>+ <PillBackground>+ <PillFill style={{ height: '100%' }} />+ </PillBackground>+ <ActiveLabel>{String(index + 1).padStart(2, '0')}</ActiveLabel>+ </StepIndicatorRow>,+ );+ } else {+ nodes.push(+ <InactiveDotWrapper key={`step-${index}`}>+ <InactiveDot />+ </InactiveDotWrapper>,+ );+ }+ }++ return <ProgressRail>{nodes}</ProgressRail>;+}++const StepRowHeader = styled.div`+ display: flex;+ align-items: center;+ gap: ${theme.spacing(4)};+`;++const StepIconBox = styled.div`+ align-items: center;+ border-radius: ${theme.radius(1)};+ display: flex;+ height: 22px;+ justify-content: center;+ width: 22px;++ &[data-active='true'] {+ background-color: ${theme.colors.highlight[100]};+ }++ &[data-active='false'] {+ background-color: transparent;+ }+`;++export function Content({+ activeStepIndex,+ body,+ eyebrow,+ heading,+ onStepSelect,+ steps,+}: ProductStepperContentProps) {+ const stepRefs = useRef<(HTMLDivElement | null)[]>([]);++ useEffect(() => {+ stepRefs.current = stepRefs.current.slice(0, steps.length);+ }, [steps.length]);++ useEffect(() => {+ const elements = stepRefs.current.filter(Boolean) as HTMLDivElement[];+ if (elements.length === 0) {+ return;+ }++ const observer = new IntersectionObserver(+ (entries) => {+ const candidates = entries.filter(+ (entry) => entry.isIntersecting && entry.intersectionRatio > 0.15,+ );+ if (candidates.length === 0) {+ return;+ }++ const best = candidates.reduce((previous, current) =>+ current.intersectionRatio > previous.intersectionRatio+ ? current+ : previous,+ );+ const indexAttribute = best.target.getAttribute('data-step-index');+ const index = indexAttribute === null ? NaN : Number(indexAttribute);+ if (!Number.isNaN(index)) {+ onStepSelect(index);+ }+ },+ { root: null, threshold: [0, 0.15, 0.3, 0.5, 0.75, 1] },+ );++ elements.forEach((element) => observer.observe(element));++ return () => observer.disconnect();+ }, [onStepSelect, steps]);++ return (+ <ContentRoot>+ <ProductProgressRail+ activeStepIndex={activeStepIndex}+ stepCount={steps.length}+ />+ <StepsColumn>+ <IntroBlock>+ <Eyebrow colorScheme="primary" heading={eyebrow.heading} />+ <Heading segments={heading} size="lg" weight="light" />+ <Body body={body} size="sm" />+ </IntroBlock>+ {steps.map((step, index) => {+ const Icon = INFORMATIVE_ICONS[step.icon];+ const isActive = index === activeStepIndex;+ const iconColor = isActive+ ? theme.colors.highlight[100]+ : theme.colors.secondary.text[100];++ return (+ <StepBlock+ data-active={String(isActive)}+ data-step-index={index}+ key={index}+ ref={(element) => {+ stepRefs.current[index] = element;+ }}+ >+ <StepRowHeader>+ <StepIconBox data-active={String(isActive)}>+ {Icon ? (+ <Icon+ color={+ isActive+ ? theme.colors.primary.background[100]+ : iconColor+ }+ size={14}+ />+ ) : null}+ </StepIconBox>+ <Heading segments={step.heading} size="md" weight="regular" />+ </StepRowHeader>+ <Body body={step.body} size="sm" />+ </StepBlock>+ );+ })}+ </StepsColumn>+ </ContentRoot>+ );+}diff --git a/packages/twenty-website-new/src/sections/ProductStepper/components/Flow/Flow.tsx b/packages/twenty-website-new/src/sections/ProductStepper/components/Flow/Flow.tsxnew file mode 100644index 00000000000..eb94430dc2a--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/Flow/Flow.tsx@@ -0,0 +1,47 @@+'use client';++import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { EyebrowType } from '@/design-system/components/Eyebrow/types/Eyebrow';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import type { ProductStepperStepType } from '@/sections/ProductStepper/types/ProductStepperStep';+import { useMemo, useState } from 'react';+import { Content } from '../Content/Content';+import { Root } from '../Root/Root';+import { Visual } from '../Visual/Visual';++type FlowProps = {+ body: BodyType;+ eyebrow: EyebrowType;+ heading: HeadingType[];+ steps: ProductStepperStepType[];+};++export function Flow({ body, eyebrow, heading, steps }: FlowProps) {+ const [activeStepIndex, setActiveStepIndex] = useState(0);++ const contentSteps = useMemo(+ () =>+ steps.map(({ body: stepBody, heading: stepHeading, icon }) => ({+ body: stepBody,+ heading: stepHeading,+ icon,+ })),+ [steps],+ );++ const images = useMemo(() => steps.map((step) => step.image), [steps]);++ return (+ <Root>+ <Content+ activeStepIndex={activeStepIndex}+ body={body}+ eyebrow={eyebrow}+ heading={heading}+ onStepSelect={setActiveStepIndex}+ steps={contentSteps}+ />+ <Visual activeStepIndex={activeStepIndex} images={images} />+ </Root>+ );+}diff --git a/packages/twenty-website-new/src/sections/ProductStepper/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/ProductStepper/components/Root/Root.tsxnew file mode 100644index 00000000000..462f41a4e20--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/Root/Root.tsx@@ -0,0 +1,42 @@+import { Container } from '@/design-system/components';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++const StyledSection = styled.section`+ background-color: ${theme.colors.primary.text[5]};+ width: 100%;+`;++const Grid = styled(Container)`+ display: grid;+ grid-template-columns: 1fr;+ min-width: 0;+ padding-bottom: ${theme.spacing(12)};+ padding-left: ${theme.spacing(4)};+ padding-right: ${theme.spacing(4)};+ padding-top: ${theme.spacing(12)};+ row-gap: ${theme.spacing(10)};+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ align-items: start;+ column-gap: ${theme.spacing(10)};+ grid-template-columns: minmax(0, 1fr) minmax(0, 672px);+ padding-bottom: ${theme.spacing(20)};+ padding-left: ${theme.spacing(10)};+ padding-right: ${theme.spacing(10)};+ padding-top: ${theme.spacing(20)};+ row-gap: ${theme.spacing(12)};+ }+`;++type RootProps = { children: ReactNode };++export function Root({ children }: RootProps) {+ return (+ <StyledSection>+ <Grid>{children}</Grid>+ </StyledSection>+ );+}diff --git a/packages/twenty-website-new/src/sections/ProductStepper/components/StepperVisualFrame/StepperVisualFrame.tsx b/packages/twenty-website-new/src/sections/ProductStepper/components/StepperVisualFrame/StepperVisualFrame.tsxnew file mode 100644index 00000000000..8d8481a9428--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/StepperVisualFrame/StepperVisualFrame.tsx@@ -0,0 +1,80 @@+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import NextImage from 'next/image';+import type { ReactNode } from 'react';++const FrameRoot = styled.div`+ position: relative;+ width: 100%;+ aspect-ratio: 672 / 705;+`;++const PatternBackdrop = styled.div`+ inset: 0;+ opacity: 0.55;+ pointer-events: none;+ position: absolute;+ z-index: 0;+`;++const patternImageClassName = css`+ object-fit: cover;+ object-position: center;+`;++const SlideArea = styled.div`+ inset: 0;+ position: absolute;+ z-index: 1;+`;++const ShapeOverlay = styled.div`+ inset: 0;+ pointer-events: none;+ position: absolute;+ z-index: 2;+`;++const shapeImageClassName = css`+ height: 100%;+ object-fit: fill;+ object-position: center;+ width: 100%;+`;++type StepperVisualFrameProps = {+ backgroundSrc: string;+ children: ReactNode;+ shapeSrc: string;+};++export function StepperVisualFrame({+ backgroundSrc,+ children,+ shapeSrc,+}: StepperVisualFrameProps) {+ return (+ <FrameRoot>+ <PatternBackdrop aria-hidden>+ <NextImage+ alt=""+ className={patternImageClassName}+ fill+ sizes="(min-width: 921px) 672px, 100vw"+ src={backgroundSrc}+ />+ </PatternBackdrop>+ <SlideArea>{children}</SlideArea>+ <ShapeOverlay aria-hidden>+ <NextImage+ alt=""+ className={shapeImageClassName}+ fill+ priority={false}+ sizes="(min-width: 921px) 672px, 100vw"+ src={shapeSrc}+ />+ </ShapeOverlay>+ </FrameRoot>+ );+}diff --git a/packages/twenty-website-new/src/sections/ProductStepper/components/Visual/Visual.tsx b/packages/twenty-website-new/src/sections/ProductStepper/components/Visual/Visual.tsxnew file mode 100644index 00000000000..f9f5a204fb6--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/Visual/Visual.tsx@@ -0,0 +1,62 @@+import type { ProductStepperVisualProps } from '@/sections/ProductStepper/types';+import { theme } from '@/theme';+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import NextImage from 'next/image';+import { StepperVisualFrame } from '../StepperVisualFrame/StepperVisualFrame';++const PRODUCT_STEPPER_BACKGROUND = '/images/product/stepper/background.png';+const PRODUCT_STEPPER_SHAPE = '/images/product/stepper/background-shape.png';++const VisualColumn = styled.div`+ min-width: 0;+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 672px;+ position: sticky;+ top: ${theme.spacing(10)};+ }+`;++const slideImageClassName = css`+ object-fit: contain;+ object-position: center;+ opacity: 0;+ transition: opacity 0.4s ease;++ &[data-active='true'] {+ opacity: 1;+ }+`;++export function Visual({ activeStepIndex, images }: ProductStepperVisualProps) {+ if (!images || images.length === 0) {+ return null;+ }++ return (+ <VisualColumn>+ <StepperVisualFrame+ backgroundSrc={PRODUCT_STEPPER_BACKGROUND}+ shapeSrc={PRODUCT_STEPPER_SHAPE}+ >+ {images.map((image, index) => {+ if (!image) return null;++ return (+ <NextImage+ key={`${image.src}-${index}`}+ alt={image.alt}+ className={slideImageClassName}+ data-active={String(index === activeStepIndex)}+ fill+ sizes="(min-width: 921px) 672px, 100vw"+ src={image.src}+ />+ );+ })}+ </StepperVisualFrame>+ </VisualColumn>+ );+}diff --git a/packages/twenty-website-new/src/sections/ProductStepper/components/index.ts b/packages/twenty-website-new/src/sections/ProductStepper/components/index.tsnew file mode 100644index 00000000000..60065e28963--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/index.ts@@ -0,0 +1,11 @@+import { Content } from './Content/Content';+import { Flow } from './Flow/Flow';+import { Root } from './Root/Root';+import { Visual } from './Visual/Visual';++export const ProductStepper = {+ Content,+ Flow,+ Root,+ Visual,+};diff --git a/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentProps.ts b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentProps.tsnew file mode 100644index 00000000000..7d6e5db9421--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentProps.ts@@ -0,0 +1,13 @@+import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { EyebrowType } from '@/design-system/components/Eyebrow/types/Eyebrow';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import type { ProductStepperContentStepType } from '@/sections/ProductStepper/types/ProductStepperContentStep';++export type ProductStepperContentProps = {+ activeStepIndex: number;+ body: BodyType;+ eyebrow: EyebrowType;+ heading: HeadingType[];+ onStepSelect: (index: number) => void;+ steps: ProductStepperContentStepType[];+};diff --git a/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentStep.ts b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentStep.tsnew file mode 100644index 00000000000..44a73adc249--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentStep.ts@@ -0,0 +1,6 @@+import type { ProductStepperStepType } from '@/sections/ProductStepper/types/ProductStepperStep';++export type ProductStepperContentStepType = Omit<+ ProductStepperStepType,+ 'image'+>;diff --git a/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperData.ts b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperData.tsnew file mode 100644index 00000000000..8034bf26960--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperData.ts@@ -0,0 +1,11 @@+import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { EyebrowType } from '@/design-system/components/Eyebrow/types/Eyebrow';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import type { ProductStepperStepType } from '@/sections/ProductStepper/types/ProductStepperStep';++export type ProductStepperDataType = {+ body: BodyType;+ eyebrow: EyebrowType;+ heading: HeadingType[];+ steps: ProductStepperStepType[];+};diff --git a/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperStep.ts b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperStep.tsnew file mode 100644index 00000000000..6d6ed42ad48--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperStep.ts@@ -0,0 +1,10 @@+import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import type { ImageType } from '@/design-system/components/Image/types/Image';++export type ProductStepperStepType = {+ body: BodyType;+ heading: HeadingType;+ icon: string;+ image: ImageType;+};diff --git a/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperVisualProps.ts b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperVisualProps.tsnew file mode 100644index 00000000000..a5b756bf4b6--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperVisualProps.ts@@ -0,0 +1,6 @@+import type { ImageType } from '@/design-system/components/Image/types/Image';++export type ProductStepperVisualProps = {+ activeStepIndex: number;+ images: ImageType[];+};diff --git a/packages/twenty-website-new/src/sections/ProductStepper/types/index.ts b/packages/twenty-website-new/src/sections/ProductStepper/types/index.tsnew file mode 100644index 00000000000..2caa461b41d--- /dev/null+++ b/packages/twenty-website-new/src/sections/ProductStepper/types/index.ts@@ -0,0 +1,5 @@+export type { ProductStepperContentProps } from './ProductStepperContentProps';+export type { ProductStepperContentStepType } from './ProductStepperContentStep';+export type { ProductStepperDataType } from './ProductStepperData';+export type { ProductStepperStepType } from './ProductStepperStep';+export type { ProductStepperVisualProps } from './ProductStepperVisualProps';diff --git a/packages/twenty-website-new/src/sections/Tabs/components/Body/Body.tsx b/packages/twenty-website-new/src/sections/Tabs/components/Body/Body.tsxnew file mode 100644index 00000000000..8564c158267--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/Body/Body.tsx@@ -0,0 +1,17 @@+import { Body as BaseBody } from '@/design-system/components';+import { BodyType } from '@/design-system/components/Body/types/Body';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const StyledBody = styled(BaseBody)`+ margin-top: calc(${theme.spacing(2)} - ${theme.spacing(6)});+ margin-bottom: ${theme.spacing(12)};+`;++type BodyProps = {+ body: BodyType;+};++export function Body({ body }: BodyProps) {+ return <StyledBody body={body} size="sm" />;+}diff --git a/packages/twenty-website-new/src/sections/Tabs/components/Heading/Heading.tsx b/packages/twenty-website-new/src/sections/Tabs/components/Heading/Heading.tsxnew file mode 100644index 00000000000..1c7a308bbbf--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/Heading/Heading.tsx@@ -0,0 +1,20 @@+import { Heading as BaseHeading } from '@/design-system/components';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const StyledHeading = styled(BaseHeading)`+ white-space: pre-line;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 672px;+ }+`;++type HeadingProps = {+ segments: HeadingType[];+};++export function Heading({ segments }: HeadingProps) {+ return <StyledHeading segments={segments} size="lg" weight="light" />;+}diff --git a/packages/twenty-website-new/src/sections/Tabs/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Tabs/components/Root/Root.tsxnew file mode 100644index 00000000000..c80c2bbe89c--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/Root/Root.tsx@@ -0,0 +1,131 @@+import { Container } from '@/design-system/components';+import { theme } from '@/theme';+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import NextImage from 'next/image';+import type { ReactNode } from 'react';++const RootWrapper = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ position: relative;+ width: 100%;+`;++const TabBackgrounds = styled.div`+ align-self: stretch;+ grid-column: 1;+ grid-row: 1;+ min-height: 0;+ pointer-events: none;+ position: relative;+ width: 100%;+ z-index: 0;+`;++const BackgroundShape = styled.div`+ bottom: 0;+ left: 0;+ pointer-events: none;+ position: absolute;+ right: 0;+ top: 0;+`;++const ShapeClip = styled.div`+ bottom: 0;+ left: 0;+ overflow: hidden;+ pointer-events: none;+ position: absolute;+ right: 0;+ top: 0;+ z-index: 0;+`;++const shapeFillClassName = css`+ object-fit: cover;+ object-position: center top;+`;++const PatternLayer = styled.div`+ bottom: -81px;+ height: 575px;+ left: 50%;+ opacity: 0.4;+ pointer-events: none;+ position: absolute;+ transform: translateX(-50%);+ width: 100%;+ z-index: 1;+`;++const patternImageClassName = css`+ object-fit: cover;+`;++const StyledSection = styled.section`+ align-self: start;+ grid-column: 1;+ grid-row: 1;+ position: relative;+ width: 100%;+ z-index: 2;+`;++const StyledContainer = styled(Container)`+ color: ${theme.colors.secondary.text[100]};+ display: grid;+ grid-template-columns: 1fr;+ justify-items: center;+ padding-bottom: ${theme.spacing(16)};+ padding-left: ${theme.spacing(4)};+ padding-right: ${theme.spacing(4)};+ padding-top: ${theme.spacing(16)};+ row-gap: ${theme.spacing(6)};+ text-align: center;+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ padding-bottom: ${theme.spacing(40)};+ padding-left: ${theme.spacing(10)};+ padding-right: ${theme.spacing(10)};+ padding-top: ${theme.spacing(40)};+ row-gap: ${theme.spacing(6)};+ }+`;++type RootProps = { children: ReactNode };++export function Root({ children }: RootProps) {+ return (+ <RootWrapper>+ <TabBackgrounds aria-hidden>+ <BackgroundShape>+ <ShapeClip>+ <NextImage+ alt=""+ className={shapeFillClassName}+ fill+ priority+ sizes="100vw"+ src="/images/product/tabs/background-shape.png"+ />+ </ShapeClip>+ <PatternLayer>+ <NextImage+ alt=""+ className={patternImageClassName}+ fill+ sizes="100vw"+ src="/images/product/tabs/background.png"+ />+ </PatternLayer>+ </BackgroundShape>+ </TabBackgrounds>+ <StyledSection>+ <StyledContainer>{children}</StyledContainer>+ </StyledSection>+ </RootWrapper>+ );+}diff --git a/packages/twenty-website-new/src/sections/Tabs/components/TabButton/TabButton.tsx b/packages/twenty-website-new/src/sections/Tabs/components/TabButton/TabButton.tsxnew file mode 100644index 00000000000..7c7e60408c0--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/TabButton/TabButton.tsx@@ -0,0 +1,110 @@+'use client';++import { INFORMATIVE_ICONS } from '@/icons';+import type { TabType } from '@/sections/Tabs/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const Label = styled.span`+ min-width: 0;+ overflow: hidden;+ text-overflow: ellipsis;+ white-space: nowrap;+`;++const StyledButton = styled.button`+ align-items: center;+ border-radius: ${theme.radius(2)};+ box-sizing: border-box;+ cursor: pointer;+ display: grid;+ font-family: ${theme.font.family.sans};+ font-size: ${theme.font.size(3.5)};+ font-weight: ${theme.font.weight.regular};+ gap: ${theme.spacing(2)};+ grid-template-columns: minmax(0, 1fr) auto;+ line-height: ${theme.lineHeight(3.5)};+ max-width: 100%;+ min-width: 0;+ padding: ${theme.spacing(2)};+ text-align: left;+ transition:+ background-color 0.2s ease,+ background-image 0.2s ease,+ border-color 0.2s ease,+ color 0.2s ease;++ &[data-active='true'] {+ background-color: ${theme.colors.primary.background[100]};+ border: 1px solid transparent;+ color: ${theme.colors.primary.text[100]};+ }++ &[data-active='false'] {+ background-color: ${theme.colors.secondary.background[100]};+ background-image: linear-gradient(+ 90deg,+ rgba(255, 255, 255, 0.1) 0%,+ rgba(255, 255, 255, 0.1) 100%+ );+ border: 1px solid ${theme.colors.secondary.border[10]};+ color: ${theme.colors.secondary.text[100]};+ }++ &:focus-visible {+ outline: 1px solid ${theme.colors.highlight[100]};+ outline-offset: 1px;+ }+`;++const TabIconBox = styled.span`+ border-radius: ${theme.radius(1)};+ display: grid;+ height: ${theme.spacing(6)};+ overflow: hidden;+ place-items: center;+ width: ${theme.spacing(6)};++ & svg {+ display: block;+ max-height: 100%;+ max-width: 100%;+ }++ &[data-active='true'] {+ background-color: ${theme.colors.primary.text[10]};+ }++ &[data-active='false'] {+ background-color: ${theme.colors.highlight[100]};+ }+`;++type TabButtonProps = {+ tab: TabType;+ isActive: boolean;+ onSelect: () => void;+};++export function TabButton({ tab, isActive, onSelect }: TabButtonProps) {+ const iconColor = isActive+ ? theme.colors.highlight[100]+ : theme.colors.secondary.text[100];++ const Icon = INFORMATIVE_ICONS[tab.icon];++ return (+ <StyledButton+ type="button"+ role="tab"+ aria-selected={isActive}+ data-active={String(isActive)}+ onClick={onSelect}+ >+ <Label>{tab.body.text}</Label>+ <TabIconBox data-active={String(isActive)}>+ {Icon ? <Icon size={16} color={iconColor} /> : null}+ </TabIconBox>+ </StyledButton>+ );+}diff --git a/packages/twenty-website-new/src/sections/Tabs/components/TabButtons/TabButtons.tsx b/packages/twenty-website-new/src/sections/Tabs/components/TabButtons/TabButtons.tsxnew file mode 100644index 00000000000..77803cdedad--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/TabButtons/TabButtons.tsx@@ -0,0 +1,43 @@+'use client';++import type { TabType } from '@/sections/Tabs/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import { TabButton } from '../TabButton/TabButton';++const TabButtonsGrid = styled.div`+ display: grid;+ gap: ${theme.spacing(2)};+ grid-template-columns: minmax(0, max-content);+ justify-content: center;+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ grid-template-columns: repeat(2, minmax(0, max-content));+ }++ @media (min-width: ${theme.breakpoints.lg}px) {+ grid-template-columns: repeat(4, minmax(0, max-content));+ }+`;++type TabButtonsProps = {+ tabs: TabType[];+ activeIndex: number;+ onSelect: (index: number) => void;+};++export function TabButtons({ tabs, activeIndex, onSelect }: TabButtonsProps) {+ return (+ <TabButtonsGrid role="tablist">+ {tabs.map((tab, index) => (+ <TabButton+ key={index}+ tab={tab}+ isActive={index === activeIndex}+ onSelect={() => onSelect(index)}+ />+ ))}+ </TabButtonsGrid>+ );+}diff --git a/packages/twenty-website-new/src/sections/Tabs/components/TabGroup/TabGroup.tsx b/packages/twenty-website-new/src/sections/Tabs/components/TabGroup/TabGroup.tsxnew file mode 100644index 00000000000..be21df332bc--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/TabGroup/TabGroup.tsx@@ -0,0 +1,34 @@+'use client';++import type { TabType } from '@/sections/Tabs/types';+import { theme } from '@/theme';+import { styled } from '@linaria/react';+import { useState } from 'react';+import { TabButtons } from '../TabButtons/TabButtons';+import { TabVisuals } from '../TabVisuals/TabVisuals';++const StyledTabGroup = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ width: 100%;+ row-gap: ${theme.spacing(18)};+`;++type TabGroupProps = {+ tabs: TabType[];+};++export function TabGroup({ tabs }: TabGroupProps) {+ const [activeIndex, setActiveIndex] = useState(0);++ return (+ <StyledTabGroup>+ <TabButtons+ tabs={tabs}+ activeIndex={activeIndex}+ onSelect={setActiveIndex}+ />+ <TabVisuals tabs={tabs} activeIndex={activeIndex} />+ </StyledTabGroup>+ );+}diff --git a/packages/twenty-website-new/src/sections/Tabs/components/TabVisual/TabVisual.tsx b/packages/twenty-website-new/src/sections/Tabs/components/TabVisual/TabVisual.tsxnew file mode 100644index 00000000000..04d30eae4b6--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/TabVisual/TabVisual.tsx@@ -0,0 +1,30 @@+'use client';++import { Image } from '@/design-system/components';+import type { ImageType } from '@/design-system/components/Image/types/Image';+import { theme } from '@/theme';+import { styled } from '@linaria/react';++const VisualRoot = styled.div`+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ margin-left: auto;+ margin-right: auto;+ max-width: 995px;+ }+`;++const VisualImage = styled(Image)`+ border-radius: ${theme.radius(1)};+`;++type TabVisualProps = { image: ImageType };++export function TabVisual({ image }: TabVisualProps) {+ return (+ <VisualRoot role="tabpanel">+ <VisualImage src={image.src} alt={image.alt} />+ </VisualRoot>+ );+}diff --git a/packages/twenty-website-new/src/sections/Tabs/components/TabVisuals/TabVisuals.tsx b/packages/twenty-website-new/src/sections/Tabs/components/TabVisuals/TabVisuals.tsxnew file mode 100644index 00000000000..976147caba8--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/TabVisuals/TabVisuals.tsx@@ -0,0 +1,19 @@+'use client';++import type { TabType } from '@/sections/Tabs/types';+import { TabVisual } from '../TabVisual/TabVisual';++type TabVisualsProps = {+ tabs: TabType[];+ activeIndex: number;+};++export function TabVisuals({ tabs, activeIndex }: TabVisualsProps) {+ const tab = tabs[activeIndex];++ if (!tab) {+ return null;+ }++ return <TabVisual image={tab.image} />;+}diff --git a/packages/twenty-website-new/src/sections/Tabs/components/index.ts b/packages/twenty-website-new/src/sections/Tabs/components/index.tsnew file mode 100644index 00000000000..111d9edce84--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/components/index.ts@@ -0,0 +1,19 @@+import { Body } from './Body/Body';+import { Heading } from './Heading/Heading';+import { Root } from './Root/Root';+import { TabButton } from './TabButton/TabButton';+import { TabButtons } from './TabButtons/TabButtons';+import { TabGroup } from './TabGroup/TabGroup';+import { TabVisual } from './TabVisual/TabVisual';+import { TabVisuals } from './TabVisuals/TabVisuals';++export const Tabs = {+ Root,+ Heading,+ Body,+ TabGroup,+ TabButtons,+ TabButton,+ TabVisuals,+ TabVisual,+};diff --git a/packages/twenty-website-new/src/sections/Tabs/types/Tab.ts b/packages/twenty-website-new/src/sections/Tabs/types/Tab.tsnew file mode 100644index 00000000000..96c5b9664e3--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/types/Tab.ts@@ -0,0 +1,8 @@+import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { ImageType } from '@/design-system/components/Image/types/Image';++export type TabType = {+ body: BodyType;+ icon: string;+ image: ImageType;+};diff --git a/packages/twenty-website-new/src/sections/Tabs/types/TabsData.ts b/packages/twenty-website-new/src/sections/Tabs/types/TabsData.tsnew file mode 100644index 00000000000..10fbd65fb25--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/types/TabsData.ts@@ -0,0 +1,11 @@+import type { BodyType } from '@/design-system/components/Body/types/Body';+import type { EyebrowType } from '@/design-system/components/Eyebrow/types/Eyebrow';+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';+import type { TabType } from '@/sections/Tabs/types/Tab';++export type TabsDataType = {+ eyebrow: EyebrowType;+ heading: HeadingType[];+ body: BodyType;+ tabs: TabType[];+};diff --git a/packages/twenty-website-new/src/sections/Tabs/types/index.ts b/packages/twenty-website-new/src/sections/Tabs/types/index.tsnew file mode 100644index 00000000000..72cb368c4b4--- /dev/null+++ b/packages/twenty-website-new/src/sections/Tabs/types/index.ts@@ -0,0 +1,2 @@+export type { TabType } from './Tab';+export type { TabsDataType } from './TabsData';diff --git a/packages/twenty-website-new/src/sections/ThreeCards/components/FeatureCard/FeatureCard.tsx b/packages/twenty-website-new/src/sections/ThreeCards/components/FeatureCard/FeatureCard.tsxindex 140db834ea3..e25060b3320 100644--- a/packages/twenty-website-new/src/sections/ThreeCards/components/FeatureCard/FeatureCard.tsx+++ b/packages/twenty-website-new/src/sections/ThreeCards/components/FeatureCard/FeatureCard.tsx@@ -57,8 +57,8 @@ export function FeatureCard({ featureCard }: FeatureCardProps) {<FeatureCardContainer><CardImage><Image- src="/images/home/three-cards-feature/live-data.png"- alt={featureCard.heading.text}+ src={featureCard.image.src}+ alt={featureCard.image.alt}fillstyle={{ objectFit: 'cover' }}/>diff --git a/packages/twenty-website-new/src/sections/ThreeCards/components/IllustrationCard/IllustrationCard.tsx b/packages/twenty-website-new/src/sections/ThreeCards/components/IllustrationCard/IllustrationCard.tsxindex 6ec5c2a0bac..4827eb65927 100644--- a/packages/twenty-website-new/src/sections/ThreeCards/components/IllustrationCard/IllustrationCard.tsx+++ b/packages/twenty-website-new/src/sections/ThreeCards/components/IllustrationCard/IllustrationCard.tsx@@ -85,8 +85,8 @@ export function IllustrationCard({/><CardRule /><CardEmbed- src="https://app.endlesstools.io/embed/1a3f6b56-90bb-4951-9401-c01a79fdc4f1"- title={illustrationCard.heading.text}+ src={illustrationCard.illustration.src}+ title={illustrationCard.illustration.title}allow="clipboard-write; encrypted-media; gyroscope; web-share"referrerPolicy="strict-origin-when-cross-origin"allowFullScreendiff --git a/packages/twenty-website-new/src/sections/ThreeCards/types/ThreeCardsFeatureCard.ts b/packages/twenty-website-new/src/sections/ThreeCards/types/ThreeCardsFeatureCard.tsindex 09988fefa29..2c892e36196 100644--- a/packages/twenty-website-new/src/sections/ThreeCards/types/ThreeCardsFeatureCard.ts+++ b/packages/twenty-website-new/src/sections/ThreeCards/types/ThreeCardsFeatureCard.ts@@ -1,7 +1,9 @@import { BodyType } from '@/design-system/components/Body/types/Body';import { HeadingType } from '@/design-system/components/Heading/types/Heading';+import { ImageType } from '@/design-system/components/Image/types/Image';export type ThreeCardsFeatureCardType = {heading: HeadingType;body: BodyType;+ image: ImageType;};diff --git a/packages/twenty-website-new/src/sections/ThreeCards/types/ThreeCardsIllustrationCard.ts b/packages/twenty-website-new/src/sections/ThreeCards/types/ThreeCardsIllustrationCard.tsindex e3e4e8e4291..9a6c94c8366 100644--- a/packages/twenty-website-new/src/sections/ThreeCards/types/ThreeCardsIllustrationCard.ts+++ b/packages/twenty-website-new/src/sections/ThreeCards/types/ThreeCardsIllustrationCard.ts@@ -1,5 +1,6 @@import { BodyType } from '@/design-system/components/Body/types/Body';import { HeadingType } from '@/design-system/components/Heading/types/Heading';+import { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';import { ThreeCardsIllustrationCardAttributionType } from './ThreeCardsIllustrationCardAttribution';export type ThreeCardsIllustrationCardType = {@@ -7,4 +8,5 @@ export type ThreeCardsIllustrationCardType = {body: BodyType;benefits?: BodyType[];attribution?: ThreeCardsIllustrationCardAttributionType;+ illustration: IllustrationType;};diff --git a/packages/twenty-website-new/src/sections/TrustedBy/components/ClientCount/ClientCount.tsx b/packages/twenty-website-new/src/sections/TrustedBy/components/ClientCount/ClientCount.tsxindex a5e99c15a2a..160e5cee6b7 100644--- a/packages/twenty-website-new/src/sections/TrustedBy/components/ClientCount/ClientCount.tsx+++ b/packages/twenty-website-new/src/sections/TrustedBy/components/ClientCount/ClientCount.tsx@@ -1,4 +1,4 @@-import { UsersIcon } from "@/icons/informative/Users";+import { UsersIcon } from '@/icons';import { theme } from "@/theme";import { styled } from "@linaria/react";import { ClientCountShape } from "./ClientCountShape";