Skip to content

The open alternative to Salesforce, designed for AI.

Complete sections of the new website. (#19239)

Abdullah.268543a08e5a
diff --git a/packages/twenty-website-new/public/illustrations/home/faq/faq.glb b/packages/twenty-website-new/public/illustrations/home/faq/faq.glb
new file mode 100644
index 00000000000..8fddb27955d
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/faq/faq.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/home/footer/footer.glb b/packages/twenty-website-new/public/illustrations/home/footer/footer.glb
new file mode 100644
index 00000000000..c6c198c9131
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/footer/footer.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/home/helped/one.glb b/packages/twenty-website-new/public/illustrations/home/helped/one.glb
new file mode 100644
index 00000000000..1f1e4e9b9f0
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/helped/one.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/home/helped/three.glb b/packages/twenty-website-new/public/illustrations/home/helped/three.glb
new file mode 100644
index 00000000000..eaa3db151d8
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/helped/three.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/home/helped/two.glb b/packages/twenty-website-new/public/illustrations/home/helped/two.glb
new file mode 100644
index 00000000000..0bd7e77c664
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/helped/two.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/home/testimonials/testimonials.glb b/packages/twenty-website-new/public/illustrations/home/testimonials/testimonials.glb
new file mode 100644
index 00000000000..8b6c7321c31
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/testimonials/testimonials.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/one.glb b/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/one.glb
new file mode 100644
index 00000000000..9919100fd86
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/one.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/three.glb b/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/three.glb
new file mode 100644
index 00000000000..04669633150
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/three.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/two.glb b/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/two.glb
new file mode 100644
index 00000000000..9919100fd86
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/home/three-cards-illustration/two.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/partner/testimonials/testimonials.glb b/packages/twenty-website-new/public/illustrations/partner/testimonials/testimonials.glb
new file mode 100644
index 00000000000..1da85b3cfb0
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/partner/testimonials/testimonials.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/one.glb b/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/one.glb
new file mode 100644
index 00000000000..df5415035fc
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/one.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/three.glb b/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/three.glb
new file mode 100644
index 00000000000..20569023f74
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/three.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/two.glb b/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/two.glb
new file mode 100644
index 00000000000..b7351542afe
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/partner/three-cards-illustration/two.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/pricing/PlanTable/money.glb b/packages/twenty-website-new/public/illustrations/pricing/PlanTable/money.glb
new file mode 100644
index 00000000000..eaa3db151d8
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/pricing/PlanTable/money.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/pricing/Price/organization.glb b/packages/twenty-website-new/public/illustrations/pricing/Price/organization.glb
new file mode 100644
index 00000000000..f98649779ef
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/pricing/Price/organization.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/pricing/Price/pro.glb b/packages/twenty-website-new/public/illustrations/pricing/Price/pro.glb
new file mode 100644
index 00000000000..9e9853b5472
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/pricing/Price/pro.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/product/hero/hero.glb b/packages/twenty-website-new/public/illustrations/product/hero/hero.glb
new file mode 100644
index 00000000000..6f39c4ed201
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/product/hero/hero.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/one.glb b/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/one.glb
new file mode 100644
index 00000000000..cd043ca8378
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/one.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/three.glb b/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/three.glb
new file mode 100644
index 00000000000..281546022ac
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/three.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/two.glb b/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/two.glb
new file mode 100644
index 00000000000..27a9aaf4ccf
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/product/three-cards-illustration/two.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/why-twenty/hero/logo.glb b/packages/twenty-website-new/public/illustrations/why-twenty/hero/logo.glb
new file mode 100644
index 00000000000..43cc57570e1
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/why-twenty/hero/logo.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/why-twenty/quote/quote.glb b/packages/twenty-website-new/public/illustrations/why-twenty/quote/quote.glb
new file mode 100644
index 00000000000..1da85b3cfb0
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/why-twenty/quote/quote.glb differ
diff --git a/packages/twenty-website-new/public/illustrations/why-twenty/stepper/logo.glb b/packages/twenty-website-new/public/illustrations/why-twenty/stepper/logo.glb
new file mode 100644
index 00000000000..43cc57570e1
Binary files /dev/null and b/packages/twenty-website-new/public/illustrations/why-twenty/stepper/logo.glb differ
diff --git a/packages/twenty-website-new/public/images/product/feature/contacts.png b/packages/twenty-website-new/public/images/product/feature/contacts.png
new file mode 100644
index 00000000000..aba4db30a90
Binary files /dev/null and b/packages/twenty-website-new/public/images/product/feature/contacts.png differ
diff --git a/packages/twenty-website-new/public/images/product/feature/dashboards.png b/packages/twenty-website-new/public/images/product/feature/dashboards.png
new file mode 100644
index 00000000000..ab2aa009214
Binary files /dev/null and b/packages/twenty-website-new/public/images/product/feature/dashboards.png differ
diff --git a/packages/twenty-website-new/public/images/product/feature/data.png b/packages/twenty-website-new/public/images/product/feature/data.png
new file mode 100644
index 00000000000..acd056e7845
Binary files /dev/null and b/packages/twenty-website-new/public/images/product/feature/data.png differ
diff --git a/packages/twenty-website-new/public/images/product/feature/emails.png b/packages/twenty-website-new/public/images/product/feature/emails.png
new file mode 100644
index 00000000000..d22f8fb1d62
Binary files /dev/null and b/packages/twenty-website-new/public/images/product/feature/emails.png differ
diff --git a/packages/twenty-website-new/public/images/product/feature/files.png b/packages/twenty-website-new/public/images/product/feature/files.png
new file mode 100644
index 00000000000..1375b6ca136
Binary files /dev/null and b/packages/twenty-website-new/public/images/product/feature/files.png differ
diff --git a/packages/twenty-website-new/public/images/product/feature/mask.png b/packages/twenty-website-new/public/images/product/feature/mask.png
new file mode 100644
index 00000000000..e5686762f3e
Binary files /dev/null and b/packages/twenty-website-new/public/images/product/feature/mask.png differ
diff --git a/packages/twenty-website-new/public/images/product/feature/pipeline.png b/packages/twenty-website-new/public/images/product/feature/pipeline.png
new file mode 100644
index 00000000000..9a46f57d47b
Binary files /dev/null and b/packages/twenty-website-new/public/images/product/feature/pipeline.png differ
diff --git a/packages/twenty-website-new/public/images/product/feature/tasks.png b/packages/twenty-website-new/public/images/product/feature/tasks.png
new file mode 100644
index 00000000000..3e3c00cc0a7
Binary files /dev/null and b/packages/twenty-website-new/public/images/product/feature/tasks.png differ
diff --git a/packages/twenty-website-new/src/app/(home)/constants/footer.ts b/packages/twenty-website-new/src/app/(home)/constants/footer.ts
new file mode 100644
index 00000000000..f7874be96a3
--- /dev/null
+++ b/packages/twenty-website-new/src/app/(home)/constants/footer.ts
@@ -0,0 +1,107 @@
+import type { FooterDataType } from '@/sections/Footer/types';
+
+export const FOOTER_DATA: FooterDataType = {
+ illustration: {
+ src: 'https://app.endlesstools.io/embed/73beb0a6-bcda-410f-8e4c-a3bcd70224b0',
+ title: 'Footer background',
+ },
+ bottom: {
+ copyright: '© 2026 – Twenty',
+ credit: 'Design by Ardent.',
+ },
+ navGroups: [
+ {
+ id: 'footer-sitemap',
+ title: 'Sitemap',
+ ctas: [],
+ links: [
+ { label: 'Home', href: '/', external: false },
+ { label: 'Product', href: '/product', external: false },
+ { label: 'Pricing', href: '/pricing', external: false },
+ { label: 'Partners', href: '/partner', external: false },
+ { label: 'Why Twenty', href: '/why-twenty', external: false },
+ ],
+ },
+ {
+ id: 'footer-help',
+ title: 'Help',
+ ctas: [],
+ links: [
+ { label: 'Developers', href: '#', external: false },
+ { label: 'FAQ', href: '#', external: false },
+ { label: 'Support', href: '#', external: false },
+ { label: 'Release Notes', href: '#', external: false },
+ ],
+ },
+ {
+ id: 'footer-legal',
+ title: 'Legal',
+ ctas: [],
+ links: [
+ { label: 'Cookie Policy', href: '#', external: false },
+ { label: 'Privacy Policy', href: '#', external: false },
+ { label: 'Terms and Conditions', href: '#', external: false },
+ ],
+ },
+ {
+ id: 'footer-connect',
+ title: 'Connect',
+ ctas: [
+ {
+ color: 'secondary',
+ href: 'https://app.twenty.com/welcome',
+ label: 'Talk to us',
+ type: 'anchor',
+ variant: 'contained',
+ },
+ {
+ color: 'secondary',
+ href: 'https://app.twenty.com/welcome',
+ label: 'Get started',
+ type: 'anchor',
+ variant: 'outlined',
+ },
+ ],
+ links: [
+ {
+ label: 'LinkedIn',
+ href: 'https://www.linkedin.com/company/twenty',
+ external: true,
+ },
+ ],
+ },
+ ],
+ socialLinks: [
+ {
+ href: 'https://github.com/twentyhq/twenty',
+ icon: 'github',
+ label: '39.8K',
+ ariaLabel: 'GitHub (opens in new tab)',
+ showInDesktop: true,
+ showInDrawer: true,
+ },
+ {
+ href: 'https://discord.gg/cx5n4Jzs57',
+ icon: 'discord',
+ label: '5.6K',
+ ariaLabel: 'Discord (opens in new tab)',
+ className: 'discord-link',
+ showInDesktop: true,
+ showInDrawer: true,
+ },
+ {
+ href: 'https://www.linkedin.com/company/twenty',
+ icon: 'linkedin',
+ ariaLabel: 'LinkedIn (opens in new tab)',
+ showInDesktop: false,
+ showInDrawer: true,
+ },
+ {
+ href: 'https://x.com/twentycrm',
+ icon: 'x',
+ ariaLabel: 'X (opens in new tab)',
+ showInDesktop: false,
+ showInDrawer: true,
+ },
+ ],
+};
diff --git a/packages/twenty-website-new/src/app/layout.tsx b/packages/twenty-website-new/src/app/layout.tsx
index c2300d7d590..d0d6e1a779a 100644
--- a/packages/twenty-website-new/src/app/layout.tsx
+++ b/packages/twenty-website-new/src/app/layout.tsx
@@ -1,3 +1,4 @@
+import { FOOTER_DATA } from '@/app/(home)/constants/footer';
import { Footer } from '@/sections/Footer/components';
import { theme } from '@/theme';
import { cssVariables } from '@/theme/css-variables';
@@ -69,11 +70,14 @@ export default function RootLayout({
className={`${cssVariables} ${hostGrotesk.variable} ${aleo.variable} ${azeretMono.variable}`}
>
<StyledMain>{children}</StyledMain>
- <Footer.Root>
+ <Footer.Root illustration={FOOTER_DATA.illustration}>
<Footer.Logo />
- <Footer.Nav />
- <Footer.Bottom>
- <Footer.Social />
+ <Footer.Nav groups={FOOTER_DATA.navGroups} />
+ <Footer.Bottom
+ copyright={FOOTER_DATA.bottom.copyright}
+ credit={FOOTER_DATA.bottom.credit}
+ >
+ <Footer.Social links={FOOTER_DATA.socialLinks} />
</Footer.Bottom>
</Footer.Root>
</body>
diff --git a/packages/twenty-website-new/src/app/partner/constants/signoff.ts b/packages/twenty-website-new/src/app/partner/constants/signoff.ts
new file mode 100644
index 00000000000..822f00b00c9
--- /dev/null
+++ b/packages/twenty-website-new/src/app/partner/constants/signoff.ts
@@ -0,0 +1,11 @@
+import { SignoffDataType } from '@/sections/Signoff/types';
+
+export const SIGNOFF_DATA: SignoffDataType = {
+ heading: [
+ { text: 'Ready to grow', fontFamily: 'serif' },
+ { text: ' with Twenty?', fontFamily: 'sans' },
+ ],
+ body: {
+ text: 'Join our partner ecosystem and help businesses take control of their CRM.',
+ },
+};
diff --git a/packages/twenty-website-new/src/app/partner/page.tsx b/packages/twenty-website-new/src/app/partner/page.tsx
index 26ca2919a21..fe24dde99a0 100644
--- a/packages/twenty-website-new/src/app/partner/page.tsx
+++ b/packages/twenty-website-new/src/app/partner/page.tsx
@@ -4,6 +4,7 @@ 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 { TESTIMONIALS_DATA } from '@/app/partner/constants/testimonials';
+import { SIGNOFF_DATA } from '@/app/partner/constants/signoff';
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';
@@ -11,6 +12,7 @@ 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 { Signoff } from '@/sections/Signoff/components';
import { Testimonials } from '@/sections/Testimonials/components';
import { ThreeCards } from '@/sections/ThreeCards/components';
import { TrustedBy } from '@/sections/TrustedBy/components';
@@ -117,6 +119,30 @@ export default function PartnerPage() {
/>
</Testimonials.Root>
+ <Signoff.Root
+ backgroundColor={theme.colors.primary.background[100]}
+ color={theme.colors.primary.text[100]}
+ >
+ <Signoff.Heading segments={SIGNOFF_DATA.heading} />
+ <Signoff.Body body={SIGNOFF_DATA.body} />
+ <Signoff.Cta>
+ <LinkButton
+ color="secondary"
+ href="https://app.twenty.com/welcome"
+ label="Become a partner"
+ type="anchor"
+ variant="outlined"
+ />
+ <LinkButton
+ color="secondary"
+ href="https://twenty.com/contact"
+ label="Talk to us"
+ type="anchor"
+ variant="contained"
+ />
+ </Signoff.Cta>
+ </Signoff.Root>
+
<Faq.Root illustration={FAQ_DATA.illustration}>
<Faq.Intro>
<Eyebrow colorScheme="secondary" heading={FAQ_DATA.eyebrow.heading} />
diff --git a/packages/twenty-website-new/src/app/pricing/constants/plan-table.ts b/packages/twenty-website-new/src/app/pricing/constants/plan-table.ts
new file mode 100644
index 00000000000..47439f3d7b6
--- /dev/null
+++ b/packages/twenty-website-new/src/app/pricing/constants/plan-table.ts
@@ -0,0 +1,164 @@
+import type { PlanTableDataType } from '@/sections/PlanTable/types';
+
+const EMAIL_OUTREACH_TASK = {
+ label: 'Tasks',
+ options: ['email outreach'],
+ value: 'email outreach',
+} as const;
+
+export const PLAN_TABLE_DATA: PlanTableDataType = {
+ featureColumnLabel: 'Feature',
+ rows: [
+ {
+ featureLabel: 'Price',
+ tiers: {
+ organization: { kind: 'text', text: '$19' },
+ pro: { kind: 'text', text: '$9' },
+ },
+ type: 'row',
+ },
+ {
+ featureLabel: 'Self Hosting discount',
+ tiers: {
+ organization: { kind: 'text', text: 'Free for up to 20 seats' },
+ pro: { kind: 'text', text: 'Free for up to 20 seats' },
+ },
+ type: 'row',
+ },
+ {
+ featureLabel: 'Seats limit',
+ tiers: {
+ organization: { kind: 'text', text: 'Unlimited' },
+ pro: { kind: 'text', text: 'Unlimited' },
+ },
+ type: 'row',
+ },
+ {
+ title: 'Reports',
+ type: 'category',
+ },
+ {
+ featureLabel: 'Number of dashboards',
+ tiers: {
+ organization: { kind: 'text', text: 'Unlimited' },
+ pro: { kind: 'text', text: 'Unlimited' },
+ },
+ type: 'row',
+ },
+ {
+ title: 'Automations',
+ type: 'category',
+ },
+ {
+ featureLabel: 'Workflows',
+ tiers: {
+ organization: { kind: 'yes', label: 'Yes' },
+ pro: { kind: 'yes', label: 'Yes' },
+ },
+ type: 'row',
+ },
+ {
+ featureLabel: 'AI Agent',
+ tiers: {
+ organization: { kind: 'yes', label: 'Yes' },
+ pro: { kind: 'yes', label: 'Yes' },
+ },
+ type: 'row',
+ },
+ {
+ featureLabel: 'Automation credits',
+ tiers: {
+ organization: { kind: 'text', text: '1,000' },
+ pro: { kind: 'text', text: '1,000' },
+ },
+ type: 'row',
+ },
+ {
+ featureLabel: 'Extra credits',
+ tiers: {
+ organization: { kind: 'dash' },
+ pro: {
+ kind: 'text',
+ text: '1,000 for $10 - 5,000 for $48',
+ },
+ },
+ type: 'row',
+ },
+ {
+ calculator: {
+ priceLine: {
+ amount: '700€',
+ label: 'Price',
+ periodSuffix: '/month',
+ },
+ sections: [
+ {
+ id: 'intelligence-ai',
+ modelField: {
+ label: 'Model',
+ options: ['GPT 5'],
+ value: 'GPT 5',
+ },
+ requestField: { label: 'Requests', value: 100 },
+ tasksField: {
+ label: EMAIL_OUTREACH_TASK.label,
+ options: [...EMAIL_OUTREACH_TASK.options],
+ value: EMAIL_OUTREACH_TASK.value,
+ },
+ title: 'Intelligence AI',
+ },
+ {
+ id: 'compute',
+ requestField: { label: 'Requests', value: 100 },
+ tasksField: {
+ label: EMAIL_OUTREACH_TASK.label,
+ options: [...EMAIL_OUTREACH_TASK.options],
+ value: EMAIL_OUTREACH_TASK.value,
+ },
+ title: 'Compute',
+ },
+ {
+ id: 'storage',
+ requestField: { label: 'Requests', value: 100 },
+ tasksField: {
+ label: EMAIL_OUTREACH_TASK.label,
+ options: [...EMAIL_OUTREACH_TASK.options],
+ value: EMAIL_OUTREACH_TASK.value,
+ },
+ title: 'Storage',
+ },
+ ],
+ visual: {
+ body: {
+ text: 'Estimate your costs effortlessly with our price calculator customize your workspace in just a few clicks!',
+ },
+ heading: [
+ { fontFamily: 'serif', text: 'Get a glimpse of ' },
+ { fontFamily: 'sans', text: "what it'll cost" },
+ ],
+ },
+ },
+ type: 'calculator',
+ },
+ {
+ title: 'Workspace',
+ type: 'category',
+ },
+ {
+ featureLabel: 'Custom objects',
+ tiers: {
+ organization: { kind: 'text', text: 'Unlimited' },
+ pro: { kind: 'text', text: 'Unlimited' },
+ },
+ type: 'row',
+ },
+ ],
+ seeMoreFeaturesCta: {
+ href: '/pricing',
+ label: 'See more features',
+ },
+ tierColumns: [
+ { id: 'pro', label: 'Pro' },
+ { id: 'organization', label: 'Organization' },
+ ],
+};
diff --git a/packages/twenty-website-new/src/app/pricing/constants/salesforce.ts b/packages/twenty-website-new/src/app/pricing/constants/salesforce.ts
new file mode 100644
index 00000000000..c59585d4756
--- /dev/null
+++ b/packages/twenty-website-new/src/app/pricing/constants/salesforce.ts
@@ -0,0 +1,66 @@
+import type { SalesforceDataType } from '@/sections/Salesforce/types';
+
+export const SALESFORCE_DATA: SalesforceDataType = {
+ body: {
+ text: 'Aenean lacinia bibendum nulla sed consectetur. Integer posuere erat a ante venenatis dapibus.',
+ },
+ heading: [
+ { text: 'Trust the n°1 CRM,', fontFamily: 'serif' },
+ { text: ' or not!', fontFamily: 'sans' },
+ ],
+ pricing: {
+ addons: [
+ {
+ id: 'api-access',
+ label: 'API access',
+ popupKey: 'wrongChoiceDefault',
+ rightLabel: '+$35/user per month',
+ },
+ {
+ id: 'webhooks',
+ label: 'Webhooks (Change data capture)',
+ popupKey: 'wrongChoiceLorem',
+ rightLabel: '+$7000/org per month',
+ },
+ {
+ disabled: true,
+ id: 'live-updates',
+ label: 'Live updates',
+ popupKey: 'wrongChoiceDefault',
+ rightLabel: 'Unavailable',
+ },
+ {
+ defaultChecked: true,
+ id: 'ui-theme',
+ label: 'UI theme',
+ popupKey: 'wrongChoiceDefault',
+ rightLabel: 'Retro 2015',
+ },
+ {
+ id: 'sso',
+ label: 'SSO',
+ popupKey: 'wrongChoiceDefault',
+ rightLabel: '+$5/user per month',
+ },
+ {
+ id: 'permissions',
+ label: '11 permissions groups',
+ popupKey: 'wrongChoiceDefault',
+ rightLabel: '+$75/user per month (Switch to enterprise!)',
+ },
+ {
+ id: 'maps',
+ label: 'Maps view',
+ popupKey: 'wrongChoiceDefault',
+ rightLabel: '+$105/user per month',
+ },
+ ],
+ featureSectionHeading: 'Best for Salesforce',
+ priceAmount: '$100 USD',
+ priceSuffix: ' / seat / month - billed yearly',
+ primaryCtaLabel: 'Do you really want to click and ask your first quote ???',
+ productTitle: 'Salesforce Pro',
+ secondaryCtaLabel: "More options available, BUT DON'T CLICK !!",
+ windowTitle: 'Salesforce Pro pricing',
+ },
+};
diff --git a/packages/twenty-website-new/src/app/pricing/page.tsx b/packages/twenty-website-new/src/app/pricing/page.tsx
index 2274edb0563..b9211fb0276 100644
--- a/packages/twenty-website-new/src/app/pricing/page.tsx
+++ b/packages/twenty-website-new/src/app/pricing/page.tsx
@@ -2,6 +2,8 @@ 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 { PLAN_TABLE_DATA } from '@/app/pricing/constants/plan-table';
+import { SALESFORCE_DATA } from '@/app/pricing/constants/salesforce';
import { Eyebrow, LinkButton } from '@/design-system/components';
import { Pages } from '@/enums/pages';
import { EngagementBand } from '@/sections/EngagementBand/components';
@@ -9,6 +11,8 @@ 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 { PlanTable } from '@/sections/PlanTable/components';
+import { Salesforce } from '@/sections/Salesforce/components';
import { theme } from '@/theme';
export default function PricingPage() {
@@ -58,6 +62,17 @@ export default function PricingPage() {
</EngagementBand.Strip>
</EngagementBand.Root>
+ <PlanTable.Root backgroundColor={theme.colors.secondary.background[100]}>
+ <PlanTable.Content data={PLAN_TABLE_DATA} />
+ </PlanTable.Root>
+
+ <Salesforce.Flow
+ backgroundColor={theme.colors.secondary.background[5]}
+ body={SALESFORCE_DATA.body}
+ heading={SALESFORCE_DATA.heading}
+ pricing={SALESFORCE_DATA.pricing}
+ />
+
<Faq.Root illustration={FAQ_DATA.illustration}>
<Faq.Intro>
<Eyebrow colorScheme="secondary" heading={FAQ_DATA.eyebrow.heading} />
diff --git a/packages/twenty-website-new/src/app/product/constants/feature.ts b/packages/twenty-website-new/src/app/product/constants/feature.ts
new file mode 100644
index 00000000000..38dadf6a94f
--- /dev/null
+++ b/packages/twenty-website-new/src/app/product/constants/feature.ts
@@ -0,0 +1,87 @@
+import type { FeatureDataType } from '@/sections/Feature/types';
+
+export const FEATURE_DATA: FeatureDataType = {
+ eyebrow: {
+ heading: {
+ text: 'Core Features',
+ fontFamily: 'sans',
+ },
+ },
+ heading: [
+ { text: 'Everything you need,', fontFamily: 'serif' },
+ { text: ' out of the box', fontFamily: 'sans' },
+ ],
+ mask: { src: '/images/product/feature/mask.png', alt: '' },
+ tiles: [
+ {
+ icon: 'check',
+ image: { src: '/images/product/feature/dashboards.png', alt: '' },
+ heading: { text: 'Reports & Dashboards', fontFamily: 'sans' },
+ bullets: [
+ { text: 'Build custom dashboards' },
+ { text: 'Aggregate, bar, line, pie, and gauge widgets' },
+ { text: 'Filtered metrics from live CRM data' },
+ ],
+ },
+ {
+ icon: 'check',
+ image: { src: '/images/product/feature/tasks.png', alt: '' },
+ heading: { text: 'Tasks & Activities', fontFamily: 'sans' },
+ bullets: [
+ { text: 'Create tasks from records' },
+ { text: 'Assign owners and due dates' },
+ { text: 'Rich notes attached to records' },
+ ],
+ },
+ {
+ icon: 'check',
+ image: { src: '/images/product/feature/emails.png', alt: '' },
+ heading: { text: 'Email & Calendar', fontFamily: 'sans' },
+ bullets: [
+ { text: 'Connect Google or Microsoft accounts' },
+ { text: 'Emails and events linked to CRM records' },
+ { text: 'Full communication history in one place' },
+ ],
+ },
+ {
+ icon: 'check',
+ image: { src: '/images/product/feature/contacts.png', alt: '' },
+ heading: { text: 'Contacts & Companies', fontFamily: 'sans' },
+ bullets: [
+ { text: 'Custom fields and relationships' },
+ { text: 'Unified timeline (emails, events, tasks, notes, files)' },
+ { text: 'Email/calendar activity on each record' },
+ ],
+ },
+ {
+ icon: 'check',
+ image: { src: '/images/product/feature/pipeline.png', alt: '' },
+ heading: { text: 'Pipeline Management', fontFamily: 'sans' },
+ bullets: [
+ { text: 'Custom deal stages for your process' },
+ { text: 'Drag-and-drop deals between stages' },
+ { text: 'Track amount and close date' },
+ ],
+ },
+ {
+ icon: 'check',
+ image: { src: '/images/product/feature/files.png', alt: '' },
+ heading: { text: 'Files', fontFamily: 'sans' },
+ bullets: [
+ { text: 'Multi-file upload on records' },
+ { text: 'Rename, download, and delete attachments' },
+ { text: 'In-app preview for supported file types (when enabled)' },
+ ],
+ },
+ {
+ icon: 'check',
+ image: { src: '/images/product/feature/data.png', alt: '' },
+ heading: { text: 'Data import', fontFamily: 'sans' },
+ bullets: [
+ { text: 'CSV import flow' },
+ { text: 'Column-to-field mapping (including relations)' },
+ { text: 'CSV export anytime' },
+ ],
+ },
+ ],
+};
diff --git a/packages/twenty-website-new/src/app/product/page.tsx b/packages/twenty-website-new/src/app/product/page.tsx
index f44c91f59b0..c792375fd19 100644
--- a/packages/twenty-website-new/src/app/product/page.tsx
+++ b/packages/twenty-website-new/src/app/product/page.tsx
@@ -2,15 +2,19 @@ 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 { FEATURE_DATA } from '@/app/product/constants/feature';
import { HERO_DATA } from '@/app/product/constants/hero';
+import { STEPPER_DATA } from '@/app/product/constants/stepper';
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 { Feature } from '@/sections/Feature/components';
import { Faq } from '@/sections/Faq/components';
import { Hero } from '@/sections/Hero/components';
import { Menu } from '@/sections/Menu/components';
+import { ProductStepper } from '@/sections/ProductStepper/components';
import { Tabs } from '@/sections/Tabs/components';
import { ThreeCards } from '@/sections/ThreeCards/components';
import { TrustedBy } from '@/sections/TrustedBy/components';
@@ -64,6 +68,17 @@ export default function ProductPage() {
<Tabs.TabGroup tabs={TABS_DATA.tabs} />
</Tabs.Root>
+ <Feature.Root backgroundColor={theme.colors.primary.background[100]}>
+ <Feature.Intro align="center" page={Pages.Product}>
+ <Eyebrow
+ colorScheme="primary"
+ heading={FEATURE_DATA.eyebrow.heading}
+ />
+ <Heading segments={FEATURE_DATA.heading} size="lg" weight="light" />
+ </Feature.Intro>
+ <Feature.Tiles mask={FEATURE_DATA.mask} tiles={FEATURE_DATA.tiles} />
+ </Feature.Root>
+
<ThreeCards.Root backgroundColor={theme.colors.primary.background[100]}>
<ThreeCards.Intro page={Pages.Product} align="left">
<Eyebrow
@@ -82,12 +97,12 @@ export default function ProductPage() {
/>
</ThreeCards.Root>
- {/* <ProductStepper.Flow
+ <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} />
diff --git a/packages/twenty-website-new/src/app/why-twenty/constants/editorial-four.ts b/packages/twenty-website-new/src/app/why-twenty/constants/editorial-four.ts
new file mode 100644
index 00000000000..3c0e13d42a0
--- /dev/null
+++ b/packages/twenty-website-new/src/app/why-twenty/constants/editorial-four.ts
@@ -0,0 +1,22 @@
+import type { EditorialDataType } from '@/sections/Editorial/types/EditorialData';
+
+export const EDITORIAL_FOUR: EditorialDataType = {
+ eyebrow: {
+ heading: {
+ fontFamily: 'sans',
+ text: 'What must our CRM do that nobody else can?',
+ },
+ },
+ heading: {
+ fontFamily: 'serif',
+ text: 'CRM becomes an execution system',
+ },
+ body: [
+ {
+ text: 'For years, CRM was treated like a ledger. A place to log what happened. AI flips that. When agents draft emails, qualify leads, propose next steps, update records, and trigger follow-ups, the CRM becomes where work begins.',
+ },
+ {
+ text: 'It becomes the interface between humans, agents, and reality. The customer system is the map that directs action. If the map is generic, the actions will be generic. If the map is wrong, the actions will be wrong at scale. If they matter, you must own them.',
+ },
+ ],
+};
diff --git a/packages/twenty-website-new/src/app/why-twenty/constants/editorial-one.ts b/packages/twenty-website-new/src/app/why-twenty/constants/editorial-one.ts
new file mode 100644
index 00000000000..9e13f97fa2c
--- /dev/null
+++ b/packages/twenty-website-new/src/app/why-twenty/constants/editorial-one.ts
@@ -0,0 +1,22 @@
+import type { EditorialDataType } from '@/sections/Editorial/types/EditorialData';
+
+export const EDITORIAL_ONE: EditorialDataType = {
+ eyebrow: {
+ heading: {
+ fontFamily: 'sans',
+ text: 'What must our CRM do that nobody else can?',
+ },
+ },
+ heading: [
+ { fontFamily: 'serif', text: 'Packaged CRMs' },
+ { fontFamily: 'sans', text: ' optimize for sameness' },
+ ],
+ body: [
+ {
+ text: 'Off-the-shelf CRMs are built for the median workflow. They standardize what an account is, what a pipeline looks like, what stages matter, and what "good" reporting means. They help you keep up with the market, this is beta. But when it is time to generate differentiated value, alpha, they fall short.',
+ },
+ {
+ text: 'When every company runs the same objects, the same lifecycle stages, the same routing logic, and the same prepackaged "AI insights," the CRM stops being an advantage. It becomes a cost of entry. You do not just buy software. You inherit assumptions, assumptions that over time become constraints.',
+ },
+ ],
+};
diff --git a/packages/twenty-website-new/src/app/why-twenty/constants/editorial-three.ts b/packages/twenty-website-new/src/app/why-twenty/constants/editorial-three.ts
new file mode 100644
index 00000000000..8fb7dc58c22
--- /dev/null
+++ b/packages/twenty-website-new/src/app/why-twenty/constants/editorial-three.ts
@@ -0,0 +1,14 @@
+import type { EditorialDataType } from '@/sections/Editorial/types/EditorialData';
+
+export const EDITORIAL_THREE: EditorialDataType = {
+ eyebrow: {
+ heading: { fontFamily: 'sans', text: 'Lorem ipsum dolor' },
+ },
+ heading: [
+ { fontFamily: 'serif', text: 'Lorem ipsum dolor sit amet,' },
+ { fontFamily: 'sans', text: ' consectetur' },
+ ],
+ body: {
+ text: 'AI compresses the time between idea and implementation. Feature parity arrives faster. "Best practices" expire faster. Competitive imitation accelerates because everyone has access to the same models, the same libraries, and the same distribution channels. When the surface area of software becomes cheap, differentiation moves underneath it.',
+ },
+};
diff --git a/packages/twenty-website-new/src/app/why-twenty/constants/editorial-two.ts b/packages/twenty-website-new/src/app/why-twenty/constants/editorial-two.ts
new file mode 100644
index 00000000000..c3f90487d8c
--- /dev/null
+++ b/packages/twenty-website-new/src/app/why-twenty/constants/editorial-two.ts
@@ -0,0 +1,7 @@
+import type { EditorialDataType } from '@/sections/Editorial/types/EditorialData';
+
+export const EDITORIAL_TWO: EditorialDataType = {
+ body: {
+ text: 'AI compresses the time between idea and implementation. Feature parity arrives faster. "Best practices" expire faster. Competitive imitation accelerates because everyone has access to the same models, the same libraries, and the same distribution channels. When the surface area of software becomes cheap, differentiation moves underneath it.',
+ },
+};
diff --git a/packages/twenty-website-new/src/app/why-twenty/constants/marquee.ts b/packages/twenty-website-new/src/app/why-twenty/constants/marquee.ts
new file mode 100644
index 00000000000..d203885d26c
--- /dev/null
+++ b/packages/twenty-website-new/src/app/why-twenty/constants/marquee.ts
@@ -0,0 +1,9 @@
+import type { MarqueeDataType } from '@/sections/Marquee/types';
+
+export const MARQUEE_DATA: MarqueeDataType = {
+ heading: [
+ { fontFamily: 'serif', text: 'AI raises' },
+ { fontFamily: 'sans', text: 'the cost of' },
+ { fontFamily: 'sans', text: 'being wrong' },
+ ],
+};
diff --git a/packages/twenty-website-new/src/app/why-twenty/constants/signoff.ts b/packages/twenty-website-new/src/app/why-twenty/constants/signoff.ts
new file mode 100644
index 00000000000..f55ea37b058
--- /dev/null
+++ b/packages/twenty-website-new/src/app/why-twenty/constants/signoff.ts
@@ -0,0 +1,11 @@
+import { SignoffDataType } from '@/sections/Signoff/types';
+
+export const SIGNOFF_DATA: SignoffDataType = {
+ heading: [
+ { text: 'The future of CRM is built,', fontFamily: 'serif' },
+ { text: ' not bought.', fontFamily: 'sans' },
+ ],
+ body: {
+ text: 'This is the world we are building toward at Twenty. ',
+ },
+};
diff --git a/packages/twenty-website-new/src/app/why-twenty/constants/stepper.ts b/packages/twenty-website-new/src/app/why-twenty/constants/stepper.ts
new file mode 100644
index 00000000000..3520af7cdf6
--- /dev/null
+++ b/packages/twenty-website-new/src/app/why-twenty/constants/stepper.ts
@@ -0,0 +1,20 @@
+import type { WhyTwentyStepperDataType } from '@/sections/WhyTwentyStepper/types';
+
+export const STEPPER_DATA: WhyTwentyStepperDataType = {
+ heading: { text: 'Our vision', fontFamily: 'serif' },
+ body: [
+ {
+ text: 'We believe every serious company will need a malleable system of record for customers. Not a collection of disconnected tools.',
+ },
+ {
+ text: 'Not a frozen monolith that only specialists can change. A living system that can evolve as fast as strategy evolves, while remaining trustworthy enough for humans, agents, and regulators to rely on.',
+ },
+ {
+ text: 'Because in the AI age, the winners will not be the companies with the most dashboards. They will be the companies whose systems turn information into decisions, and decisions into action, faster than everyone else.',
+ },
+ ],
+ illustration: {
+ src: 'https://app.endlesstools.io/embed/ddc485f9-cc8e-422b-a076-5430eb84e21a',
+ 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.tsx
index 72c61be2700..05173b718ac 100644
--- a/packages/twenty-website-new/src/app/why-twenty/page.tsx
+++ b/packages/twenty-website-new/src/app/why-twenty/page.tsx
@@ -1,13 +1,25 @@
import { MENU_DATA } from '@/app/(home)/constants/menu';
+import { EDITORIAL_FOUR } from '@/app/why-twenty/constants/editorial-four';
+import { EDITORIAL_ONE } from '@/app/why-twenty/constants/editorial-one';
+import { EDITORIAL_THREE } from '@/app/why-twenty/constants/editorial-three';
+import { EDITORIAL_TWO } from '@/app/why-twenty/constants/editorial-two';
import { HERO_DATA } from '@/app/why-twenty/constants/hero';
+import { MARQUEE_DATA } from '@/app/why-twenty/constants/marquee';
import { QUOTE_DATA } from '@/app/why-twenty/constants/quote';
+import { SIGNOFF_DATA } from '@/app/why-twenty/constants/signoff';
import { STATEMENT_ONE } from '@/app/why-twenty/constants/statement-one';
import { STATEMENT_TWO } from '@/app/why-twenty/constants/statement-two';
+import { STEPPER_DATA } from '@/app/why-twenty/constants/stepper';
+import { LinkButton } from '@/design-system/components';
import { Pages } from '@/enums/pages';
+import { Editorial } from '@/sections/Editorial/components';
import { Hero } from '@/sections/Hero/components';
+import { Marquee } from '@/sections/Marquee/components';
import { Menu } from '@/sections/Menu/components';
import { Quote } from '@/sections/Quote/components';
+import { Signoff } from '@/sections/Signoff/components';
import { Statement } from '@/sections/Statement/components';
+import { WhyTwentyStepper } from '@/sections/WhyTwentyStepper/components';
import { theme } from '@/theme';
export default function WhyTwentyPage() {
@@ -38,11 +50,55 @@ export default function WhyTwentyPage() {
/>
</Hero.Root>
+ <Editorial.Root
+ backgroundColor={theme.colors.secondary.background[100]}
+ color={theme.colors.secondary.text[100]}
+ mutedColor={theme.colors.secondary.text[60]}
+ >
+ <Editorial.Intro>
+ <Editorial.Eyebrow
+ colorScheme="secondary"
+ eyebrow={EDITORIAL_ONE.eyebrow!}
+ />
+ <Editorial.Heading segments={EDITORIAL_ONE.heading!} />
+ </Editorial.Intro>
+ <Editorial.Body body={EDITORIAL_ONE.body} layout="two-column" />
+ </Editorial.Root>
+
<Quote.Root backgroundColor={theme.colors.secondary.background[100]}>
<Quote.Visual illustration={QUOTE_DATA.illustration} />
<Quote.Heading segments={QUOTE_DATA.heading} />
</Quote.Root>
+ <Editorial.Root
+ backgroundColor={theme.colors.secondary.background[100]}
+ color={theme.colors.secondary.text[100]}
+ mutedColor={theme.colors.secondary.text[60]}
+ >
+ <Editorial.Body body={EDITORIAL_TWO.body} layout="centered" />
+ </Editorial.Root>
+
+ <Marquee.Root
+ backgroundColor={theme.colors.secondary.background[100]}
+ color={theme.colors.secondary.text[100]}
+ heading={MARQUEE_DATA.heading}
+ />
+
+ <Editorial.Root
+ backgroundColor={theme.colors.secondary.background[100]}
+ color={theme.colors.secondary.text[100]}
+ mutedColor={theme.colors.secondary.text[60]}
+ >
+ <Editorial.Intro>
+ <Editorial.Eyebrow
+ colorScheme="secondary"
+ eyebrow={EDITORIAL_THREE.eyebrow!}
+ />
+ <Editorial.Heading segments={EDITORIAL_THREE.heading!} />
+ </Editorial.Intro>
+ <Editorial.Body body={EDITORIAL_THREE.body} layout="indented" />
+ </Editorial.Root>
+
<Statement.Root
backgroundColor={theme.colors.secondary.background[100]}
color={theme.colors.secondary.text[100]}
@@ -56,6 +112,46 @@ export default function WhyTwentyPage() {
>
<Statement.Heading segments={STATEMENT_TWO.heading} />
</Statement.Root>
+
+ <Editorial.Root
+ backgroundColor={theme.colors.primary.background[100]}
+ color={theme.colors.primary.text[100]}
+ mutedColor={theme.colors.primary.text[60]}
+ >
+ <Editorial.Intro>
+ <Editorial.Eyebrow
+ colorScheme="primary"
+ eyebrow={EDITORIAL_FOUR.eyebrow!}
+ />
+ <Editorial.Heading segments={EDITORIAL_FOUR.heading!} />
+ </Editorial.Intro>
+ <Editorial.Body body={EDITORIAL_FOUR.body} layout="two-column" />
+ </Editorial.Root>
+
+ <WhyTwentyStepper.Flow
+ body={STEPPER_DATA.body}
+ heading={STEPPER_DATA.heading}
+ illustration={STEPPER_DATA.illustration}
+ />
+
+ <Signoff.Root
+ backgroundColor={theme.colors.primary.background[100]}
+ color={theme.colors.secondary.text[100]}
+ variant="shaped"
+ shapeFillColor={theme.colors.secondary.background[100]}
+ >
+ <Signoff.Heading segments={SIGNOFF_DATA.heading} />
+ <Signoff.Body body={SIGNOFF_DATA.body} />
+ <Signoff.Cta>
+ <LinkButton
+ color="primary"
+ href="https://app.twenty.com/welcome"
+ label="Get started"
+ type="anchor"
+ variant="contained"
+ />
+ </Signoff.Cta>
+ </Signoff.Root>
</>
);
}
diff --git a/packages/twenty-website-new/src/design-system/components/LazyEmbed/LazyEmbed.tsx b/packages/twenty-website-new/src/design-system/components/LazyEmbed/LazyEmbed.tsx
new file mode 100644
index 00000000000..3debf4b12a8
--- /dev/null
+++ b/packages/twenty-website-new/src/design-system/components/LazyEmbed/LazyEmbed.tsx
@@ -0,0 +1,157 @@
+'use client';
+
+import {
+ type ComponentPropsWithoutRef,
+ useEffect,
+ useMemo,
+ useRef,
+ useState,
+} from 'react';
+
+const DEFAULT_LOAD_ROOT_MARGIN = '1200px 0px';
+const DEFAULT_UNLOAD_ROOT_MARGIN = '1800px 0px';
+const DEFAULT_UNLOAD_DELAY_MS = 1500;
+
+type LazyEmbedProps = Omit<ComponentPropsWithoutRef<'iframe'>, 'loading' | 'src'> & {
+ eager?: boolean;
+ rootMargin?: string;
+ src: string;
+ unloadDelayMs?: number;
+ unloadWhenHidden?: boolean;
+ unloadRootMargin?: string;
+};
+
+export function LazyEmbed({
+ eager = false,
+ rootMargin = DEFAULT_LOAD_ROOT_MARGIN,
+ unloadDelayMs = DEFAULT_UNLOAD_DELAY_MS,
+ unloadWhenHidden = true,
+ unloadRootMargin = DEFAULT_UNLOAD_ROOT_MARGIN,
+ src,
+ className,
+ style,
+ role,
+ tabIndex,
+ 'aria-hidden': ariaHidden,
+ ...iframeProps
+}: LazyEmbedProps) {
+ const [hostNode, setHostNode] = useState<HTMLDivElement | null>(null);
+ const [shouldRender, setShouldRender] = useState(eager);
+ const unloadTimeoutRef = useRef<number | null>(null);
+
+ const wrapperProps = useMemo(
+ () => ({
+ 'aria-hidden': ariaHidden,
+ className,
+ role,
+ style,
+ tabIndex,
+ }),
+ [ariaHidden, className, role, style, tabIndex],
+ );
+
+ useEffect(() => {
+ if (!hostNode) {
+ return;
+ }
+
+ if (!('IntersectionObserver' in window)) {
+ setShouldRender(true);
+ return;
+ }
+
+ const clearPendingUnload = () => {
+ if (unloadTimeoutRef.current === null) {
+ return;
+ }
+
+ window.clearTimeout(unloadTimeoutRef.current);
+ unloadTimeoutRef.current = null;
+ };
+
+ const scheduleUnload = () => {
+ if (!unloadWhenHidden || unloadTimeoutRef.current !== null) {
+ return;
+ }
+
+ unloadTimeoutRef.current = window.setTimeout(() => {
+ setShouldRender(false);
+ unloadTimeoutRef.current = null;
+ }, unloadDelayMs);
+ };
+
+ if (eager) {
+ setShouldRender(true);
+ }
+
+ const loadObserver = new IntersectionObserver(
+ (entries) => {
+ const isNearViewport = entries.some((entry) => entry.isIntersecting);
+
+ if (isNearViewport) {
+ clearPendingUnload();
+ setShouldRender(true);
+ }
+ },
+ { rootMargin },
+ );
+
+ loadObserver.observe(hostNode);
+
+ let unloadObserver: IntersectionObserver | null = null;
+
+ if (unloadWhenHidden) {
+ unloadObserver = new IntersectionObserver(
+ (entries) => {
+ const isStillClose = entries.some((entry) => entry.isIntersecting);
+
+ if (isStillClose) {
+ clearPendingUnload();
+ return;
+ }
+
+ scheduleUnload();
+ },
+ { rootMargin: unloadRootMargin },
+ );
+
+ unloadObserver.observe(hostNode);
+ }
+
+ return () => {
+ clearPendingUnload();
+ loadObserver.disconnect();
+ unloadObserver?.disconnect();
+ };
+ }, [
+ eager,
+ hostNode,
+ rootMargin,
+ unloadDelayMs,
+ unloadWhenHidden,
+ unloadRootMargin,
+ ]);
+
+ return (
+ <div
+ {...wrapperProps}
+ ref={setHostNode}
+ >
+ {shouldRender ? (
+ <iframe
+ {...iframeProps}
+ aria-hidden={ariaHidden}
+ loading={eager ? 'eager' : 'lazy'}
+ src={src}
+ style={{
+ border: 'none',
+ display: 'block',
+ height: '100%',
+ width: '100%',
+ }}
+ tabIndex={tabIndex}
+ />
+ ) : null}
+ </div>
+ );
+}
diff --git a/packages/twenty-website-new/src/design-system/components/index.ts b/packages/twenty-website-new/src/design-system/components/index.ts
index 7a843ec2b36..42ae02fe5cc 100644
--- a/packages/twenty-website-new/src/design-system/components/index.ts
+++ b/packages/twenty-website-new/src/design-system/components/index.ts
@@ -6,3 +6,4 @@ export { Eyebrow } from './Eyebrow/Eyebrow';
export { Heading } from './Heading/Heading';
export { IconButton } from './IconButton/IconButton';
export { Image } from './Image/Image';
+export { LazyEmbed } from './LazyEmbed/LazyEmbed';
diff --git a/packages/twenty-website-new/src/sections/Editorial/components/Body/Body.tsx b/packages/twenty-website-new/src/sections/Editorial/components/Body/Body.tsx
new file mode 100644
index 00000000000..88202834867
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Editorial/components/Body/Body.tsx
@@ -0,0 +1,61 @@
+import { Body as BaseBody } from '@/design-system/components';
+import type { BodyType } from '@/design-system/components/Body/types/Body';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+
+const BodyParagraph = styled.div`
+ color: var(--editorial-body-color);
+ min-width: 0;
+`;
+
+const TwoColumnGrid = styled.div`
+ column-gap: ${theme.spacing(6)};
+ display: grid;
+ grid-template-columns: minmax(0, 1fr);
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 902px;
+ row-gap: ${theme.spacing(6)};
+ width: 100%;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ }
+`;
+
+// 1440 artboard: 384 + 556 + 500 — only two-column uses horizontal centering.
+const SingleColumnBody = styled.div`
+ max-width: 556px;
+ min-width: 0;
+ width: 100%;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ margin-left: 384px;
+ margin-right: 500px;
+ }
+`;
+
+type EditorialBodyProps = {
+ body: BodyType | BodyType[];
+ layout: 'centered' | 'indented' | 'two-column';
+};
+
+export function Body({ body, layout }: EditorialBodyProps) {
+ const paragraphs = Array.isArray(body) ? (
+ body.map((item, index) => (
+ <BodyParagraph key={index}>
+ <BaseBody as="p" body={item} family="sans" size="md" weight="regular" />
+ </BodyParagraph>
+ ))
+ ) : (
+ <BodyParagraph>
+ <BaseBody as="p" body={body} family="sans" size="md" weight="regular" />
+ </BodyParagraph>
+ );
+
+ if (layout === 'two-column') {
+ return <TwoColumnGrid>{paragraphs}</TwoColumnGrid>;
+ }
+
+ return <SingleColumnBody>{paragraphs}</SingleColumnBody>;
+}
diff --git a/packages/twenty-website-new/src/sections/Editorial/components/Eyebrow/Eyebrow.tsx b/packages/twenty-website-new/src/sections/Editorial/components/Eyebrow/Eyebrow.tsx
new file mode 100644
index 00000000000..bef051195ef
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Editorial/components/Eyebrow/Eyebrow.tsx
@@ -0,0 +1,11 @@
+import { Eyebrow as BaseEyebrow } from '@/design-system/components';
+import type { EyebrowType } from '@/design-system/components/Eyebrow/types/Eyebrow';
+
+type EditorialEyebrowProps = {
+ colorScheme: 'primary' | 'secondary';
+ eyebrow: EyebrowType;
+};
+
+export function Eyebrow({ colorScheme, eyebrow }: EditorialEyebrowProps) {
+ return <BaseEyebrow colorScheme={colorScheme} heading={eyebrow.heading} />;
+}
diff --git a/packages/twenty-website-new/src/sections/Editorial/components/Heading/Heading.tsx b/packages/twenty-website-new/src/sections/Editorial/components/Heading/Heading.tsx
new file mode 100644
index 00000000000..abc530ee3c6
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Editorial/components/Heading/Heading.tsx
@@ -0,0 +1,21 @@
+import { Heading as BaseHeading } from '@/design-system/components';
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+import { styled } from '@linaria/react';
+
+const HeadingWrap = styled.div`
+ max-width: 617px;
+ min-width: 0;
+ width: 100%;
+`;
+
+type EditorialHeadingProps = {
+ segments: HeadingType | HeadingType[];
+};
+
+export function Heading({ segments }: EditorialHeadingProps) {
+ return (
+ <HeadingWrap>
+ <BaseHeading as="h2" segments={segments} size="xl" weight="light" />
+ </HeadingWrap>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Editorial/components/Intro/Intro.tsx b/packages/twenty-website-new/src/sections/Editorial/components/Intro/Intro.tsx
new file mode 100644
index 00000000000..1dab3a94e6a
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Editorial/components/Intro/Intro.tsx
@@ -0,0 +1,21 @@
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+import type { ReactNode } from 'react';
+
+const IntroRoot = styled.div`
+ align-items: flex-start;
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(6)};
+ max-width: 556px;
+ min-width: 0;
+ width: 100%;
+`;
+
+type IntroProps = {
+ children: ReactNode;
+};
+
+export function Intro({ children }: IntroProps) {
+ return <IntroRoot>{children}</IntroRoot>;
+}
diff --git a/packages/twenty-website-new/src/sections/Editorial/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Editorial/components/Root/Root.tsx
new file mode 100644
index 00000000000..98d6eaebc39
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Editorial/components/Root/Root.tsx
@@ -0,0 +1,61 @@
+import { Container } from '@/design-system/components';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+import type { CSSProperties, ReactNode } from 'react';
+
+const StyledSection = styled.section`
+ min-width: 0;
+ width: 100%;
+`;
+
+const Inner = styled.div`
+ align-items: stretch;
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(10)};
+ width: 100%;
+`;
+
+const StyledContainer = styled(Container)`
+ padding-bottom: ${theme.spacing(28)};
+ padding-left: ${theme.spacing(4)};
+ padding-right: ${theme.spacing(4)};
+ padding-top: ${theme.spacing(28)};
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ padding-left: ${theme.spacing(10)};
+ padding-right: ${theme.spacing(10)};
+ }
+`;
+
+type RootProps = {
+ backgroundColor: string;
+ children: ReactNode;
+ color: string;
+ mutedColor: string;
+};
+
+export function Root({
+ backgroundColor,
+ children,
+ color,
+ mutedColor,
+}: RootProps) {
+ const cssVariables = {
+ '--editorial-body-color': mutedColor,
+ } as CSSProperties;
+
+ return (
+ <StyledSection
+ style={{
+ ...cssVariables,
+ backgroundColor,
+ color,
+ }}
+ >
+ <StyledContainer>
+ <Inner>{children}</Inner>
+ </StyledContainer>
+ </StyledSection>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Editorial/components/index.ts b/packages/twenty-website-new/src/sections/Editorial/components/index.ts
new file mode 100644
index 00000000000..064d03c5468
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Editorial/components/index.ts
@@ -0,0 +1,7 @@
+import { Body } from './Body/Body';
+import { Eyebrow } from './Eyebrow/Eyebrow';
+import { Heading } from './Heading/Heading';
+import { Intro } from './Intro/Intro';
+import { Root } from './Root/Root';
+
+export const Editorial = { Body, Eyebrow, Heading, Intro, Root };
diff --git a/packages/twenty-website-new/src/sections/Editorial/types/EditorialData.ts b/packages/twenty-website-new/src/sections/Editorial/types/EditorialData.ts
new file mode 100644
index 00000000000..df56896b750
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Editorial/types/EditorialData.ts
@@ -0,0 +1,9 @@
+import { BodyType } from '@/design-system/components/Body/types/Body';
+import { EyebrowType } from '@/design-system/components/Eyebrow/types/Eyebrow';
+import { HeadingType } from '@/design-system/components/Heading/types/Heading';
+
+export type EditorialDataType = {
+ eyebrow?: EyebrowType;
+ heading?: HeadingType | HeadingType[];
+ body: BodyType | BodyType[];
+};
diff --git a/packages/twenty-website-new/src/sections/Editorial/types/index.ts b/packages/twenty-website-new/src/sections/Editorial/types/index.ts
new file mode 100644
index 00000000000..bcb456f9c69
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Editorial/types/index.ts
@@ -0,0 +1 @@
+export type { EditorialDataType } from './EditorialData';
diff --git a/packages/twenty-website-new/src/sections/Feature/components/Intro/Intro.tsx b/packages/twenty-website-new/src/sections/Feature/components/Intro/Intro.tsx
new file mode 100644
index 00000000000..8ca836189ce
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/components/Intro/Intro.tsx
@@ -0,0 +1,40 @@
+import { Pages } from '@/enums/pages';
+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)};
+ text-align: start;
+
+ &[data-align='center'] {
+ justify-items: center;
+ margin-left: auto;
+ margin-right: auto;
+ text-align: center;
+ }
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ max-width: 688px;
+
+ &[data-page=${Pages.Home}] {
+ max-width: 900px;
+ }
+ }
+`;
+
+type IntroProps = {
+ align: 'center' | 'left';
+ children: ReactNode;
+ page: Pages;
+};
+
+export function Intro({ align, children, page }: IntroProps) {
+ return (
+ <StyledIntro data-align={align} data-page={page}>
+ {children}
+ </StyledIntro>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Feature/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Feature/components/Root/Root.tsx
new file mode 100644
index 00000000000..de39a317758
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/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;
+ gap: ${theme.spacing(6)};
+ padding-bottom: ${theme.spacing(12)};
+ padding-left: ${theme.spacing(4)};
+ padding-right: ${theme.spacing(4)};
+ padding-top: ${theme.spacing(12)};
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ gap: ${theme.spacing(10)};
+ 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/Feature/components/Tile/Tile.tsx b/packages/twenty-website-new/src/sections/Feature/components/Tile/Tile.tsx
new file mode 100644
index 00000000000..0eea2f27f84
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/components/Tile/Tile.tsx
@@ -0,0 +1,35 @@
+import { styled } from '@linaria/react';
+
+import type { ImageType } from '@/design-system/components/Image/types/Image';
+import type { FeatureTileType } from '@/sections/Feature/types/FeatureTile';
+import { theme } from '@/theme';
+
+import { TileContent } from './TileContent';
+import { TileVisual } from './TileVisual';
+
+const TileRoot = styled.article`
+ background-color: ${theme.colors.primary.background[100]};
+ border: 1px solid ${theme.colors.primary.border[20]};
+ border-radius: ${theme.radius(2)};
+ display: grid;
+ grid-template-columns: 1fr;
+ grid-template-rows: auto auto;
+ height: 100%;
+ min-width: 0;
+ overflow: hidden;
+`;
+
+type TileProps = {
+ index: number;
+ mask: ImageType;
+ tile: FeatureTileType;
+};
+
+export function Tile({ index, mask, tile }: TileProps) {
+ return (
+ <TileRoot>
+ <TileVisual image={tile.image} index={index} mask={mask} />
+ <TileContent tile={tile} />
+ </TileRoot>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Feature/components/Tile/TileContent.tsx b/packages/twenty-website-new/src/sections/Feature/components/Tile/TileContent.tsx
new file mode 100644
index 00000000000..b0ba1a57005
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/components/Tile/TileContent.tsx
@@ -0,0 +1,82 @@
+import { styled } from '@linaria/react';
+
+import { Body, Heading } from '@/design-system/components';
+import { INFORMATIVE_ICONS } from '@/icons';
+import type { FeatureTileType } from '@/sections/Feature/types/FeatureTile';
+import { theme } from '@/theme';
+
+const Content = styled.div`
+ display: grid;
+ grid-template-columns: 1fr;
+ padding: ${theme.spacing(4)};
+ row-gap: ${theme.spacing(4)};
+`;
+
+const TitleRow = styled.div`
+ align-items: center;
+ column-gap: ${theme.spacing(2)};
+ display: grid;
+ grid-template-columns: auto minmax(0, 1fr);
+`;
+
+const IconSlot = styled.div`
+ align-items: center;
+ background-color: ${theme.colors.highlight[100]};
+ border-radius: ${theme.radius(1)};
+ display: flex;
+ height: 24px;
+ justify-content: center;
+ width: 24px;
+`;
+
+const HeadingWrap = styled.div`
+ min-width: 0;
+`;
+
+const Bullets = styled.ul`
+ display: grid;
+ grid-template-columns: 1fr;
+ list-style-type: disc;
+ margin: 0;
+ padding: 0;
+ padding-left: ${theme.spacing(5)};
+ row-gap: ${theme.spacing(2)};
+`;
+
+const BulletItem = styled.li`
+ margin: 0;
+
+ &::marker {
+ color: ${theme.colors.primary.text[40]};
+ }
+`;
+
+type TileContentProps = {
+ tile: FeatureTileType;
+};
+
+export function TileContent({ tile }: TileContentProps) {
+ const Icon = INFORMATIVE_ICONS[tile.icon];
+
+ return (
+ <Content>
+ <TitleRow>
+ <IconSlot>
+ {Icon ? (
+ <Icon color={theme.colors.primary.background[100]} size={16} />
+ ) : null}
+ </IconSlot>
+ <HeadingWrap>
+ <Heading as="h3" segments={tile.heading} size="xs" weight="medium" />
+ </HeadingWrap>
+ </TitleRow>
+ <Bullets>
+ {tile.bullets.map((bullet, bulletIndex) => (
+ <BulletItem key={bulletIndex}>
+ <Body as="span" body={bullet} size="sm" weight="regular" />
+ </BulletItem>
+ ))}
+ </Bullets>
+ </Content>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Feature/components/Tile/TileVisual.tsx b/packages/twenty-website-new/src/sections/Feature/components/Tile/TileVisual.tsx
new file mode 100644
index 00000000000..6e5b7bb5d28
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/components/Tile/TileVisual.tsx
@@ -0,0 +1,123 @@
+import { styled } from '@linaria/react';
+import NextImage from 'next/image';
+
+import type { ImageType } from '@/design-system/components/Image/types/Image';
+import { theme } from '@/theme';
+
+const VisualArea = styled.div`
+ background-color: ${theme.colors.primary.border[10]};
+ height: 200px;
+ overflow: hidden;
+ position: relative;
+ width: 100%;
+
+ &[data-index='0'] {
+ height: 220px;
+ }
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ height: 240px;
+
+ &[data-index='0'] {
+ height: 320px;
+ }
+ }
+`;
+
+const ImageInset = styled.div`
+ bottom: 0;
+ left: ${theme.spacing(4)};
+ position: absolute;
+ right: ${theme.spacing(4)};
+ top: ${theme.spacing(4)};
+ z-index: 1;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ left: ${theme.spacing(8)};
+ right: ${theme.spacing(8)};
+ top: ${theme.spacing(8)};
+
+ &[data-index='0'] {
+ left: 10%;
+ right: 10%;
+ top: ${theme.spacing(6)};
+ }
+ &[data-index='3'] {
+ left: 0;
+ right: 0;
+ }
+ }
+
+ img {
+ object-fit: contain;
+ object-position: bottom center;
+ }
+
+ &[data-index='3'] img {
+ object-position: bottom left;
+ }
+`;
+
+const MaskOverlay = styled.div`
+ inset: 0;
+ pointer-events: none;
+ position: absolute;
+ z-index: 2;
+
+ img {
+ height: 100%;
+ object-fit: cover;
+ width: 100%;
+ }
+
+ &[data-index='0'] img {
+ object-position: center 20%;
+ }
+ &[data-index='1'] img {
+ object-position: left 40%;
+ }
+ &[data-index='2'] img {
+ object-position: right 40%;
+ }
+ &[data-index='3'] img {
+ object-position: left 60%;
+ }
+ &[data-index='4'] img {
+ object-position: right 60%;
+ }
+ &[data-index='5'] img {
+ object-position: left 80%;
+ }
+ &[data-index='6'] img {
+ object-position: right 80%;
+ }
+`;
+
+type TileVisualProps = {
+ image: ImageType;
+ index: number;
+ mask: ImageType;
+};
+
+export function TileVisual({ image, index, mask }: TileVisualProps) {
+ return (
+ <VisualArea data-index={index}>
+ <ImageInset data-index={index}>
+ <NextImage
+ alt={image.alt}
+ fill
+ sizes="(min-width: 921px) 50vw, 100vw"
+ src={image.src}
+ />
+ </ImageInset>
+ <MaskOverlay aria-hidden data-index={index}>
+ <NextImage
+ alt={mask.alt}
+ fill
+ sizes="(min-width: 921px) 50vw, 100vw"
+ src={mask.src}
+ />
+ </MaskOverlay>
+ </VisualArea>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Feature/components/Tiles/Tiles.tsx b/packages/twenty-website-new/src/sections/Feature/components/Tiles/Tiles.tsx
new file mode 100644
index 00000000000..0ee04150854
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/components/Tiles/Tiles.tsx
@@ -0,0 +1,55 @@
+import type { ImageType } from '@/design-system/components/Image/types/Image';
+import type { FeatureTileType } from '@/sections/Feature/types/FeatureTile';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+import { Tile } from '../Tile/Tile';
+
+const TilesGrid = styled.div`
+ display: grid;
+ gap: ${theme.spacing(4)};
+ grid-template-columns: 1fr;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ gap: ${theme.spacing(4)};
+ grid-template-columns: repeat(12, minmax(0, 1fr));
+ }
+`;
+
+const TileCell = styled.div`
+ min-width: 0;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ &[data-index='0'] {
+ grid-column: span 12;
+ }
+ &[data-index='1'],
+ &[data-index='2'],
+ &[data-index='5'],
+ &[data-index='6'] {
+ grid-column: span 6;
+ }
+ &[data-index='3'] {
+ grid-column: span 4;
+ }
+ &[data-index='4'] {
+ grid-column: span 8;
+ }
+ }
+`;
+
+type TilesProps = {
+ mask: ImageType;
+ tiles: FeatureTileType[];
+};
+
+export function Tiles({ mask, tiles }: TilesProps) {
+ return (
+ <TilesGrid>
+ {tiles.map((tile, index) => (
+ <TileCell data-index={index} key={`${tile.heading.text}-${index}`}>
+ <Tile index={index} mask={mask} tile={tile} />
+ </TileCell>
+ ))}
+ </TilesGrid>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Feature/components/index.ts b/packages/twenty-website-new/src/sections/Feature/components/index.ts
new file mode 100644
index 00000000000..88ceff48f84
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/components/index.ts
@@ -0,0 +1,6 @@
+import { Intro } from './Intro/Intro';
+import { Root } from './Root/Root';
+import { Tile } from './Tile/Tile';
+import { Tiles } from './Tiles/Tiles';
+
+export const Feature = { Intro, Root, Tile, Tiles };
diff --git a/packages/twenty-website-new/src/sections/Feature/types/FeatureData.ts b/packages/twenty-website-new/src/sections/Feature/types/FeatureData.ts
new file mode 100644
index 00000000000..3c63b66682c
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/types/FeatureData.ts
@@ -0,0 +1,11 @@
+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';
+import type { FeatureTileType } from '@/sections/Feature/types/FeatureTile';
+
+export type FeatureDataType = {
+ eyebrow: EyebrowType;
+ heading: HeadingType[];
+ mask: ImageType;
+ tiles: FeatureTileType[];
+};
diff --git a/packages/twenty-website-new/src/sections/Feature/types/FeatureTile.ts b/packages/twenty-website-new/src/sections/Feature/types/FeatureTile.ts
new file mode 100644
index 00000000000..a71636331b1
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/types/FeatureTile.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 FeatureTileType = {
+ bullets: BodyType[];
+ heading: HeadingType;
+ icon: string;
+ image: ImageType;
+};
diff --git a/packages/twenty-website-new/src/sections/Feature/types/index.ts b/packages/twenty-website-new/src/sections/Feature/types/index.ts
new file mode 100644
index 00000000000..06ea14a9e4a
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Feature/types/index.ts
@@ -0,0 +1,2 @@
+export type { FeatureDataType } from './FeatureData';
+export type { FeatureTileType } from './FeatureTile';
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.tsx
index c66f74234ef..392ed2fd032 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
@@ -38,14 +38,18 @@ const Credit = styled.div`
}
`;
-type BottomProps = { children?: ReactNode };
+type BottomProps = {
+ children?: ReactNode;
+ copyright: string;
+ credit: string;
+};
-export function Bottom({ children }: BottomProps) {
+export function Bottom({ children, copyright, credit }: BottomProps) {
return (
<BottomGrid>
- <Copyright>© 2026 – Twenty</Copyright>
+ <Copyright>{copyright}</Copyright>
{children}
- <Credit>Design by Ardent.</Credit>
+ <Credit>{credit}</Credit>
</BottomGrid>
);
}
diff --git a/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackground.tsx b/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackground.tsx
new file mode 100644
index 00000000000..df60ec8b5ec
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackground.tsx
@@ -0,0 +1,26 @@
+'use client';
+
+import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';
+import dynamic from 'next/dynamic';
+import type { ComponentPropsWithoutRef } from 'react';
+
+const FooterBackgroundCanvas = dynamic(
+ () =>
+ import('./FooterBackgroundCanvas').then((mod) => ({
+ default: mod.FooterBackgroundCanvas,
+ })),
+ { ssr: false },
+);
+
+type FooterBackgroundProps = ComponentPropsWithoutRef<'div'> & {
+ illustration: IllustrationType;
+};
+
+export function FooterBackground({
+ illustration,
+ ...rest
+}: FooterBackgroundProps) {
+ return (
+ <FooterBackgroundCanvas {...rest} illustration={illustration} />
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackgroundCanvas.tsx b/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackgroundCanvas.tsx
new file mode 100644
index 00000000000..7bc42894184
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackgroundCanvas.tsx
@@ -0,0 +1,36 @@
+'use client';
+
+import { LazyEmbed } from '@/design-system/components';
+import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';
+import { styled } from '@linaria/react';
+import type { ComponentPropsWithoutRef } from 'react';
+import { FooterBackgroundCanvasRoot } from './FooterBackgroundCanvasRoot';
+
+const FooterBackgroundEmbed = styled(LazyEmbed)`
+ border: none;
+ display: block;
+ height: 100%;
+ width: 100%;
+`;
+
+type FooterBackgroundCanvasProps = ComponentPropsWithoutRef<'div'> & {
+ illustration: IllustrationType;
+};
+
+export function FooterBackgroundCanvas({
+ illustration,
+ ...rest
+}: FooterBackgroundCanvasProps) {
+ return (
+ <FooterBackgroundCanvasRoot {...rest}>
+ <FooterBackgroundEmbed
+ allow="clipboard-write; encrypted-media; gyroscope; web-share"
+ allowFullScreen
+ referrerPolicy="strict-origin-when-cross-origin"
+ rootMargin="200px 0px"
+ src={illustration.src}
+ title={illustration.title}
+ />
+ </FooterBackgroundCanvasRoot>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackgroundCanvasRoot.tsx b/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackgroundCanvasRoot.tsx
new file mode 100644
index 00000000000..dc32533b7cf
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/components/FooterBackground/FooterBackgroundCanvasRoot.tsx
@@ -0,0 +1,16 @@
+import { styled } from '@linaria/react';
+
+export const FooterBackgroundCanvasRoot = styled.div`
+ position: absolute;
+ inset: 0;
+ z-index: 0;
+ pointer-events: none;
+ overflow: hidden;
+
+ & iframe {
+ display: block;
+ height: 100%;
+ mix-blend-mode: color-dodge;
+ width: 100%;
+ }
+`;
diff --git a/packages/twenty-website-new/src/sections/Footer/components/Nav/Nav.tsx b/packages/twenty-website-new/src/sections/Footer/components/Nav/Nav.tsx
index 6a21b727bef..8b1852c7a6d 100644
--- a/packages/twenty-website-new/src/sections/Footer/components/Nav/Nav.tsx
+++ b/packages/twenty-website-new/src/sections/Footer/components/Nav/Nav.tsx
@@ -1,6 +1,6 @@
import { LinkButton } from '@/design-system/components';
import { PlusIcon, RectangleFillIcon } from '@/icons';
-import { FOOTER_NAV_GROUPS } from '@/sections/Footer/constants/footer-nav-groups';
+import type { FooterNavGroupType } from '@/sections/Footer/types';
import { theme } from '@/theme';
import { NavigationMenu } from '@base-ui/react/navigation-menu';
import { styled } from '@linaria/react';
@@ -123,10 +123,14 @@ const Actions = styled.div`
}
`;
-export function Nav() {
+type NavProps = {
+ groups: FooterNavGroupType[];
+};
+
+export function Nav({ groups }: NavProps) {
return (
<NavigationMenu.Root render={<FooterNav />}>
- {FOOTER_NAV_GROUPS.map((group, index) => (
+ {groups.map((group, index) => (
<React.Fragment key={group.id}>
{index > 0 && (
<NavDivider role="separator">
@@ -172,22 +176,18 @@ export function Nav() {
</NavigationMenu.Item>
))}
</NavMenuList>
- {group.showActions && (
+ {group.ctas.length > 0 && (
<Actions>
- <LinkButton
- color="secondary"
- href="https://app.twenty.com/welcome"
- label="Talk to us"
- type="anchor"
- variant="contained"
- />
- <LinkButton
- color="secondary"
- href="https://app.twenty.com/welcome"
- label="Get started"
- type="anchor"
- variant="outlined"
- />
+ {group.ctas.map((cta) => (
+ <LinkButton
+ key={`${cta.label}-${cta.href}`}
+ color={cta.color}
+ href={cta.href}
+ label={cta.label}
+ type={cta.type}
+ variant={cta.variant}
+ />
+ ))}
</Actions>
)}
</NavGroup>
diff --git a/packages/twenty-website-new/src/sections/Footer/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Footer/components/Root/Root.tsx
index a3beadcb717..32886a9b0c3 100644
--- a/packages/twenty-website-new/src/sections/Footer/components/Root/Root.tsx
+++ b/packages/twenty-website-new/src/sections/Footer/components/Root/Root.tsx
@@ -1,7 +1,9 @@
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';
+import { FooterBackground } from '../FooterBackground/FooterBackground';
import { FooterShape } from '../../FooterShape';
const FooterRoot = styled.footer`
@@ -25,11 +27,6 @@ const FooterContainer = styled(Container)`
}
`;
-const FooterBackground = styled.div`
- position: absolute;
- z-index: 0;
-`;
-
const FooterContent = styled.div`
margin-top: auto;
padding-bottom: ${theme.spacing(12)};
@@ -51,13 +48,16 @@ const FooterContent = styled.div`
}
`;
-type RootProps = { children: ReactNode };
+type RootProps = {
+ children: ReactNode;
+ illustration: IllustrationType;
+};
-export function Root({ children }: RootProps) {
+export function Root({ children, illustration }: RootProps) {
return (
<FooterRoot>
<FooterContainer>
- <FooterBackground aria-hidden />
+ <FooterBackground aria-hidden illustration={illustration} />
<FooterContent>
<FooterShape fillColor={theme.colors.primary.background[100]} />
{children}
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.tsx
index f9b96fd0022..02cf40be60b 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
@@ -1,5 +1,5 @@
-import { ArrowRightUpIcon } from '@/icons';
-import { SOCIAL_LINKS } from '@/sections/Footer/constants/social-links';
+import { ArrowRightUpIcon, SOCIAL_ICONS } from '@/icons';
+import type { FooterSocialLinkType } from '@/sections/Footer/types';
import { theme } from '@/theme';
import { Separator } from '@base-ui/react/separator';
import { styled } from '@linaria/react';
@@ -49,34 +49,46 @@ const SocialItem = styled.a`
}
`;
-export function Social() {
+type SocialProps = {
+ links: FooterSocialLinkType[];
+};
+
+export function Social({ links }: SocialProps) {
+ const drawerLinks = links.filter(
+ (item) => item.showInDrawer && SOCIAL_ICONS[item.icon],
+ );
+
return (
<SocialContainer aria-label="Social media">
- {SOCIAL_LINKS.filter((item) => item.showInDrawer).map((item, index) => (
- <React.Fragment key={item.href}>
- {index > 0 && <SocialDivider 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
- />
- {item.label}
- {item.label != null && (
- <ArrowRightUpIcon
- size={8}
- strokeColor={theme.colors.highlight[100]}
+ {drawerLinks.map((item, index) => {
+ const IconComponent = SOCIAL_ICONS[item.icon];
+
+ return (
+ <React.Fragment key={item.href}>
+ {index > 0 && <SocialDivider orientation="vertical" />}
+ <SocialItem
+ href={item.href}
+ target="_blank"
+ rel="noopener noreferrer"
+ aria-label={item.ariaLabel}
+ >
+ <IconComponent
+ size={14}
+ fillColor={theme.colors.secondary.background[100]}
aria-hidden
/>
- )}
- </SocialItem>
- </React.Fragment>
- ))}
+ {item.label}
+ {item.label != null && (
+ <ArrowRightUpIcon
+ size={8}
+ strokeColor={theme.colors.highlight[100]}
+ aria-hidden
+ />
+ )}
+ </SocialItem>
+ </React.Fragment>
+ );
+ })}
</SocialContainer>
);
}
diff --git a/packages/twenty-website-new/src/sections/Footer/constants/footer-nav-groups.ts b/packages/twenty-website-new/src/sections/Footer/constants/footer-nav-groups.ts
deleted file mode 100644
index bedffb4990b..00000000000
--- a/packages/twenty-website-new/src/sections/Footer/constants/footer-nav-groups.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-export const FOOTER_NAV_GROUPS = [
- {
- id: "footer-sitemap",
- title: "Sitemap",
- showActions: false,
- links: [
- { label: "Home", href: "/", external: false },
- { label: "Product", href: "/product", external: false },
- { label: "Pricing", href: "/pricing", external: false },
- { label: "Partners", href: "/partner", external: false },
- { label: "Why Twenty", href: "/why-twenty", external: false },
- ],
- },
- {
- id: "footer-help",
- title: "Help",
- showActions: false,
- links: [
- { label: "Developers", href: "#", external: false },
- { label: "FAQ", href: "#", external: false },
- { label: "Support", href: "#", external: false },
- { label: "Release Notes", href: "#", external: false },
- ],
- },
- {
- id: "footer-legal",
- title: "Legal",
- showActions: false,
- links: [
- { label: "Cookie Policy", href: "#", external: false },
- { label: "Privacy Policy", href: "#", external: false },
- { label: "Terms and Conditions", href: "#", external: false },
- ],
- },
- {
- id: "footer-connect",
- title: "Connect",
- showActions: true,
- links: [
- {
- label: "LinkedIn",
- href: "https://www.linkedin.com/company/twenty",
- external: true,
- },
- ],
- },
-];
diff --git a/packages/twenty-website-new/src/sections/Footer/constants/nav-items.ts b/packages/twenty-website-new/src/sections/Footer/constants/nav-items.ts
deleted file mode 100644
index 99b8a94aadb..00000000000
--- a/packages/twenty-website-new/src/sections/Footer/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/Footer/constants/social-links.ts b/packages/twenty-website-new/src/sections/Footer/constants/social-links.ts
deleted file mode 100644
index beaf0ca0999..00000000000
--- a/packages/twenty-website-new/src/sections/Footer/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/Footer/types/FooterBottom.ts b/packages/twenty-website-new/src/sections/Footer/types/FooterBottom.ts
new file mode 100644
index 00000000000..f9562febeb0
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/types/FooterBottom.ts
@@ -0,0 +1,4 @@
+export type FooterBottomType = {
+ copyright: string;
+ credit: string;
+};
diff --git a/packages/twenty-website-new/src/sections/Footer/types/FooterCta.ts b/packages/twenty-website-new/src/sections/Footer/types/FooterCta.ts
new file mode 100644
index 00000000000..f36543fcfec
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/types/FooterCta.ts
@@ -0,0 +1,7 @@
+export type FooterCtaType = {
+ color: 'secondary';
+ href: string;
+ label: string;
+ type: 'anchor';
+ variant: 'contained' | 'outlined';
+};
diff --git a/packages/twenty-website-new/src/sections/Footer/types/FooterData.ts b/packages/twenty-website-new/src/sections/Footer/types/FooterData.ts
new file mode 100644
index 00000000000..62e41f0ddc2
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/types/FooterData.ts
@@ -0,0 +1,11 @@
+import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';
+import type { FooterBottomType } from './FooterBottom';
+import type { FooterNavGroupType } from './FooterNavGroup';
+import type { FooterSocialLinkType } from './FooterSocialLink';
+
+export type FooterDataType = {
+ bottom: FooterBottomType;
+ illustration: IllustrationType;
+ navGroups: FooterNavGroupType[];
+ socialLinks: FooterSocialLinkType[];
+};
diff --git a/packages/twenty-website-new/src/sections/Footer/types/FooterNavGroup.ts b/packages/twenty-website-new/src/sections/Footer/types/FooterNavGroup.ts
new file mode 100644
index 00000000000..de39f5dc9bf
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/types/FooterNavGroup.ts
@@ -0,0 +1,9 @@
+import type { FooterCtaType } from './FooterCta';
+import type { FooterNavLinkType } from './FooterNavLink';
+
+export type FooterNavGroupType = {
+ ctas: FooterCtaType[];
+ id: string;
+ links: FooterNavLinkType[];
+ title: string;
+};
diff --git a/packages/twenty-website-new/src/sections/Footer/types/FooterNavLink.ts b/packages/twenty-website-new/src/sections/Footer/types/FooterNavLink.ts
new file mode 100644
index 00000000000..e90fa69d245
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/types/FooterNavLink.ts
@@ -0,0 +1,5 @@
+export type FooterNavLinkType = {
+ external: boolean;
+ href: string;
+ label: string;
+};
diff --git a/packages/twenty-website-new/src/sections/Footer/types/FooterSocialLink.ts b/packages/twenty-website-new/src/sections/Footer/types/FooterSocialLink.ts
new file mode 100644
index 00000000000..3228dec14d0
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/types/FooterSocialLink.ts
@@ -0,0 +1,9 @@
+export type FooterSocialLinkType = {
+ ariaLabel: string;
+ className?: string;
+ href: string;
+ icon: string;
+ label?: string;
+ showInDesktop: boolean;
+ showInDrawer: boolean;
+};
diff --git a/packages/twenty-website-new/src/sections/Footer/types/index.ts b/packages/twenty-website-new/src/sections/Footer/types/index.ts
new file mode 100644
index 00000000000..2efff9e4b6e
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Footer/types/index.ts
@@ -0,0 +1,6 @@
+export type { FooterBottomType } from './FooterBottom';
+export type { FooterCtaType } from './FooterCta';
+export type { FooterDataType } from './FooterData';
+export type { FooterNavGroupType } from './FooterNavGroup';
+export type { FooterNavLinkType } from './FooterNavLink';
+export type { FooterSocialLinkType } from './FooterSocialLink';
diff --git a/packages/twenty-website-new/src/sections/Helped/components/Card/Card.tsx b/packages/twenty-website-new/src/sections/Helped/components/Card/Card.tsx
index c244e77efc6..d4dcc129f87 100644
--- a/packages/twenty-website-new/src/sections/Helped/components/Card/Card.tsx
+++ b/packages/twenty-website-new/src/sections/Helped/components/Card/Card.tsx
@@ -1,4 +1,4 @@
-import { Body, Heading, LinkButton } from '@/design-system/components';
+import { Body, Heading, LazyEmbed, LinkButton } from '@/design-system/components';
import { CLIENT_ICONS } from '@/icons';
import { HelpedCardShape } from '@/sections/Helped/HelpedCardShape';
import type { HeadingCardType } from '@/sections/Helped/types/HeadingCard';
@@ -43,7 +43,7 @@ const VisualShell = styled.div`
width: 100%;
`;
-const StyledIframe = styled.iframe`
+const StyledIframe = styled(LazyEmbed)`
border: none;
height: 200%;
left: 51.5%;
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.tsx
index b221cc18660..ed99813d9a6 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,3 +1,4 @@
+import { LazyEmbed } from '@/design-system/components';
import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';
import { theme } from '@/theme';
import { styled } from '@linaria/react';
@@ -10,6 +11,15 @@ const StyledIllustrationContainer = styled.div`
width: 100%;
`;
+const StyledIllustrationEmbed = styled(LazyEmbed)`
+ border: none;
+ display: block;
+ height: 462px;
+ max-width: 100%;
+ min-width: 0;
+ width: 100%;
+`;
+
type IllustrationProps = {
illustration: IllustrationType;
backgroundColor: string;
@@ -21,20 +31,16 @@ export function Illustration({
}: IllustrationProps) {
return (
<StyledIllustrationContainer>
- <iframe
+ <StyledIllustrationEmbed
+ eager
src={illustration.src}
title={illustration.title}
+ unloadWhenHidden={false}
allow="clipboard-write; encrypted-media; gyroscope; web-share"
referrerPolicy="strict-origin-when-cross-origin"
allowFullScreen
style={{
- width: '100%',
- maxWidth: '100%',
- minWidth: 0,
- height: '462px',
- border: 'none',
backgroundColor: backgroundColor,
- display: 'block',
}}
/>
</StyledIllustrationContainer>
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.tsx
index cef9c721c2a..904e5e4df91 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,4 @@
-import { Image } from '@/design-system/components';
+import { Image, LazyEmbed } 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';
@@ -17,7 +17,7 @@ const StyledBackground = styled(Image)`
height: 100%;
`;
-const StyledIframe = styled.iframe`
+const StyledIframe = styled(LazyEmbed)`
border: none;
height: 200%;
mix-blend-mode: lighten;
@@ -38,8 +38,10 @@ export function WhyTwentyVisual({ image, illustration }: WhyTwentyVisualProps) {
<VisualContainer>
<StyledBackground src={image.src} alt={image.alt} />
<StyledIframe
+ eager
src={illustration.src}
title={illustration.title}
+ unloadWhenHidden={false}
allow="clipboard-write; encrypted-media; gyroscope; web-share"
referrerPolicy="strict-origin-when-cross-origin"
allowFullScreen
diff --git a/packages/twenty-website-new/src/sections/Marquee/components/Phrase/Phrase.tsx b/packages/twenty-website-new/src/sections/Marquee/components/Phrase/Phrase.tsx
new file mode 100644
index 00000000000..df024f05f4d
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Marquee/components/Phrase/Phrase.tsx
@@ -0,0 +1,58 @@
+import { styled } from '@linaria/react';
+
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+import { theme } from '@/theme';
+
+const PhraseGroup = styled.div`
+ align-items: center;
+ column-gap: ${theme.spacing(3)};
+ display: flex;
+ flex-shrink: 0;
+`;
+
+const Segment = styled.span`
+ flex-shrink: 0;
+ font-weight: ${theme.font.weight.light};
+ line-height: 1;
+ white-space: nowrap;
+
+ &[data-segment-index='0'] {
+ color: inherit;
+ font-family: ${theme.font.family.serif};
+ font-size: clamp(3rem, 9.6vw, 8.625rem);
+ text-transform: uppercase;
+ }
+
+ &[data-segment-index='1'] {
+ color: inherit;
+ font-family: ${theme.font.family.sans};
+ font-size: clamp(1.5rem, 4.9vw, 4.4375rem);
+ text-transform: lowercase;
+ }
+
+ &[data-segment-index='2'] {
+ color: ${theme.colors.highlight[100]};
+ font-family: ${theme.font.family.sans};
+ font-size: clamp(3rem, 9.6vw, 8.625rem);
+ text-transform: uppercase;
+ }
+`;
+
+type PhraseProps = {
+ segments: HeadingType[];
+};
+
+export function Phrase({ segments }: PhraseProps) {
+ return (
+ <PhraseGroup>
+ {segments.map((segment, segmentIndex) => (
+ <Segment
+ key={`${segment.text}-${segmentIndex}`}
+ data-segment-index={segmentIndex}
+ >
+ {segment.text}
+ </Segment>
+ ))}
+ </PhraseGroup>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Marquee/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Marquee/components/Root/Root.tsx
new file mode 100644
index 00000000000..028735216a7
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Marquee/components/Root/Root.tsx
@@ -0,0 +1,52 @@
+import { styled } from '@linaria/react';
+
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+import { theme } from '@/theme';
+
+import { Track } from '../Track/Track';
+
+const StyledSection = styled.section`
+ min-width: 0;
+ overflow: clip;
+ padding-bottom: ${theme.spacing(20)};
+ padding-top: ${theme.spacing(20)};
+ width: 100%;
+`;
+
+const Viewport = styled.div`
+ display: flex;
+ flex-direction: column;
+ height: 280px;
+ overflow: hidden;
+ width: 100%;
+`;
+
+const Row = styled.div`
+ align-items: center;
+ display: flex;
+ flex: 1 1 0;
+ min-height: 0;
+ overflow: hidden;
+ width: 100%;
+`;
+
+type RootProps = {
+ backgroundColor: string;
+ color: string;
+ heading: HeadingType[];
+};
+
+export function Root({ backgroundColor, color, heading }: RootProps) {
+ return (
+ <StyledSection style={{ backgroundColor, color }}>
+ <Viewport>
+ <Row>
+ <Track heading={heading} reversed={false} />
+ </Row>
+ <Row>
+ <Track heading={heading} reversed />
+ </Row>
+ </Viewport>
+ </StyledSection>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Marquee/components/Track/Track.tsx b/packages/twenty-website-new/src/sections/Marquee/components/Track/Track.tsx
new file mode 100644
index 00000000000..096dab180d9
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Marquee/components/Track/Track.tsx
@@ -0,0 +1,53 @@
+import { styled } from '@linaria/react';
+
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+import { theme } from '@/theme';
+
+import { Phrase } from '../Phrase/Phrase';
+
+const MARQUEE_REPEAT = 6;
+
+const AnimatedTrack = styled.div`
+ @keyframes marqueeMarqueeSlide {
+ from {
+ transform: translate3d(0, 0, 0);
+ }
+
+ to {
+ transform: translate3d(-50%, 0, 0);
+ }
+ }
+
+ animation: marqueeMarqueeSlide 55s linear infinite;
+ display: flex;
+ flex-shrink: 0;
+ width: max-content;
+
+ &[data-reversed] {
+ animation-direction: reverse;
+ }
+`;
+
+const TrackHalf = styled.div`
+ column-gap: ${theme.spacing(6)};
+ display: flex;
+ flex-shrink: 0;
+`;
+
+type TrackProps = {
+ heading: HeadingType[];
+ reversed: boolean;
+};
+
+export function Track({ heading, reversed }: TrackProps) {
+ const phrases = Array.from({ length: MARQUEE_REPEAT }, (_, index) => (
+ <Phrase key={index} segments={heading} />
+ ));
+
+ return (
+ <AnimatedTrack data-reversed={reversed ? '' : undefined}>
+ <TrackHalf>{phrases}</TrackHalf>
+ <TrackHalf aria-hidden>{phrases}</TrackHalf>
+ </AnimatedTrack>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Marquee/components/index.ts b/packages/twenty-website-new/src/sections/Marquee/components/index.ts
new file mode 100644
index 00000000000..24ecc430783
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Marquee/components/index.ts
@@ -0,0 +1,3 @@
+import { Root } from './Root/Root';
+
+export const Marquee = { Root };
diff --git a/packages/twenty-website-new/src/sections/Marquee/types/MarqueeData.ts b/packages/twenty-website-new/src/sections/Marquee/types/MarqueeData.ts
new file mode 100644
index 00000000000..18103f2e1b5
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Marquee/types/MarqueeData.ts
@@ -0,0 +1,5 @@
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+
+export type MarqueeDataType = {
+ heading: HeadingType[];
+};
diff --git a/packages/twenty-website-new/src/sections/Marquee/types/index.ts b/packages/twenty-website-new/src/sections/Marquee/types/index.ts
new file mode 100644
index 00000000000..c02eb63d350
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Marquee/types/index.ts
@@ -0,0 +1 @@
+export type { MarqueeDataType } from './MarqueeData';
diff --git a/packages/twenty-website-new/src/sections/PlanTable/components/CalculatorEmbed/CalculatorEmbed.tsx b/packages/twenty-website-new/src/sections/PlanTable/components/CalculatorEmbed/CalculatorEmbed.tsx
new file mode 100644
index 00000000000..9a2af392fc8
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/PlanTable/components/CalculatorEmbed/CalculatorEmbed.tsx
@@ -0,0 +1,238 @@
+import { Body, Heading } from '@/design-system/components';
+import type { PlanTableCalculatorDataType } from '@/sections/PlanTable/types';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+import NextImage from 'next/image';
+
+const CALCULATOR_BORDER = '#feffb7';
+
+const Shell = styled.div`
+ background-color: rgba(255, 255, 255, 0.05);
+ border: 1px solid ${CALCULATOR_BORDER};
+ border-radius: ${theme.radius(1)};
+ display: grid;
+ gap: ${theme.spacing(15)};
+ overflow: clip;
+ padding: ${theme.spacing(4)} ${theme.spacing(10)};
+ width: 100%;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ align-items: center;
+ gap: ${theme.spacing(30)};
+ grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
+ padding: ${theme.spacing(4)} ${theme.spacing(10)};
+ }
+`;
+
+const VisualColumn = styled.div`
+ color: ${theme.colors.secondary.text[100]};
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(2)};
+ min-width: 0;
+`;
+
+const VisualFrame = styled.div`
+ aspect-ratio: 400 / 227;
+ max-width: 400px;
+ overflow: hidden;
+ position: relative;
+ width: 100%;
+`;
+
+const BodyOnDark = styled.div`
+ & p {
+ color: ${theme.colors.secondary.text[80]};
+ }
+`;
+
+const ControlsColumn = styled.div`
+ border-radius: ${theme.radius(1)};
+ display: flex;
+ flex-direction: column;
+ min-width: 0;
+ width: 100%;
+`;
+
+const SectionBlock = styled.div`
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(4)};
+ padding: ${theme.spacing(4)} ${theme.spacing(8)};
+ width: 100%;
+`;
+
+const SectionTitleRow = styled.div`
+ align-items: center;
+ color: ${theme.colors.secondary.text[100]};
+ display: flex;
+ font-family: ${theme.font.family.sans};
+ font-size: ${theme.font.size(4)};
+ justify-content: space-between;
+ line-height: ${theme.spacing(5.5)};
+ width: 100%;
+`;
+
+const FieldsRow = styled.div`
+ display: flex;
+ flex-wrap: wrap;
+ gap: ${theme.spacing(4)};
+ width: 100%;
+`;
+
+const Field = styled.div`
+ display: flex;
+ flex: 1 1 140px;
+ flex-direction: column;
+ gap: ${theme.spacing(1)};
+ min-width: 0;
+`;
+
+const FieldLabel = styled.span`
+ color: ${theme.colors.secondary.text[60]};
+ font-family: ${theme.font.family.sans};
+ font-size: ${theme.font.size(3)};
+ line-height: ${theme.spacing(3.5)};
+`;
+
+const FakeInput = styled.div`
+ align-items: center;
+ background-color: ${theme.colors.secondary.background[100]};
+ border: 1px solid ${theme.colors.secondary.border[20]};
+ border-radius: ${theme.radius(1)};
+ color: ${theme.colors.secondary.text[100]};
+ display: flex;
+ font-family: ${theme.font.family.sans};
+ font-size: ${theme.font.size(4)};
+ justify-content: space-between;
+ line-height: ${theme.spacing(5.5)};
+ min-height: ${theme.spacing(11)};
+ padding: ${theme.spacing(2)} ${theme.spacing(4)};
+ width: 100%;
+`;
+
+const StepperInner = styled.div`
+ align-items: center;
+ display: flex;
+ gap: ${theme.spacing(1)};
+`;
+
+const StepperBtn = styled.span`
+ background-color: ${theme.colors.secondary.border[40]};
+ border-radius: ${theme.radius(0.5)};
+ display: grid;
+ height: ${theme.spacing(7)};
+ place-items: center;
+ width: ${theme.spacing(7)};
+`;
+
+const PriceFooter = styled.div`
+ border-top: 1px solid ${theme.colors.secondary.border[10]};
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(4)};
+ padding: ${theme.spacing(5)} ${theme.spacing(8)} ${theme.spacing(8)};
+ width: 100%;
+`;
+
+const PriceRow = styled.div`
+ align-items: baseline;
+ color: ${theme.colors.secondary.text[100]};
+ display: flex;
+ font-family: ${theme.font.family.sans};
+ justify-content: space-between;
+ width: 100%;
+`;
+
+const PriceAmount = styled.span`
+ font-size: ${theme.font.size(8)};
+ line-height: ${theme.spacing(10)};
+`;
+
+const PricePeriod = styled.span`
+ color: ${theme.colors.secondary.text[60]};
+ font-size: ${theme.font.size(4)};
+ line-height: ${theme.spacing(5.5)};
+`;
+
+type CalculatorEmbedProps = {
+ calculator: PlanTableCalculatorDataType;
+};
+
+export function CalculatorEmbed({ calculator }: CalculatorEmbedProps) {
+ const { priceLine, sections, visual } = calculator;
+
+ return (
+ <Shell>
+ <VisualColumn>
+ {visual.imageSrc ? (
+ <VisualFrame>
+ <NextImage
+ alt={visual.imageAlt ?? ''}
+ fill
+ sizes="(max-width: 768px) 100vw, 400px"
+ src={visual.imageSrc}
+ style={{ objectFit: 'contain' }}
+ />
+ </VisualFrame>
+ ) : null}
+ <Heading as="h3" segments={visual.heading} size="lg" weight="light" />
+ <BodyOnDark>
+ <Body
+ body={visual.body}
+ family="sans"
+ size="md"
+ weight="regular"
+ />
+ </BodyOnDark>
+ </VisualColumn>
+ <ControlsColumn>
+ {sections.map((section) => (
+ <SectionBlock key={section.id}>
+ <SectionTitleRow>
+ <span>{section.title}</span>
+ <span aria-hidden="true">☑</span>
+ </SectionTitleRow>
+ <FieldsRow>
+ <Field>
+ <FieldLabel>{section.requestField.label}</FieldLabel>
+ <FakeInput>
+ <StepperInner>
+ <StepperBtn aria-hidden="true">‹</StepperBtn>
+ <StepperBtn aria-hidden="true">›</StepperBtn>
+ </StepperInner>
+ <span>{section.requestField.value}</span>
+ </FakeInput>
+ </Field>
+ <Field>
+ <FieldLabel>{section.tasksField.label}</FieldLabel>
+ <FakeInput>
+ <span>{section.tasksField.value}</span>
+ <span aria-hidden="true">▾</span>
+ </FakeInput>
+ </Field>
+ </FieldsRow>
+ {section.modelField ? (
+ <Field>
+ <FieldLabel>{section.modelField.label}</FieldLabel>
+ <FakeInput>
+ <span>{section.modelField.value}</span>
+ <span aria-hidden="true">▾</span>
+ </FakeInput>
+ </Field>
+ ) : null}
+ </SectionBlock>
+ ))}
+ <PriceFooter>
+ <PriceRow>
+ <span>{priceLine.label}</span>
+ <span>
+ <PriceAmount>{priceLine.amount}</PriceAmount>
+ <PricePeriod> {priceLine.periodSuffix}</PricePeriod>
+ </span>
+ </PriceRow>
+ </PriceFooter>
+ </ControlsColumn>
+ </Shell>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/PlanTable/components/Content/Content.tsx b/packages/twenty-website-new/src/sections/PlanTable/components/Content/Content.tsx
new file mode 100644
index 00000000000..bc33809ac18
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/PlanTable/components/Content/Content.tsx
@@ -0,0 +1,213 @@
+import { LinkButton } from '@/design-system/components';
+import { CheckIcon } from '@/icons';
+import type {
+ PlanTableCellType,
+ PlanTableDataType,
+ PlanTableFeatureRowDataType,
+ PlanTableTierColumnType,
+} from '@/sections/PlanTable/types';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+import { CalculatorEmbed } from '../CalculatorEmbed/CalculatorEmbed';
+
+const TableScope = styled.div`
+ align-items: center;
+ color: ${theme.colors.secondary.text[100]};
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(10)};
+ width: 100%;
+`;
+
+const GridRow = styled.div`
+ display: grid;
+ grid-template-columns: 1fr 1fr 1fr;
+ width: 100%;
+`;
+
+const HeadFeature = styled.div`
+ border-bottom: 1px solid ${theme.colors.secondary.border[10]};
+ font-family: ${theme.font.family.sans};
+ font-size: ${theme.font.size(5.5)};
+ font-weight: ${theme.font.weight.medium};
+ line-height: ${theme.spacing(7)};
+ padding: ${theme.spacing(4)};
+`;
+
+const HeadTier = styled.div`
+ border-bottom: 1px solid ${theme.colors.secondary.border[10]};
+ border-left: 1px solid ${theme.colors.secondary.border[10]};
+ font-family: ${theme.font.family.sans};
+ font-size: ${theme.font.size(5.5)};
+ font-weight: ${theme.font.weight.medium};
+ line-height: ${theme.spacing(7)};
+ padding: ${theme.spacing(4)};
+`;
+
+const FeatureLabel = styled.div`
+ border-bottom: 1px solid ${theme.colors.secondary.border[10]};
+ color: ${theme.colors.secondary.text[60]};
+ font-family: ${theme.font.family.sans};
+ font-size: ${theme.font.size(4)};
+ line-height: ${theme.spacing(8)};
+ min-height: ${theme.spacing(16)};
+ padding: ${theme.spacing(4)};
+`;
+
+const TierCell = styled.div`
+ border-bottom: 1px solid ${theme.colors.secondary.border[10]};
+ border-left: 1px solid ${theme.colors.secondary.border[10]};
+ display: flex;
+ flex-direction: column;
+ font-family: ${theme.font.family.sans};
+ font-size: ${theme.font.size(4)};
+ justify-content: center;
+ line-height: ${theme.spacing(5.5)};
+ min-height: ${theme.spacing(16)};
+ padding: ${theme.spacing(4)};
+`;
+
+const TierText = styled.span`
+ color: ${theme.colors.secondary.text[100]};
+`;
+
+const YesRow = styled.div`
+ align-items: center;
+ display: flex;
+ gap: ${theme.spacing(4)};
+ width: 100%;
+`;
+
+const CategoryBand = styled.div`
+ align-items: center;
+ background-color: ${theme.colors.secondary.border[10]};
+ display: flex;
+ min-height: ${theme.spacing(16)};
+ padding: ${theme.spacing(2)} ${theme.spacing(4)};
+`;
+
+const CategoryTitle = styled.span`
+ font-family: ${theme.font.family.sans};
+ font-size: ${theme.font.size(5.5)};
+ font-weight: ${theme.font.weight.medium};
+ line-height: ${theme.spacing(7)};
+ width: 100%;
+`;
+
+const CtaRow = styled.div`
+ display: flex;
+ justify-content: center;
+ width: 100%;
+`;
+
+type CellValueProps = {
+ cell: PlanTableCellType;
+};
+
+function CellValue({ cell }: CellValueProps) {
+ if (cell.kind === 'dash') {
+ return <TierText>—</TierText>;
+ }
+
+ if (cell.kind === 'text') {
+ return <TierText>{cell.text}</TierText>;
+ }
+
+ const label = cell.label ?? 'Yes';
+
+ return (
+ <YesRow>
+ <CheckIcon color={theme.colors.highlight[100]} size={16} />
+ <TierText>{label}</TierText>
+ </YesRow>
+ );
+}
+
+type FeatureRowProps = {
+ row: PlanTableFeatureRowDataType;
+ tierColumns: PlanTableTierColumnType[];
+};
+
+function FeatureRow({ row, tierColumns }: FeatureRowProps) {
+ return (
+ <GridRow>
+ <FeatureLabel>{row.featureLabel}</FeatureLabel>
+ {tierColumns.map((column) => (
+ <TierCell key={column.id}>
+ <CellValue cell={row.tiers[column.id]} />
+ </TierCell>
+ ))}
+ </GridRow>
+ );
+}
+
+type CategoryRowProps = {
+ title: string;
+};
+
+function CategoryRow({ title }: CategoryRowProps) {
+ return (
+ <GridRow>
+ <CategoryBand>
+ <CategoryTitle>{title}</CategoryTitle>
+ </CategoryBand>
+ <CategoryBand aria-hidden="true" />
+ <CategoryBand aria-hidden="true" />
+ </GridRow>
+ );
+}
+
+type ContentProps = {
+ data: PlanTableDataType;
+};
+
+export function Content({ data }: ContentProps) {
+ return (
+ <TableScope>
+ <GridRow>
+ <HeadFeature>{data.featureColumnLabel}</HeadFeature>
+ {data.tierColumns.map((column) => (
+ <HeadTier key={column.id}>{column.label}</HeadTier>
+ ))}
+ </GridRow>
+
+ {data.rows.map((row, rowIndex) => {
+ if (row.type === 'category') {
+ return (
+ <CategoryRow
+ key={`${row.title}-${rowIndex}`}
+ title={row.title}
+ />
+ );
+ }
+
+ if (row.type === 'calculator') {
+ return (
+ <CalculatorEmbed
+ calculator={row.calculator}
+ key={`calculator-${rowIndex}`}
+ />
+ );
+ }
+
+ return (
+ <FeatureRow
+ key={`${row.featureLabel}-${rowIndex}`}
+ row={row}
+ tierColumns={data.tierColumns}
+ />
+ );
+ })}
+
+ <CtaRow>
+ <LinkButton
+ color="secondary"
+ href={data.seeMoreFeaturesCta.href}
+ label={data.seeMoreFeaturesCta.label}
+ type="link"
+ variant="outlined"
+ />
+ </CtaRow>
+ </TableScope>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/PlanTable/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/PlanTable/components/Root/Root.tsx
new file mode 100644
index 00000000000..3892514a75a
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/PlanTable/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: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(10)};
+ min-width: 0;
+ padding-bottom: ${theme.spacing(22)};
+ padding-left: ${theme.spacing(4)};
+ padding-right: ${theme.spacing(4)};
+ padding-top: ${theme.spacing(22)};
+ width: 100%;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ gap: ${theme.spacing(10)};
+ 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/PlanTable/components/index.ts b/packages/twenty-website-new/src/sections/PlanTable/components/index.ts
new file mode 100644
index 00000000000..1fa28954ccf
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/PlanTable/components/index.ts
@@ -0,0 +1,7 @@
+import { Content } from './Content/Content';
+import { Root } from './Root/Root';
+
+export const PlanTable = {
+ Content,
+ Root,
+};
diff --git a/packages/twenty-website-new/src/sections/PlanTable/types/PlanTableData.ts b/packages/twenty-website-new/src/sections/PlanTable/types/PlanTableData.ts
new file mode 100644
index 00000000000..fc264c3f4dd
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/PlanTable/types/PlanTableData.ts
@@ -0,0 +1,78 @@
+import type { BodyType } from '@/design-system/components/Body/types/Body';
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+import type { PlansTierId } from '@/sections/Plans/types';
+
+export type PlanTableTierColumnType = {
+ id: PlansTierId;
+ label: string;
+};
+
+export type PlanTableCellType =
+ | { kind: 'dash' }
+ | { kind: 'text'; text: string }
+ | { kind: 'yes'; label?: string };
+
+export type PlanTableCategoryRowDataType = {
+ title: string;
+ type: 'category';
+};
+
+export type PlanTableFeatureRowDataType = {
+ featureLabel: string;
+ tiers: Record<PlansTierId, PlanTableCellType>;
+ type: 'row';
+};
+
+export type PlanTableCalculatorSectionDataType = {
+ id: string;
+ modelField?: {
+ label: string;
+ options: string[];
+ value: string;
+ };
+ requestField: {
+ label: string;
+ value: number;
+ };
+ tasksField: {
+ label: string;
+ options: string[];
+ value: string;
+ };
+ title: string;
+};
+
+export type PlanTableCalculatorDataType = {
+ priceLine: {
+ amount: string;
+ label: string;
+ periodSuffix: string;
+ };
+ sections: PlanTableCalculatorSectionDataType[];
+ visual: {
+ body: BodyType;
+ heading: HeadingType[];
+ imageAlt?: string;
+ imageSrc?: string;
+ };
+};
+
+export type PlanTableCalculatorEmbedDataType = {
+ calculator: PlanTableCalculatorDataType;
+ type: 'calculator';
+};
+
+export type PlanTableBodyRowDataType =
+ | PlanTableCalculatorEmbedDataType
+ | PlanTableCategoryRowDataType
+ | PlanTableFeatureRowDataType;
+
+export type PlanTableDataType = {
+ featureColumnLabel: string;
+ rows: PlanTableBodyRowDataType[];
+ seeMoreFeaturesCta: {
+ href: string;
+ label: string;
+ };
+ tierColumns: PlanTableTierColumnType[];
+};
diff --git a/packages/twenty-website-new/src/sections/PlanTable/types/index.ts b/packages/twenty-website-new/src/sections/PlanTable/types/index.ts
new file mode 100644
index 00000000000..c7e902ececd
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/PlanTable/types/index.ts
@@ -0,0 +1,11 @@
+export type {
+ PlanTableBodyRowDataType,
+ PlanTableCalculatorDataType,
+ PlanTableCalculatorEmbedDataType,
+ PlanTableCalculatorSectionDataType,
+ PlanTableCategoryRowDataType,
+ PlanTableCellType,
+ PlanTableDataType,
+ PlanTableFeatureRowDataType,
+ PlanTableTierColumnType,
+} from './PlanTableData';
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.tsx
index 4f06edab899..1a8e1686a36 100644
--- a/packages/twenty-website-new/src/sections/Plans/components/Card/Card.tsx
+++ b/packages/twenty-website-new/src/sections/Plans/components/Card/Card.tsx
@@ -1,4 +1,4 @@
-import { Body, Heading, LinkButton } from '@/design-system/components';
+import { Body, Heading, LazyEmbed, LinkButton } from '@/design-system/components';
import { CheckIcon } from '@/icons/informative/Check';
import type { PlanCardType } from '@/sections/Plans/types';
import { theme } from '@/theme';
@@ -49,7 +49,7 @@ const PriceLine = styled.div`
white-space: nowrap;
`;
-const CardIllustration = styled.iframe`
+const CardIllustration = styled(LazyEmbed)`
background-color: ${theme.colors.primary.background[100]};
border: none;
display: none;
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.tsx
index 32f837e64da..138f85fd3f8 100644
--- a/packages/twenty-website-new/src/sections/ProductStepper/components/Content/Content.tsx
+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/Content/Content.tsx
@@ -5,7 +5,6 @@ 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;
@@ -15,6 +14,9 @@ const ContentRoot = styled.div`
@media (min-width: ${theme.breakpoints.md}px) {
gap: ${theme.spacing(10)};
+ height: max-content;
+ position: sticky;
+ top: calc(50vh - 150px);
}
`;
@@ -81,6 +83,7 @@ const StepsColumn = styled.div`
display: grid;
grid-template-columns: 1fr;
min-width: 0;
+ gap: ${theme.spacing(8)};
@media (min-width: ${theme.breakpoints.md}px) {
max-width: 520px;
@@ -88,45 +91,44 @@ const StepsColumn = styled.div`
`;
const StepBlock = styled.div`
- align-content: center;
display: grid;
grid-template-columns: 1fr;
- min-height: 80vh;
- opacity: 0.3;
+ opacity: 1;
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;
+ opacity: var(--step-opacity, 1);
+ transform: var(--step-translate-y, translateY(0));
+ pointer-events: var(--step-pointer-events, auto);
}
`;
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;
+ scrollProgress: number;
stepCount: number;
};
function ProductProgressRail({
activeStepIndex,
+ scrollProgress,
stepCount,
}: ProgressRailProps) {
+ const globalProgress = scrollProgress * (stepCount - 1);
+
+ const fillPercentage =
+ globalProgress >= stepCount - 1
+ ? 100
+ : (globalProgress - activeStepIndex) * 100;
+
const nodes = [];
for (let index = 0; index < stepCount; index += 1) {
@@ -134,7 +136,7 @@ function ProductProgressRail({
nodes.push(
<StepIndicatorRow key={`step-${index}`}>
<PillBackground>
- <PillFill style={{ height: '100%' }} />
+ <PillFill style={{ height: `${fillPercentage}%` }} />
</PillBackground>
<ActiveLabel>{String(index + 1).padStart(2, '0')}</ActiveLabel>
</StepIndicatorRow>,
@@ -179,53 +181,14 @@ export function Content({
body,
eyebrow,
heading,
- onStepSelect,
+ scrollProgress,
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}
+ scrollProgress={scrollProgress}
stepCount={steps.length}
/>
<StepsColumn>
@@ -236,19 +199,43 @@ export function Content({
</IntroBlock>
{steps.map((step, index) => {
const Icon = INFORMATIVE_ICONS[step.icon];
- const isActive = index === activeStepIndex;
+ const isActive = index <= activeStepIndex;
const iconColor = isActive
? theme.colors.highlight[100]
: theme.colors.secondary.text[100];
+ let opacity = 1;
+ let translateY = 0;
+
+ if (index > 0) {
+ const globalProgress = scrollProgress * (steps.length - 1);
+ const start = index - 1;
+ const progress = globalProgress - start;
+
+ if (progress >= 1) {
+ opacity = 1;
+ translateY = 0;
+ } else if (progress > 0) {
+ opacity = 0.4 + 0.6 * progress;
+ translateY = 40 * (1 - progress);
+ } else {
+ const p = Math.max(0, progress + 1);
+ opacity = 0.4 * p;
+ translateY = 40 + 40 * (1 - p);
+ }
+ }
+
return (
<StepBlock
data-active={String(isActive)}
- data-step-index={index}
key={index}
- ref={(element) => {
- stepRefs.current[index] = element;
- }}
+ style={
+ {
+ '--step-opacity': opacity,
+ '--step-translate-y': `${translateY}px`,
+ '--step-pointer-events': opacity > 0 ? 'auto' : 'none',
+ } as React.CSSProperties
+ }
>
<StepRowHeader>
<StepIconBox data-active={String(isActive)}>
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.tsx
index eb94430dc2a..f049aa592d8 100644
--- a/packages/twenty-website-new/src/sections/ProductStepper/components/Flow/Flow.tsx
+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/Flow/Flow.tsx
@@ -3,8 +3,9 @@
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 { SyncScrollProgressFromContainerEffect } from '@/sections/ProductStepper/effect-components/SyncScrollProgressFromContainerEffect';
import type { ProductStepperStepType } from '@/sections/ProductStepper/types/ProductStepperStep';
-import { useMemo, useState } from 'react';
+import { useMemo, useRef, useState } from 'react';
import { Content } from '../Content/Content';
import { Root } from '../Root/Root';
import { Visual } from '../Visual/Visual';
@@ -17,7 +18,14 @@ type FlowProps = {
};
export function Flow({ body, eyebrow, heading, steps }: FlowProps) {
- const [activeStepIndex, setActiveStepIndex] = useState(0);
+ const [scrollProgress, setScrollProgress] = useState(0);
+ const scrollContainerRef = useRef<HTMLElement>(null);
+
+ const globalProgress = scrollProgress * (steps.length - 1);
+ const activeStepIndex = Math.min(
+ steps.length - 1,
+ Math.max(0, Math.floor(globalProgress)),
+ );
const contentSteps = useMemo(
() =>
@@ -32,13 +40,17 @@ export function Flow({ body, eyebrow, heading, steps }: FlowProps) {
const images = useMemo(() => steps.map((step) => step.image), [steps]);
return (
- <Root>
+ <Root scrollContainerRef={scrollContainerRef}>
+ <SyncScrollProgressFromContainerEffect
+ onScrollProgress={setScrollProgress}
+ scrollContainerRef={scrollContainerRef}
+ />
<Content
activeStepIndex={activeStepIndex}
body={body}
eyebrow={eyebrow}
heading={heading}
- onStepSelect={setActiveStepIndex}
+ scrollProgress={scrollProgress}
steps={contentSteps}
/>
<Visual activeStepIndex={activeStepIndex} images={images} />
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.tsx
index 462f41a4e20..bc86263e4e5 100644
--- a/packages/twenty-website-new/src/sections/ProductStepper/components/Root/Root.tsx
+++ b/packages/twenty-website-new/src/sections/ProductStepper/components/Root/Root.tsx
@@ -1,11 +1,15 @@
import { Container } from '@/design-system/components';
import { theme } from '@/theme';
import { styled } from '@linaria/react';
-import type { ReactNode } from 'react';
+import type { ReactNode, RefObject } from 'react';
const StyledSection = styled.section`
background-color: ${theme.colors.primary.text[5]};
width: 100%;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ height: 300vh;
+ }
`;
const Grid = styled(Container)`
@@ -31,11 +35,14 @@ const Grid = styled(Container)`
}
`;
-type RootProps = { children: ReactNode };
+type RootProps = {
+ children: ReactNode;
+ scrollContainerRef?: RefObject<HTMLElement | null>;
+};
-export function Root({ children }: RootProps) {
+export function Root({ children, scrollContainerRef }: RootProps) {
return (
- <StyledSection>
+ <StyledSection ref={scrollContainerRef}>
<Grid>{children}</Grid>
</StyledSection>
);
diff --git a/packages/twenty-website-new/src/sections/ProductStepper/effect-components/SyncScrollProgressFromContainerEffect.tsx b/packages/twenty-website-new/src/sections/ProductStepper/effect-components/SyncScrollProgressFromContainerEffect.tsx
new file mode 100644
index 00000000000..4dc81b6b422
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/ProductStepper/effect-components/SyncScrollProgressFromContainerEffect.tsx
@@ -0,0 +1,41 @@
+'use client';
+
+import { useEffect, type RefObject } from 'react';
+
+type SyncScrollProgressFromContainerEffectProps = {
+ onScrollProgress: (progress: number) => void;
+ scrollContainerRef: RefObject<HTMLElement | null>;
+};
+
+export function SyncScrollProgressFromContainerEffect({
+ onScrollProgress,
+ scrollContainerRef,
+}: SyncScrollProgressFromContainerEffectProps) {
+ useEffect(() => {
+ const handleScroll = () => {
+ const element = scrollContainerRef.current;
+ if (!element) {
+ return;
+ }
+ const rect = element.getBoundingClientRect();
+ const windowHeight = window.innerHeight;
+ const scrollableDistance = rect.height - windowHeight;
+ if (scrollableDistance <= 0) {
+ return;
+ }
+
+ const progress = Math.max(0, Math.min(1, -rect.top / scrollableDistance));
+ onScrollProgress(progress);
+ };
+
+ handleScroll();
+ window.addEventListener('scroll', handleScroll, { passive: true });
+ window.addEventListener('resize', handleScroll);
+ return () => {
+ window.removeEventListener('scroll', handleScroll);
+ window.removeEventListener('resize', handleScroll);
+ };
+ }, [onScrollProgress, scrollContainerRef]);
+
+ return null;
+}
diff --git a/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentProps.ts b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentProps.ts
index 7d6e5db9421..7e1ba5b711f 100644
--- a/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentProps.ts
+++ b/packages/twenty-website-new/src/sections/ProductStepper/types/ProductStepperContentProps.ts
@@ -8,6 +8,6 @@ export type ProductStepperContentProps = {
body: BodyType;
eyebrow: EyebrowType;
heading: HeadingType[];
- onStepSelect: (index: number) => void;
+ scrollProgress: number;
steps: ProductStepperContentStepType[];
};
diff --git a/packages/twenty-website-new/src/sections/Quote/components/Visual/Visual.tsx b/packages/twenty-website-new/src/sections/Quote/components/Visual/Visual.tsx
index 3fb5bf9b8e3..033b0626074 100644
--- a/packages/twenty-website-new/src/sections/Quote/components/Visual/Visual.tsx
+++ b/packages/twenty-website-new/src/sections/Quote/components/Visual/Visual.tsx
@@ -1,3 +1,4 @@
+import { LazyEmbed } from '@/design-system/components';
import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';
import { theme } from '@/theme';
import { styled } from '@linaria/react';
@@ -17,7 +18,7 @@ const VisualContainer = styled.div`
}
`;
-const StyledIframe = styled.iframe`
+const StyledIframe = styled(LazyEmbed)`
border: none;
height: 200%;
left: 51.5%;
diff --git a/packages/twenty-website-new/src/sections/Salesforce/components/Flow/Flow.tsx b/packages/twenty-website-new/src/sections/Salesforce/components/Flow/Flow.tsx
new file mode 100644
index 00000000000..bdede0352a6
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/components/Flow/Flow.tsx
@@ -0,0 +1,139 @@
+'use client';
+
+import { Body, Heading } from '@/design-system/components';
+import { SALESFORCE_POPUPS } from '@/sections/Salesforce/constants';
+import type {
+ SalesforceAddonRowType,
+ SalesforceDataType,
+} from '@/sections/Salesforce/types';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+import { useCallback, useState } from 'react';
+import { PricingWindow } from '../PricingWindow/PricingWindow';
+import { Root } from '../Root/Root';
+import { WrongChoicePopup } from '../WrongChoicePopup/WrongChoicePopup';
+
+const CopyColumn = styled.div`
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(2)};
+ max-width: 400px;
+ min-width: 0;
+`;
+
+const RightColumn = styled.div`
+ max-width: 672px;
+ min-width: 0;
+ position: relative;
+ width: 100%;
+`;
+
+type OpenWrongChoicePopup = {
+ addonId: string;
+ body: string;
+ key: string;
+ stackIndex: number;
+ titleBar: string;
+};
+
+const reindexPopups = (
+ list: OpenWrongChoicePopup[],
+): OpenWrongChoicePopup[] =>
+ list.map((popup, index) => ({ ...popup, stackIndex: index }));
+
+type FlowProps = SalesforceDataType & {
+ backgroundColor: string;
+};
+
+export function Flow({ backgroundColor, body, heading, pricing }: FlowProps) {
+ const [checkedIds, setCheckedIds] = useState(() => {
+ const initial = new Set<string>();
+ for (const row of pricing.addons) {
+ if (row.defaultChecked) {
+ initial.add(row.id);
+ }
+ }
+ return initial;
+ });
+
+ const [popups, setPopups] = useState<OpenWrongChoicePopup[]>([]);
+
+ const handleAddonToggle = useCallback(
+ (addon: SalesforceAddonRowType) => {
+ if (addon.disabled) {
+ return;
+ }
+
+ const popupTemplate = SALESFORCE_POPUPS[addon.popupKey];
+ if (!popupTemplate) {
+ return;
+ }
+
+ const wasChecked = checkedIds.has(addon.id);
+
+ setCheckedIds((previous) => {
+ const next = new Set(previous);
+ if (wasChecked) {
+ next.delete(addon.id);
+ } else {
+ next.add(addon.id);
+ }
+ return next;
+ });
+
+ if (wasChecked) {
+ setPopups((previous) =>
+ reindexPopups(
+ previous.filter((popup) => popup.addonId !== addon.id),
+ ),
+ );
+ } else {
+ setPopups((previous) => [
+ ...previous,
+ {
+ addonId: addon.id,
+ body: popupTemplate.body,
+ key: `${addon.id}-${Date.now()}`,
+ stackIndex: previous.length,
+ titleBar: popupTemplate.titleBar,
+ },
+ ]);
+ }
+ },
+ [checkedIds],
+ );
+
+ const handleClosePopup = useCallback((key: string) => {
+ setPopups((previous) =>
+ reindexPopups(previous.filter((popup) => popup.key !== key)),
+ );
+ }, []);
+
+ return (
+ <Root backgroundColor={backgroundColor}>
+ <CopyColumn>
+ <Heading as="h2" segments={heading} size="xl" weight="light" />
+ <Body body={body} family="sans" size="md" weight="regular" />
+ </CopyColumn>
+ <RightColumn>
+ <PricingWindow
+ checkedIds={checkedIds}
+ onAddonToggle={handleAddonToggle}
+ pricing={pricing}
+ />
+ {popups.map((popup) => (
+ <WrongChoicePopup
+ body={popup.body}
+ key={popup.key}
+ onClose={() => {
+ handleClosePopup(popup.key);
+ }}
+ stackIndex={popup.stackIndex}
+ titleBar={popup.titleBar}
+ titleId={`sf-wrong-choice-${popup.key}`}
+ />
+ ))}
+ </RightColumn>
+ </Root>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Salesforce/components/PricingWindow/PricingWindow.tsx b/packages/twenty-website-new/src/sections/Salesforce/components/PricingWindow/PricingWindow.tsx
new file mode 100644
index 00000000000..f0c7e43c261
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/components/PricingWindow/PricingWindow.tsx
@@ -0,0 +1,248 @@
+'use client';
+
+import type {
+ SalesforceAddonRowType,
+ SalesforcePricingPanelType,
+} from '@/sections/Salesforce/types';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+
+const Panel = styled.div`
+ background-color: rgba(28, 28, 28, 0.2);
+ display: flex;
+ flex-direction: column;
+ max-width: 672px;
+ padding: 3px;
+ position: relative;
+ width: 100%;
+`;
+
+const TitleBar = styled.div`
+ align-items: center;
+ background: linear-gradient(90deg, #000080 0%, #1084d0 100%);
+ display: flex;
+ justify-content: space-between;
+ padding: 3px 2px 3px 3px;
+ width: 100%;
+`;
+
+const TitleBarText = styled.p`
+ color: ${theme.colors.secondary.background[100]};
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(4)};
+ line-height: 12px;
+ margin: 0;
+`;
+
+const WindowChrome = styled.div`
+ box-shadow:
+ inset -1px -1px 0 0 #0a0a0a,
+ inset 1px 1px 0 0 #dfdfdf,
+ inset -2px -2px 0 0 #808080,
+ inset 2px 2px 0 0 #ffffff;
+ inset: 0;
+ pointer-events: none;
+ position: absolute;
+`;
+
+const ContentPad = styled.div`
+ padding: ${theme.spacing(2.75)};
+ width: 100%;
+`;
+
+const Inner = styled.div`
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(4)};
+ overflow: clip;
+ padding: ${theme.spacing(4)};
+ width: 100%;
+`;
+
+const ProductBlock = styled.div`
+ display: flex;
+ flex-direction: column;
+ font-family: ${theme.font.family.mono};
+ gap: ${theme.spacing(4)};
+ max-width: 427px;
+`;
+
+const ProductTitle = styled.p`
+ color: ${theme.colors.primary.text[100]};
+ font-size: ${theme.font.size(14.5)};
+ line-height: ${theme.spacing(14)};
+ margin: 0;
+`;
+
+const PriceRow = styled.div`
+ align-items: baseline;
+ display: flex;
+ flex-wrap: wrap;
+ gap: ${theme.spacing(1)};
+ white-space: nowrap;
+`;
+
+const PriceAmount = styled.span`
+ color: ${theme.colors.primary.text[100]};
+ font-size: ${theme.font.size(12.75)};
+ line-height: ${theme.spacing(10)};
+`;
+
+const PriceSuffix = styled.span`
+ color: ${theme.colors.primary.text[60]};
+ font-size: ${theme.font.size(4.5)};
+ line-height: ${theme.spacing(5.5)};
+`;
+
+const FakeButton = styled.div`
+ align-items: center;
+ background-color: rgba(28, 28, 28, 0.2);
+ box-shadow:
+ inset -1px -1px 0 0 #0a0a0a,
+ inset 1px 1px 0 0 #ffffff,
+ inset -2px -2px 0 0 #808080,
+ inset 2px 2px 0 0 #dfdfdf;
+ color: ${theme.colors.primary.text[100]};
+ display: flex;
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(4)};
+ justify-content: center;
+ line-height: ${theme.spacing(4)};
+ min-height: ${theme.spacing(10)};
+ padding: ${theme.spacing(1.5)} ${theme.spacing(4.5)};
+ text-transform: uppercase;
+ width: 100%;
+`;
+
+const SectionLabel = styled.p`
+ color: ${theme.colors.primary.text[80]};
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(5)};
+ line-height: ${theme.spacing(6)};
+ margin: 0;
+`;
+
+const AddonRow = styled.div`
+ align-items: flex-start;
+ display: flex;
+ justify-content: space-between;
+ gap: ${theme.spacing(4)};
+ width: 100%;
+`;
+
+const CheckboxLabel = styled.label<{ disabled?: boolean }>`
+ align-items: center;
+ cursor: ${({ disabled }) => (disabled ? 'not-allowed' : 'pointer')};
+ display: flex;
+ flex: 1;
+ gap: ${theme.spacing(2)};
+ min-width: 0;
+ opacity: ${({ disabled }) => (disabled ? 0.55 : 1)};
+`;
+
+const HiddenCheckbox = styled.input`
+ clip: rect(0 0 0 0);
+ height: 1px;
+ margin: -1px;
+ overflow: hidden;
+ position: absolute;
+ width: 1px;
+`;
+
+const CheckboxFace = styled.span<{ checked: boolean }>`
+ background-color: ${({ checked }) =>
+ checked ? theme.colors.secondary.background[100] : 'rgba(255, 255, 255, 0.05)'};
+ box-shadow:
+ inset -1.5px -1.5px 0 0 #ffffff,
+ inset 1.5px 1.5px 0 0 #808080,
+ inset -3px -3px 0 0 #dfdfdf,
+ inset 3px 3px 0 0 #0a0a0a;
+ flex-shrink: 0;
+ height: ${theme.spacing(5)};
+ position: relative;
+ width: ${theme.spacing(5)};
+`;
+
+const CheckGlyph = styled.span`
+ color: ${theme.colors.primary.text[100]};
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(3)};
+ left: 50%;
+ line-height: 1;
+ position: absolute;
+ top: 50%;
+ transform: translate(-50%, -58%);
+`;
+
+const AddonLabelText = styled.span`
+ color: ${theme.colors.primary.text[60]};
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(4.5)};
+ line-height: ${theme.spacing(5.5)};
+ white-space: nowrap;
+`;
+
+const AddonRightText = styled.span`
+ color: ${theme.colors.primary.text[100]};
+ flex-shrink: 0;
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(4.5)};
+ line-height: ${theme.spacing(5.5)};
+ text-align: right;
+ white-space: nowrap;
+`;
+
+export type PricingWindowProps = {
+ checkedIds: ReadonlySet<string>;
+ onAddonToggle: (addon: SalesforceAddonRowType) => void;
+ pricing: SalesforcePricingPanelType;
+};
+
+export function PricingWindow({
+ checkedIds,
+ onAddonToggle,
+ pricing,
+}: PricingWindowProps) {
+ return (
+ <Panel>
+ <WindowChrome aria-hidden="true" />
+ <TitleBar>
+ <TitleBarText>{pricing.windowTitle}</TitleBarText>
+ </TitleBar>
+ <ContentPad>
+ <Inner>
+ <ProductBlock>
+ <ProductTitle>{pricing.productTitle}</ProductTitle>
+ <PriceRow>
+ <PriceAmount>{pricing.priceAmount}</PriceAmount>
+ <PriceSuffix>{pricing.priceSuffix}</PriceSuffix>
+ </PriceRow>
+ </ProductBlock>
+ <FakeButton>{pricing.primaryCtaLabel}</FakeButton>
+ <SectionLabel>{pricing.featureSectionHeading}</SectionLabel>
+ {pricing.addons.map((addon) => {
+ const checked = checkedIds.has(addon.id);
+ return (
+ <AddonRow key={addon.id}>
+ <CheckboxLabel disabled={addon.disabled}>
+ <HiddenCheckbox
+ checked={checked}
+ disabled={addon.disabled}
+ onChange={() => onAddonToggle(addon)}
+ type="checkbox"
+ />
+ <CheckboxFace checked={checked} aria-hidden="true">
+ {checked ? <CheckGlyph>✓</CheckGlyph> : null}
+ </CheckboxFace>
+ <AddonLabelText>{addon.label}</AddonLabelText>
+ </CheckboxLabel>
+ <AddonRightText>{addon.rightLabel}</AddonRightText>
+ </AddonRow>
+ );
+ })}
+ <FakeButton>{pricing.secondaryCtaLabel}</FakeButton>
+ </Inner>
+ </ContentPad>
+ </Panel>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Salesforce/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/Salesforce/components/Root/Root.tsx
new file mode 100644
index 00000000000..44cc76db691
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/components/Root/Root.tsx
@@ -0,0 +1,44 @@
+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 Grid = styled(Container)`
+ display: grid;
+ gap: ${theme.spacing(10)};
+ 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)};
+ width: 100%;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ align-items: start;
+ column-gap: ${theme.spacing(10)};
+ grid-template-columns: minmax(0, 400px) minmax(0, 672px);
+ justify-content: space-between;
+ 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 }}>
+ <Grid>{children}</Grid>
+ </StyledSection>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Salesforce/components/WrongChoicePopup/WrongChoicePopup.tsx b/packages/twenty-website-new/src/sections/Salesforce/components/WrongChoicePopup/WrongChoicePopup.tsx
new file mode 100644
index 00000000000..6ccb2a060ed
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/components/WrongChoicePopup/WrongChoicePopup.tsx
@@ -0,0 +1,122 @@
+'use client';
+
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+
+const POPUP_WIDTH = 321;
+
+const Shell = styled.div<{ stackIndex: number }>`
+ background-color: #c0c0c0;
+ box-shadow:
+ inset -1px -1px 0 0 #0a0a0a,
+ inset 1px 1px 0 0 #dfdfdf,
+ inset -2px -2px 0 0 #808080,
+ inset 2px 2px 0 0 #ffffff;
+ display: flex;
+ flex-direction: column;
+ left: ${({ stackIndex }) => 24 + stackIndex * 18}px;
+ padding: 3px;
+ position: absolute;
+ top: ${({ stackIndex }) => 120 + stackIndex * 20}px;
+ width: ${POPUP_WIDTH}px;
+ z-index: ${({ stackIndex }) => 20 + stackIndex};
+`;
+
+const TitleBar = styled.div`
+ align-items: center;
+ background: linear-gradient(90deg, #c00000 0%, #b5b5b5 100%);
+ display: flex;
+ justify-content: space-between;
+ padding: 3px 2px 3px 3px;
+ width: 100%;
+`;
+
+const TitleText = styled.p`
+ color: ${theme.colors.secondary.background[100]};
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(4)};
+ line-height: 12px;
+ margin: 0;
+`;
+
+const CloseButton = styled.button`
+ background: transparent;
+ border: none;
+ box-shadow:
+ inset -1px -1px 0 0 #0a0a0a,
+ inset 1px 1px 0 0 #ffffff,
+ inset -2px -2px 0 0 #808080,
+ inset 2px 2px 0 0 #dfdfdf;
+ cursor: pointer;
+ padding: 3px 4px 4px;
+ position: relative;
+
+ &:active {
+ box-shadow:
+ inset 1px 1px 0 0 #0a0a0a,
+ inset -1px -1px 0 0 #ffffff;
+ }
+`;
+
+const BodyRow = styled.div`
+ align-items: center;
+ display: flex;
+ gap: ${theme.spacing(3)};
+ padding: ${theme.spacing(2.75)};
+ width: 100%;
+`;
+
+const IconMark = styled.span`
+ color: #c00000;
+ flex-shrink: 0;
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(8)};
+ line-height: 1;
+`;
+
+const BodyText = styled.p`
+ color: ${theme.colors.primary.text[80]};
+ font-family: ${theme.font.family.mono};
+ font-size: ${theme.font.size(5)};
+ line-height: ${theme.spacing(6)};
+ margin: 0;
+`;
+
+export type WrongChoicePopupProps = {
+ body: string;
+ onClose: () => void;
+ stackIndex: number;
+ titleBar: string;
+ titleId: string;
+};
+
+export function WrongChoicePopup({
+ body,
+ onClose,
+ stackIndex,
+ titleBar,
+ titleId,
+}: WrongChoicePopupProps) {
+ return (
+ <Shell
+ aria-labelledby={titleId}
+ role="dialog"
+ stackIndex={stackIndex}
+ >
+ <TitleBar>
+ <TitleText id={titleId}>{titleBar}</TitleText>
+ <CloseButton
+ aria-label="Close dialog"
+ onClick={onClose}
+ type="button"
+ >
+ <span aria-hidden="true">×</span>
+ </CloseButton>
+ </TitleBar>
+ <BodyRow>
+ <IconMark aria-hidden="true">⊘</IconMark>
+ <BodyText>{body}</BodyText>
+ </BodyRow>
+ </Shell>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Salesforce/components/index.ts b/packages/twenty-website-new/src/sections/Salesforce/components/index.ts
new file mode 100644
index 00000000000..c4a7a4e6703
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/components/index.ts
@@ -0,0 +1,7 @@
+import { Flow } from './Flow/Flow';
+import { Root } from './Root/Root';
+
+export const Salesforce = {
+ Flow,
+ Root,
+};
diff --git a/packages/twenty-website-new/src/sections/Salesforce/constants/index.ts b/packages/twenty-website-new/src/sections/Salesforce/constants/index.ts
new file mode 100644
index 00000000000..c5ed2d71bad
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/constants/index.ts
@@ -0,0 +1,5 @@
+export {
+ SALESFORCE_POPUPS,
+ type SalesforcePopupKey,
+ type SalesforceWrongChoicePopupType,
+} from './salesforce-popups';
diff --git a/packages/twenty-website-new/src/sections/Salesforce/constants/salesforce-popups.ts b/packages/twenty-website-new/src/sections/Salesforce/constants/salesforce-popups.ts
new file mode 100644
index 00000000000..3feb5751ad5
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/constants/salesforce-popups.ts
@@ -0,0 +1,17 @@
+export type SalesforceWrongChoicePopupType = {
+ body: string;
+ titleBar: string;
+};
+
+export const SALESFORCE_POPUPS = {
+ wrongChoiceDefault: {
+ body: 'Better than liquid glass !',
+ titleBar: 'Wrong choice',
+ },
+ wrongChoiceLorem: {
+ body: 'Lorem ipsum dolor sit amet',
+ titleBar: 'Wrong choice',
+ },
+} as const satisfies Record<string, SalesforceWrongChoicePopupType>;
+
+export type SalesforcePopupKey = keyof typeof SALESFORCE_POPUPS;
diff --git a/packages/twenty-website-new/src/sections/Salesforce/types/SalesforceData.ts b/packages/twenty-website-new/src/sections/Salesforce/types/SalesforceData.ts
new file mode 100644
index 00000000000..05f16a39924
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/types/SalesforceData.ts
@@ -0,0 +1,29 @@
+import type { BodyType } from '@/design-system/components/Body/types/Body';
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+import type { SalesforcePopupKey } from '@/sections/Salesforce/constants';
+
+export type SalesforceAddonRowType = {
+ defaultChecked?: boolean;
+ disabled?: boolean;
+ id: string;
+ label: string;
+ popupKey: SalesforcePopupKey;
+ rightLabel: string;
+};
+
+export type SalesforcePricingPanelType = {
+ windowTitle: string;
+ productTitle: string;
+ priceAmount: string;
+ priceSuffix: string;
+ primaryCtaLabel: string;
+ featureSectionHeading: string;
+ addons: SalesforceAddonRowType[];
+ secondaryCtaLabel: string;
+};
+
+export type SalesforceDataType = {
+ heading: HeadingType[];
+ body: BodyType;
+ pricing: SalesforcePricingPanelType;
+};
diff --git a/packages/twenty-website-new/src/sections/Salesforce/types/index.ts b/packages/twenty-website-new/src/sections/Salesforce/types/index.ts
new file mode 100644
index 00000000000..987a1c5be78
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Salesforce/types/index.ts
@@ -0,0 +1,10 @@
+export type {
+ SalesforceAddonRowType,
+ SalesforceDataType,
+ SalesforcePricingPanelType,
+} from './SalesforceData';
+
+export type {
+ SalesforcePopupKey,
+ SalesforceWrongChoicePopupType,
+} from '../constants';
diff --git a/packages/twenty-website-new/src/sections/Signoff/SignoffShape.tsx b/packages/twenty-website-new/src/sections/Signoff/SignoffShape.tsx
new file mode 100644
index 00000000000..ba1840c5fc7
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Signoff/SignoffShape.tsx
@@ -0,0 +1,46 @@
+const SIGNOFF_SHAPE_PATH =
+ 'M0 4a4 4 0 0 1 4-4h344.32c4.197 0 8.369.66 12.361 1.958l49.5 16.084A40 40 0 0 0 422.542 20h517.7c4.293 0 8.559-.691 12.633-2.047l47.785-15.906A40 40 0 0 1 1013.29 0H1356a4 4 0 0 1 4 4v16H0z';
+
+interface SignoffShapeProps {
+ fillColor: string;
+}
+
+export function SignoffShape({ fillColor }: SignoffShapeProps) {
+ return (
+ <div
+ aria-hidden
+ style={{
+ width: '100%',
+ height: '100%',
+ position: 'absolute',
+ inset: 0,
+ pointerEvents: 'none',
+ zIndex: -1,
+ }}
+ >
+ <svg
+ width="100%"
+ height="20"
+ viewBox="0 0 1360 20"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ preserveAspectRatio="none"
+ style={{ display: 'block' }}
+ >
+ <path d={SIGNOFF_SHAPE_PATH} fill={fillColor} />
+ </svg>
+ <div
+ style={{
+ position: 'absolute',
+ top: 19,
+ bottom: 0,
+ left: 0,
+ right: 0,
+ backgroundColor: fillColor,
+ borderBottomLeftRadius: 4,
+ borderBottomRightRadius: 4,
+ }}
+ />
+ </div>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Signoff/components/Body.tsx b/packages/twenty-website-new/src/sections/Signoff/components/Body.tsx
new file mode 100644
index 00000000000..9737e790cba
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Signoff/components/Body.tsx
@@ -0,0 +1,25 @@
+import { styled } from '@linaria/react';
+
+import { Body as BaseBody } from '@/design-system/components';
+import type { BodyType } from '@/design-system/components/Body/types/Body';
+import { theme } from '@/theme';
+
+const Subline = styled.div`
+ color: color-mix(in srgb, currentColor 80%, transparent);
+ margin-bottom: ${theme.spacing(6)};
+ max-width: 452px;
+ min-width: 0;
+ width: 100%;
+`;
+
+type BodyProps = {
+ body: BodyType;
+};
+
+export function Body({ body }: BodyProps) {
+ return (
+ <Subline>
+ <BaseBody as="p" body={body} size="sm" weight="regular" />
+ </Subline>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Signoff/components/Cta.tsx b/packages/twenty-website-new/src/sections/Signoff/components/Cta.tsx
new file mode 100644
index 00000000000..cefe244803c
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Signoff/components/Cta.tsx
@@ -0,0 +1,19 @@
+import { styled } from '@linaria/react';
+import type { ReactNode } from 'react';
+
+import { theme } from '@/theme';
+
+const Actions = styled.div`
+ display: flex;
+ flex-wrap: wrap;
+ gap: ${theme.spacing(1)};
+ justify-content: center;
+`;
+
+type CtaProps = {
+ children: ReactNode;
+};
+
+export function Cta({ children }: CtaProps) {
+ return <Actions>{children}</Actions>;
+}
diff --git a/packages/twenty-website-new/src/sections/Signoff/components/Heading.tsx b/packages/twenty-website-new/src/sections/Signoff/components/Heading.tsx
new file mode 100644
index 00000000000..ee222d7cbf6
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Signoff/components/Heading.tsx
@@ -0,0 +1,26 @@
+import { styled } from '@linaria/react';
+
+import { Heading as BaseHeading } from '@/design-system/components';
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+import { theme } from '@/theme';
+
+const HeadingWrap = styled.div`
+ margin-bottom: ${theme.spacing(2)};
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 921px;
+ min-width: 0;
+ width: 100%;
+`;
+
+type HeadingProps = {
+ segments: HeadingType[];
+};
+
+export function Heading({ segments }: HeadingProps) {
+ return (
+ <HeadingWrap>
+ <BaseHeading as="h2" segments={segments} size="xl" weight="light" />
+ </HeadingWrap>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Signoff/components/Root.tsx b/packages/twenty-website-new/src/sections/Signoff/components/Root.tsx
new file mode 100644
index 00000000000..4383bf8d57d
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Signoff/components/Root.tsx
@@ -0,0 +1,70 @@
+import { styled } from '@linaria/react';
+import type { ReactNode } from 'react';
+
+import { Container } from '@/design-system/components';
+import { SignoffShape } from '@/sections/Signoff/SignoffShape';
+import { theme } from '@/theme';
+
+const StyledSection = styled.section`
+ min-width: 0;
+ width: 100%;
+
+ &[data-shaped] {
+ isolation: isolate;
+ overflow: hidden;
+ position: relative;
+ }
+`;
+
+const StyledContainer = styled(Container)`
+ align-items: center;
+ display: flex;
+ flex-direction: column;
+ padding-bottom: ${theme.spacing(20)};
+ padding-left: ${theme.spacing(4)};
+ padding-right: ${theme.spacing(4)};
+ padding-top: ${theme.spacing(20)};
+ text-align: center;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ padding-bottom: ${theme.spacing(28)};
+ padding-left: ${theme.spacing(10)};
+ padding-right: ${theme.spacing(10)};
+ padding-top: ${theme.spacing(28)};
+ }
+`;
+
+type RootPropsSimple = {
+ backgroundColor: string;
+ children: ReactNode;
+ color: string;
+ variant?: 'simple';
+};
+
+type RootPropsShaped = {
+ backgroundColor: string;
+ children: ReactNode;
+ color: string;
+ shapeFillColor: string;
+ variant: 'shaped';
+};
+
+type RootProps = RootPropsSimple | RootPropsShaped;
+
+export function Root(props: RootProps) {
+ const { backgroundColor, children, color } = props;
+ const isShaped = props.variant === 'shaped';
+ const shapeFillColor = isShaped ? props.shapeFillColor : undefined;
+
+ return (
+ <StyledSection
+ data-shaped={isShaped ? '' : undefined}
+ style={{ backgroundColor, color }}
+ >
+ {isShaped && shapeFillColor ? (
+ <SignoffShape fillColor={shapeFillColor} />
+ ) : null}
+ <StyledContainer>{children}</StyledContainer>
+ </StyledSection>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/Signoff/components/index.ts b/packages/twenty-website-new/src/sections/Signoff/components/index.ts
new file mode 100644
index 00000000000..9d309e9f3fd
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Signoff/components/index.ts
@@ -0,0 +1,6 @@
+import { Body } from './Body';
+import { Cta } from './Cta';
+import { Heading } from './Heading';
+import { Root } from './Root';
+
+export const Signoff = { Body, Cta, Heading, Root };
diff --git a/packages/twenty-website-new/src/sections/Signoff/types/SignoffData.ts b/packages/twenty-website-new/src/sections/Signoff/types/SignoffData.ts
new file mode 100644
index 00000000000..0dc09428dd5
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Signoff/types/SignoffData.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 SignoffDataType = {
+ heading: HeadingType[];
+ body: BodyType;
+};
diff --git a/packages/twenty-website-new/src/sections/Signoff/types/index.ts b/packages/twenty-website-new/src/sections/Signoff/types/index.ts
new file mode 100644
index 00000000000..ed82c9d57f0
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/Signoff/types/index.ts
@@ -0,0 +1 @@
+export type { SignoffDataType } from './SignoffData';
diff --git a/packages/twenty-website-new/src/sections/Testimonials/components/Embed/Embed.tsx b/packages/twenty-website-new/src/sections/Testimonials/components/Embed/Embed.tsx
index dc2e271c8e1..418be1898e2 100644
--- a/packages/twenty-website-new/src/sections/Testimonials/components/Embed/Embed.tsx
+++ b/packages/twenty-website-new/src/sections/Testimonials/components/Embed/Embed.tsx
@@ -1,3 +1,4 @@
+import { LazyEmbed } from '@/design-system/components';
import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';
import { theme } from '@/theme';
import { styled } from '@linaria/react';
@@ -16,7 +17,7 @@ const EmbedContainer = styled.div`
}
`;
-const StyledIframe = styled.iframe`
+const StyledIframe = styled(LazyEmbed)`
border: none;
height: 200%;
left: 51.5%;
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.tsx
index 4827eb65927..a744e371deb 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
@@ -1,4 +1,4 @@
-import { Body, Heading, IconButton } from '@/design-system/components';
+import { Body, Heading, IconButton, LazyEmbed } from '@/design-system/components';
import { ArrowRightIcon } from '@/icons';
import { ThreeCardsIllustrationCardType } from '@/sections/ThreeCards/types';
import { theme } from '@/theme';
@@ -26,7 +26,7 @@ const CardRule = styled.div`
width: 100%;
`;
-const CardEmbed = styled.iframe`
+const CardEmbed = styled(LazyEmbed)`
width: 100%;
height: 240px;
border: none;
diff --git a/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Content/Content.tsx b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Content/Content.tsx
new file mode 100644
index 00000000000..d851ffa6be8
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Content/Content.tsx
@@ -0,0 +1,226 @@
+'use client';
+
+import { Body, Heading } from '@/design-system/components';
+import type { BodyType } from '@/design-system/components/Body/types/Body';
+import type { HeadingType } from '@/design-system/components/Heading/types/Heading';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+import type { CSSProperties } 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)};
+ height: max-content;
+ position: sticky;
+ top: calc(50vh - 150px);
+ }
+`;
+
+const ProgressRail = styled.div`
+ display: none;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ align-items: center;
+ display: flex;
+ flex-direction: column;
+ gap: ${theme.spacing(2)};
+ height: max-content;
+ position: sticky;
+ top: calc(50vh - ${theme.spacing(10)});
+ }
+`;
+
+const StepIndicatorRow = styled.div`
+ align-items: flex-start;
+ display: flex;
+ gap: ${theme.spacing(4)};
+`;
+
+const PillBackground = styled.div`
+ background-color: ${theme.colors.primary.text[20]};
+ 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};
+ line-height: ${theme.spacing(4)};
+ margin: 0;
+ text-transform: uppercase;
+`;
+
+const InactiveDotWrapper = styled.div`
+ align-items: center;
+ display: flex;
+ gap: ${theme.spacing(4)};
+`;
+
+const InactiveDot = styled.div`
+ background-color: ${theme.colors.primary.text[20]};
+ border-radius: 50%;
+ height: ${theme.spacing(1)};
+ width: ${theme.spacing(1)};
+`;
+
+const StepsColumn = styled.div`
+ display: grid;
+ gap: ${theme.spacing(8)};
+ grid-template-columns: 1fr;
+ min-width: 0;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ max-width: 556px;
+ }
+`;
+
+const HeadingBlock = styled.div`
+ display: grid;
+ grid-template-columns: 1fr;
+ row-gap: ${theme.spacing(4)};
+`;
+
+const StepBlock = styled.div`
+ display: grid;
+ grid-template-columns: 1fr;
+ opacity: 1;
+ row-gap: ${theme.spacing(4)};
+ transition: opacity 0.4s ease, transform 0.4s ease;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ opacity: var(--step-opacity, 1);
+ pointer-events: var(--step-pointer-events, auto);
+ row-gap: ${theme.spacing(6)};
+ transform: var(--step-translate-y, translateY(0));
+ }
+`;
+
+type ProgressRailProps = {
+ activeStepIndex: number;
+ scrollProgress: number;
+ stepCount: number;
+};
+
+function WhyTwentyProgressRail({
+ activeStepIndex,
+ scrollProgress,
+ stepCount,
+}: ProgressRailProps) {
+ const globalProgress = scrollProgress * (stepCount - 1);
+
+ const fillPercentage =
+ globalProgress >= stepCount - 1
+ ? 100
+ : (globalProgress - activeStepIndex) * 100;
+
+ const nodes = [];
+
+ for (let index = 0; index < stepCount; index += 1) {
+ if (index === activeStepIndex) {
+ 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 type WhyTwentyStepperContentProps = {
+ activeStepIndex: number;
+ body: BodyType[];
+ heading: HeadingType;
+ scrollProgress: number;
+};
+
+export function Content({
+ activeStepIndex,
+ body,
+ heading,
+ scrollProgress,
+}: WhyTwentyStepperContentProps) {
+ const stepCount = body.length;
+
+ return (
+ <ContentRoot>
+ <WhyTwentyProgressRail
+ activeStepIndex={activeStepIndex}
+ scrollProgress={scrollProgress}
+ stepCount={stepCount}
+ />
+ <StepsColumn>
+ <HeadingBlock>
+ <Heading as="h2" segments={heading} size="xl" weight="light" />
+ </HeadingBlock>
+ {body.map((bodyItem, index) => {
+ const isActive = index <= activeStepIndex;
+
+ let opacity = 1;
+ let translateY = 0;
+
+ if (index > 0) {
+ const globalProgress = scrollProgress * (stepCount - 1);
+ const start = index - 1;
+ const progress = globalProgress - start;
+
+ if (progress >= 1) {
+ opacity = 1;
+ translateY = 0;
+ } else if (progress > 0) {
+ opacity = 0.4 + 0.6 * progress;
+ translateY = 40 * (1 - progress);
+ } else {
+ const p = Math.max(0, progress + 1);
+ opacity = 0.4 * p;
+ translateY = 40 + 40 * (1 - p);
+ }
+ }
+
+ return (
+ <StepBlock
+ data-active={String(isActive)}
+ key={index}
+ style={
+ {
+ '--step-opacity': opacity,
+ '--step-pointer-events': opacity > 0 ? 'auto' : 'none',
+ '--step-translate-y': `translateY(${translateY}px)`,
+ } as CSSProperties
+ }
+ >
+ <Body body={bodyItem} family="sans" size="md" weight="regular" />
+ </StepBlock>
+ );
+ })}
+ </StepsColumn>
+ </ContentRoot>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Flow/Flow.tsx b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Flow/Flow.tsx
new file mode 100644
index 00000000000..381e5ad66d6
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Flow/Flow.tsx
@@ -0,0 +1,38 @@
+'use client';
+
+import { SyncScrollProgressFromContainerEffect } from '@/sections/WhyTwentyStepper/effect-components/SyncScrollProgressFromContainerEffect';
+import type { WhyTwentyStepperDataType } from '@/sections/WhyTwentyStepper/types';
+import { useRef, useState } from 'react';
+import { Content } from '../Content/Content';
+import { Root } from '../Root/Root';
+import { Visual } from '../Visual/Visual';
+
+type FlowProps = WhyTwentyStepperDataType;
+
+export function Flow({ body, heading, illustration }: FlowProps) {
+ const [scrollProgress, setScrollProgress] = useState(0);
+ const scrollContainerRef = useRef<HTMLElement>(null);
+
+ const stepCount = body.length;
+ const globalProgress = scrollProgress * (stepCount - 1);
+ const activeStepIndex = Math.min(
+ stepCount - 1,
+ Math.max(0, Math.floor(globalProgress)),
+ );
+
+ return (
+ <Root scrollContainerRef={scrollContainerRef}>
+ <SyncScrollProgressFromContainerEffect
+ onScrollProgress={setScrollProgress}
+ scrollContainerRef={scrollContainerRef}
+ />
+ <Content
+ activeStepIndex={activeStepIndex}
+ body={body}
+ heading={heading}
+ scrollProgress={scrollProgress}
+ />
+ <Visual illustration={illustration} />
+ </Root>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Root/Root.tsx b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Root/Root.tsx
new file mode 100644
index 00000000000..fed6c24f034
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Root/Root.tsx
@@ -0,0 +1,49 @@
+import { Container } from '@/design-system/components';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+import type { ReactNode, RefObject } from 'react';
+
+const StyledSection = styled.section`
+ background-color: ${theme.colors.primary.text[10]};
+ width: 100%;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ height: 300vh;
+ }
+`;
+
+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;
+ scrollContainerRef?: RefObject<HTMLElement | null>;
+};
+
+export function Root({ children, scrollContainerRef }: RootProps) {
+ return (
+ <StyledSection ref={scrollContainerRef}>
+ <Grid>{children}</Grid>
+ </StyledSection>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Visual/Visual.tsx b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Visual/Visual.tsx
new file mode 100644
index 00000000000..dab02f66237
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/Visual/Visual.tsx
@@ -0,0 +1,70 @@
+import { LazyEmbed } from '@/design-system/components';
+import type { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';
+import { theme } from '@/theme';
+import { styled } from '@linaria/react';
+
+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 VisualContainer = styled.div`
+ background-color: ${theme.colors.secondary.background[100]};
+ border-radius: ${theme.radius(1)};
+ height: min(705px, 70vw);
+ min-height: ${theme.spacing(80)};
+ overflow: hidden;
+ position: relative;
+ width: 100%;
+
+ @media (min-width: ${theme.breakpoints.md}px) {
+ height: 705px;
+ max-width: 672px;
+ }
+`;
+
+const StyledIframe = styled(LazyEmbed)`
+ border: none;
+ height: 200%;
+ left: 51.5%;
+ mix-blend-mode: lighten;
+ position: absolute;
+ top: 50%;
+ transform: translate(-50%, -50%);
+ width: 200%;
+`;
+
+const HueOverlay = styled.div`
+ background-color: ${theme.colors.highlight[100]};
+ inset: 0;
+ mix-blend-mode: hue;
+ pointer-events: none;
+ position: absolute;
+`;
+
+type VisualProps = {
+ illustration: IllustrationType;
+};
+
+export function Visual({ illustration }: VisualProps) {
+ return (
+ <VisualColumn>
+ <VisualContainer>
+ <StyledIframe
+ allow="clipboard-write; encrypted-media; gyroscope; web-share"
+ allowFullScreen
+ referrerPolicy="strict-origin-when-cross-origin"
+ src={illustration.src}
+ title={illustration.title}
+ />
+ <HueOverlay aria-hidden="true" />
+ </VisualContainer>
+ </VisualColumn>
+ );
+}
diff --git a/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/index.ts b/packages/twenty-website-new/src/sections/WhyTwentyStepper/components/index.ts
new file mode 100644
index 00000000000..c24d113d28b
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/WhyTwentyStepper/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 WhyTwentyStepper = {
+ Content,
+ Flow,
+ Root,
+ Visual,
+};
diff --git a/packages/twenty-website-new/src/sections/WhyTwentyStepper/effect-components/SyncScrollProgressFromContainerEffect.tsx b/packages/twenty-website-new/src/sections/WhyTwentyStepper/effect-components/SyncScrollProgressFromContainerEffect.tsx
new file mode 100644
index 00000000000..4dc81b6b422
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/WhyTwentyStepper/effect-components/SyncScrollProgressFromContainerEffect.tsx
@@ -0,0 +1,41 @@
+'use client';
+
+import { useEffect, type RefObject } from 'react';
+
+type SyncScrollProgressFromContainerEffectProps = {
+ onScrollProgress: (progress: number) => void;
+ scrollContainerRef: RefObject<HTMLElement | null>;
+};
+
+export function SyncScrollProgressFromContainerEffect({
+ onScrollProgress,
+ scrollContainerRef,
+}: SyncScrollProgressFromContainerEffectProps) {
+ useEffect(() => {
+ const handleScroll = () => {
+ const element = scrollContainerRef.current;
+ if (!element) {
+ return;
+ }
+ const rect = element.getBoundingClientRect();
+ const windowHeight = window.innerHeight;
+ const scrollableDistance = rect.height - windowHeight;
+ if (scrollableDistance <= 0) {
+ return;
+ }
+
+ const progress = Math.max(0, Math.min(1, -rect.top / scrollableDistance));
+ onScrollProgress(progress);
+ };
+
+ handleScroll();
+ window.addEventListener('scroll', handleScroll, { passive: true });
+ window.addEventListener('resize', handleScroll);
+ return () => {
+ window.removeEventListener('scroll', handleScroll);
+ window.removeEventListener('resize', handleScroll);
+ };
+ }, [onScrollProgress, scrollContainerRef]);
+
+ return null;
+}
diff --git a/packages/twenty-website-new/src/sections/WhyTwentyStepper/types/WhyTwentyStepperData.ts b/packages/twenty-website-new/src/sections/WhyTwentyStepper/types/WhyTwentyStepperData.ts
new file mode 100644
index 00000000000..ffc1af89d5e
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/WhyTwentyStepper/types/WhyTwentyStepperData.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 { IllustrationType } from '@/design-system/components/Illustration/types/Illustration';
+
+export type WhyTwentyStepperDataType = {
+ heading: HeadingType;
+ body: BodyType[];
+ illustration: IllustrationType;
+};
diff --git a/packages/twenty-website-new/src/sections/WhyTwentyStepper/types/index.ts b/packages/twenty-website-new/src/sections/WhyTwentyStepper/types/index.ts
new file mode 100644
index 00000000000..1f5c0c3a0cc
--- /dev/null
+++ b/packages/twenty-website-new/src/sections/WhyTwentyStepper/types/index.ts
@@ -0,0 +1 @@
+export type { WhyTwentyStepperDataType } from './WhyTwentyStepperData';