The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
[Website] i18n module, page-local sections, translatable copy (#21082)
Abdullah.b027e4bdb141
diff --git a/packages/twenty-website/jest.config.mjs b/packages/twenty-website/jest.config.mjsindex b1662645a99..04bf99188be 100644--- a/packages/twenty-website/jest.config.mjs+++ b/packages/twenty-website/jest.config.mjs@@ -40,6 +40,7 @@ const jestConfig = {],},moduleNameMapper: {+ '^server-only$': '<rootDir>/jest/server-only-stub.ts',...pathsToModuleNameMapper(tsConfig.compilerOptions.paths, {prefix: '<rootDir>/',}),diff --git a/packages/twenty-website/jest/server-only-stub.ts b/packages/twenty-website/jest/server-only-stub.tsnew file mode 100644index 00000000000..55493fc8aac--- /dev/null+++ b/packages/twenty-website/jest/server-only-stub.ts@@ -0,0 +1,5 @@+// jest stub for the `server-only` package. `server-only` is a Next.js build+// guard (errors if a server module is pulled into a client bundle); it has no+// behaviour at runtime and no resolution under the jest node environment, so we+// map it to this empty module. The real guard still runs during `next build`.+export {};diff --git a/packages/twenty-website/lingui.config.ts b/packages/twenty-website/lingui.config.tsindex 215989deb6e..7393f65cbe6 100644--- a/packages/twenty-website/lingui.config.ts+++ b/packages/twenty-website/lingui.config.ts@@ -2,7 +2,7 @@ import { defineConfig } from '@lingui/conf';import { formatter } from '@lingui/format-po';import { SOURCE_LOCALE } from 'twenty-shared/translations';-import { WEBSITE_LOCALE_LIST } from './src/lib/i18n/utils/website-locale-list';+import { WEBSITE_LOCALE_LIST } from './src/lib/i18n/locales';export default defineConfig({sourceLocale: SOURCE_LOCALE,diff --git a/packages/twenty-website/next.config.ts b/packages/twenty-website/next.config.tsindex 1fc51e33105..8e660117db9 100644--- a/packages/twenty-website/next.config.ts+++ b/packages/twenty-website/next.config.ts@@ -3,9 +3,17 @@ import { initOpenNextCloudflareForDev } from '@opennextjs/cloudflare';import withLinaria, { type LinariaConfig } from 'next-with-linaria';import { APP_LOCALES } from 'twenty-shared/translations';-// Locale URL segments that are actually served (others are normalised away).-// Mirrors LOCALE_BY_URL_SEGMENT keys in src/lib/i18n/utils/website-locale-segments.ts.-const DEPLOYED_LOCALE_URL_SEGMENTS = ['en', 'fr'] as const;+import {+ WEBSITE_LOCALE_LIST,+ localeToUrlSegment,+} from './src/lib/i18n/locales';++// Locale URL segments that are actually served (others are normalised away),+// derived from the single WEBSITE_LOCALE_LIST source of truth so adding a+// locale never requires editing this config. These are exactly the keys of+// LOCALE_BY_URL_SEGMENT in src/lib/i18n/locales.ts.+const DEPLOYED_LOCALE_URL_SEGMENTS =+ WEBSITE_LOCALE_LIST.map(localeToUrlSegment);// Raw locale codes (e.g. fr-FR, de-DE) that should redirect to the un-prefixed// path. Excludes pseudo-* locales and the deployed URL segments themselves.diff --git a/packages/twenty-website/scripts/check-boundaries.mjs b/packages/twenty-website/scripts/check-boundaries.mjsindex 3b77818510a..7224db7bdb8 100644--- a/packages/twenty-website/scripts/check-boundaries.mjs+++ b/packages/twenty-website/scripts/check-boundaries.mjs@@ -52,6 +52,36 @@ const RULES = ['element visibility, cleanup, and render failures are handled consistently.',].join('\n '),},+ {+ id: 'design-system-no-upward-import',+ description:+ 'design-system is the lowest UI layer — it must not import from @/sections, @/templates, or @/app.',+ pattern: /from\s+['"]@\/(sections|templates|app)(\/|['"])/,+ appliesTo: (rel) =>+ rel.startsWith('src/design-system/') && /\.(ts|tsx)$/.test(rel),+ exempt: (rel) => rel.includes('__tests__') || rel.endsWith('.d.ts'),+ help: [+ 'design-system holds atomic, domain-agnostic primitives. It may depend on',+ '@/theme, @/icons and @/lib, but never on the higher layers (sections,',+ 'templates, app). If a primitive needs section/page data, lift that data up',+ 'to the consumer and pass it in as a prop.',+ ].join('\n '),+ },+ {+ id: 'templates-no-upward-import',+ description:+ 'templates (section layout shells) must not import from @/sections or @/app — only @/design-system and @/theme.',+ pattern: /from\s+['"]@\/(sections|app)(\/|['"])/,+ appliesTo: (rel) =>+ rel.startsWith('src/templates/') && /\.(ts|tsx)$/.test(rel),+ exempt: (rel) => rel.includes('__tests__') || rel.endsWith('.d.ts'),+ help: [+ 'templates are reusable section layout shells composed from design-system',+ 'primitives. They must not reach into sections (visuals) or app (pages).',+ 'Page-local blocks compose a template with its section visual — inject the',+ 'visual as children/a prop rather than importing it into the template.',+ ].join('\n '),+ },];const SKIP_DIRS = new Set([diff --git a/packages/twenty-website/scripts/check-section-shape.mjs b/packages/twenty-website/scripts/check-section-shape.mjsindex 8f8106f70fd..6c829acd7ee 100644--- a/packages/twenty-website/scripts/check-section-shape.mjs+++ b/packages/twenty-website/scripts/check-section-shape.mjs@@ -7,8 +7,6 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));const ROOT = path.resolve(__dirname, '..');const SECTIONS_DIR = path.join(ROOT, 'src', 'sections');-const SECTIONS_USING_NAMED_SLOTS = new Map([]);-const LEAF_SECTIONS = new Set(['CaseStudy','CaseStudyCatalog',@@ -16,6 +14,11 @@ const LEAF_SECTIONS = new Set(['LegalDocument','PartnerApplication','Stepper',+ // Visual-only modules: their layout shells moved to src/templates/, so they+ // no longer own a section <Root> — they just expose visual components.+ 'Hero',+ 'ThreeCards',+ 'Testimonials',]);async function listSections() {@@ -59,9 +62,14 @@ async function findBarrel(sectionDir) {async function findRoot(sectionDir) {const sectionName = path.basename(sectionDir);const candidates = [+ // Legacy compound sections own the <section> in components/Root.tsx.path.join(sectionDir, 'components', 'Root.tsx'),+ // Single-file sections own it in <Section>.tsx (e.g. TrustedBy/TrustedBy.tsx).path.join(sectionDir, `${sectionName}.tsx`),path.join(sectionDir, `${sectionName}.ts`),+ // Flat-primitive sections own it in a <Section>Section shell+ // (e.g. Hero/components/HeroSection.tsx) consumed by page-local blocks.+ path.join(sectionDir, 'components', `${sectionName}Section.tsx`),];for (const candidate of candidates) {if (await fileExists(candidate)) return candidate;@@ -69,22 +77,6 @@ async function findRoot(sectionDir) {return null;}-function parseSlotIdentifiers(barrelContents) {- const exportMatch = barrelContents.match(- /export\s+const\s+\w+\s*=\s*\{([^}]+)\}/m,- );- if (!exportMatch) return null;- const body = exportMatch[1];- return body- .split(',')- .map((entry) => entry.trim())- .filter((entry) => entry.length > 0)- .map((entry) => {- const colon = entry.indexOf(':');- return colon === -1 ? entry : entry.slice(0, colon).trim();- });-}-const TOARRAY_REGEX = /Children\.toArray\s*\(/;function stripComments(source) {@@ -100,7 +92,7 @@ async function checkSection(name) {const barrel = await findBarrel(sectionDir);if (barrel === null) {violations.push(- `${name}: missing components/index.{ts,tsx} barrel — every section must expose a single compound export.`,+ `${name}: missing a barrel (index.{ts,tsx}) — every section must expose its public API through one barrel (flat named exports; no compound objects).`,);return violations;}@@ -124,57 +116,9 @@ async function checkSection(name) {}}- const slotsToCheck = SECTIONS_USING_NAMED_SLOTS.get(name);- if (slotsToCheck !== undefined) {- const barrelContents = await readFileOrNull(barrel);- const exportedSlotNames = barrelContents- ? parseSlotIdentifiers(barrelContents)- : null;- for (const slot of slotsToCheck) {- if (exportedSlotNames !== null && !exportedSlotNames.includes(slot)) {- violations.push(- `${name}: slot "${slot}" is declared in SECTIONS_USING_NAMED_SLOTS but is not exported from ${path.relative(- ROOT,- barrel,- )}. Either export it or remove the entry from check-section-shape.mjs.`,- );- continue;- }- const expected = `${name}.${slot}`;- const slotFile = await locateSlotFile(sectionDir, slot);- if (slotFile === null) {- violations.push(- `${name}: slot "${slot}" is declared in SECTIONS_USING_NAMED_SLOTS but no source file matches the conventional path (components/${slot}.tsx or components/${slot}/${slot}.tsx).`,- );- continue;- }- const contents = await readFileOrNull(slotFile);- if (contents === null) continue;- if (!contents.includes(`displayName = '${expected}'`)) {- violations.push(- `${name}: slot "${slot}" source (${path.relative(- ROOT,- slotFile,- )}) does not set ${slot}.displayName = '${expected}'. Root looks slots up by displayName; without it the slot silently fails to render.`,- );- }- }- }-return violations;}-async function locateSlotFile(sectionDir, slot) {- const candidates = [- path.join(sectionDir, 'components', `${slot}.tsx`),- path.join(sectionDir, 'components', slot, `${slot}.tsx`),- ];- for (const candidate of candidates) {- if (await fileExists(candidate)) return candidate;- }- return null;-}-async function main() {const sections = await listSections();const allViolations = [];diff --git a/packages/twenty-website/src/app/[locale]/(home)/_components/HomeFeatureThreeCards.tsx b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeFeatureThreeCards.tsxnew file mode 100644index 00000000000..8a3097ce06a--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeFeatureThreeCards.tsx@@ -0,0 +1,31 @@+import { Trans } from '@lingui/react/macro';++import { FEATURE_CARDS } from '@/app/[locale]/(home)/three-cards-feature.data';+import { Eyebrow, Heading, HeadingPart } from '@/design-system/components';+import { FeatureCards } from '@/sections/ThreeCards';+import { ThreeCardsIntro, ThreeCardsSection } from '@/templates/ThreeCards';++export function HomeFeatureThreeCards() {+ return (+ <ThreeCardsSection scheme="light">+ <ThreeCardsIntro align="center" maxWidthMd={900}>+ <Eyebrow>+ <HeadingPart fontFamily="sans">+ <Trans>Skip the clunky UX that always comes with custom.</Trans>+ </HeadingPart>+ </Eyebrow>+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">+ Make your GTM team happy+ </HeadingPart>+ <br />+ <HeadingPart fontFamily="serif">with</HeadingPart>+ <HeadingPart fontFamily="sans">a CRM they'll love</HeadingPart>+ </Trans>+ </Heading>+ </ThreeCardsIntro>+ <FeatureCards featureCards={FEATURE_CARDS} />+ </ThreeCardsSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/(home)/_components/HomeHero.tsx b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeHero.tsxnew file mode 100644index 00000000000..d9a77f57141--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeHero.tsx@@ -0,0 +1,82 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';+import { styled } from '@linaria/react';++import { APP_PREVIEW_DATA } from '@/app/[locale]/(home)/app-preview.data';+import { HeadingPart, LinkButton } from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { WebGlMount } from '@/lib/visual-runtime';+import { AppPreview } from '@/sections/AppPreview';+import { TalkToUsButton } from '@/sections/ContactCal';+import { HeroBody, HeroCta, HeroHeading, HeroSection } from '@/templates/Hero';+import { HomeBackgroundHalftone } from '@/sections/Hero/visuals/components/HomeBackgroundHalftone';+import { theme } from '@/theme';++const HeroHeadingGroup = styled.div`+ align-items: center;+ display: flex;+ flex-direction: column;+ gap: ${theme.spacing(3)};+ width: 100%;++ > *:last-child {+ margin-top: 0;+ }+`;++const HeroIntroGroup = styled.div`+ align-items: center;+ display: flex;+ flex-direction: column;+ gap: ${theme.spacing(8)};+ width: 100%;+`;++export function HomeHero() {+ const i18n = getServerI18n();++ return (+ <HeroSection+ scheme="muted"+ background={+ <WebGlMount priority>+ <HomeBackgroundHalftone />+ </WebGlMount>+ }+ >+ <HeroIntroGroup data-halftone-exclude>+ <HeroHeadingGroup>+ <HeroHeading>+ <Trans>+ <HeadingPart fontFamily="serif">+ Build your Enterprise CRM+ </HeadingPart>+ <HeadingPart fontFamily="sans">at AI Speed</HeadingPart>+ </Trans>+ </HeroHeading>+ <HeroBody maxWidthMd={591} size="sm">+ <Trans>+ Twenty gives technical teams the building blocks for a custom CRM+ that meets complex business needs and quickly adapts as the+ business evolves.+ </Trans>+ </HeroBody>+ </HeroHeadingGroup>+ <HeroCta>+ <LinkButton+ color="secondary"+ href="https://app.twenty.com/welcome"+ label={i18n._(msg`Get started`)}+ variant="contained"+ />+ <TalkToUsButton+ color="secondary"+ label={msg`Talk to us`}+ variant="outlined"+ />+ </HeroCta>+ </HeroIntroGroup>+ <AppPreview visual={APP_PREVIEW_DATA.visual} />+ </HeroSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/(home)/_components/HomeIllustrationThreeCards.tsx b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeIllustrationThreeCards.tsxnew file mode 100644index 00000000000..60d1516e470--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeIllustrationThreeCards.tsx@@ -0,0 +1,83 @@+import { Trans } from '@lingui/react/macro';+import { css } from '@linaria/core';+import { styled } from '@linaria/react';++import { ILLUSTRATION_CARDS } from '@/app/[locale]/(home)/three-cards-illustration.data';+import {+ Body,+ Eyebrow,+ Heading,+ HeadingPart,+} from '@/design-system/components';+import { IllustrationCards } from '@/sections/ThreeCards';+import { ThreeCardsIntro, ThreeCardsSection } from '@/templates/ThreeCards';+import { theme } from '@/theme';++const IntroContent = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ row-gap: ${theme.spacing(2)};+ width: 100%;+`;++const IntroHeader = styled.div`+ display: grid;+ grid-template-columns: 1fr;+ row-gap: ${theme.spacing(6)};+ width: 100%;+`;++const headingClassName = css`+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: ${theme.layout.editorial};+ }++ [data-family='sans'] {+ letter-spacing: -0.02em;+ }+`;++const bodyClassName = css`+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ max-width: 571px;+ }+`;++export function HomeIllustrationThreeCards() {+ return (+ <ThreeCardsSection scheme="light">+ <ThreeCardsIntro align="left">+ <IntroContent>+ <IntroHeader>+ <Eyebrow>+ <HeadingPart fontFamily="sans">+ <Trans>Stop settling for trade-offs.</Trans>+ </HeadingPart>+ </Eyebrow>+ <Heading className={headingClassName} size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">+ Assemble, iterate and adapt a robust CRM,+ </HeadingPart>+ <HeadingPart fontFamily="sans">+ that's quick to flex+ </HeadingPart>+ </Trans>+ </Heading>+ </IntroHeader>+ <Body className={bodyClassName} size="sm">+ <Trans>+ Compose your CRM and internal apps with a single extensibility+ toolkit.+ </Trans>+ </Body>+ </IntroContent>+ </ThreeCardsIntro>+ <IllustrationCards illustrationCards={ILLUSTRATION_CARDS} />+ </ThreeCardsSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/(home)/_components/HomeProblem.tsx b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeProblem.tsxnew file mode 100644index 00000000000..130c435eb6a--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeProblem.tsx@@ -0,0 +1,57 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { Eyebrow, HeadingPart } from '@/design-system/components';+import {+ ProblemContent,+ ProblemHeading,+ ProblemPoints,+ ProblemSection,+ ProblemVisual,+ type ProblemPointType,+} from '@/sections/Problem';++export function HomeProblem() {+ const points: ProblemPointType[] = [+ {+ heading: (+ <HeadingPart fontFamily="sans">+ <Trans>The Giant Monolith</Trans>+ </HeadingPart>+ ),+ body: msg`Proprietary languages, slow deployment cycles, and "black box" logic.`,+ },+ {+ heading: (+ <HeadingPart fontFamily="sans">+ <Trans>The In-house Burden</Trans>+ </HeadingPart>+ ),+ body: msg`It's fragile. V1 ships quickly, but maintaining and making changes is a long term burden.`,+ },+ ];++ return (+ <ProblemSection>+ <ProblemVisual />+ <ProblemContent>+ <Eyebrow>+ <HeadingPart fontFamily="sans">+ <Trans>The Problem.</Trans>+ </HeadingPart>+ </Eyebrow>+ <ProblemHeading>+ <Trans>+ <HeadingPart fontFamily="serif">+ A custom CRM gives your org an edge,+ </HeadingPart>+ <HeadingPart fontFamily="sans">but building one</HeadingPart>+ <HeadingPart fontFamily="serif">comes with</HeadingPart>+ <HeadingPart fontFamily="sans">tradeoffs</HeadingPart>+ </Trans>+ </ProblemHeading>+ <ProblemPoints points={points} />+ </ProblemContent>+ </ProblemSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/(home)/_components/HomeStepperSection.tsx b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeStepperSection.tsxnew file mode 100644index 00000000000..f9b515e404f--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeStepperSection.tsx@@ -0,0 +1,52 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { Heading, HeadingPart } from '@/design-system/components';+import {+ HomeStepperScrollSection,+ type HomeStepperStepType,+} from '@/sections/HomeStepper';++export function HomeStepperSection() {+ const steps: HomeStepperStepType[] = [+ {+ heading: (+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">+ Begin with production-grade+ </HeadingPart>+ <HeadingPart fontFamily="sans">building blocks</HeadingPart>+ </Trans>+ </Heading>+ ),+ body: msg`Compose your CRM and internal apps with a single extensibility toolkit. Data model, layout, and automation.`,+ },+ {+ heading: (+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">Continue iteration</HeadingPart>+ <HeadingPart fontFamily="sans">without friction</HeadingPart>+ </Trans>+ </Heading>+ ),+ body: msg`Enjoy unlimited customization using the AI coding tools you already love. Adapt your CRM to fit the way your business grows and wins.`,+ },+ {+ heading: (+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">+ Stay in control with our+ </HeadingPart>+ <HeadingPart fontFamily="sans">open-source software</HeadingPart>+ </Trans>+ </Heading>+ ),+ body: msg`Don't get locked into someone else's ecosystem. Twenty's developer experience looks like normal software, with local setup, real data, live testing, and no proprietary tooling.`,+ },+ ];++ return <HomeStepperScrollSection steps={steps} />;+}diff --git a/packages/twenty-website/src/app/[locale]/(home)/_components/HomeTestimonials.tsx b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeTestimonials.tsxnew file mode 100644index 00000000000..0887bf6990b--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/(home)/_components/HomeTestimonials.tsx@@ -0,0 +1,24 @@+import { msg } from '@lingui/core/macro';++import { HOME_TESTIMONIALS } from '@/app/[locale]/(home)/testimonials.data';+import { getServerI18n } from '@/lib/i18n/server';+import {+ TestimonialsCarousel,+ TestimonialsHourglassVisual,+} from '@/sections/Testimonials';+import { TestimonialsSection } from '@/templates/Testimonials';++export function HomeTestimonials() {+ const i18n = getServerI18n();++ return (+ <TestimonialsSection scheme="muted">+ <TestimonialsCarousel+ eyebrow={i18n._(msg`They are the real sales`)}+ testimonials={HOME_TESTIMONIALS}+ >+ <TestimonialsHourglassVisual />+ </TestimonialsCarousel>+ </TestimonialsSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/(home)/page.tsx b/packages/twenty-website/src/app/[locale]/(home)/page.tsxindex f18c4a04aee..eecae884956 100644--- a/packages/twenty-website/src/app/[locale]/(home)/page.tsx+++ b/packages/twenty-website/src/app/[locale]/(home)/page.tsx@@ -1,96 +1,23 @@-import { msg } from '@lingui/core/macro';import { HELPED_CARDS } from '@/app/[locale]/(home)/helped.data';-import { APP_PREVIEW_DATA } from '@/app/[locale]/(home)/app-preview.data';-import { Problem, type ProblemPointType } from '@/sections/Problem';-import { HOME_TESTIMONIALS } from '@/app/[locale]/(home)/testimonials.data';-import { FEATURE_CARDS } from '@/app/[locale]/(home)/three-cards-feature.data';-import { ILLUSTRATION_CARDS } from '@/app/[locale]/(home)/three-cards-illustration.data';-import { TalkToUsButton } from '@/sections/ContactCal';+import { HomeProblem } from '@/app/[locale]/(home)/_components/HomeProblem';import { Faq, FAQ_QUESTIONS } from '@/sections/Faq';-import { TRUSTED_BY_LOGOS, TrustedBy } from '@/sections/TrustedBy';-import {- Body,- Eyebrow,- Heading,- HeadingPart,- LinkButton,-} from '@/design-system/components';+import { TrustedBy } from '@/sections/TrustedBy';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';import { Helped } from '@/sections/Helped';-import { Hero } from '@/sections/Hero';-import { HomeStepper, type HomeStepperStepType } from '@/sections/HomeStepper';+import { HomeHero } from '@/app/[locale]/(home)/_components/HomeHero';+import { HomeStepperSection } from '@/app/[locale]/(home)/_components/HomeStepperSection';import { Menu, MENU_DATA } from '@/sections/Menu';-import { Testimonials } from '@/sections/Testimonials';-import { ThreeCards } from '@/sections/ThreeCards';+import { HomeTestimonials } from '@/app/[locale]/(home)/_components/HomeTestimonials';+import { HomeFeatureThreeCards } from '@/app/[locale]/(home)/_components/HomeFeatureThreeCards';+import { HomeIllustrationThreeCards } from '@/app/[locale]/(home)/_components/HomeIllustrationThreeCards';import { buildFaqPageJsonLd, buildRouteMetadata, JsonLd } from '@/lib/seo';-import { theme } from '@/theme';-import { css } from '@linaria/core';-import { styled } from '@linaria/react';export const generateMetadata = buildRouteMetadata('home');const HOME_TOP_BACKGROUND_COLOR = '#F4F4F4';-const HeroHeadingGroup = styled.div`- align-items: center;- display: flex;- flex-direction: column;- gap: ${theme.spacing(3)};- width: 100%;-- > *:last-child {- margin-top: 0;- }-`;--const HeroIntroGroup = styled.div`- align-items: center;- display: flex;- flex-direction: column;- gap: ${theme.spacing(8)};- width: 100%;-`;--const ThreeCardsIllustrationIntroContent = styled.div`- display: grid;- grid-template-columns: 1fr;- row-gap: ${theme.spacing(2)};- width: 100%;-`;--const ThreeCardsIllustrationIntroHeader = styled.div`- display: grid;- grid-template-columns: 1fr;- row-gap: ${theme.spacing(6)};- width: 100%;-`;--const threeCardsIllustrationHeadingClassName = css`- width: 100%;-- @media (min-width: ${theme.breakpoints.md}px) {- max-width: ${theme.layout.editorial};- }-- [data-family='sans'] {- letter-spacing: -0.02em;- }-`;--const threeCardsIllustrationBodyClassName = css`- width: 100%;-- @media (min-width: ${theme.breakpoints.md}px) {- max-width: 571px;- }-`;-type HomePageProps = {params: Promise<LocaleRouteParams>;};@@ -101,66 +28,6 @@ export default async function HomePage({ params }: HomePageProps) {fetchCommunityStats(),]);- const PROBLEM_POINTS: ProblemPointType[] = [- {- heading: (- <HeadingPart fontFamily="sans">- {i18n._(msg`The Giant Monolith`)}- </HeadingPart>- ),- body: msg`Proprietary languages, slow deployment cycles, and "black box" logic.`,- },- {- heading: (- <HeadingPart fontFamily="sans">- {i18n._(msg`The In-house Burden`)}- </HeadingPart>- ),- body: msg`It's fragile. V1 ships quickly, but maintaining and making changes is a long term burden.`,- },- ];-- const HOME_STEPPER_STEPS: HomeStepperStepType[] = [- {- heading: (- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`Begin with production-grade`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`building blocks`)}- </HeadingPart>- </Heading>- ),- body: msg`Compose your CRM and internal apps with a single extensibility toolkit. Data model, layout, and automation.`,- },- {- heading: (- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`Continue iteration`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`without friction`)}- </HeadingPart>- </Heading>- ),- body: msg`Enjoy unlimited customization using the AI coding tools you already love. Adapt your CRM to fit the way your business grows and wins.`,- },- {- heading: (- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`Stay in control with our`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`open-source software`)}- </HeadingPart>- </Heading>- ),- body: msg`Don't get locked into someone else's ecosystem. Twenty's developer experience looks like normal software, with local setup, real data, live testing, and no proprietary tooling.`,- },- ];const menuSocialLinks = mergeSocialLinkLabels(MENU_DATA.socialLinks, stats);return (@@ -192,186 +59,28 @@ export default async function HomePage({ params }: HomePageProps) {href="/illustrations/home/helped/money.glb"as="fetch"/>- <Menu.Root+ <MenubackgroundColor={HOME_TOP_BACKGROUND_COLOR}- scheme="primary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ />- <Hero.Root scheme="muted" showHomeBackground>- <HeroIntroGroup data-halftone-exclude>- <HeroHeadingGroup>- <Hero.Heading page={Pages.Home}>- <HeadingPart fontFamily="serif">- {i18n._(msg`Build your Enterprise CRM`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`at\u00A0AI\u00A0Speed`)}- </HeadingPart>- </Hero.Heading>- <Hero.Body page={Pages.Home} size="sm">- {i18n._(- msg`Twenty gives technical teams the building blocks for a custom CRM that meets complex business needs and quickly adapts as the business evolves.`,- )}- </Hero.Body>- </HeroHeadingGroup>- <Hero.Cta>- <LinkButton- color="secondary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- <TalkToUsButton- color="secondary"- label={msg`Talk to us`}- variant="outlined"- />- </Hero.Cta>- </HeroIntroGroup>- <Hero.AppPreview visual={APP_PREVIEW_DATA.visual} />- </Hero.Root>+ <HomeHero />- <TrustedBy.Root- separator={i18n._(msg`trusted by`)}- logos={TRUSTED_BY_LOGOS}- clientCount={i18n._(msg`+10k others`)}- />+ <TrustedBy />- <Problem.Root>- <Problem.Visual />- <Problem.Content>- <Eyebrow>- <HeadingPart fontFamily="sans">- {i18n._(msg`The Problem.`)}- </HeadingPart>- </Eyebrow>- <Problem.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`A custom CRM gives your org an edge,`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`but building one`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="serif">- {i18n._(msg`comes with`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`tradeoffs`)}- </HeadingPart>- </Problem.Heading>- <Problem.Points points={PROBLEM_POINTS} />- </Problem.Content>- </Problem.Root>+ <HomeProblem />- <ThreeCards.Root scheme="light">- <ThreeCards.Intro page={Pages.Home} align="left">- <ThreeCardsIllustrationIntroContent>- <ThreeCardsIllustrationIntroHeader>- <Eyebrow>- <HeadingPart fontFamily="sans">- {i18n._(msg`Stop settling for trade-offs.`)}- </HeadingPart>- </Eyebrow>- <Heading- className={threeCardsIllustrationHeadingClassName}- size="lg"- weight="light"- >- <HeadingPart fontFamily="serif">- {i18n._(msg`Assemble, iterate and adapt a robust CRM,`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`that's quick to flex`)}- </HeadingPart>- </Heading>- </ThreeCardsIllustrationIntroHeader>- <Body className={threeCardsIllustrationBodyClassName} size="sm">- {i18n._(- msg`Compose your CRM and internal apps with a single extensibility toolkit.`,- )}- </Body>- </ThreeCardsIllustrationIntroContent>- </ThreeCards.Intro>- <ThreeCards.IllustrationCards illustrationCards={ILLUSTRATION_CARDS} />- </ThreeCards.Root>+ <HomeIllustrationThreeCards />- <HomeStepper.ScrollSection steps={HOME_STEPPER_STEPS} />+ <HomeStepperSection />- <ThreeCards.Root scheme="light">- <ThreeCards.Intro page={Pages.Home} align="center">- <Eyebrow>- <HeadingPart fontFamily="sans">- {i18n._(msg`Skip the clunky UX that always comes with custom.`)}- </HeadingPart>- </Eyebrow>- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`Make your GTM team happy`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="serif">- {i18n._(msg`with`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`a CRM they'll love`)}- </HeadingPart>- </Heading>- </ThreeCards.Intro>- <ThreeCards.FeatureCards featureCards={FEATURE_CARDS} />- </ThreeCards.Root>+ <HomeFeatureThreeCards />- <Helped.Root scheme="muted">- <Helped.Scene cards={HELPED_CARDS} />- </Helped.Root>+ <Helped scheme="muted" cards={HELPED_CARDS} />- <Testimonials.Root scheme="muted">- <Testimonials.Carousel- eyebrow={i18n._(msg`They are the real sales`)}- testimonials={HOME_TESTIMONIALS}- >- <Testimonials.HourglassVisual />- </Testimonials.Carousel>- </Testimonials.Root>+ <HomeTestimonials />- <Faq.Root>- <Faq.Intro>- <Eyebrow colorScheme="secondary">- <HeadingPart fontFamily="sans">- {i18n._(msg`Any Questions?`)}- </HeadingPart>- </Eyebrow>- <Faq.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`Stop fighting custom.`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`Start building, with Twenty`)}- </HeadingPart>- </Faq.Heading>- <Faq.Cta>- <LinkButton- color="primary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- <TalkToUsButton- color="primary"- label={msg`Talk to us`}- variant="outlined"- />- </Faq.Cta>- </Faq.Intro>- <Faq.Items questions={FAQ_QUESTIONS} />- </Faq.Root>+ <Faq /></>);}diff --git a/packages/twenty-website/src/app/[locale]/articles/[slug]/page.tsx b/packages/twenty-website/src/app/[locale]/articles/[slug]/page.tsxindex 86dbd305393..5fe88633baf 100644--- a/packages/twenty-website/src/app/[locale]/articles/[slug]/page.tsx+++ b/packages/twenty-website/src/app/[locale]/articles/[slug]/page.tsx@@ -4,12 +4,11 @@ import { SOURCE_LOCALE } from 'twenty-shared/translations';import { getPublishedArticle, getPublishedArticles } from '@/lib/articles';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import { type LocaleRouteParams } from '@/lib/i18n/utils/get-route-i18n';-import { localeToUrlSegment } from '@/lib/i18n/utils/website-locale-segments';-import { resolveLocaleParam } from '@/lib/i18n';+import { type LocaleRouteParams } from '@/lib/i18n/server';+import { localeToUrlSegment, resolveLocaleParam } from '@/lib/i18n';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';import { buildArticleJsonLd, buildPageMetadata, JsonLd } from '@/lib/seo';-import { Articles } from '@/sections/Articles';+import { ArticlesArticle } from '@/sections/Articles';import { Menu, MENU_DATA } from '@/sections/Menu';import { theme } from '@/theme';@@ -68,18 +67,11 @@ export default async function ArticlePage({ params }: ArticlePageProps) {return (<><JsonLd data={buildArticleJsonLd(post)} />- <Menu.Root+ <MenubackgroundColor={theme.colors.primary.background[100]}- scheme="primary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>- <Articles.Article post={post} />+ />+ <ArticlesArticle post={post} /></>);}diff --git a/packages/twenty-website/src/app/[locale]/articles/_components/ArticlesHero.tsx b/packages/twenty-website/src/app/[locale]/articles/_components/ArticlesHero.tsxnew file mode 100644index 00000000000..4bfe000755d--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/articles/_components/ArticlesHero.tsx@@ -0,0 +1,20 @@+import { HeadingPart } from '@/design-system/components';+import { HeroBody, HeroHeading, HeroSection } from '@/templates/Hero';++// Articles is English-only (SOURCE_LOCALE-gated), so the copy is literal.+export function ArticlesHero() {+ return (+ <HeroSection scheme="muted">+ <HeroHeading>+ <HeadingPart fontFamily="serif">Ideas on</HeadingPart>+ <br />+ <HeadingPart fontFamily="serif">open-source</HeadingPart>+ <HeadingPart fontFamily="sans">CRM</HeadingPart>+ </HeroHeading>+ <HeroBody maxWidthMd={550}>+ Ideas from the team building Twenty on open source CRM, GTM systems, and+ building software that lasts.+ </HeroBody>+ </HeroSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/articles/page.tsx b/packages/twenty-website/src/app/[locale]/articles/page.tsxindex 486d8d29b44..e7df6bba648 100644--- a/packages/twenty-website/src/app/[locale]/articles/page.tsx+++ b/packages/twenty-website/src/app/[locale]/articles/page.tsx@@ -1,27 +1,21 @@-import { msg } from '@lingui/core/macro';import { notFound } from 'next/navigation';import { SOURCE_LOCALE } from 'twenty-shared/translations';-import { HeadingPart } from '@/design-system/components';import { getPublishedArticles } from '@/lib/articles';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';import { resolveLocaleParam } from '@/lib/i18n';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import {buildArticleListJsonLd,buildBreadcrumbListJsonLd,buildRouteMetadata,JsonLd,} from '@/lib/seo';-import { Articles } from '@/sections/Articles';-import { Hero } from '@/sections/Hero';+import { ArticlesIndex } from '@/sections/Articles';+import { ArticlesHero } from '@/app/[locale]/articles/_components/ArticlesHero';import { Menu, MENU_DATA } from '@/sections/Menu';-import { TRUSTED_BY_LOGOS, TrustedBy } from '@/sections/TrustedBy';+import { TrustedBy } from '@/sections/TrustedBy';import { css } from '@linaria/core';export const generateMetadata = buildRouteMetadata('articles');@@ -66,7 +60,10 @@ export default async function ArticlesPage({ params }: ArticlesPageProps) {notFound();}- const [i18n, stats] = await Promise.all([+ // getRouteI18n sets the request-scoped i18n context that TrustedBy/Menu/+ // Articles read; this page's own copy is English-only (SOURCE_LOCALE-gated+ // above), so the returned instance is intentionally unused here.+ const [, stats] = await Promise.all([getRouteI18n(params),fetchCommunityStats(),]);@@ -87,41 +84,20 @@ export default async function ArticlesPage({ params }: ArticlesPageProps) {{posts.length > 0 ? (<JsonLd data={buildArticleListJsonLd(posts)} />) : null}- <Menu.Root+ <MenubackgroundColor={ARTICLES_TOP_BACKGROUND_COLOR}- scheme="primary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ /><div className={pageRevealClassName}>- <Hero.Root scheme="muted">- <Hero.Heading page={Pages.Articles}>- <HeadingPart fontFamily="serif">Ideas on</HeadingPart>- <br />- <HeadingPart fontFamily="serif">open-source</HeadingPart>{' '}- <HeadingPart fontFamily="sans">CRM</HeadingPart>- </Hero.Heading>- <Hero.Body page={Pages.Articles}>- Ideas from the team building Twenty on open source CRM, GTM systems,- and building software that lasts.- </Hero.Body>- </Hero.Root>- <TrustedBy.Root+ <ArticlesHero />+ <TrustedBycardBackgroundColor={ARTICLES_TOP_BACKGROUND_COLOR}compactBottom- separator={i18n._(msg`trusted by`)}- logos={TRUSTED_BY_LOGOS}- clientCount={i18n._(msg`+10k others`)}/></div>- <Articles.Index posts={posts} />+ <ArticlesIndex posts={posts} /></>);}diff --git a/packages/twenty-website/src/app/[locale]/customers/9dots/page.tsx b/packages/twenty-website/src/app/[locale]/customers/9dots/page.tsxindex 4ade697420b..85c76b68cf0 100644--- a/packages/twenty-website/src/app/[locale]/customers/9dots/page.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/9dots/page.tsx@@ -1,10 +1,7 @@-import { CaseStudyPageLayout } from '@/app/[locale]/customers/_components/CaseStudyPageLayout';+import { CustomersCaseStudyPageLayout } from '@/app/[locale]/customers/_components/CustomersCaseStudyPageLayout';import { Heading, HeadingPart } from '@/design-system/components';import { CASE_STUDY_HERO_IMAGES, type CaseStudyData } from '@/lib/customers';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { buildLocalizedMetadata } from '@/lib/seo';import { msg } from '@lingui/core/macro';@@ -39,10 +36,10 @@ export default async function NineDotsCaseStudyPage({<Heading as="h1" size="xl" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`A real estate agency on WhatsApp`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="serif">{i18n._(msg`built a`)}</HeadingPart><br />- <HeadingPart fontFamily="sans">{i18n._(msg`CRM`)}</HeadingPart>{' '}+ <HeadingPart fontFamily="sans">{i18n._(msg`CRM`)}</HeadingPart><HeadingPart fontFamily="serif">{i18n._(msg`around it`)}</HeadingPart></Heading>),@@ -71,7 +68,7 @@ export default async function NineDotsCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`When the channel is`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`the business`)}</HeadingPart>@@ -92,7 +89,7 @@ export default async function NineDotsCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`The CRM as a`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`control hub`)}</HeadingPart>@@ -112,7 +109,7 @@ export default async function NineDotsCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="sans">{i18n._(msg`150 hours`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="serif">{i18n._(msg`saved every month`)}</HeadingPart>@@ -135,5 +132,10 @@ export default async function NineDotsCaseStudyPage({},};- return <CaseStudyPageLayout caseStudy={caseStudy} path="/customers/9dots" />;+ return (+ <CustomersCaseStudyPageLayout+ caseStudy={caseStudy}+ path="/customers/9dots"+ />+ );}diff --git a/packages/twenty-website/src/app/[locale]/customers/_components/CaseStudyPageLayout.tsx b/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCaseStudyPageLayout.tsxsimilarity index 69%rename from packages/twenty-website/src/app/[locale]/customers/_components/CaseStudyPageLayout.tsxrename to packages/twenty-website/src/app/[locale]/customers/_components/CustomersCaseStudyPageLayout.tsxindex 2a0ae8bf804..f081ef9dda0 100644--- a/packages/twenty-website/src/app/[locale]/customers/_components/CaseStudyPageLayout.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCaseStudyPageLayout.tsx@@ -1,21 +1,28 @@import { getCaseStudyPalette, type CaseStudyData } from '@/lib/customers';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import { CaseStudy } from '@/sections/CaseStudy';+import {+ CaseStudyBody,+ CaseStudyHero,+ CaseStudyHighlights,+ CaseStudySectionNav,+ CaseStudyTextBlock,+ CaseStudyVisualBlock,+} from '@/sections/CaseStudy';import { Menu, MENU_DATA } from '@/sections/Menu';import { theme } from '@/theme';import { CustomersCaseStudySignoff } from './CustomersCaseStudySignoff';-type CaseStudyPageLayoutProps = {+type CustomersCaseStudyPageLayoutProps = {caseStudy: CaseStudyData;path: string;};-export async function CaseStudyPageLayout({+export async function CustomersCaseStudyPageLayout({caseStudy,path,-}: CaseStudyPageLayoutProps) {+}: CustomersCaseStudyPageLayoutProps) {const stats = await fetchCommunityStats();const menuSocialLinks = mergeSocialLinkLabels(MENU_DATA.socialLinks, stats);const palette = getCaseStudyPalette(path);@@ -26,7 +33,7 @@ export async function CaseStudyPageLayout({const sectionId = `case-study-section-${storySectionIndex}`;storySectionIndex += 1;return (- <CaseStudy.TextBlock+ <CaseStudyTextBlockkey={index}block={block}isLast={index === caseStudy.sections.length - 1}@@ -35,7 +42,7 @@ export async function CaseStudyPageLayout({);}return (- <CaseStudy.VisualBlock+ <CaseStudyVisualBlockkey={index}block={block}isLast={index === caseStudy.sections.length - 1}@@ -45,32 +52,26 @@ export async function CaseStudyPageLayout({return (<>- <Menu.Root+ <MenubackgroundColor={theme.colors.secondary.background[100]}scheme="secondary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="secondary" />- <Menu.Nav scheme="secondary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="secondary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="secondary" />- </Menu.Root>+ />- <CaseStudy.Hero+ <CaseStudyHerodashColor={palette.dashColor}hero={caseStudy.hero}hoverDashColor={palette.hoverDashColor}/>- <CaseStudy.Highlights+ <CaseStudyHighlightsindustry={caseStudy.hero.industry}kpis={caseStudy.hero.kpis}/>- <CaseStudy.Body>{sectionBlocks}</CaseStudy.Body>+ <CaseStudyBody>{sectionBlocks}</CaseStudyBody>- <CaseStudy.SectionNav items={caseStudy.tableOfContents} />+ <CaseStudySectionNav items={caseStudy.tableOfContents} /><CustomersCaseStudySignoff /></>);diff --git a/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCaseStudySignoff.tsx b/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCaseStudySignoff.tsxindex 1783a952f63..9c4dd64d186 100644--- a/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCaseStudySignoff.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCaseStudySignoff.tsx@@ -1,37 +1,50 @@import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import {+ HeadingPart,+ LinkButton,+ ResponsiveLineBreak,+} from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';import { TalkToUsButton } from '@/sections/ContactCal';-import { HeadingPart, LinkButton } from '@/design-system/components';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';-import { Pages } from '@/lib/pages';-import { Signoff } from '@/sections/Signoff';+import { Signoff } from '@/templates/Signoff';export function CustomersCaseStudySignoff() {const i18n = getServerI18n();+return (- <Signoff.Root scheme="muted" page={Pages.Partners}>- <Signoff.Heading page={Pages.Partners}>+ <Signoff+ scheme="muted"+ centered+ heading={<HeadingPart fontFamily="serif">- {i18n._(msg`Ready to grow\nwith Twenty?`)}+ <Trans>+ Ready to grow+ <ResponsiveLineBreak />+ with Twenty?+ </Trans></HeadingPart>- </Signoff.Heading>- <Signoff.Body page={Pages.Partners}>- {i18n._(- msg`Join the teams that chose to own their CRM.\nStart building with Twenty today.`,- )}- </Signoff.Body>- <Signoff.Cta>- <LinkButton- color="secondary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- <TalkToUsButton- color="secondary"- label={msg`Talk to us`}- variant="outlined"- />- </Signoff.Cta>- </Signoff.Root>+ }+ body={+ <Trans>+ Join the teams that chose to own their CRM.+ <ResponsiveLineBreak />+ Start building with Twenty today.+ </Trans>+ }+ >+ <LinkButton+ color="secondary"+ href="https://app.twenty.com/welcome"+ label={i18n._(msg`Get started`)}+ variant="contained"+ />+ <TalkToUsButton+ color="secondary"+ label={msg`Talk to us`}+ variant="outlined"+ />+ </Signoff>);}diff --git a/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCatalogHero.tsx b/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCatalogHero.tsxnew file mode 100644index 00000000000..a62183315dc--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCatalogHero.tsx@@ -0,0 +1,25 @@+import { Trans } from '@lingui/react/macro';++import { HeadingPart } from '@/design-system/components';+import { HeroBody, HeroHeading, HeroSection } from '@/templates/Hero';++export function CustomersCatalogHero() {+ return (+ <HeroSection scheme="muted">+ <HeroHeading>+ <Trans>+ <HeadingPart fontFamily="serif">See how teams</HeadingPart>+ <br />+ <HeadingPart fontFamily="serif">build</HeadingPart>+ <HeadingPart fontFamily="sans">on Twenty</HeadingPart>+ </Trans>+ </HeroHeading>+ <HeroBody maxWidthMd={550}>+ <Trans>+ Real stories from real teams about how they shaped Twenty to fit their+ workflow and accelerated their growth.+ </Trans>+ </HeroBody>+ </HeroSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCatalogSignoff.tsx b/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCatalogSignoff.tsxnew file mode 100644index 00000000000..cbdfb2bfdb7--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/customers/_components/CustomersCatalogSignoff.tsx@@ -0,0 +1,48 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import {+ HeadingPart,+ LinkButton,+ ResponsiveLineBreak,+} from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { TalkToUsButton } from '@/sections/ContactCal';+import { Signoff } from '@/templates/Signoff';++export function CustomersCatalogSignoff() {+ const i18n = getServerI18n();++ return (+ <Signoff+ scheme="light"+ centered+ heading={+ <Trans>+ <HeadingPart fontFamily="serif">Ready to build</HeadingPart>+ <br />+ <HeadingPart fontFamily="sans">your own story?</HeadingPart>+ </Trans>+ }+ body={+ <Trans>+ Join the teams that chose to own their CRM.+ <ResponsiveLineBreak />+ Start building with Twenty today.+ </Trans>+ }+ >+ <LinkButton+ color="secondary"+ href="https://app.twenty.com/welcome"+ label={i18n._(msg`Get started`)}+ variant="contained"+ />+ <TalkToUsButton+ color="secondary"+ label={msg`Talk to us`}+ variant="outlined"+ />+ </Signoff>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/customers/act-education/page.tsx b/packages/twenty-website/src/app/[locale]/customers/act-education/page.tsxindex 81941d6cfe3..9e0e0eb1175 100644--- a/packages/twenty-website/src/app/[locale]/customers/act-education/page.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/act-education/page.tsx@@ -1,12 +1,9 @@import { msg } from '@lingui/core/macro';import { CASE_STUDY_HERO_IMAGES, type CaseStudyData } from '@/lib/customers';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { buildLocalizedMetadata } from '@/lib/seo';import { Heading, HeadingPart } from '@/design-system/components';-import { CaseStudyPageLayout } from '@/app/[locale]/customers/_components/CaseStudyPageLayout';+import { CustomersCaseStudyPageLayout } from '@/app/[locale]/customers/_components/CustomersCaseStudyPageLayout';const HERO_IMAGE = CASE_STUDY_HERO_IMAGES.actEducation;@@ -62,7 +59,7 @@ export default async function ActEducationCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`When the vendor`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`pulled the plug`)}</HeadingPart>@@ -82,7 +79,7 @@ export default async function ActEducationCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`No more renting someone else's`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`structure`)}</HeadingPart>@@ -101,7 +98,7 @@ export default async function ActEducationCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`Control without`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`the overhead`)}</HeadingPart>@@ -119,7 +116,7 @@ export default async function ActEducationCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`Costs down more than`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`90%`)}</HeadingPart></Heading>),@@ -142,7 +139,7 @@ export default async function ActEducationCaseStudyPage({};return (- <CaseStudyPageLayout+ <CustomersCaseStudyPageLayoutcaseStudy={caseStudy}path="/customers/act-education"/>diff --git a/packages/twenty-website/src/app/[locale]/customers/alternative-partners/page.tsx b/packages/twenty-website/src/app/[locale]/customers/alternative-partners/page.tsxindex 932ded4797c..4012f0f1dcd 100644--- a/packages/twenty-website/src/app/[locale]/customers/alternative-partners/page.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/alternative-partners/page.tsx@@ -1,12 +1,9 @@import { msg } from '@lingui/core/macro';import { Heading, HeadingPart } from '@/design-system/components';import { CASE_STUDY_HERO_IMAGES, type CaseStudyData } from '@/lib/customers';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { buildLocalizedMetadata } from '@/lib/seo';-import { CaseStudyPageLayout } from '@/app/[locale]/customers/_components/CaseStudyPageLayout';+import { CustomersCaseStudyPageLayout } from '@/app/[locale]/customers/_components/CustomersCaseStudyPageLayout';const HERO_IMAGE = CASE_STUDY_HERO_IMAGES.alternativePartners;@@ -65,7 +62,7 @@ export default async function AlternativePartnersCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`AI in the`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`migration workflow`)}</HeadingPart>@@ -84,7 +81,7 @@ export default async function AlternativePartnersCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`Self-hosted`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`means control`)}</HeadingPart>@@ -106,7 +103,7 @@ export default async function AlternativePartnersCaseStudyPage({};return (- <CaseStudyPageLayout+ <CustomersCaseStudyPageLayoutcaseStudy={caseStudy}path="/customers/alternative-partners"/>diff --git a/packages/twenty-website/src/app/[locale]/customers/elevate-consulting/page.tsx b/packages/twenty-website/src/app/[locale]/customers/elevate-consulting/page.tsxindex d4880c51d75..1a0bbb6717c 100644--- a/packages/twenty-website/src/app/[locale]/customers/elevate-consulting/page.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/elevate-consulting/page.tsx@@ -1,12 +1,9 @@import { msg } from '@lingui/core/macro';import { CASE_STUDY_HERO_IMAGES, type CaseStudyData } from '@/lib/customers';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { buildLocalizedMetadata } from '@/lib/seo';import { Heading, HeadingPart } from '@/design-system/components';-import { CaseStudyPageLayout } from '@/app/[locale]/customers/_components/CaseStudyPageLayout';+import { CustomersCaseStudyPageLayout } from '@/app/[locale]/customers/_components/CustomersCaseStudyPageLayout';const HERO_IMAGE = CASE_STUDY_HERO_IMAGES.elevateConsulting;@@ -43,7 +40,7 @@ export default async function ElevateConsultingCaseStudyPage({<br /><HeadingPart fontFamily="sans">{i18n._(msg`API backbone`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="serif">{i18n._(msg`of a go-to-market stack`)}</HeadingPart>@@ -73,7 +70,7 @@ export default async function ElevateConsultingCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`From documents to`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`open APIs`)}</HeadingPart>@@ -92,8 +89,8 @@ export default async function ElevateConsultingCaseStudyPage({eyebrow: msg`Integration`,heading: (<Heading size="md" weight="light">- <HeadingPart fontFamily="serif">{i18n._(msg`One`)}</HeadingPart>{' '}- <HeadingPart fontFamily="sans">{i18n._(msg`API`)}</HeadingPart>{' '}+ <HeadingPart fontFamily="serif">{i18n._(msg`One`)}</HeadingPart>+ <HeadingPart fontFamily="sans">{i18n._(msg`API`)}</HeadingPart><HeadingPart fontFamily="serif">{i18n._(msg`to rule them all`)}</HeadingPart>@@ -114,7 +111,7 @@ export default async function ElevateConsultingCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`Workflows that`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`actually get used`)}</HeadingPart>@@ -131,7 +128,7 @@ export default async function ElevateConsultingCaseStudyPage({eyebrow: msg`What is next`,heading: (<Heading size="md" weight="light">- <HeadingPart fontFamily="serif">{i18n._(msg`Beyond`)}</HeadingPart>{' '}+ <HeadingPart fontFamily="serif">{i18n._(msg`Beyond`)}</HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`internal rollout`)}</HeadingPart>@@ -156,7 +153,7 @@ export default async function ElevateConsultingCaseStudyPage({};return (- <CaseStudyPageLayout+ <CustomersCaseStudyPageLayoutcaseStudy={caseStudy}path="/customers/elevate-consulting"/>diff --git a/packages/twenty-website/src/app/[locale]/customers/netzero/page.tsx b/packages/twenty-website/src/app/[locale]/customers/netzero/page.tsxindex 7b0f7519832..0460f63a9ef 100644--- a/packages/twenty-website/src/app/[locale]/customers/netzero/page.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/netzero/page.tsx@@ -1,12 +1,9 @@import { msg } from '@lingui/core/macro';import { CASE_STUDY_HERO_IMAGES, type CaseStudyData } from '@/lib/customers';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { buildLocalizedMetadata } from '@/lib/seo';import { Heading, HeadingPart } from '@/design-system/components';-import { CaseStudyPageLayout } from '@/app/[locale]/customers/_components/CaseStudyPageLayout';+import { CustomersCaseStudyPageLayout } from '@/app/[locale]/customers/_components/CustomersCaseStudyPageLayout';const HERO_IMAGE = CASE_STUDY_HERO_IMAGES.netzero;@@ -41,7 +38,7 @@ export default async function NetZeroCaseStudyPage({{i18n._(msg`A CRM that`)}</HeadingPart><br />- <HeadingPart fontFamily="sans">{i18n._(msg`grows`)}</HeadingPart>{' '}+ <HeadingPart fontFamily="sans">{i18n._(msg`grows`)}</HeadingPart><HeadingPart fontFamily="serif">{i18n._(msg`with you`)}</HeadingPart></Heading>),@@ -64,7 +61,7 @@ export default async function NetZeroCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`The right`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`foundation`)}</HeadingPart>@@ -83,7 +80,7 @@ export default async function NetZeroCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`A business that does not fit a`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`template`)}</HeadingPart></Heading>),@@ -101,7 +98,7 @@ export default async function NetZeroCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`From simple to`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`advanced`)}</HeadingPart></Heading>),@@ -118,7 +115,7 @@ export default async function NetZeroCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`The bet is`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`paying off`)}</HeadingPart>@@ -143,6 +140,9 @@ export default async function NetZeroCaseStudyPage({};return (- <CaseStudyPageLayout caseStudy={caseStudy} path="/customers/netzero" />+ <CustomersCaseStudyPageLayout+ caseStudy={caseStudy}+ path="/customers/netzero"+ />);}diff --git a/packages/twenty-website/src/app/[locale]/customers/page.tsx b/packages/twenty-website/src/app/[locale]/customers/page.tsxindex 0612ce01f23..bc99e1f063b 100644--- a/packages/twenty-website/src/app/[locale]/customers/page.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/page.tsx@@ -1,20 +1,13 @@-import { msg } from '@lingui/core/macro';-import { Faq, FAQ_QUESTIONS } from '@/sections/Faq';-import { TRUSTED_BY_LOGOS, TrustedBy } from '@/sections/TrustedBy';-import { TalkToUsButton } from '@/sections/ContactCal';+import { Faq } from '@/sections/Faq';+import { TrustedBy } from '@/sections/TrustedBy';import { CASE_STUDY_CATALOG_ENTRIES } from '@/lib/customers';-import { Eyebrow, HeadingPart, LinkButton } from '@/design-system/components';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import { CaseStudyCatalog } from '@/sections/CaseStudyCatalog';-import { Hero } from '@/sections/Hero';+import { CaseStudyCatalogGrid } from '@/sections/CaseStudyCatalog';+import { CustomersCatalogHero } from '@/app/[locale]/customers/_components/CustomersCatalogHero';import { Menu, MENU_DATA } from '@/sections/Menu';-import { Signoff } from '@/sections/Signoff';+import { CustomersCatalogSignoff } from '@/app/[locale]/customers/_components/CustomersCatalogSignoff';import { buildRouteMetadata } from '@/lib/seo';import { css } from '@linaria/core';@@ -55,7 +48,9 @@ type CaseStudiesCatalogPageProps = {export default async function CaseStudiesCatalogPage({params,}: CaseStudiesCatalogPageProps) {- const [i18n, stats] = await Promise.all([+ // getRouteI18n sets the request-scoped i18n context the page's components+ // read; the page renders no copy of its own, so the instance is unused here.+ const [, stats] = await Promise.all([getRouteI18n(params),fetchCommunityStats(),]);@@ -63,111 +58,24 @@ export default async function CaseStudiesCatalogPage({return (<>- <Menu.Root+ <MenubackgroundColor={CUSTOMERS_TOP_BACKGROUND_COLOR}- scheme="primary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ /><div className={pageRevealClassName}>- <Hero.Root scheme="muted">- <Hero.Heading page={Pages.CaseStudies}>- <HeadingPart fontFamily="serif">- {i18n._(msg`See how teams`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="serif">- {i18n._(msg`build`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`on Twenty`)}- </HeadingPart>- </Hero.Heading>- <Hero.Body page={Pages.CaseStudies}>- {i18n._(- msg`Real stories from real teams about how they shaped Twenty to fit their workflow and accelerated their growth.`,- )}- </Hero.Body>- </Hero.Root>- <TrustedBy.Root+ <CustomersCatalogHero />+ <TrustedBycardBackgroundColor={CUSTOMERS_TOP_BACKGROUND_COLOR}compactBottom- separator={i18n._(msg`trusted by`)}- logos={TRUSTED_BY_LOGOS}- clientCount={i18n._(msg`+10k others`)}/></div>- <CaseStudyCatalog.Grid compactTop entries={CASE_STUDY_CATALOG_ENTRIES} />+ <CaseStudyCatalogGrid compactTop entries={CASE_STUDY_CATALOG_ENTRIES} />- <Signoff.Root scheme="light" page={Pages.Partners}>- <Signoff.Heading page={Pages.Partners}>- <HeadingPart fontFamily="serif">- {i18n._(msg`Ready to build`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`your own story?`)}- </HeadingPart>- </Signoff.Heading>- <Signoff.Body page={Pages.Partners}>- {i18n._(- msg`Join the teams that chose to own their CRM.\nStart building with Twenty today.`,- )}- </Signoff.Body>- <Signoff.Cta>- <LinkButton- color="secondary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- <TalkToUsButton- color="secondary"- label={msg`Talk to us`}- variant="outlined"- />- </Signoff.Cta>- </Signoff.Root>+ <CustomersCatalogSignoff />- <Faq.Root>- <Faq.Intro>- <Eyebrow colorScheme="secondary">- <HeadingPart fontFamily="sans">- {i18n._(msg`Any Questions?`)}- </HeadingPart>- </Eyebrow>- <Faq.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`Stop fighting custom.`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`Start building, with Twenty`)}- </HeadingPart>- </Faq.Heading>- <Faq.Cta>- <LinkButton- color="primary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- <TalkToUsButton- color="primary"- label={msg`Talk to us`}- variant="outlined"- />- </Faq.Cta>- </Faq.Intro>- <Faq.Items questions={FAQ_QUESTIONS} />- </Faq.Root>+ <Faq /></>);}diff --git a/packages/twenty-website/src/app/[locale]/customers/w3villa/page.tsx b/packages/twenty-website/src/app/[locale]/customers/w3villa/page.tsxindex c7ad5f1576a..0f3451f552e 100644--- a/packages/twenty-website/src/app/[locale]/customers/w3villa/page.tsx+++ b/packages/twenty-website/src/app/[locale]/customers/w3villa/page.tsx@@ -1,12 +1,9 @@import { msg } from '@lingui/core/macro';import { CASE_STUDY_HERO_IMAGES, type CaseStudyData } from '@/lib/customers';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { buildLocalizedMetadata } from '@/lib/seo';import { Heading, HeadingPart } from '@/design-system/components';-import { CaseStudyPageLayout } from '@/app/[locale]/customers/_components/CaseStudyPageLayout';+import { CustomersCaseStudyPageLayout } from '@/app/[locale]/customers/_components/CustomersCaseStudyPageLayout';const HERO_IMAGE = CASE_STUDY_HERO_IMAGES.w3villa;@@ -62,7 +59,7 @@ export default async function W3villaCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`Scale without`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`breaking operations`)}</HeadingPart>@@ -82,7 +79,7 @@ export default async function W3villaCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`Focus on the use case, not the`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`plumbing`)}</HeadingPart></Heading>),@@ -99,7 +96,7 @@ export default async function W3villaCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="serif">{i18n._(msg`A platform ready to`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="sans">{i18n._(msg`grow`)}</HeadingPart></Heading>),@@ -116,7 +113,7 @@ export default async function W3villaCaseStudyPage({<Heading size="md" weight="light"><HeadingPart fontFamily="sans">{i18n._(msg`Zero manual work`)}- </HeadingPart>{' '}+ </HeadingPart><HeadingPart fontFamily="serif">{i18n._(msg`at the core`)}</HeadingPart>@@ -141,6 +138,9 @@ export default async function W3villaCaseStudyPage({};return (- <CaseStudyPageLayout caseStudy={caseStudy} path="/customers/w3villa" />+ <CustomersCaseStudyPageLayout+ caseStudy={caseStudy}+ path="/customers/w3villa"+ />);}diff --git a/packages/twenty-website/src/app/[locale]/enterprise/activate/EnterpriseActivateClient.tsx b/packages/twenty-website/src/app/[locale]/enterprise/activate/EnterpriseActivateClient.tsxindex bd02d9ffe8e..0f0ca3f0f81 100644--- a/packages/twenty-website/src/app/[locale]/enterprise/activate/EnterpriseActivateClient.tsx+++ b/packages/twenty-website/src/app/[locale]/enterprise/activate/EnterpriseActivateClient.tsx@@ -1,6 +1,7 @@'use client';import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';import {BaseButton,buttonBaseStyles,@@ -159,7 +160,7 @@ export function EnterpriseActivateClient() {<ContentStack>{loading && (<Body size="sm" variant="body-paragraph">- {i18n._(msg`Activating your enterprise license…`)}+ <Trans>Activating your enterprise license…</Trans></Body>)}@@ -168,14 +169,14 @@ export function EnterpriseActivateClient() {{result !== null && (<><Body className={successLeadClassName} size="md" weight="medium">- {i18n._(- msg`Your enterprise license has been activated successfully.`,- )}+ <Trans>+ Your enterprise license has been activated successfully.+ </Trans></Body><LicenseeRow><Body as="span" size="sm" weight="medium">- {i18n._(msg`Licensee:`)}+ <Trans>Licensee:</Trans></Body>{' '}<LicenseeValue>{result.licensee}</LicenseeValue></LicenseeRow>@@ -183,13 +184,14 @@ export function EnterpriseActivateClient() {<KeySection><Heading as="h2" size="xs" weight="medium"><HeadingPart fontFamily="sans">- {i18n._(msg`Your enterprise key`)}+ <Trans>Your enterprise key</Trans></HeadingPart></Heading><Body size="sm" variant="body-paragraph">- {i18n._(- msg`Copy this key and paste it into your Twenty self-hosted instance settings.`,- )}+ <Trans>+ Copy this key and paste it into your Twenty self-hosted instance+ settings.+ </Trans></Body><KeyBlock>@@ -215,25 +217,25 @@ export function EnterpriseActivateClient() {<NextStepsBox><Heading as="h3" size="xs" weight="medium"><HeadingPart fontFamily="sans">- {i18n._(msg`Next steps`)}+ <Trans>Next steps</Trans></HeadingPart></Heading><NextStepsList><li className={nextStepItemClassName}><Body size="sm">- {i18n._(msg`Copy the enterprise key above.`)}+ <Trans>Copy the enterprise key above.</Trans></Body></li><li className={nextStepItemClassName}><Body size="sm">- {i18n._(- msg`Open your Twenty self-hosted instance Settings → Enterprise.`,- )}+ <Trans>+ Open your Twenty self-hosted instance Settings → Enterprise.+ </Trans></Body></li><li className={nextStepItemClassName}><Body size="sm">- {i18n._(msg`Paste the key and click Activate.`)}+ <Trans>Paste the key and click Activate.</Trans></Body></li></NextStepsList>diff --git a/packages/twenty-website/src/app/[locale]/enterprise/activate/_components/EnterpriseActivateHero.tsx b/packages/twenty-website/src/app/[locale]/enterprise/activate/_components/EnterpriseActivateHero.tsxnew file mode 100644index 00000000000..d4c68f53a9d--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/enterprise/activate/_components/EnterpriseActivateHero.tsx@@ -0,0 +1,28 @@+import { Trans } from '@lingui/react/macro';++import { Eyebrow, HeadingPart } from '@/design-system/components';+import { HeroBody, HeroHeading, HeroSection } from '@/templates/Hero';++export function EnterpriseActivateHero() {+ return (+ <HeroSection scheme="muted">+ <Eyebrow>+ <HeadingPart fontFamily="sans">+ <Trans>Self-hosting</Trans>+ </HeadingPart>+ </Eyebrow>+ <HeroHeading>+ <Trans>+ <HeadingPart fontFamily="serif">Enterprise</HeadingPart>+ <HeadingPart fontFamily="sans">activation</HeadingPart>+ </Trans>+ </HeroHeading>+ <HeroBody maxWidthMd={500}>+ <Trans>+ Your checkout is complete. Follow the steps below to copy your license+ key into your Twenty instance.+ </Trans>+ </HeroBody>+ </HeroSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/enterprise/activate/page.tsx b/packages/twenty-website/src/app/[locale]/enterprise/activate/page.tsxindex dceb0398818..71c8856cf5f 100644--- a/packages/twenty-website/src/app/[locale]/enterprise/activate/page.tsx+++ b/packages/twenty-website/src/app/[locale]/enterprise/activate/page.tsx@@ -1,19 +1,10 @@import { msg } from '@lingui/core/macro';import { EnterpriseActivateClient } from '@/app/[locale]/enterprise/activate/EnterpriseActivateClient';-import {- Body,- Container,- Eyebrow,- HeadingPart,-} from '@/design-system/components';+import { Body, Container } from '@/design-system/components';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import { Hero } from '@/sections/Hero';+import { EnterpriseActivateHero } from '@/app/[locale]/enterprise/activate/_components/EnterpriseActivateHero';import { Menu, MENU_DATA } from '@/sections/Menu';import { theme } from '@/theme';import { buildRouteMetadata } from '@/lib/seo';@@ -66,36 +57,9 @@ export default async function EnterpriseActivatePage({return (<>- <Menu.Root- backgroundColor="#F3F3F3"- scheme="primary"- navItems={MENU_DATA.navItems}- socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ <Menu backgroundColor="#F3F3F3" socialLinks={menuSocialLinks} />- <Hero.Root scheme="muted">- <Eyebrow>- <HeadingPart fontFamily="sans">- {i18n._(msg`Self-hosting`)}- </HeadingPart>- </Eyebrow>- <Hero.Heading page={Pages.Pricing}>- <HeadingPart fontFamily="serif">- {i18n._(msg`Enterprise`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">{i18n._(msg`activation`)}</HeadingPart>- </Hero.Heading>- <Hero.Body page={Pages.Pricing}>- {i18n._(- msg`Your checkout is complete. Follow the steps below to copy your license key into your Twenty instance.`,- )}- </Hero.Body>- </Hero.Root>+ <EnterpriseActivateHero /><ActivatePageContent><Container>diff --git a/packages/twenty-website/src/app/[locale]/layout.tsx b/packages/twenty-website/src/app/[locale]/layout.tsxindex e5d34fcad7e..c31bcdc0820 100644--- a/packages/twenty-website/src/app/[locale]/layout.tsx+++ b/packages/twenty-website/src/app/[locale]/layout.tsx@@ -18,13 +18,12 @@ import { ScrollToTopOnRouteChange } from '@/app/_components/ScrollToTopOnRouteChimport {I18nProvider,localeToUrlSegment,- PUBLIC_APP_LOCALE_LIST,+ WEBSITE_LOCALE_LIST,resolveLocaleParam,} from '@/lib/i18n';-import { getLocaleMessages } from '@/lib/i18n/utils/messages-by-locale';-import { setServerI18n } from '@/lib/i18n/utils/set-server-i18n';+import { getLocaleMessages, setServerI18n } from '@/lib/i18n/server';import { ContactCalModalRoot } from '@/sections/ContactCal';-import { Footer, FOOTER_DATA } from '@/sections/Footer';+import { Footer } from '@/sections/Footer';import { PartnerApplicationModalRoot } from '@/sections/PartnerApplication';const hostGrotesk = Host_Grotesk({@@ -124,7 +123,7 @@ type LocaleLayoutParams = { locale: string };export const dynamicParams = false;export const generateStaticParams = (): LocaleLayoutParams[] =>- PUBLIC_APP_LOCALE_LIST.map((locale) => ({+ WEBSITE_LOCALE_LIST.map((locale) => ({locale: localeToUrlSegment(locale),}));@@ -162,14 +161,7 @@ const LocaleLayout = async ({<ScrollToTopOnRouteChange /><StyledMain>{children}</StyledMain><FooterVisibilityGate>- <Footer.Root>- <Footer.Logo />- <Footer.Nav groups={FOOTER_DATA.navGroups} />- <Footer.Bottom- copyright={FOOTER_DATA.bottom.copyright}- links={FOOTER_DATA.socialLinks}- />- </Footer.Root>+ <Footer /></FooterVisibilityGate></PartnerApplicationModalRoot></ContactCalModalRoot>diff --git a/packages/twenty-website/src/app/[locale]/partners/components/PartnerHero.tsx b/packages/twenty-website/src/app/[locale]/partners/components/PartnerHero.tsxnew file mode 100644index 00000000000..690f7e1f12f--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/partners/components/PartnerHero.tsx@@ -0,0 +1,30 @@+import { Trans } from '@lingui/react/macro';++import { PartnerHeroCtas } from '@/app/[locale]/partners/components/PartnerApplication';+import { HeadingPart } from '@/design-system/components';+import { HeroBody, HeroCta, HeroHeading, HeroSection } from '@/templates/Hero';+import { PartnerVisual } from '@/sections/Hero';++export function PartnerHero() {+ return (+ <HeroSection scheme="light">+ <HeroHeading>+ <Trans>+ <HeadingPart fontFamily="serif">Become</HeadingPart>+ <br />+ <HeadingPart fontFamily="sans">our partner</HeadingPart>+ </Trans>+ </HeroHeading>+ <HeroBody maxWidthMd={500}>+ <Trans>+ We're building the #1 Open Source CRM, but we can't do it alone. Join+ our partner ecosystem and grow with us.+ </Trans>+ </HeroBody>+ <HeroCta>+ <PartnerHeroCtas />+ </HeroCta>+ <PartnerVisual />+ </HeroSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/partners/components/PartnerSignoff.tsx b/packages/twenty-website/src/app/[locale]/partners/components/PartnerSignoff.tsxnew file mode 100644index 00000000000..b9cf6418bb4--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/partners/components/PartnerSignoff.tsx@@ -0,0 +1,30 @@+import { Trans } from '@lingui/react/macro';++import { PartnerSignoffCtas } from '@/app/[locale]/partners/components/PartnerApplication';+import { HeadingPart, ResponsiveLineBreak } from '@/design-system/components';+import { Signoff } from '@/templates/Signoff';++export function PartnerSignoff() {+ return (+ <Signoff+ scheme="light"+ centered+ heading={+ <Trans>+ <HeadingPart fontFamily="serif">Ready to grow</HeadingPart>+ <br />+ <HeadingPart fontFamily="sans">with Twenty?</HeadingPart>+ </Trans>+ }+ body={+ <Trans>+ Join our partner ecosystem and help businesses+ <ResponsiveLineBreak />+ take control of their CRM.+ </Trans>+ }+ >+ <PartnerSignoffCtas />+ </Signoff>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/partners/components/PartnerTestimonials.tsx b/packages/twenty-website/src/app/[locale]/partners/components/PartnerTestimonials.tsxnew file mode 100644index 00000000000..4bf4c548879--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/partners/components/PartnerTestimonials.tsx@@ -0,0 +1,28 @@+import { msg } from '@lingui/core/macro';++import { PARTNER_TESTIMONIALS } from '@/app/[locale]/partners/testimonials.data';+import { getServerI18n } from '@/lib/i18n/server';+import {+ TestimonialsPartnerCarousel,+ TestimonialsPartnerVisual,+} from '@/sections/Testimonials';+import { TestimonialsSection } from '@/templates/Testimonials';+import { theme } from '@/theme';++export function PartnerTestimonials() {+ const i18n = getServerI18n();++ return (+ <TestimonialsSection+ scheme="muted"+ shapeFillColor={theme.colors.secondary.background[100]}+ >+ <TestimonialsPartnerCarousel+ eyebrow={i18n._(msg`Join our growing partner ecosystem`)}+ testimonials={PARTNER_TESTIMONIALS}+ >+ <TestimonialsPartnerVisual />+ </TestimonialsPartnerCarousel>+ </TestimonialsSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/partners/components/PartnerThreeCards.tsx b/packages/twenty-website/src/app/[locale]/partners/components/PartnerThreeCards.tsxnew file mode 100644index 00000000000..2f65814b985--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/partners/components/PartnerThreeCards.tsx@@ -0,0 +1,46 @@+import { Trans } from '@lingui/react/macro';++import { PARTNER_ILLUSTRATION_CARDS } from '@/app/[locale]/partners/three-cards-illustration.data';+import { Eyebrow, Heading, HeadingPart } from '@/design-system/components';+import {+ IllustrationCards,+ type ThreeCardsScrollLayoutOptions,+} from '@/sections/ThreeCards';+import { ThreeCardsIntro, ThreeCardsSection } from '@/templates/ThreeCards';++const SCROLL_LAYOUT_OPTIONS: ThreeCardsScrollLayoutOptions = {+ endEdgeRatio: 0.28,+ initialScale: 0.935,+ initialTranslateY: 132,+ opacityRamp: 0.28,+ stagger: 0.16,+};++export function PartnerThreeCards() {+ return (+ <ThreeCardsSection scheme="muted">+ <ThreeCardsIntro align="left">+ <Eyebrow>+ <HeadingPart fontFamily="sans">+ <Trans>Which partner program is right for you?</Trans>+ </HeadingPart>+ </Eyebrow>+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">+ Find the program that fits your business+ </HeadingPart>+ <HeadingPart fontFamily="sans">+ and unlock new opportunities with Twenty+ </HeadingPart>+ </Trans>+ </Heading>+ </ThreeCardsIntro>+ <IllustrationCards+ illustrationCards={PARTNER_ILLUSTRATION_CARDS}+ layoutOptions={SCROLL_LAYOUT_OPTIONS}+ variant="simple"+ />+ </ThreeCardsSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/partners/list/components/EmptyState.tsx b/packages/twenty-website/src/app/[locale]/partners/list/components/EmptyState.tsxindex 967653e7f4f..bd0bccd33e6 100644--- a/packages/twenty-website/src/app/[locale]/partners/list/components/EmptyState.tsx+++ b/packages/twenty-website/src/app/[locale]/partners/list/components/EmptyState.tsx@@ -1,7 +1,6 @@'use client';-import { msg } from '@lingui/core/macro';-import { useLingui } from '@lingui/react';+import { Trans } from '@lingui/react/macro';import { styled } from '@linaria/react';import { theme } from '@/theme';@@ -44,16 +43,16 @@ const EmptyStateClearButton = styled(ClearFiltersButton)``;export function EmptyState({ onClearFilters }: EmptyStateProps) {- const { i18n } = useLingui();-return (<Wrapper>- <Heading>{i18n._(msg`No partners match your filters`)}</Heading>+ <Heading>+ <Trans>No partners match your filters</Trans>+ </Heading><Subtitle>- {i18n._(msg`Try removing some filters or browse all partners.`)}+ <Trans>Try removing some filters or browse all partners.</Trans></Subtitle><EmptyStateClearButton onClick={onClearFilters}>- {i18n._(msg`Clear filters`)}+ <Trans>Clear filters</Trans></EmptyStateClearButton></Wrapper>);diff --git a/packages/twenty-website/src/app/[locale]/partners/list/components/FilterBar.tsx b/packages/twenty-website/src/app/[locale]/partners/list/components/FilterBar.tsxindex b64a7c0f78d..73bc4ae569d 100644--- a/packages/twenty-website/src/app/[locale]/partners/list/components/FilterBar.tsx+++ b/packages/twenty-website/src/app/[locale]/partners/list/components/FilterBar.tsx@@ -1,6 +1,7 @@'use client';import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';import { useLingui } from '@lingui/react';import { styled } from '@linaria/react';@@ -94,13 +95,17 @@ export function FilterBar({/><Footer><ResultCount aria-live="polite">- {hasAnyFilter- ? i18n._(msg`Showing ${visibleCount} of ${totalCount} partners`)- : i18n._(msg`Showing all ${totalCount} partners`)}+ {hasAnyFilter ? (+ <Trans>+ Showing {visibleCount} of {totalCount} partners+ </Trans>+ ) : (+ <Trans>Showing all {totalCount} partners</Trans>+ )}</ResultCount>{hasAnyFilter && (<ClearFiltersButton onClick={onClearAll}>- {i18n._(msg`Clear filters`)}+ <Trans>Clear filters</Trans></ClearFiltersButton>)}</Footer>diff --git a/packages/twenty-website/src/app/[locale]/partners/list/components/MarketplaceHeader.tsx b/packages/twenty-website/src/app/[locale]/partners/list/components/MarketplaceHeader.tsxindex a8d9feded4c..af218c7ae48 100644--- a/packages/twenty-website/src/app/[locale]/partners/list/components/MarketplaceHeader.tsx+++ b/packages/twenty-website/src/app/[locale]/partners/list/components/MarketplaceHeader.tsx@@ -1,4 +1,4 @@-import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';import {Body,Container,@@ -6,7 +6,6 @@ import {Heading,HeadingPart,} from '@/design-system/components';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';import { theme } from '@/theme';import { styled } from '@linaria/react';@@ -38,26 +37,26 @@ const HeaderBody = styled(Body)``;export function MarketplaceHeader() {- const i18n = getServerI18n();-return (<Section><StyledContainer><Eyebrow><HeadingPart fontFamily="sans">- {i18n._(msg`Marketplace`)}+ <Trans>Marketplace</Trans></HeadingPart></Eyebrow><Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">{i18n._(msg`Find your`)}</HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`Twenty partner`)}- </HeadingPart>+ <Trans>+ <HeadingPart fontFamily="serif">Find your</HeadingPart>+ <HeadingPart fontFamily="sans">Twenty partner</HeadingPart>+ </Trans></Heading><HeaderBody>- {i18n._(- msg`Twenty's certified partners help teams migrate, customise, and operate the open source CRM across regions, languages, and deployment models. Browse profiles and book a call.`,- )}+ <Trans>+ Twenty's certified partners help teams migrate, customise, and+ operate the open source CRM across regions, languages, and+ deployment models. Browse profiles and book a call.+ </Trans></HeaderBody></StyledContainer></Section>diff --git a/packages/twenty-website/src/app/[locale]/partners/list/page.tsx b/packages/twenty-website/src/app/[locale]/partners/list/page.tsxindex eddfe0faab1..b406f7cc1fd 100644--- a/packages/twenty-website/src/app/[locale]/partners/list/page.tsx+++ b/packages/twenty-website/src/app/[locale]/partners/list/page.tsx@@ -1,10 +1,7 @@import { Suspense } from 'react';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';import { Menu, MENU_DATA } from '@/sections/Menu';import { theme } from '@/theme';@@ -32,17 +29,10 @@ export default async function PartnersMarketplacePage({return (<>- <Menu.Root+ <MenubackgroundColor={theme.colors.primary.background[100]}- scheme="primary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ /><MarketplaceHeader />diff --git a/packages/twenty-website/src/app/[locale]/partners/page.tsx b/packages/twenty-website/src/app/[locale]/partners/page.tsxindex 13ea4fab889..fa39b00d87b 100644--- a/packages/twenty-website/src/app/[locale]/partners/page.tsx+++ b/packages/twenty-website/src/app/[locale]/partners/page.tsx@@ -1,49 +1,19 @@-import { msg } from '@lingui/core/macro';-import { Faq, FAQ_QUESTIONS } from '@/sections/Faq';-import { TRUSTED_BY_LOGOS, TrustedBy } from '@/sections/TrustedBy';-import { TalkToUsButton } from '@/sections/ContactCal';+import { Faq } from '@/sections/Faq';+import { TrustedBy } from '@/sections/TrustedBy';import { CASE_STUDY_CATALOG_ENTRIES } from '@/lib/customers';-import { PARTNER_ILLUSTRATION_CARDS } from '@/app/[locale]/partners/three-cards-illustration.data';-import { PARTNER_TESTIMONIALS } from '@/app/[locale]/partners/testimonials.data';-import {- PartnerHeroCtas,- PartnerSignoffCtas,-} from '@/app/[locale]/partners/components/PartnerApplication';-import {- Eyebrow,- Heading,- HeadingPart,- LinkButton,-} from '@/design-system/components';+import { PartnerHero } from '@/app/[locale]/partners/components/PartnerHero';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import { CaseStudyCatalog } from '@/sections/CaseStudyCatalog';-import { Hero } from '@/sections/Hero';+import { CaseStudyCatalogPromo } from '@/sections/CaseStudyCatalog';import { Menu, MENU_DATA } from '@/sections/Menu';-import { Signoff } from '@/sections/Signoff';-import { Testimonials } from '@/sections/Testimonials';-import {- ThreeCards,- type ThreeCardsScrollLayoutOptions,-} from '@/sections/ThreeCards';+import { PartnerSignoff } from '@/app/[locale]/partners/components/PartnerSignoff';+import { PartnerTestimonials } from '@/app/[locale]/partners/components/PartnerTestimonials';+import { PartnerThreeCards } from '@/app/[locale]/partners/components/PartnerThreeCards';import { theme } from '@/theme';import { buildRouteMetadata } from '@/lib/seo';import { styled } from '@linaria/react';-const PARTNER_ILLUSTRATION_CARDS_SCROLL_LAYOUT_OPTIONS: ThreeCardsScrollLayoutOptions =- {- endEdgeRatio: 0.28,- initialScale: 0.935,- initialTranslateY: 132,- opacityRamp: 0.28,- stagger: 0.16,- };-const PromoSpacing = styled.div`margin-bottom: ${theme.spacing(8)};@@ -59,7 +29,9 @@ type PartnerPageProps = {};export default async function PartnerPage({ params }: PartnerPageProps) {- const [i18n, stats] = await Promise.all([+ // getRouteI18n sets the request-scoped i18n context the page's components+ // read; the page renders no copy of its own, so the instance is unused here.+ const [, stats] = await Promise.all([getRouteI18n(params),fetchCommunityStats(),]);@@ -67,139 +39,32 @@ export default async function PartnerPage({ params }: PartnerPageProps) {return (<>- <Menu.Root+ <MenubackgroundColor={theme.colors.primary.background[100]}- scheme="primary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ />- <Hero.Root scheme="light">- <Hero.Heading page={Pages.Partners}>- <HeadingPart fontFamily="serif">{i18n._(msg`Become`)}</HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`our partner`)}- </HeadingPart>- </Hero.Heading>- <Hero.Body page={Pages.Partners}>- {i18n._(- msg`We're building the #1 Open Source CRM, but we can't do it alone. Join our partner ecosystem and grow with us.`,- )}- </Hero.Body>- <Hero.Cta>- <PartnerHeroCtas />- </Hero.Cta>- <Hero.PartnerVisual />- </Hero.Root>+ <PartnerHero />- <TrustedBy.Root+ <TrustedBybackgroundColor={theme.colors.primary.background[100]}compactBottom- separator={i18n._(msg`trusted by`)}- logos={TRUSTED_BY_LOGOS}- clientCount={i18n._(msg`+10k others`)}/><PromoSpacing>- <CaseStudyCatalog.Promo+ <CaseStudyCatalogPromocompactTopentries={CASE_STUDY_CATALOG_ENTRIES}/></PromoSpacing>- <ThreeCards.Root scheme="muted">- <ThreeCards.Intro page={Pages.Partners} align="left">- <Eyebrow>- <HeadingPart fontFamily="sans">- {i18n._(msg`Which partner program is right for you?`)}- </HeadingPart>- </Eyebrow>- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`Find the program that fits your business`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`and unlock new opportunities with Twenty`)}- </HeadingPart>- </Heading>- </ThreeCards.Intro>- <ThreeCards.IllustrationCards- illustrationCards={PARTNER_ILLUSTRATION_CARDS}- layoutOptions={PARTNER_ILLUSTRATION_CARDS_SCROLL_LAYOUT_OPTIONS}- variant="simple"- />- </ThreeCards.Root>+ <PartnerThreeCards />- <Testimonials.Root- scheme="muted"- shapeFillColor={theme.colors.secondary.background[100]}- >- <Testimonials.PartnerCarousel- eyebrow={i18n._(msg`Join our growing partner ecosystem`)}- testimonials={PARTNER_TESTIMONIALS}- >- <Testimonials.PartnerVisual />- </Testimonials.PartnerCarousel>- </Testimonials.Root>+ <PartnerTestimonials />- <Signoff.Root scheme="light" page={Pages.Partners}>- <Signoff.Heading page={Pages.Partners}>- <HeadingPart fontFamily="serif">- {i18n._(msg`Ready to grow`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`with Twenty?`)}- </HeadingPart>- </Signoff.Heading>- <Signoff.Body page={Pages.Partners}>- {i18n._(- msg`Join our partner ecosystem and help businesses\ntake control of their CRM.`,- )}- </Signoff.Body>- <Signoff.Cta>- <PartnerSignoffCtas />- </Signoff.Cta>- </Signoff.Root>+ <PartnerSignoff />- <Faq.Root>- <Faq.Intro>- <Eyebrow colorScheme="secondary">- <HeadingPart fontFamily="sans">- {i18n._(msg`Any Questions?`)}- </HeadingPart>- </Eyebrow>- <Faq.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`Stop fighting custom.`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`Start building, with Twenty`)}- </HeadingPart>- </Faq.Heading>- <Faq.Cta>- <LinkButton- color="primary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- <TalkToUsButton- color="primary"- label={msg`Talk to us`}- variant="outlined"- />- </Faq.Cta>- </Faq.Intro>- <Faq.Items questions={FAQ_QUESTIONS} />- </Faq.Root>+ <Faq /></>);}diff --git a/packages/twenty-website/src/app/[locale]/pricing/_components/PricingEngagementBand.tsx b/packages/twenty-website/src/app/[locale]/pricing/_components/PricingEngagementBand.tsxnew file mode 100644index 00000000000..555a3633ba0--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/pricing/_components/PricingEngagementBand.tsx@@ -0,0 +1,55 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';+import { styled } from '@linaria/react';++import { BecomePartnerButton } from '@/app/[locale]/partners/components/PartnerApplication';+import { HeadingPart } from '@/design-system/components';+import {+ EngagementBandActions,+ EngagementBandBody,+ EngagementBandCopy,+ EngagementBandHeading,+ EngagementBandSection,+ EngagementBandStrip,+} from '@/sections/EngagementBand';+import { theme } from '@/theme';++const PricingBannerContainer = styled.div`+ margin: 0 auto;+ width: 100%;+`;++export function PricingEngagementBand() {+ return (+ <EngagementBandSection scheme="muted">+ <PricingBannerContainer>+ <EngagementBandStrip+ desktopCopyMaxWidth="60%"+ fillColor={theme.colors.primary.background[100]}+ variant="primary"+ >+ <EngagementBandCopy>+ <EngagementBandHeading>+ <HeadingPart fontFamily="serif">+ <Trans>Need help with customization?</Trans>+ </HeadingPart>+ </EngagementBandHeading>+ <EngagementBandBody>+ <Trans>+ Find the right partner to implement, customize, and tailor+ Twenty to your team.+ </Trans>+ </EngagementBandBody>+ </EngagementBandCopy>+ <EngagementBandActions>+ <BecomePartnerButton+ color="secondary"+ label={msg`Find a partner`}+ variant="outlined"+ />+ </EngagementBandActions>+ </EngagementBandStrip>+ </PricingBannerContainer>+ </EngagementBandSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/pricing/_components/PricingHero.tsx b/packages/twenty-website/src/app/[locale]/pricing/_components/PricingHero.tsxnew file mode 100644index 00000000000..03ed82b8281--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/pricing/_components/PricingHero.tsx@@ -0,0 +1,25 @@+import { Trans } from '@lingui/react/macro';++import { HeadingPart } from '@/design-system/components';+import { HeroBody, HeroHeading, HeroSection } from '@/templates/Hero';++export function PricingHero() {+ return (+ <HeroSection scheme="muted">+ <HeroHeading>+ <Trans>+ <HeadingPart fontFamily="serif">Simple</HeadingPart>+ <br />+ <HeadingPart fontFamily="sans">Pricing</HeadingPart>+ </Trans>+ </HeroHeading>+ <HeroBody maxWidthMd={500}>+ <Trans>+ Start your free trial today+ <br />+ without credit card.+ </Trans>+ </HeroBody>+ </HeroSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/pricing/_components/PricingSalesforce.tsx b/packages/twenty-website/src/app/[locale]/pricing/_components/PricingSalesforce.tsxnew file mode 100644index 00000000000..f1812c2add4--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/pricing/_components/PricingSalesforce.tsx@@ -0,0 +1,20 @@+import { Trans } from '@lingui/react/macro';++import { SALESFORCE_DATA } from '@/app/[locale]/pricing/salesforce.data';+import { HeadingPart } from '@/design-system/components';+import { Salesforce } from '@/sections/Salesforce';++export function PricingSalesforce() {+ return (+ <Salesforce+ scheme="muted"+ body={SALESFORCE_DATA.body}+ pricing={SALESFORCE_DATA.pricing}+ >+ <Trans>+ <HeadingPart fontFamily="serif">Trust the n°1 CRM,</HeadingPart>+ <HeadingPart fontFamily="sans">or not!</HeadingPart>+ </Trans>+ </Salesforce>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/pricing/page.tsx b/packages/twenty-website/src/app/[locale]/pricing/page.tsxindex 7a000410fa4..8c2e64f4d13 100644--- a/packages/twenty-website/src/app/[locale]/pricing/page.tsx+++ b/packages/twenty-website/src/app/[locale]/pricing/page.tsx@@ -1,23 +1,18 @@-import { msg } from '@lingui/core/macro';import { Faq, FAQ_QUESTIONS } from '@/sections/Faq';-import { TalkToUsButton } from '@/sections/ContactCal';-import { BecomePartnerButton } from '@/app/[locale]/partners/components/PartnerApplication';import { PLAN_TABLE_DATA } from '@/app/[locale]/pricing/plan-table.data';-import { SALESFORCE_DATA } from '@/app/[locale]/pricing/salesforce.data';-import { Eyebrow, HeadingPart, LinkButton } from '@/design-system/components';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import { EngagementBand } from '@/sections/EngagementBand';-import { Hero } from '@/sections/Hero';+import { PricingEngagementBand } from '@/app/[locale]/pricing/_components/PricingEngagementBand';+import { PricingHero } from '@/app/[locale]/pricing/_components/PricingHero';import { Menu, MENU_DATA } from '@/sections/Menu';-import { Plans, PricingStateProvider } from '@/sections/Plans';-import { PlanTable } from '@/sections/PlanTable';-import { Salesforce } from '@/sections/Salesforce';+import {+ PlansContent,+ PlansSection,+ PricingStateProvider,+} from '@/sections/Plans';+import { PlanTableContent, PlanTableSection } from '@/sections/PlanTable';+import { PricingSalesforce } from '@/app/[locale]/pricing/_components/PricingSalesforce';import { theme } from '@/theme';import { buildFaqPageJsonLd, buildRouteMetadata, JsonLd } from '@/lib/seo';import { styled } from '@linaria/react';@@ -29,11 +24,6 @@ const PricingPlansContainer = styled.div`width: 100%;`;-const PricingBannerContainer = styled.div`- margin: 0 auto;- width: 100%;-`;-export const generateMetadata = buildRouteMetadata('pricing');type PricingPageProps = {@@ -50,114 +40,27 @@ export default async function PricingPage({ params }: PricingPageProps) {return (<><JsonLd data={buildFaqPageJsonLd(FAQ_QUESTIONS, (d) => i18n._(d))} />- <Menu.Root- backgroundColor="#F3F3F3"- scheme="primary"- navItems={MENU_DATA.navItems}- socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ <Menu backgroundColor="#F3F3F3" socialLinks={menuSocialLinks} />- <Hero.Root scheme="muted">- <Hero.Heading page={Pages.Pricing}>- <HeadingPart fontFamily="serif">{i18n._(msg`Simple`)}</HeadingPart>- <br />- <HeadingPart fontFamily="sans">{i18n._(msg`Pricing`)}</HeadingPart>- </Hero.Heading>- <Hero.Body page={Pages.Pricing} preserveLineBreaks>- {i18n._(msg`Start your free trial today\nwithout credit card.`)}- </Hero.Body>- </Hero.Root>+ <PricingHero /><PricingStateProvider>- <Plans.Root scheme="muted">+ <PlansSection scheme="muted"><PricingPlansContainer>- <Plans.Content />+ <PlansContent /></PricingPlansContainer>- </Plans.Root>+ </PlansSection>- <EngagementBand.Root scheme="muted">- <PricingBannerContainer>- <EngagementBand.Strip- desktopCopyMaxWidth="60%"- fillColor={theme.colors.primary.background[100]}- variant="primary"- >- <EngagementBand.Copy>- <EngagementBand.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`Need help with customization?`)}- </HeadingPart>- </EngagementBand.Heading>- <EngagementBand.Body>- {i18n._(- msg`Find the right partner to implement, customize, and tailor Twenty to your team.`,- )}- </EngagementBand.Body>- </EngagementBand.Copy>- <EngagementBand.Actions>- <BecomePartnerButton- color="secondary"- label={msg`Find a partner`}- variant="outlined"- />- </EngagementBand.Actions>- </EngagementBand.Strip>- </PricingBannerContainer>- </EngagementBand.Root>+ <PricingEngagementBand />- <PlanTable.Root scheme="dark">- <PlanTable.Content data={PLAN_TABLE_DATA} />- </PlanTable.Root>+ <PlanTableSection scheme="dark">+ <PlanTableContent data={PLAN_TABLE_DATA} />+ </PlanTableSection></PricingStateProvider>- <Salesforce.Flow- scheme="muted"- body={SALESFORCE_DATA.body}- pricing={SALESFORCE_DATA.pricing}- >- <HeadingPart fontFamily="serif">- {i18n._(msg`Trust the n°1 CRM,`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">{i18n._(msg`or not !`)}</HeadingPart>- </Salesforce.Flow>+ <PricingSalesforce />- <Faq.Root>- <Faq.Intro>- <Eyebrow colorScheme="secondary">- <HeadingPart fontFamily="sans">- {i18n._(msg`Any Questions?`)}- </HeadingPart>- </Eyebrow>- <Faq.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`Stop fighting custom.`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`Start building, with Twenty`)}- </HeadingPart>- </Faq.Heading>- <Faq.Cta>- <LinkButton- color="primary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- <TalkToUsButton- color="primary"- label={msg`Talk to us`}- variant="outlined"- />- </Faq.Cta>- </Faq.Intro>- <Faq.Items questions={FAQ_QUESTIONS} />- </Faq.Root>+ <Faq /></>);}diff --git a/packages/twenty-website/src/app/[locale]/privacy-policy/page.tsx b/packages/twenty-website/src/app/[locale]/privacy-policy/page.tsxindex ee7adefa36a..2c348943f0f 100644--- a/packages/twenty-website/src/app/[locale]/privacy-policy/page.tsx+++ b/packages/twenty-website/src/app/[locale]/privacy-policy/page.tsx@@ -1,7 +1,7 @@import { MENU_DATA } from '@/sections/Menu';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import { LegalDocument } from '@/sections/LegalDocument';+import { LegalDocumentPage } from '@/sections/LegalDocument';import { buildRouteMetadata } from '@/lib/seo';import { PrivacyPolicyDocument } from './_components';@@ -13,11 +13,11 @@ export default async function PrivacyPolicyPage() {const menuSocialLinks = mergeSocialLinkLabels(MENU_DATA.socialLinks, stats);return (- <LegalDocument.Page+ <LegalDocumentPagemenuData={{ navItems: MENU_DATA.navItems, socialLinks: menuSocialLinks }}title="Privacy Policy"><PrivacyPolicyDocument />- </LegalDocument.Page>+ </LegalDocumentPage>);}diff --git a/packages/twenty-website/src/sections/Demo/components/Root.tsx b/packages/twenty-website/src/app/[locale]/product/_components/ProductDemo.tsxsimilarity index 51%rename from packages/twenty-website/src/sections/Demo/components/Root.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/ProductDemo.tsxindex 61abc60c167..279aea97e48 100644--- a/packages/twenty-website/src/sections/Demo/components/Root.tsx+++ b/packages/twenty-website/src/app/[locale]/product/_components/ProductDemo.tsx@@ -1,9 +1,19 @@-import { Container } from '@/design-system/components';+import { APP_PREVIEW_DATA } from '@/app/[locale]/(home)/app-preview.data';+import {+ Container,+ Eyebrow,+ Heading,+ HeadingPart,+ LinkButton,+} from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { AppPreview } from '@/sections/AppPreview';import { theme } from '@/theme';import { css } from '@linaria/core';import { styled } from '@linaria/react';+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';import NextImage from 'next/image';-import type { ReactNode } from 'react';const RootWrapper = styled.div`display: grid;@@ -65,9 +75,26 @@ const StyledContainer = styled(Container)`}`;-type RootProps = { children: ReactNode };+const CtasContainer = styled.div`+ display: flex;+ flex-wrap: wrap;+ gap: ${theme.spacing(4)};+ justify-content: center;+`;++const PreviewRoot = styled.div`+ margin-bottom: ${theme.spacing(11)};+ margin-top: ${theme.spacing(12)};+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ margin-top: ${theme.spacing(19)};+ }+`;++export function ProductDemo() {+ const i18n = getServerI18n();-export function Root({ children }: RootProps) {return (<RootWrapper><BackgroundLayer aria-hidden>@@ -82,7 +109,31 @@ export function Root({ children }: RootProps) {</PatternLayer></BackgroundLayer><StyledSection>- <StyledContainer>{children}</StyledContainer>+ <StyledContainer>+ <Eyebrow>+ <HeadingPart fontFamily="sans">+ <Trans>Try it live</Trans>+ </HeadingPart>+ </Eyebrow>+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">A demo worth a</HeadingPart>+ <br />+ <HeadingPart fontFamily="sans">thousand words</HeadingPart>+ </Trans>+ </Heading>+ <CtasContainer>+ <LinkButton+ color="secondary"+ href="https://app.twenty.com/welcome"+ label={i18n._(msg`Try Twenty Cloud`)}+ variant="contained"+ />+ </CtasContainer>+ <PreviewRoot>+ <AppPreview showTerminal={false} visual={APP_PREVIEW_DATA.visual} />+ </PreviewRoot>+ </StyledContainer></StyledSection></RootWrapper>);diff --git a/packages/twenty-website/src/app/[locale]/product/_components/ProductHero.tsx b/packages/twenty-website/src/app/[locale]/product/_components/ProductHero.tsxnew file mode 100644index 00000000000..a7305ec6916--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/product/_components/ProductHero.tsx@@ -0,0 +1,47 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { APP_PREVIEW_DATA } from '@/app/[locale]/(home)/app-preview.data';+import { AI_HERO_TABS } from '@/app/[locale]/product/ai-hero-tabs.data';+import { Heading, HeadingPart } from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { HeroVisualScroll } from '@/sections/Hero';++export function ProductHero() {+ const i18n = getServerI18n();++ return (+ <HeroVisualScroll+ aiBody={i18n._(+ msg`Ask questions, automate tasks, and get insights. All powered by AI that understands your data.`,+ )}+ aiHeading={+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">AI that actually</HeadingPart>+ <br />+ <HeadingPart fontFamily="serif">helps you</HeadingPart>+ <HeadingPart fontFamily="sans">work faster</HeadingPart>+ </Trans>+ </Heading>+ }+ ctaHref="https://app.twenty.com/welcome"+ ctaLabel={i18n._(msg`Get started`)}+ introBody={i18n._(+ msg`Track relationships, manage pipelines, and take action quickly with a CRM that feels intuitive from day one.`,+ )}+ introHeading={+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">A CRM for teams</HeadingPart>+ <br />+ <HeadingPart fontFamily="serif">that</HeadingPart>+ <HeadingPart fontFamily="sans">move fast</HeadingPart>+ </Trans>+ </Heading>+ }+ tabs={AI_HERO_TABS}+ visual={APP_PREVIEW_DATA.visual}+ />+ );+}diff --git a/packages/twenty-website/src/app/[locale]/product/_components/ProductThreeCards.tsx b/packages/twenty-website/src/app/[locale]/product/_components/ProductThreeCards.tsxnew file mode 100644index 00000000000..dec1f0247dd--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/product/_components/ProductThreeCards.tsx@@ -0,0 +1,27 @@+import { Trans } from '@lingui/react/macro';++import { ILLUSTRATION_CARDS } from '@/app/[locale]/product/three-cards.data';+import { Eyebrow, Heading, HeadingPart } from '@/design-system/components';+import { IllustrationCards } from '@/sections/ThreeCards';+import { ThreeCardsIntro, ThreeCardsSection } from '@/templates/ThreeCards';++export function ProductThreeCards() {+ return (+ <ThreeCardsSection scheme="light">+ <ThreeCardsIntro align="left" maxWidthMd={600}>+ <Eyebrow>+ <HeadingPart fontFamily="sans">+ <Trans>Stop settling for trade-offs.</Trans>+ </HeadingPart>+ </Eyebrow>+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">A modern CRM with</HeadingPart>+ <HeadingPart fontFamily="sans">an intuitive interface</HeadingPart>+ </Trans>+ </Heading>+ </ThreeCardsIntro>+ <IllustrationCards illustrationCards={ILLUSTRATION_CARDS} />+ </ThreeCardsSection>+ );+}diff --git a/packages/twenty-website/src/sections/Feature/FeatureScrollEntrance.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/FeatureScrollEntrance.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/FeatureScrollEntrance.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/FeatureScrollEntrance.tsxdiff --git a/packages/twenty-website/src/sections/Feature/InteractiveVisualMount.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/InteractiveVisualMount.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/InteractiveVisualMount.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/InteractiveVisualMount.tsxdiff --git a/packages/twenty-website/src/sections/Feature/Feature.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/ProductFeature.tsxsimilarity index 87%rename from packages/twenty-website/src/sections/Feature/Feature.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/ProductFeature.tsxindex 580517ade8e..4352a4009dc 100644--- a/packages/twenty-website/src/sections/Feature/Feature.tsx+++ b/packages/twenty-website/src/app/[locale]/product/_components/feature/ProductFeature.tsx@@ -1,10 +1,17 @@-import { Container } from '@/design-system/components';-import type { MessageDescriptor } from '@lingui/core';+import {+ Container,+ Eyebrow,+ Heading,+ HeadingPart,+} from '@/design-system/components';import { type Page, Pages } from '@/lib/pages';import { theme, type Scheme } from '@/theme';+import { Trans } from '@lingui/react/macro';+import type { MessageDescriptor } from '@lingui/core';import { styled } from '@linaria/react';import type { ComponentType, ReactNode } from 'react';+import { FEATURE_TILES } from './feature-tiles.data';import { FeatureScrollEntrance } from './FeatureScrollEntrance';import { TileContent } from './TileContent';import { TileVisual } from './TileVisual';@@ -22,8 +29,6 @@ export type FeatureTileType = {visual: ComponentType<{ active: boolean }>;};-// --- Root ----const StyledSection = styled.section`width: 100%;@@ -75,8 +80,6 @@ function Root({ backgroundColor, children, scheme }: RootProps) {);}-// --- Intro ----const StyledIntro = styled.div`display: grid;grid-template-columns: 1fr;@@ -113,8 +116,6 @@ function Intro({ align, children, page }: IntroProps) {);}-// --- Tiles ----const BORDER = `1px solid ${theme.colors.primary.border[20]}`;const Grid = styled.div`@@ -251,4 +252,23 @@ function Tiles({ tiles }: TilesProps) {);}-export const Feature = { Intro, Root, Tiles };+export function ProductFeature() {+ return (+ <Root scheme="light">+ <Intro align="center" page={Pages.Product}>+ <Eyebrow>+ <HeadingPart fontFamily="sans">+ <Trans>Core Features</Trans>+ </HeadingPart>+ </Eyebrow>+ <Heading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">Everything you need,</HeadingPart>+ <HeadingPart fontFamily="sans">out of the box</HeadingPart>+ </Trans>+ </Heading>+ </Intro>+ <Tiles tiles={FEATURE_TILES} />+ </Root>+ );+}diff --git a/packages/twenty-website/src/sections/Feature/TileContent.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/TileContent.tsxsimilarity index 97%rename from packages/twenty-website/src/sections/Feature/TileContent.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/TileContent.tsxindex 26fa81a0d84..500fe829843 100644--- a/packages/twenty-website/src/sections/Feature/TileContent.tsx+++ b/packages/twenty-website/src/app/[locale]/product/_components/feature/TileContent.tsx@@ -3,10 +3,10 @@ import { styled } from '@linaria/react';import { Body, Heading, HeadingPart } from '@/design-system/components';import { INFORMATIVE_ICONS } from '@/icons';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import { theme } from '@/theme';-import type { FeatureTileType } from './Feature';+import type { FeatureTileType } from './ProductFeature';const DIVIDER_COLOR = theme.colors.primary.border[10];const ICON_STROKE_WIDTH = 1.5;diff --git a/packages/twenty-website/src/sections/Feature/TileVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/TileVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/TileVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/TileVisual.tsxdiff --git a/packages/twenty-website/src/app/[locale]/product/feature.data.ts b/packages/twenty-website/src/app/[locale]/product/_components/feature/feature-tiles.data.tssimilarity index 86%rename from packages/twenty-website/src/app/[locale]/product/feature.data.tsrename to packages/twenty-website/src/app/[locale]/product/_components/feature/feature-tiles.data.tsindex 19d4da9fc7f..c9b962b047c 100644--- a/packages/twenty-website/src/app/[locale]/product/feature.data.ts+++ b/packages/twenty-website/src/app/[locale]/product/_components/feature/feature-tiles.data.ts@@ -1,13 +1,13 @@import { msg } from '@lingui/core/macro';-import type { FeatureTileType } from '@/sections/Feature';-import { ContactsVisual } from '@/sections/Feature/visuals/ContactsVisual';-import { DashboardVisual } from '@/sections/Feature/visuals/DashboardVisual';-import { EmailsVisual } from '@/sections/Feature/visuals/EmailsVisual';-import { FilesVisual } from '@/sections/Feature/visuals/FilesVisual';-import { ImportVisual } from '@/sections/Feature/visuals/ImportVisual';-import { PipelineVisual } from '@/sections/Feature/visuals/PipelineVisual';-import { TasksVisual } from '@/sections/Feature/visuals/TasksVisual';+import type { FeatureTileType } from './ProductFeature';+import { ContactsVisual } from './visuals/ContactsVisual';+import { DashboardVisual } from './visuals/DashboardVisual';+import { EmailsVisual } from './visuals/EmailsVisual';+import { FilesVisual } from './visuals/FilesVisual';+import { ImportVisual } from './visuals/ImportVisual';+import { PipelineVisual } from './visuals/PipelineVisual';+import { TasksVisual } from './visuals/TasksVisual';export const FEATURE_TILES: FeatureTileType[] = [{diff --git a/packages/twenty-website/src/app/[locale]/product/_components/feature/index.ts b/packages/twenty-website/src/app/[locale]/product/_components/feature/index.tsnew file mode 100644index 00000000000..fa3adf28f66--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/product/_components/feature/index.ts@@ -0,0 +1 @@+export { ProductFeature, type FeatureTileType } from './ProductFeature';diff --git a/packages/twenty-website/src/sections/Feature/visuals/BarChart.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/BarChart.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/BarChart.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/BarChart.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/ContactsVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/ContactsVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/ContactsVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/ContactsVisual.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/DashboardVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/DashboardVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/DashboardVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/DashboardVisual.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/DonutChart.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/DonutChart.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/DonutChart.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/DonutChart.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/EmailsVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/EmailsVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/EmailsVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/EmailsVisual.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/FilesVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/FilesVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/FilesVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/FilesVisual.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/ImportVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/ImportVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/ImportVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/ImportVisual.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/PipelineVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/PipelineVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/PipelineVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/PipelineVisual.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/TasksVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/TasksVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/TasksVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/TasksVisual.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/WindowChrome.tsx b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/WindowChrome.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/WindowChrome.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/WindowChrome.tsxdiff --git a/packages/twenty-website/src/sections/Feature/visuals/dashboard-visual.data.ts b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/dashboard-visual.data.tssimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/dashboard-visual.data.tsrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/dashboard-visual.data.tsdiff --git a/packages/twenty-website/src/sections/Feature/visuals/visual-tokens.ts b/packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/visual-tokens.tssimilarity index 100%rename from packages/twenty-website/src/sections/Feature/visuals/visual-tokens.tsrename to packages/twenty-website/src/app/[locale]/product/_components/feature/visuals/visual-tokens.tsdiff --git a/packages/twenty-website/src/sections/ProductStepper/Content.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/Content.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/Content.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/Content.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/Flow.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/Flow.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/Flow.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/Flow.tsxdiff --git a/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/ProductStepperSection.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/ProductStepperSection.tsxnew file mode 100644index 00000000000..7ed18fd244f--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/ProductStepperSection.tsx@@ -0,0 +1,62 @@+import { HeadingPart } from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { Flow } from './Flow';+import type { ProductStepperStepType } from './types';+import { DataModelVisual } from './visuals/DataModelVisual';+import { LayoutVisual } from './visuals/LayoutVisual';+import { WorkflowVisual } from './visuals/WorkflowVisual';++export function ProductStepperSection() {+ const i18n = getServerI18n();++ const steps: ProductStepperStepType[] = [+ {+ icon: 'users',+ heading: (+ <HeadingPart fontFamily="sans">+ <Trans>Data model</Trans>+ </HeadingPart>+ ),+ body: msg`Add objects and fields`,+ visual: DataModelVisual,+ },+ {+ icon: 'check',+ heading: (+ <HeadingPart fontFamily="sans">+ <Trans>Automation</Trans>+ </HeadingPart>+ ),+ body: msg`Create a workflow`,+ visual: WorkflowVisual,+ },+ {+ icon: 'eye',+ heading: (+ <HeadingPart fontFamily="sans">+ <Trans>Layout</Trans>+ </HeadingPart>+ ),+ body: msg`Tailor record pages, menus, and views`,+ visual: LayoutVisual,+ },+ ];++ return (+ <Flow+ body={i18n._(+ msg`Need a quick change? Skip the engineering ticket. Customize your workspace in minutes.`,+ )}+ eyebrow={i18n._(msg`Customization`)}+ steps={steps}+ >+ <Trans>+ <HeadingPart fontFamily="serif">Go the extra mile</HeadingPart>+ <HeadingPart fontFamily="sans">with no-code</HeadingPart>+ </Trans>+ </Flow>+ );+}diff --git a/packages/twenty-website/src/sections/ProductStepper/StepperVisualFrame.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/StepperVisualFrame.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/StepperVisualFrame.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/StepperVisualFrame.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/Visual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/Visual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/Visual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/Visual.tsxdiff --git a/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/index.ts b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/index.tsnew file mode 100644index 00000000000..00de3c25b41--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/index.ts@@ -0,0 +1 @@+export { ProductStepperSection } from './ProductStepperSection';diff --git a/packages/twenty-website/src/sections/ProductStepper/types.ts b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/types.tssimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/types.tsrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/types.tsdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/AppPreviewShell.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/AppPreviewShell.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/AppPreviewShell.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/AppPreviewShell.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/DataModelVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/DataModelVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/DataModelVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/DataModelVisual.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/DrawEdge.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/DrawEdge.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/DrawEdge.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/DrawEdge.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/LayoutVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/LayoutVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/LayoutVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/LayoutVisual.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/WorkflowVisual.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/WorkflowVisual.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/WorkflowVisual.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/WorkflowVisual.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/data/DataModel.data.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/data/DataModel.data.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/data/DataModel.data.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/data/DataModel.data.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/data/layout.data.ts b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/data/layout.data.tssimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/data/layout.data.tsrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/data/layout.data.tsdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/data/workflow.data.ts b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/data/workflow.data.tssimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/data/workflow.data.tsrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/data/workflow.data.tsdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/icons/DataModelIcons.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/icons/DataModelIcons.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/icons/DataModelIcons.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/icons/DataModelIcons.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/icons/LayoutIcons.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/icons/LayoutIcons.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/icons/LayoutIcons.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/icons/LayoutIcons.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/icons/WorkflowIcons.tsx b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/icons/WorkflowIcons.tsxsimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/icons/WorkflowIcons.tsxrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/icons/WorkflowIcons.tsxdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/layout-styles.ts b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/layout-styles.tssimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/layout-styles.tsrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/layout-styles.tsdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/stepper-visual-tokens.ts b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/stepper-visual-tokens.tssimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/stepper-visual-tokens.tsrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/stepper-visual-tokens.tsdiff --git a/packages/twenty-website/src/sections/ProductStepper/visuals/use-workflow-animation.ts b/packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/use-workflow-animation.tssimilarity index 100%rename from packages/twenty-website/src/sections/ProductStepper/visuals/use-workflow-animation.tsrename to packages/twenty-website/src/app/[locale]/product/_components/product-stepper/visuals/use-workflow-animation.tsdiff --git a/packages/twenty-website/src/app/[locale]/product/page.tsx b/packages/twenty-website/src/app/[locale]/product/page.tsxindex 13b97e819ab..55fa18de3f4 100644--- a/packages/twenty-website/src/app/[locale]/product/page.tsx+++ b/packages/twenty-website/src/app/[locale]/product/page.tsx@@ -1,42 +1,20 @@-import { APP_PREVIEW_DATA } from '@/app/[locale]/(home)/app-preview.data';-import { AI_HERO_TABS } from '@/app/[locale]/product/ai-hero-tabs.data';-import { FEATURE_TILES } from '@/app/[locale]/product/feature.data';-import { ILLUSTRATION_CARDS } from '@/app/[locale]/product/three-cards.data';-import {- Eyebrow,- Heading,- HeadingPart,- LinkButton,-} from '@/design-system/components';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import {buildBreadcrumbListJsonLd,buildRouteMetadata,JsonLd,} from '@/lib/seo';-import { TalkToUsButton } from '@/sections/ContactCal';-import { Demo } from '@/sections/Demo';-import { Faq, FAQ_QUESTIONS } from '@/sections/Faq';-import { Feature } from '@/sections/Feature';-import { Hero } from '@/sections/Hero';+import { ProductDemo } from '@/app/[locale]/product/_components/ProductDemo';+import { ProductFeature } from '@/app/[locale]/product/_components/feature';+import { Faq } from '@/sections/Faq';+import { ProductHero } from '@/app/[locale]/product/_components/ProductHero';import { Menu, MENU_DATA } from '@/sections/Menu';-import {- ProductStepper,- type ProductStepperStepType,-} from '@/sections/ProductStepper';-import { DataModelVisual } from '@/sections/ProductStepper/visuals/DataModelVisual';-import { LayoutVisual } from '@/sections/ProductStepper/visuals/LayoutVisual';-import { WorkflowVisual } from '@/sections/ProductStepper/visuals/WorkflowVisual';-import { ThreeCards } from '@/sections/ThreeCards';-import { TRUSTED_BY_LOGOS, TrustedBy } from '@/sections/TrustedBy';+import { ProductStepperSection } from '@/app/[locale]/product/_components/product-stepper';+import { ProductThreeCards } from '@/app/[locale]/product/_components/ProductThreeCards';+import { TrustedBy } from '@/sections/TrustedBy';import { theme } from '@/theme';-import { msg } from '@lingui/core/macro';import type { AppLocale } from 'twenty-shared/translations';export const generateMetadata = buildRouteMetadata('product');@@ -52,33 +30,6 @@ export default async function ProductPage({ params }: ProductPageProps) {]);const menuSocialLinks = mergeSocialLinkLabels(MENU_DATA.socialLinks, stats);- const PRODUCT_STEPS: ProductStepperStepType[] = [- {- icon: 'users',- heading: (- <HeadingPart fontFamily="sans">{i18n._(msg`Data model`)}</HeadingPart>- ),- body: msg`Add objects and fields`,- visual: DataModelVisual,- },- {- icon: 'check',- heading: (- <HeadingPart fontFamily="sans">{i18n._(msg`Automation`)}</HeadingPart>- ),- body: msg`Create a workflow`,- visual: WorkflowVisual,- },- {- icon: 'eye',- heading: (- <HeadingPart fontFamily="sans">{i18n._(msg`Layout`)}</HeadingPart>- ),- body: msg`Tailor record pages, menus, and views`,- visual: LayoutVisual,- },- ];-return (<><JsonLd@@ -90,174 +41,24 @@ export default async function ProductPage({ params }: ProductPageProps) {i18n.locale as AppLocale,)}/>- <Menu.Root+ <MenubackgroundColor={theme.colors.primary.background[100]}- scheme="primary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>-- <Hero.HeroVisualScroll- aiBody={i18n._(- msg`Ask questions, automate tasks, and get insights. All powered by AI that understands your data.`,- )}- aiHeading={- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`AI that actually`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="serif">- {i18n._(msg`helps you`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`work faster`)}- </HeadingPart>- </Heading>- }- ctaHref="https://app.twenty.com/welcome"- ctaLabel={i18n._(msg`Get started`)}- introBody={i18n._(- msg`Track relationships, manage pipelines, and take action quickly with a CRM that feels intuitive from day one.`,- )}- introHeading={- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`A CRM for teams`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="serif">- {i18n._(msg`that`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`move fast`)}- </HeadingPart>- </Heading>- }- tabs={AI_HERO_TABS}- visual={APP_PREVIEW_DATA.visual}/>- <TrustedBy.Root- separator={i18n._(msg`trusted by`)}- logos={TRUSTED_BY_LOGOS}- clientCount={i18n._(msg`+10k others`)}- />+ <ProductHero />- <Feature.Root scheme="light">- <Feature.Intro align="center" page={Pages.Product}>- <Eyebrow>- <HeadingPart fontFamily="sans">- {i18n._(msg`Core Features`)}- </HeadingPart>- </Eyebrow>- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`Everything you need,`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`out of the box`)}- </HeadingPart>- </Heading>- </Feature.Intro>- <Feature.Tiles tiles={FEATURE_TILES} />- </Feature.Root>+ <TrustedBy />- <ThreeCards.Root scheme="light">- <ThreeCards.Intro page={Pages.Product} align="left">- <Eyebrow>- <HeadingPart fontFamily="sans">- {i18n._(msg`Stop settling for trade-offs.`)}- </HeadingPart>- </Eyebrow>- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`A modern CRM with`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`an intuitive interface`)}- </HeadingPart>- </Heading>- </ThreeCards.Intro>- <ThreeCards.IllustrationCards illustrationCards={ILLUSTRATION_CARDS} />- </ThreeCards.Root>+ <ProductFeature />- <ProductStepper.Flow- body={i18n._(- msg`Need a quick change? Skip the engineering ticket. Customize your workspace in minutes.`,- )}- eyebrow={i18n._(msg`Customization`)}- steps={PRODUCT_STEPS}- >- <HeadingPart fontFamily="serif">- {i18n._(msg`Go the extra mile`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">{i18n._(msg`with no-code`)}</HeadingPart>- </ProductStepper.Flow>+ <ProductThreeCards />++ <ProductStepperSection />- <Demo.Root>- <Eyebrow>- <HeadingPart fontFamily="sans">- {i18n._(msg`Try it live`)}- </HeadingPart>- </Eyebrow>- <Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`A demo worth a`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`thousand words`)}- </HeadingPart>- </Heading>- <Demo.Cta>- <LinkButton- color="secondary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Try Twenty Cloud`)}- variant="contained"- />- </Demo.Cta>- <Demo.Preview visual={APP_PREVIEW_DATA.visual} />- </Demo.Root>+ <ProductDemo />- <Faq.Root>- <Faq.Intro>- <Eyebrow colorScheme="secondary">- <HeadingPart fontFamily="sans">- {i18n._(msg`Any Questions?`)}- </HeadingPart>- </Eyebrow>- <Faq.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`Stop fighting custom.`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`Start building, with Twenty`)}- </HeadingPart>- </Faq.Heading>- <Faq.Cta>- <LinkButton- color="primary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- <TalkToUsButton- color="primary"- label={msg`Talk to us`}- variant="outlined"- />- </Faq.Cta>- </Faq.Intro>- <Faq.Items questions={FAQ_QUESTIONS} />- </Faq.Root>+ <Faq /></>);}diff --git a/packages/twenty-website/src/app/[locale]/releases/_components/ReleasesHero.tsx b/packages/twenty-website/src/app/[locale]/releases/_components/ReleasesHero.tsxnew file mode 100644index 00000000000..e153b8ce297--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/releases/_components/ReleasesHero.tsx@@ -0,0 +1,41 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { HeadingPart, LinkButton } from '@/design-system/components';+import { GitHubIcon } from '@/icons';+import { getServerI18n } from '@/lib/i18n/server';+import { HeroBody, HeroCta, HeroHeading, HeroSection } from '@/templates/Hero';+import { ReleaseNotesVisual } from '@/sections/Hero';++export function ReleasesHero() {+ const i18n = getServerI18n();++ return (+ <HeroSection scheme="light">+ <HeroHeading size="lg" weight="light">+ <Trans>+ <HeadingPart fontFamily="serif">Latest</HeadingPart>+ <br />+ <HeadingPart fontFamily="sans">Releases</HeadingPart>+ </Trans>+ </HeroHeading>+ <HeroBody maxWidthMd={591} size="sm">+ <Trans>+ Discover the newest features and improvements in Twenty,+ <br />+ the #1 Open Source CRM.+ </Trans>+ </HeroBody>+ <HeroCta>+ <LinkButton+ color="secondary"+ href="https://github.com/twentyhq/twenty/releases"+ label={i18n._(msg`Technical notes`)}+ leadingIcon={<GitHubIcon fillColor="currentColor" size={14} />}+ variant="outlined"+ />+ </HeroCta>+ <ReleaseNotesVisual />+ </HeroSection>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/releases/page.tsx b/packages/twenty-website/src/app/[locale]/releases/page.tsxindex e4fbcff0a2c..b639f592a28 100644--- a/packages/twenty-website/src/app/[locale]/releases/page.tsx+++ b/packages/twenty-website/src/app/[locale]/releases/page.tsx@@ -1,19 +1,17 @@-import { msg } from '@lingui/core/macro';-import { HeadingPart, LinkButton } from '@/design-system/components';-import { GitHubIcon } from '@/icons';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';import { fetchLatestGithubReleaseTag } from '@/lib/releases/fetch-latest-release-tag';import { getVisibleReleaseNotes } from '@/lib/releases/get-visible-releases';import { loadLocalReleaseNotes } from '@/lib/releases/load-local-release-notes';-import { Hero } from '@/sections/Hero';+import { ReleasesHero } from '@/app/[locale]/releases/_components/ReleasesHero';import { Menu, MENU_DATA } from '@/sections/Menu';-import { ReleaseNotes } from '@/sections/ReleaseNotes';+import {+ ReleaseNotesDivider,+ ReleaseNotesEmptyMessage,+ ReleaseNotesReleaseEntry,+ ReleaseNotesSection,+} from '@/sections/ReleaseNotes';import { theme } from '@/theme';import { buildReleaseListJsonLd, buildRouteMetadata, JsonLd } from '@/lib/seo';import { Fragment } from 'react';@@ -28,7 +26,7 @@ type ReleasesPageProps = {export default async function ReleasesPage({ params }: ReleasesPageProps) {const allNotes = loadLocalReleaseNotes();- const [i18n, latestTag, stats] = await Promise.all([+ const [, latestTag, stats] = await Promise.all([getRouteI18n(params),fetchLatestGithubReleaseTag(),fetchCommunityStats(),@@ -53,68 +51,38 @@ export default async function ReleasesPage({ params }: ReleasesPageProps) {href="/illustrations/generated/milestone.jpg"rel="preload"/>- <Menu.Root+ <MenubackgroundColor={theme.colors.primary.background[100]}- scheme="primary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="primary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ />- <Hero.Root scheme="light">- <Hero.Heading page={Pages.ReleaseNotes} size="lg" weight="light">- <HeadingPart fontFamily="serif">{i18n._(msg`Latest`)}</HeadingPart>- <br />- <HeadingPart fontFamily="sans">{i18n._(msg`Releases`)}</HeadingPart>- </Hero.Heading>- <Hero.Body page={Pages.ReleaseNotes} size="sm">- {i18n._(- msg`Discover the newest features and improvements in Twenty,\nthe #1 Open Source CRM.`,- )}- </Hero.Body>- <Hero.Cta>- <LinkButton- color="secondary"- href="https://github.com/twentyhq/twenty/releases"- label={i18n._(msg`Technical notes`)}- leadingIcon={<GitHubIcon fillColor="currentColor" size={14} />}- variant="outlined"- />- </Hero.Cta>- <Hero.ReleaseNotesVisual />- </Hero.Root>+ <ReleasesHero />- <ReleaseNotes.Root>+ <ReleaseNotesSection>{allNotes.length === 0 ? (- <ReleaseNotes.EmptyMessage>+ <ReleaseNotesEmptyMessage>Releases were not found. Add MDX under{' '}<strong>packages/twenty-website/src/content/releases</strong> andimages under{' '}<strong>packages/twenty-website/public/images/releases</strong>.- </ReleaseNotes.EmptyMessage>+ </ReleaseNotesEmptyMessage>) : visibleNotes.length === 0 ? (- <ReleaseNotes.EmptyMessage>+ <ReleaseNotesEmptyMessage>No releases are visible yet for the current published version.- </ReleaseNotes.EmptyMessage>+ </ReleaseNotesEmptyMessage>) : (visibleNotes.map((note, index) => (<Fragment key={note.slug}>- <ReleaseNotes.ReleaseEntry+ <ReleaseNotesReleaseEntrycontent={note.content}date={note.date}release={note.release}/>- {index < visibleNotes.length - 1 ? (- <ReleaseNotes.Divider />- ) : null}+ {index < visibleNotes.length - 1 ? <ReleaseNotesDivider /> : null}</Fragment>)))}- </ReleaseNotes.Root>+ </ReleaseNotesSection></>);}diff --git a/packages/twenty-website/src/app/[locale]/terms/page.tsx b/packages/twenty-website/src/app/[locale]/terms/page.tsxindex 84bec876835..00553aefaa5 100644--- a/packages/twenty-website/src/app/[locale]/terms/page.tsx+++ b/packages/twenty-website/src/app/[locale]/terms/page.tsx@@ -1,7 +1,7 @@import { MENU_DATA } from '@/sections/Menu';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import { LegalDocument } from '@/sections/LegalDocument';+import { LegalDocumentPage } from '@/sections/LegalDocument';import { buildRouteMetadata } from '@/lib/seo';import { TermsDocument } from './_components';@@ -13,11 +13,11 @@ export default async function TermsPage() {const menuSocialLinks = mergeSocialLinkLabels(MENU_DATA.socialLinks, stats);return (- <LegalDocument.Page+ <LegalDocumentPagemenuData={{ navItems: MENU_DATA.navItems, socialLinks: menuSocialLinks }}title="Terms of Service"><TermsDocument />- </LegalDocument.Page>+ </LegalDocumentPage>);}diff --git a/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyHero.tsx b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyHero.tsxnew file mode 100644index 00000000000..a7a31b6d597--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyHero.tsx@@ -0,0 +1,34 @@+import { Trans } from '@lingui/react/macro';+import { css } from '@linaria/core';++import { HeadingPart } from '@/design-system/components';+import { HeroBody, HeroHeading, HeroSection } from '@/templates/Hero';+import { WhyTwentyVisual } from '@/sections/Hero';+import { theme } from '@/theme';++const headingClassName = css`+ color: ${theme.colors.secondary.text[100]};+`;++export function WhyTwentyHero() {+ return (+ <HeroSection scheme="dark">+ <HeroHeading className={headingClassName} size="xl">+ <Trans>+ <HeadingPart fontFamily="serif">+ The future of CRM is built,+ </HeadingPart>+ <HeadingPart fontFamily="sans">not bought.</HeadingPart>+ </Trans>+ </HeroHeading>+ <HeroBody maxWidthMd={443}>+ <Trans>+ CRM was a database you filled on Fridays. AI turned it into the system+ that runs your go-to-market. To differentiate, you have to build what+ your competitors can't buy.+ </Trans>+ </HeroBody>+ <WhyTwentyVisual />+ </HeroSection>+ );+}diff --git a/packages/twenty-website/src/sections/Marquee/Marquee.tsx b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyMarquee.tsxsimilarity index 78%rename from packages/twenty-website/src/sections/Marquee/Marquee.tsxrename to packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyMarquee.tsxindex 9a588a3ddb2..681c3e65ea3 100644--- a/packages/twenty-website/src/sections/Marquee/Marquee.tsx+++ b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyMarquee.tsx@@ -1,11 +1,8 @@-import { theme } from '@/theme';+import { Trans } from '@lingui/react/macro';import { styled } from '@linaria/react';import type { ReactNode } from 'react';-export type MarqueeSegment = {- fontFamily: string;- text: ReactNode;-};+import { theme } from '@/theme';const MARQUEE_REPEAT = 6;@@ -16,16 +13,6 @@ const StyledSection = styled.section`padding-top: ${theme.spacing(20)};width: 100%;- &[data-scheme='light'] {- background-color: var(--color-white);- color: var(--color-text);- }-- &[data-scheme='muted'] {- background-color: var(--color-neutral);- color: var(--color-text);- }-&[data-scheme='dark'] {background-color: var(--color-black);color: var(--color-text);@@ -111,14 +98,12 @@ const Segment = styled.span`}`;-type Scheme = 'light' | 'muted' | 'dark';--function Phrase({ segments }: { segments: MarqueeSegment[] }) {+function Phrase({ segments }: { segments: ReactNode[] }) {return (<PhraseGroup>{segments.map((segment, segmentIndex) => (<Segment key={segmentIndex} data-segment-index={segmentIndex}>- {segment.text}+ {segment}</Segment>))}</PhraseGroup>@@ -129,7 +114,7 @@ function Track({segments,reversed,}: {- segments: MarqueeSegment[];+ segments: ReactNode[];reversed: boolean;}) {const phrases = Array.from({ length: MARQUEE_REPEAT }, (_, index) => (@@ -144,19 +129,16 @@ function Track({);}-type RootProps = {- backgroundColor?: string;- color?: string;- segments: MarqueeSegment[];- scheme?: Scheme;-};+// Segment styling is positional via data-segment-index.+export function WhyTwentyMarquee() {+ const segments: ReactNode[] = [+ <Trans>Same CRM</Trans>,+ <Trans>Same output</Trans>,+ <Trans>Same results</Trans>,+ ];-function Root({ backgroundColor, color, segments, scheme }: RootProps) {return (- <StyledSection- data-scheme={scheme}- style={scheme ? undefined : { backgroundColor, color }}- >+ <StyledSection data-scheme="dark"><Viewport><Row><Track segments={segments} reversed={false} />@@ -168,5 +150,3 @@ function Root({ backgroundColor, color, segments, scheme }: RootProps) {</StyledSection>);}--export const Marquee = { Root };diff --git a/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyMeaningEditorial.tsx b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyMeaningEditorial.tsxnew file mode 100644index 00000000000..13dc901e6e0--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyMeaningEditorial.tsx@@ -0,0 +1,42 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { HeadingPart } from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { Editorial } from '@/templates/Editorial';+import { theme } from '@/theme';++export function WhyTwentyMeaningEditorial() {+ const i18n = getServerI18n();++ return (+ <Editorial+ scheme="dark"+ crosshair={{+ crossX: '120px',+ crossY: '0px',+ lineColor: theme.colors.secondary.border[10],+ }}+ introAlign="right"+ eyebrowColorScheme="secondary"+ eyebrow={i18n._(msg`What this means`)}+ heading={+ <Trans>+ <HeadingPart fontFamily="serif">Differentiation now</HeadingPart>+ <HeadingPart fontFamily="sans">+ lives in the code you own.+ </HeadingPart>+ </Trans>+ }+ bodyLayout="two-column-right"+ bodyParagraphs={[+ i18n._(+ msg`You don't buy your deployment pipeline off the shelf. You don't rent your data warehouse from a vendor who decides the schema. You build it, you own it, you iterate on it every week. CRM is going the same way. The teams that treat it as infrastructure they own will compound an advantage every quarter.`,+ ),+ i18n._(+ msg`Tuesday your team learns that deals with a technical champion close 3x faster. Wednesday you add the field, wire up the scoring, adjust the workflow. By Thursday your agents are acting on it. That feedback loop is the edge. And it only works if the CRM is yours.`,+ ),+ ]}+ />+ );+}diff --git a/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyOpportunityEditorial.tsx b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyOpportunityEditorial.tsxnew file mode 100644index 00000000000..04d3d09231d--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyOpportunityEditorial.tsx@@ -0,0 +1,43 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { HeadingPart } from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { Editorial } from '@/templates/Editorial';+import { theme } from '@/theme';++export function WhyTwentyOpportunityEditorial() {+ const i18n = getServerI18n();++ return (+ <Editorial+ scheme="dark"+ crosshair={{+ crossX: 'calc(100% - 120px)',+ crossY: '0px',+ lineColor: theme.colors.secondary.border[10],+ }}+ eyebrowColorScheme="secondary"+ eyebrow={i18n._(msg`The opportunity`)}+ heading={+ <Trans>+ <HeadingPart fontFamily="serif">+ Build it in an afternoon.+ </HeadingPart>+ <HeadingPart fontFamily="sans">+ AI made the gap that small.+ </HeadingPart>+ </Trans>+ }+ bodyLayout="two-column-left"+ bodyParagraphs={[+ i18n._(+ msg`A year ago, customizing your CRM meant hiring a Salesforce consultant, learning Apex, waiting months. The gap between "I want this" and "it's live" was measured in quarters and invoices. So people settled. They bent their process to fit the tool and called it adoption.`,+ ),+ i18n._(+ msg`Now a developer can describe what they want to Claude Code and have a working app in an afternoon. A custom object, a scoring workflow, a new view, an integration. The bottleneck isn't building anymore. It's whether your platform lets you.`,+ ),+ ]}+ />+ );+}diff --git a/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyShiftEditorial.tsx b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyShiftEditorial.tsxnew file mode 100644index 00000000000..8bc0d2d35ba--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentyShiftEditorial.tsx@@ -0,0 +1,41 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { HeadingPart } from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { Editorial } from '@/templates/Editorial';+import { theme } from '@/theme';++export function WhyTwentyShiftEditorial() {+ const i18n = getServerI18n();++ return (+ <Editorial+ scheme="dark"+ crosshair={{+ crossX: 'calc(100% - 120px)',+ crossY: '0px',+ lineColor: theme.colors.secondary.border[10],+ }}+ eyebrowColorScheme="secondary"+ eyebrow={i18n._(msg`The shift`)}+ heading={+ <Trans>+ <HeadingPart fontFamily="serif">CRM was a ledger.</HeadingPart>+ <HeadingPart fontFamily="sans">+ AI turned it into an operating system.+ </HeadingPart>+ </Trans>+ }+ bodyLayout="two-column-left"+ bodyParagraphs={[+ i18n._(+ msg`For twenty years, CRM meant the same thing: a place to log calls, track deals, and pull reports on Friday. The real work happened in people's heads, in Slack threads, in hallway conversations. The CRM kept score. Nobody expected more from it.`,+ ),+ i18n._(+ msg`AI agents are starting to draft outreach, score leads, research accounts, write follow-ups, update deal stages. Every one of these actions reads from and writes to the CRM. The scoreboard became the playbook. The database became the brain.`,+ ),+ ]}+ />+ );+}diff --git a/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentySignoff.tsx b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentySignoff.tsxnew file mode 100644index 00000000000..71e339a5199--- /dev/null+++ b/packages/twenty-website/src/app/[locale]/why-twenty/_components/WhyTwentySignoff.tsx@@ -0,0 +1,32 @@+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';++import { HeadingPart, LinkButton } from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';+import { Signoff } from '@/templates/Signoff';++export function WhyTwentySignoff() {+ const i18n = getServerI18n();++ return (+ <Signoff+ scheme="dark"+ heading={+ <Trans>+ <HeadingPart fontFamily="serif">+ Build a CRM your competitors+ </HeadingPart>+ <HeadingPart fontFamily="sans">can't buy.</HeadingPart>+ </Trans>+ }+ body={<Trans>Open-source, AI-ready, and yours to shape.</Trans>}+ >+ <LinkButton+ color="primary"+ href="https://app.twenty.com/welcome"+ label={i18n._(msg`Get started`)}+ variant="contained"+ />+ </Signoff>+ );+}diff --git a/packages/twenty-website/src/app/[locale]/why-twenty/page.tsx b/packages/twenty-website/src/app/[locale]/why-twenty/page.tsxindex 5f7b1d4eac2..c53b77c193d 100644--- a/packages/twenty-website/src/app/[locale]/why-twenty/page.tsx+++ b/packages/twenty-website/src/app/[locale]/why-twenty/page.tsx@@ -1,59 +1,15 @@-import { msg } from '@lingui/core/macro';-import { HeadingPart, LinkButton } from '@/design-system/components';import { fetchCommunityStats } from '@/lib/community/fetch-community-stats';-import {- getRouteI18n,- type LocaleRouteParams,-} from '@/lib/i18n/utils/get-route-i18n';-import { Pages } from '@/lib/pages';+import { getRouteI18n, type LocaleRouteParams } from '@/lib/i18n/server';import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels';-import { Editorial } from '@/sections/Editorial';-import { Hero } from '@/sections/Hero';-import { Marquee } from '@/sections/Marquee';+import { WhyTwentyMarquee } from '@/app/[locale]/why-twenty/_components/WhyTwentyMarquee';+import { WhyTwentyHero } from '@/app/[locale]/why-twenty/_components/WhyTwentyHero';+import { WhyTwentyMeaningEditorial } from '@/app/[locale]/why-twenty/_components/WhyTwentyMeaningEditorial';+import { WhyTwentyOpportunityEditorial } from '@/app/[locale]/why-twenty/_components/WhyTwentyOpportunityEditorial';+import { WhyTwentyShiftEditorial } from '@/app/[locale]/why-twenty/_components/WhyTwentyShiftEditorial';import { Menu, MENU_DATA } from '@/sections/Menu';-import { Signoff } from '@/sections/Signoff';+import { WhyTwentySignoff } from '@/app/[locale]/why-twenty/_components/WhyTwentySignoff';import { theme } from '@/theme';import { buildRouteMetadata } from '@/lib/seo';-import { css } from '@linaria/core';--const editorialOneIntroClass = css`- margin-bottom: ${theme.spacing(4)};- --editorial-heading-max-width: 760px;- --editorial-intro-max-width: 760px;-- @media (min-width: ${theme.breakpoints.md}px) {- margin-bottom: ${theme.spacing(8)};- }-`;--const editorialRightIntroClass = css`- margin-bottom: ${theme.spacing(4)};- --editorial-heading-max-width: 760px;- --editorial-intro-max-width: 760px;-- @media (min-width: ${theme.breakpoints.md}px) {- align-items: flex-end;- margin-bottom: ${theme.spacing(8)};- margin-left: auto;- margin-right: 0;- text-align: right;- width: auto;- }-`;--const crosshairLineColor = theme.colors.secondary.border[10];--const sectionCrosshairLeft = {- crossX: '120px',- crossY: '0px',- lineColor: crosshairLineColor,-};--const sectionCrosshairRight = {- crossX: 'calc(100% - 120px)',- crossY: '0px',- lineColor: crosshairLineColor,-};export const generateMetadata = buildRouteMetadata('whyTwenty');@@ -62,7 +18,9 @@ type WhyTwentyPageProps = {};export default async function WhyTwentyPage({ params }: WhyTwentyPageProps) {- const [i18n, stats] = await Promise.all([+ // getRouteI18n sets the request-scoped i18n context the page's components+ // read; the page renders no copy of its own, so the instance is unused here.+ const [, stats] = await Promise.all([getRouteI18n(params),fetchCommunityStats(),]);@@ -80,135 +38,23 @@ export default async function WhyTwentyPage({ params }: WhyTwentyPageProps) {href="/illustrations/why-twenty/hero/hero.glb"rel="preload"/>- <Menu.Root+ <MenubackgroundColor={theme.colors.secondary.background[100]}scheme="secondary"- navItems={MENU_DATA.navItems}socialLinks={menuSocialLinks}- >- <Menu.Logo scheme="secondary" />- <Menu.Nav scheme="secondary" navItems={MENU_DATA.navItems} />- <Menu.Social scheme="secondary" socialLinks={menuSocialLinks} />- <Menu.Cta scheme="secondary" />- </Menu.Root>+ />- <Hero.Root scheme="dark">- <Hero.Heading page={Pages.WhyTwenty} size="xl">- <HeadingPart fontFamily="serif">- {i18n._(msg`The future of CRM is built,`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`not bought.`)}- </HeadingPart>- </Hero.Heading>- <Hero.Body page={Pages.WhyTwenty}>- {i18n._(- msg`CRM was a database you filled on Fridays. AI turned it into the system that runs your go-to-market. To differentiate, you have to build what your competitors can't buy.`,- )}- </Hero.Body>- <Hero.WhyTwentyVisual />- </Hero.Root>+ <WhyTwentyHero />- <Editorial.Root scheme="dark" crosshair={sectionCrosshairRight}>- <Editorial.Intro className={editorialOneIntroClass}>- <Editorial.Eyebrow colorScheme="secondary">- {i18n._(msg`The shift`)}- </Editorial.Eyebrow>- <Editorial.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`CRM was a ledger.`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`AI turned it into an operating system.`)}- </HeadingPart>- </Editorial.Heading>- </Editorial.Intro>- <Editorial.Body layout="two-column-left">- {i18n._(- msg`For twenty years, CRM meant the same thing: a place to log calls, track deals, and pull reports on Friday. The real work happened in people's heads, in Slack threads, in hallway conversations. The CRM kept score. Nobody expected more from it.`,- )}- {i18n._(- msg`AI agents are starting to draft outreach, score leads, research accounts, write follow-ups, update deal stages. Every one of these actions reads from and writes to the CRM. The scoreboard became the playbook. The database became the brain.`,- )}- </Editorial.Body>- </Editorial.Root>+ <WhyTwentyShiftEditorial />- <Editorial.Root scheme="dark" crosshair={sectionCrosshairLeft}>- <Editorial.Intro className={editorialRightIntroClass}>- <Editorial.Eyebrow colorScheme="secondary">- {i18n._(msg`What this means`)}- </Editorial.Eyebrow>- <Editorial.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`Differentiation now`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`lives in the code you own.`)}- </HeadingPart>- </Editorial.Heading>- </Editorial.Intro>- <Editorial.Body layout="two-column-right">- {i18n._(- msg`You don't buy your deployment pipeline off the shelf. You don't rent your data warehouse from a vendor who decides the schema. You build it, you own it, you iterate on it every week. CRM is going the same way. The teams that treat it as infrastructure they own will compound an advantage every quarter.`,- )}- {i18n._(- msg`Tuesday your team learns that deals with a technical champion close 3x faster. Wednesday you add the field, wire up the scoring, adjust the workflow. By Thursday your agents are acting on it. That feedback loop is the edge. And it only works if the CRM is yours.`,- )}- </Editorial.Body>- </Editorial.Root>+ <WhyTwentyMeaningEditorial />- <Editorial.Root scheme="dark" crosshair={sectionCrosshairRight}>- <Editorial.Intro className={editorialOneIntroClass}>- <Editorial.Eyebrow colorScheme="secondary">- {i18n._(msg`The opportunity`)}- </Editorial.Eyebrow>- <Editorial.Heading>- <HeadingPart fontFamily="serif">- {i18n._(msg`Build it in an afternoon.`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">- {i18n._(msg`AI made the gap that small.`)}- </HeadingPart>- </Editorial.Heading>- </Editorial.Intro>- <Editorial.Body layout="two-column-left">- {i18n._(- msg`A year ago, customizing your CRM meant hiring a Salesforce consultant, learning Apex, waiting months. The gap between "I want this" and "it's live" was measured in quarters and invoices. So people settled. They bent their process to fit the tool and called it adoption.`,- )}- {i18n._(- msg`Now a developer can describe what they want to Claude Code and have a working app in an afternoon. A custom object, a scoring workflow, a new view, an integration. The bottleneck isn't building anymore. It's whether your platform lets you.`,- )}- </Editorial.Body>- </Editorial.Root>+ <WhyTwentyOpportunityEditorial />- <Marquee.Root- scheme="dark"- segments={[- { fontFamily: 'serif', text: i18n._(msg`Same CRM`) },- { fontFamily: 'sans', text: i18n._(msg`Same output`) },- { fontFamily: 'serif', text: i18n._(msg`Same results`) },- ]}- />+ <WhyTwentyMarquee />- <Signoff.Root scheme="dark" page={Pages.WhyTwenty}>- <Signoff.Heading page={Pages.WhyTwenty}>- <HeadingPart fontFamily="serif">- {i18n._(msg`Build a CRM your competitors`)}- </HeadingPart>{' '}- <HeadingPart fontFamily="sans">{i18n._(msg`can't buy.`)}</HeadingPart>- </Signoff.Heading>- <Signoff.Body page={Pages.WhyTwenty}>- {i18n._(msg`Open-source, AI-ready, and yours to shape.`)}- </Signoff.Body>- <Signoff.Cta>- <LinkButton- color="primary"- href="https://app.twenty.com/welcome"- label={i18n._(msg`Get started`)}- variant="contained"- />- </Signoff.Cta>- </Signoff.Root>+ <WhyTwentySignoff /></>);}diff --git a/packages/twenty-website/src/app/sitemap.ts b/packages/twenty-website/src/app/sitemap.tsindex a21f0dc0957..3c04d0e8eed 100644--- a/packages/twenty-website/src/app/sitemap.ts+++ b/packages/twenty-website/src/app/sitemap.ts@@ -1,7 +1,7 @@import type { MetadataRoute } from 'next';import { SOURCE_LOCALE, type AppLocale } from 'twenty-shared/translations';-import { PUBLIC_APP_LOCALE_LIST, localeToUrlSegment } from '@/lib/i18n';+import { WEBSITE_LOCALE_LIST, localeToUrlSegment } from '@/lib/i18n';import { getSiteUrl } from '@/lib/seo';import {getIndexedWebsiteRoutes,@@ -19,7 +19,7 @@ const buildLocalizedUrl = (locale: AppLocale, path: string): string => {};const getRouteLocales = (route: WebsiteRoute): readonly AppLocale[] =>- route.localeMode === 'source' ? [SOURCE_LOCALE] : PUBLIC_APP_LOCALE_LIST;+ route.localeMode === 'source' ? [SOURCE_LOCALE] : WEBSITE_LOCALE_LIST;const buildLanguageAlternates = (path: string,diff --git a/packages/twenty-website/src/design-system/components/Heading.tsx b/packages/twenty-website/src/design-system/components/Heading.tsxindex 1eb0d84eb46..dfd1796ca67 100644--- a/packages/twenty-website/src/design-system/components/Heading.tsx+++ b/packages/twenty-website/src/design-system/components/Heading.tsx@@ -72,6 +72,10 @@ const headingRootClassName = css``;const StyledSpan = styled.span`+ &::after {+ content: ' ';+ }+&[data-family='sans'] {font-family: ${theme.font.family.sans};letter-spacing: -0.04em;diff --git a/packages/twenty-website/src/design-system/components/ResponsiveLineBreak.tsx b/packages/twenty-website/src/design-system/components/ResponsiveLineBreak.tsxnew file mode 100644index 00000000000..bfefead2a83--- /dev/null+++ b/packages/twenty-website/src/design-system/components/ResponsiveLineBreak.tsx@@ -0,0 +1,16 @@+import { styled } from '@linaria/react';++import { theme } from '@/theme';++// A line break that only renders at md and up. Lets copy carry an optional+// desktop-only break as a structural element a translator can position inside+// a <Trans> unit, instead of coupling the break to the copy via a hard \n plus+// `white-space: pre-line` on the container (which forces translators to manage+// the newline themselves).+export const ResponsiveLineBreak = styled.br`+ display: none;++ @media (min-width: ${theme.breakpoints.md}px) {+ display: revert;+ }+`;diff --git a/packages/twenty-website/src/design-system/components/index.ts b/packages/twenty-website/src/design-system/components/index.tsindex 2ac9e37c4a0..497ca3f085f 100644--- a/packages/twenty-website/src/design-system/components/index.ts+++ b/packages/twenty-website/src/design-system/components/index.ts@@ -18,4 +18,5 @@ export type {} from './Layout';export { MarkdownProse } from './MarkdownProse';export { Modal } from './Modal';+export { ResponsiveLineBreak } from './ResponsiveLineBreak';export { StepperProgressRail } from './StepperProgressRail';diff --git a/packages/twenty-website/src/lib/i18n/components/LocalizedLinkButton.tsx b/packages/twenty-website/src/lib/i18n/LocalizedLink.tsxsimilarity index 64%rename from packages/twenty-website/src/lib/i18n/components/LocalizedLinkButton.tsxrename to packages/twenty-website/src/lib/i18n/LocalizedLink.tsxindex fa52857a55b..643fbc65f85 100644--- a/packages/twenty-website/src/lib/i18n/components/LocalizedLinkButton.tsx+++ b/packages/twenty-website/src/lib/i18n/LocalizedLink.tsx@@ -7,8 +7,21 @@ import {} from '@/design-system/components/Button/BaseButton';import type { LinkButtonType } from '@/design-system/components/Button/types/link-button-type';import { styled } from '@linaria/react';+import Link from 'next/link';+import { type ComponentProps } from 'react';-import { LocalizedLink } from './LocalizedLink';+import { useLocale } from './client';+import { localizeHref } from './locales';++type LocalizedLinkProps = Omit<ComponentProps<typeof Link>, 'href'> & {+ href: string;+};++export const LocalizedLink = ({ href, ...rest }: LocalizedLinkProps) => {+ const locale = useLocale();+ // oxlint-disable-next-line eslint-plugin-react(jsx-props-no-spreading)+ return <Link href={localizeHref(locale, href)} {...rest} />;+};const StyledButtonLink = styled(LocalizedLink)`${buttonBaseStyles}diff --git a/packages/twenty-website/src/lib/i18n/__tests__/detect-locale.test.ts b/packages/twenty-website/src/lib/i18n/__tests__/detect-locale.test.tsdeleted file mode 100644index 8af84c0c4c3..00000000000--- a/packages/twenty-website/src/lib/i18n/__tests__/detect-locale.test.ts+++ /dev/null@@ -1,73 +0,0 @@-import { detectLocale } from '../utils/detect-locale';--describe('detectLocale', () => {- it('returns the cookie value when it is a published website locale', () => {- expect(- detectLocale({- cookieValue: 'en',- acceptLanguageHeader: 'de-DE,de;q=0.9',- }),- ).toBe('en');- });-- it('ignores unsupported cookie and Accept-Language values', () => {- expect(- detectLocale({- cookieValue: 'xx-YY',- acceptLanguageHeader: 'de-DE,de;q=0.9',- }),- ).toBe('en');- });-- it('matches the highest-quality published Accept-Language entry first', () => {- expect(- detectLocale({- acceptLanguageHeader: 'en;q=0.5,fr-FR;q=0.9,de;q=0.7',- }),- ).toBe('fr-FR');- });-- it('matches a regional language to a published locale with the same language subtag', () => {- expect(- detectLocale({- acceptLanguageHeader: 'fr-CA',- }),- ).toBe('fr-FR');- });-- it('falls back to the source locale when a bare language is not published', () => {- expect(- detectLocale({- acceptLanguageHeader: 'pt;q=1.0,en;q=0.5',- }),- ).toBe('en');- });-- it('returns the source locale when no input is provided', () => {- expect(detectLocale({})).toBe('en');- });-- it('returns the source locale when nothing in Accept-Language is supported', () => {- expect(- detectLocale({- acceptLanguageHeader: 'xx-YY,zz-ZZ;q=0.5',- }),- ).toBe('en');- });-- it('treats a malformed quality value as zero (deprioritized)', () => {- expect(- detectLocale({- acceptLanguageHeader: 'fr-FR;q=not-a-number,de-DE;q=0.5',- }),- ).toBe('en');- });-- it('parses quality values when parameters carry leading whitespace around the semicolon', () => {- expect(- detectLocale({- acceptLanguageHeader: 'en;q=0.1, fr-FR ; q=0.9, de-DE ; q=0.5',- }),- ).toBe('fr-FR');- });-});diff --git a/packages/twenty-website/src/lib/i18n/__tests__/locale-display-names.test.ts b/packages/twenty-website/src/lib/i18n/__tests__/locale-display-names.test.tsindex a78daea203b..a0aac9f1e85 100644--- a/packages/twenty-website/src/lib/i18n/__tests__/locale-display-names.test.ts+++ b/packages/twenty-website/src/lib/i18n/__tests__/locale-display-names.test.ts@@ -1,7 +1,4 @@-import {- getEnglishLocaleName,- getNativeLocaleName,-} from '../utils/locale-display-names';+import { getEnglishLocaleName, getNativeLocaleName } from '../locales';describe('getNativeLocaleName', () => {it('returns the language name in its own language with the first character upper-cased', () => {diff --git a/packages/twenty-website/src/lib/i18n/__tests__/localize-href.test.ts b/packages/twenty-website/src/lib/i18n/__tests__/localize-href.test.tsindex 52aae589a61..f5d6475fa35 100644--- a/packages/twenty-website/src/lib/i18n/__tests__/localize-href.test.ts+++ b/packages/twenty-website/src/lib/i18n/__tests__/localize-href.test.ts@@ -1,4 +1,4 @@-import { localizeHref, stripLocale } from '../utils/localize-href';+import { localizeHref, stripLocale } from '../locales';describe('localizeHref', () => {it('does not emit locale prefixes for locales the website does not publish yet', () => {diff --git a/packages/twenty-website/src/lib/i18n/client.tsx b/packages/twenty-website/src/lib/i18n/client.tsxnew file mode 100644index 00000000000..9964c12d1f1--- /dev/null+++ b/packages/twenty-website/src/lib/i18n/client.tsx@@ -0,0 +1,55 @@+'use client';++import { setupI18n, type Messages } from '@lingui/core';+import { I18nProvider as LinguiI18nProvider } from '@lingui/react';+import { usePathname } from 'next/navigation';+import { createContext, useContext, useMemo, type ReactNode } from 'react';+import { type AppLocale } from 'twenty-shared/translations';++import { stripLocale } from './locales';++// Client-side i18n: the locale context, its provider, and the hooks that read+// it. The layout (a server component) loads the catalog and passes `messages`+// in as a prop, so this module never imports the catalogs itself.++const LocaleContext = createContext<AppLocale | null>(null);++type I18nProviderProps = {+ locale: AppLocale;+ messages: Messages;+ children: ReactNode;+};++export const I18nProvider = ({+ locale,+ messages,+ children,+}: I18nProviderProps) => {+ const i18n = useMemo(() => {+ const instance = setupI18n();+ instance.load(locale, messages);+ instance.activate(locale);+ return instance;+ }, [locale, messages]);++ return (+ <LocaleContext.Provider value={locale}>+ <LinguiI18nProvider i18n={i18n}>{children}</LinguiI18nProvider>+ </LocaleContext.Provider>+ );+};++export const useLocale = (): AppLocale => {+ const locale = useContext(LocaleContext);+ if (locale === null) {+ throw new Error(+ 'useLocale must be used inside an I18nProvider (mounted by [locale]/layout.tsx)',+ );+ }+ return locale;+};++export const useUnlocalizedPathname = (): string => {+ const pathname = usePathname();+ return stripLocale(pathname ?? '');+};diff --git a/packages/twenty-website/src/lib/i18n/components/I18nProvider.tsx b/packages/twenty-website/src/lib/i18n/components/I18nProvider.tsxdeleted file mode 100644index c36e89754f9..00000000000--- a/packages/twenty-website/src/lib/i18n/components/I18nProvider.tsx+++ /dev/null@@ -1,33 +0,0 @@-'use client';--import { setupI18n, type Messages } from '@lingui/core';-import { I18nProvider as LinguiI18nProvider } from '@lingui/react';-import { useMemo, type ReactNode } from 'react';-import { type AppLocale } from 'twenty-shared/translations';--import { LocaleContext } from './LocaleContext';--type I18nProviderProps = {- locale: AppLocale;- messages: Messages;- children: ReactNode;-};--export const I18nProvider = ({- locale,- messages,- children,-}: I18nProviderProps) => {- const i18n = useMemo(() => {- const instance = setupI18n();- instance.load(locale, messages);- instance.activate(locale);- return instance;- }, [locale, messages]);-- return (- <LocaleContext.Provider value={locale}>- <LinguiI18nProvider i18n={i18n}>{children}</LinguiI18nProvider>- </LocaleContext.Provider>- );-};diff --git a/packages/twenty-website/src/lib/i18n/components/LocaleContext.tsx b/packages/twenty-website/src/lib/i18n/components/LocaleContext.tsxdeleted file mode 100644index ecb53d808a8..00000000000--- a/packages/twenty-website/src/lib/i18n/components/LocaleContext.tsx+++ /dev/null@@ -1,6 +0,0 @@-'use client';--import { createContext } from 'react';-import { type AppLocale } from 'twenty-shared/translations';--export const LocaleContext = createContext<AppLocale | null>(null);diff --git a/packages/twenty-website/src/lib/i18n/components/LocalizedLink.tsx b/packages/twenty-website/src/lib/i18n/components/LocalizedLink.tsxdeleted file mode 100644index aa774988b1f..00000000000--- a/packages/twenty-website/src/lib/i18n/components/LocalizedLink.tsx+++ /dev/null@@ -1,17 +0,0 @@-'use client';--import Link from 'next/link';-import { type ComponentProps } from 'react';--import { localizeHref } from '../utils/localize-href';-import { useLocale } from '../hooks/use-locale';--type LocalizedLinkProps = Omit<ComponentProps<typeof Link>, 'href'> & {- href: string;-};--export const LocalizedLink = ({ href, ...rest }: LocalizedLinkProps) => {- const locale = useLocale();- // oxlint-disable-next-line eslint-plugin-react(jsx-props-no-spreading)- return <Link href={localizeHref(locale, href)} {...rest} />;-};diff --git a/packages/twenty-website/src/lib/i18n/hooks/use-locale.ts b/packages/twenty-website/src/lib/i18n/hooks/use-locale.tsdeleted file mode 100644index 8b900302930..00000000000--- a/packages/twenty-website/src/lib/i18n/hooks/use-locale.ts+++ /dev/null@@ -1,16 +0,0 @@-'use client';--import { useContext } from 'react';-import { type AppLocale } from 'twenty-shared/translations';--import { LocaleContext } from '../components/LocaleContext';--export const useLocale = (): AppLocale => {- const locale = useContext(LocaleContext);- if (locale === null) {- throw new Error(- 'useLocale must be used inside a LocaleContext.Provider (mounted by [locale]/layout.tsx)',- );- }- return locale;-};diff --git a/packages/twenty-website/src/lib/i18n/hooks/use-unlocalized-pathname.ts b/packages/twenty-website/src/lib/i18n/hooks/use-unlocalized-pathname.tsdeleted file mode 100644index 363da47d41a..00000000000--- a/packages/twenty-website/src/lib/i18n/hooks/use-unlocalized-pathname.ts+++ /dev/null@@ -1,10 +0,0 @@-'use client';--import { usePathname } from 'next/navigation';--import { stripLocale } from '../utils/localize-href';--export const useUnlocalizedPathname = (): string => {- const pathname = usePathname();- return stripLocale(pathname ?? '');-};diff --git a/packages/twenty-website/src/lib/i18n/index.ts b/packages/twenty-website/src/lib/i18n/index.tsindex f0495947374..2c007ccabe5 100644--- a/packages/twenty-website/src/lib/i18n/index.ts+++ b/packages/twenty-website/src/lib/i18n/index.ts@@ -1,30 +1,20 @@+// Public, everywhere-safe i18n surface (pure helpers + client components).+// Server-only runtime (getRouteI18n / getServerI18n / setServerI18n /+// createI18nInstance / getLocaleMessages) lives in `@/lib/i18n/server` and is+// intentionally NOT re-exported here so this barrel stays client-safe.+export {- APP_LOCALE_BY_LANGUAGE,- APP_LOCALE_BY_RAW,- APP_LOCALE_LIST,- KNOWN_PUBLIC_APP_LOCALE_BY_RAW,- KNOWN_PUBLIC_APP_LOCALE_LIST,- PUBLIC_APP_LOCALE_LIST,WEBSITE_LOCALE_LIST,- isPublicAppLocale,-} from './utils/app-locale-set';-export { createI18nInstance } from './utils/create-i18n-instance';-export { getServerI18n } from './utils/get-server-i18n';-export { detectLocale, LOCALE_COOKIE_NAME } from './utils/detect-locale';-export { getRouteI18n, type LocaleRouteParams } from './utils/get-route-i18n';-export { I18nProvider } from './components/I18nProvider';-export { LocaleContext } from './components/LocaleContext';-export { LocalizedLink } from './components/LocalizedLink';-export { LocalizedLinkButton } from './components/LocalizedLinkButton';-export { localizeHref, stripLocale } from './utils/localize-href';-export {- getEnglishLocaleName,- getNativeLocaleName,-} from './utils/locale-display-names';-export { resolveLocaleParam } from './utils/resolve-locale-param';-export {- LOCALE_BY_URL_SEGMENT,+ isWebsiteLocale,localeToUrlSegment,-} from './utils/website-locale-segments';-export { useLocale } from './hooks/use-locale';-export { useUnlocalizedPathname } from './hooks/use-unlocalized-pathname';+ resolveLocaleParam,+ localizeHref,+ stripLocale,+ getNativeLocaleName,+ getEnglishLocaleName,+ getMessageDescriptorSource,+} from './locales';++export { I18nProvider, useLocale, useUnlocalizedPathname } from './client';++export { LocalizedLink, LocalizedLinkButton } from './LocalizedLink';diff --git a/packages/twenty-website/src/lib/i18n/locales.ts b/packages/twenty-website/src/lib/i18n/locales.tsnew file mode 100644index 00000000000..d8b529749cc--- /dev/null+++ b/packages/twenty-website/src/lib/i18n/locales.ts@@ -0,0 +1,131 @@+import type { MessageDescriptor } from '@lingui/core';+import { notFound } from 'next/navigation';+import {+ APP_LOCALES,+ SOURCE_LOCALE,+ type AppLocale,+} from 'twenty-shared/translations';++// Pure, catalog-free, isomorphic locale helpers. Safe to import from both+// server and client code (it never pulls in the compiled message catalogs).++// ---------------------------------------------------------------------------+// Source of truth+// ---------------------------------------------------------------------------+// Website localization is rolled out separately from the app (its own Crowdin+// project), expanding toward the full twenty-shared locale set over time. This+// list is THE source: URL segments, generateStaticParams, next.config+// rewrites, hreflang, and the sitemap all derive from it. To add a locale:+// append it here (+ a URL-segment override below if it needs one) and run+// lingui:compile — messages.ts then fails the build until its catalog exists.+export const WEBSITE_LOCALE_LIST = [+ SOURCE_LOCALE,+ APP_LOCALES['fr-FR'],+ APP_LOCALES['es-ES'],+] as const satisfies readonly AppLocale[];++const WEBSITE_LOCALE_SET: ReadonlySet<AppLocale> = new Set(WEBSITE_LOCALE_LIST);++export const isWebsiteLocale = (locale: AppLocale): boolean =>+ WEBSITE_LOCALE_SET.has(locale);++// ---------------------------------------------------------------------------+// URL segment mapping (locale code <-> path prefix)+// ---------------------------------------------------------------------------+// The source locale is served unprefixed; regional codes get a short segment.+const URL_SEGMENT_OVERRIDES: Partial<Record<AppLocale, string>> = {+ 'fr-FR': 'fr',+ 'es-ES': 'es',+};++export const localeToUrlSegment = (locale: AppLocale): string =>+ URL_SEGMENT_OVERRIDES[locale] ?? locale;++export const LOCALE_BY_URL_SEGMENT: ReadonlyMap<string, AppLocale> = new Map(+ WEBSITE_LOCALE_LIST.map((locale) => [localeToUrlSegment(locale), locale]),+);++// Resolves a route's `[locale]` URL segment to an AppLocale, or 404s. The only+// sanctioned way to turn a raw route param into a locale.+export const resolveLocaleParam = (raw: string): AppLocale => {+ const locale = LOCALE_BY_URL_SEGMENT.get(raw);+ if (locale === undefined) notFound();+ return locale;+};++// ---------------------------------------------------------------------------+// Href (de)localization — used by client navigation components+// ---------------------------------------------------------------------------+const findFirstSegmentEnd = (path: string): number => {+ for (let i = 1; i < path.length; i += 1) {+ const ch = path[i];+ if (ch === '/' || ch === '?' || ch === '#') return i;+ }+ return path.length;+};++const buildTailFromSegmentEnd = (path: string, segmentEnd: number): string => {+ const tail = path.slice(segmentEnd);+ if (tail.length === 0) return '/';+ if (tail.startsWith('?') || tail.startsWith('#')) return `/${tail}`;+ return tail;+};++const isLocalePrefixSegment = (segment: string): boolean =>+ LOCALE_BY_URL_SEGMENT.has(segment);++export const localizeHref = (locale: AppLocale, href: string): string => {+ if (!href.startsWith('/') || href.startsWith('//')) return href;++ const segmentEnd = findFirstSegmentEnd(href);+ const firstSegment = href.slice(1, segmentEnd);++ const unprefixed = isLocalePrefixSegment(firstSegment)+ ? buildTailFromSegmentEnd(href, segmentEnd)+ : href;++ if (locale === SOURCE_LOCALE || !isWebsiteLocale(locale)) {+ return unprefixed;+ }++ const segment = localeToUrlSegment(locale);+ return unprefixed === '/' ? `/${segment}` : `/${segment}${unprefixed}`;+};++export const stripLocale = (pathname: string): string => {+ if (!pathname.startsWith('/')) return pathname;++ const segmentEnd = findFirstSegmentEnd(pathname);+ const firstSegment = pathname.slice(1, segmentEnd);+ if (!isLocalePrefixSegment(firstSegment)) return pathname;++ return buildTailFromSegmentEnd(pathname, segmentEnd);+};++// ---------------------------------------------------------------------------+// Display names (for the locale switcher)+// ---------------------------------------------------------------------------+const languageCode = (locale: AppLocale): string => locale.split('-')[0];++const capitalizeFirstChar = (value: string): string =>+ value.length === 0+ ? value+ : value.charAt(0).toLocaleUpperCase() + value.slice(1);++export const getNativeLocaleName = (locale: AppLocale): string => {+ const display = new Intl.DisplayNames([locale], { type: 'language' });+ const name = display.of(languageCode(locale)) ?? locale;+ return capitalizeFirstChar(name);+};++export const getEnglishLocaleName = (locale: AppLocale): string => {+ const display = new Intl.DisplayNames(['en'], { type: 'language' });+ return display.of(languageCode(locale)) ?? locale;+};++// ---------------------------------------------------------------------------+// Lingui MessageDescriptor helper+// ---------------------------------------------------------------------------+export const getMessageDescriptorSource = (+ descriptor: MessageDescriptor,+): string => descriptor.message ?? descriptor.id;diff --git a/packages/twenty-website/src/lib/i18n/messages.ts b/packages/twenty-website/src/lib/i18n/messages.tsnew file mode 100644index 00000000000..8c0773b1bc9--- /dev/null+++ b/packages/twenty-website/src/lib/i18n/messages.ts@@ -0,0 +1,39 @@+import { type Messages } from '@lingui/core';+import { createI18nInstanceFactory } from 'twenty-shared/i18n';+import { SOURCE_LOCALE, type AppLocale } from 'twenty-shared/translations';++import { messages as enMessages } from '@/locales/generated/en';+import { messages as esMessages } from '@/locales/generated/es-ES';+import { messages as frMessages } from '@/locales/generated/fr-FR';++import { WEBSITE_LOCALE_LIST } from './locales';++// Compiled catalogs and the i18n-instance factory. Importing this module pulls+// in the (large) generated message catalogs, so it is server-side only — never+// import it from a client component (the client receives `messages` as a prop+// from the layout via the I18nProvider instead).+const MESSAGES_BY_LOCALE: Partial<Record<AppLocale, Messages>> = {+ en: enMessages,+ 'es-ES': esMessages,+ 'fr-FR': frMessages,+};++// Fail loudly at module load if a locale was added to WEBSITE_LOCALE_LIST+// without importing its compiled catalog here. Without this, a new locale+// would silently fall back to English and ship untranslated — a near-invisible+// SEO regression. Adding a locale stays three honest steps: append to+// WEBSITE_LOCALE_LIST, run lingui:compile, import its catalog above.+for (const locale of WEBSITE_LOCALE_LIST) {+ if (MESSAGES_BY_LOCALE[locale] === undefined) {+ throw new Error(+ `Missing compiled catalog for website locale "${locale}". ` ++ `Run \`nx run twenty-website:lingui:compile\` and import ` ++ `@/locales/generated/${locale} in src/lib/i18n/messages.ts.`,+ );+ }+}++export const getLocaleMessages = (locale: AppLocale): Messages =>+ MESSAGES_BY_LOCALE[locale] ?? MESSAGES_BY_LOCALE[SOURCE_LOCALE] ?? {};++export const createI18nInstance = createI18nInstanceFactory(MESSAGES_BY_LOCALE);diff --git a/packages/twenty-website/src/lib/i18n/server.ts b/packages/twenty-website/src/lib/i18n/server.tsnew file mode 100644index 00000000000..f4366d55c10--- /dev/null+++ b/packages/twenty-website/src/lib/i18n/server.ts@@ -0,0 +1,46 @@+import 'server-only';++import type { I18n } from '@lingui/core';+import { getI18n, setI18n } from '@lingui/react/server';+import { SOURCE_LOCALE, type AppLocale } from 'twenty-shared/translations';++import { resolveLocaleParam } from './locales';+import { createI18nInstance } from './messages';++// Server-side i18n: the request-scoped Lingui context plus the catalog-runtime+// re-exports. This module is `server-only`; importing it from a client bundle+// is a build error by design.+export { createI18nInstance, getLocaleMessages } from './messages';++export type LocaleRouteParams = { locale: string };++// Creates the i18n instance for `locale` and registers it as the request-scoped+// server context (Lingui setI18n, backed by React cache). Returns the instance.+export const setServerI18n = (locale: AppLocale): I18n => {+ const i18n = createI18nInstance(locale);+ setI18n(i18n);+ return i18n;+};++// The single entry every [locale] route calls. Resolves the param, registers+// the request i18n (so descendant server components reading getServerI18n+// resolve the right locale even though App Router may render layout and page in+// parallel), and returns the instance for direct i18n._ use.+export const getRouteI18n = async (+ params: Promise<LocaleRouteParams>,+): Promise<I18n> => {+ const { locale } = await params;+ return setServerI18n(resolveLocaleParam(locale));+};++// Reads the request-scoped server i18n for descendant server components. Falls+// back to a source-locale instance only if no context was registered — every+// route registers one via getRouteI18n, so the fallback is purely defensive.+let fallbackI18n: I18n | null = null;++export const getServerI18n = (): I18n => {+ const instance = getI18n() as I18n | null;+ if (instance) return instance;+ fallbackI18n ??= createI18nInstance(SOURCE_LOCALE);+ return fallbackI18n;+};diff --git a/packages/twenty-website/src/lib/i18n/utils/app-locale-set.ts b/packages/twenty-website/src/lib/i18n/utils/app-locale-set.tsdeleted file mode 100644index 1aa554a97ce..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/app-locale-set.ts+++ /dev/null@@ -1,42 +0,0 @@-import { APP_LOCALES, type AppLocale } from 'twenty-shared/translations';--import { WEBSITE_LOCALE_LIST } from './website-locale-list';--export { WEBSITE_LOCALE_LIST } from './website-locale-list';--const APP_LOCALE_VALUES: readonly AppLocale[] = Object.values(APP_LOCALES);--const isKnownPublicLocale = (locale: AppLocale): boolean =>- !locale.startsWith('pseudo-');--export const KNOWN_PUBLIC_APP_LOCALE_LIST: readonly AppLocale[] =- APP_LOCALE_VALUES.filter(isKnownPublicLocale);--const WEBSITE_LOCALE_SET: ReadonlySet<AppLocale> = new Set(WEBSITE_LOCALE_LIST);--export const isPublicAppLocale = (locale: AppLocale): boolean =>- WEBSITE_LOCALE_SET.has(locale);--export const APP_LOCALE_LIST: readonly AppLocale[] = APP_LOCALE_VALUES;--export const PUBLIC_APP_LOCALE_LIST: readonly AppLocale[] = WEBSITE_LOCALE_LIST;--export const KNOWN_PUBLIC_APP_LOCALE_BY_RAW: ReadonlyMap<string, AppLocale> =- new Map(KNOWN_PUBLIC_APP_LOCALE_LIST.map((locale) => [locale, locale]));--export const APP_LOCALE_BY_RAW: ReadonlyMap<string, AppLocale> = new Map(- PUBLIC_APP_LOCALE_LIST.map((locale) => [locale, locale]),-);--export const APP_LOCALE_BY_LANGUAGE: ReadonlyMap<string, AppLocale> = (() => {- const byLanguage = new Map<string, AppLocale>();- for (const locale of PUBLIC_APP_LOCALE_LIST) {- const [languageSubtag] = locale.split('-');- if (languageSubtag === undefined) continue;- const key = languageSubtag.toLowerCase();- if (!byLanguage.has(key)) {- byLanguage.set(key, locale);- }- }- return byLanguage;-})();diff --git a/packages/twenty-website/src/lib/i18n/utils/create-i18n-instance.ts b/packages/twenty-website/src/lib/i18n/utils/create-i18n-instance.tsdeleted file mode 100644index a47f937c1a9..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/create-i18n-instance.ts+++ /dev/null@@ -1,5 +0,0 @@-import { createI18nInstanceFactory } from 'twenty-shared/i18n';--import { MESSAGES_BY_LOCALE } from './messages-by-locale';--export const createI18nInstance = createI18nInstanceFactory(MESSAGES_BY_LOCALE);diff --git a/packages/twenty-website/src/lib/i18n/utils/detect-locale.ts b/packages/twenty-website/src/lib/i18n/utils/detect-locale.tsdeleted file mode 100644index 8ca333ea7b5..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/detect-locale.ts+++ /dev/null@@ -1,59 +0,0 @@-import { SOURCE_LOCALE, type AppLocale } from 'twenty-shared/translations';--import { APP_LOCALE_BY_LANGUAGE, APP_LOCALE_BY_RAW } from './app-locale-set';--export const LOCALE_COOKIE_NAME = 'NEXT_LOCALE';--type AcceptLanguageEntry = { tag: string; quality: number };--const parseAcceptLanguage = (header: string): AcceptLanguageEntry[] =>- header- .split(',')- .flatMap((part): AcceptLanguageEntry[] => {- const [rawTag, ...params] = part.trim().split(';');- if (rawTag === undefined || rawTag.length === 0) return [];- const qParam = params.find((p) => p.trim().startsWith('q='))?.trim();- const parsedQuality =- qParam !== undefined ? Number.parseFloat(qParam.slice(2)) : 1;- return [- {- tag: rawTag.trim(),- quality: Number.isFinite(parsedQuality) ? parsedQuality : 0,- },- ];- })- .sort((a, b) => b.quality - a.quality);--const matchTag = (tag: string): AppLocale | undefined => {- const exact = APP_LOCALE_BY_RAW.get(tag);- if (exact !== undefined) return exact;-- const [languageSubtag] = tag.split('-');- if (languageSubtag === undefined) return undefined;- return APP_LOCALE_BY_LANGUAGE.get(languageSubtag.toLowerCase());-};--type DetectLocaleInput = {- cookieValue?: string;- acceptLanguageHeader?: string;-};--export const detectLocale = ({- cookieValue,- acceptLanguageHeader,-}: DetectLocaleInput): AppLocale => {- if (cookieValue !== undefined) {- const fromCookie = APP_LOCALE_BY_RAW.get(cookieValue);- if (fromCookie !== undefined) return fromCookie;- }-- if (acceptLanguageHeader !== undefined && acceptLanguageHeader.length > 0) {- for (const { tag, quality } of parseAcceptLanguage(acceptLanguageHeader)) {- if (quality <= 0) continue;- const match = matchTag(tag);- if (match !== undefined) return match;- }- }-- return SOURCE_LOCALE;-};diff --git a/packages/twenty-website/src/lib/i18n/utils/get-message-descriptor-source.ts b/packages/twenty-website/src/lib/i18n/utils/get-message-descriptor-source.tsdeleted file mode 100644index e800a65f799..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/get-message-descriptor-source.ts+++ /dev/null@@ -1,5 +0,0 @@-import type { MessageDescriptor } from '@lingui/core';--export const getMessageDescriptorSource = (- descriptor: MessageDescriptor,-): string => descriptor.message ?? descriptor.id;diff --git a/packages/twenty-website/src/lib/i18n/utils/get-route-i18n.ts b/packages/twenty-website/src/lib/i18n/utils/get-route-i18n.tsdeleted file mode 100644index cdbd68ce5f9..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/get-route-i18n.ts+++ /dev/null@@ -1,17 +0,0 @@-import type { AppLocale } from 'twenty-shared/translations';--import { createI18nInstance } from './create-i18n-instance';-import { resolveLocaleParam } from './resolve-locale-param';--export type LocaleRouteParams = {- locale: string;-};--export const getRouteI18n = async (- params: Promise<LocaleRouteParams>,-): Promise<ReturnType<typeof createI18nInstance>> => {- const { locale: rawLocale } = await params;- const locale: AppLocale = resolveLocaleParam(rawLocale);-- return createI18nInstance(locale);-};diff --git a/packages/twenty-website/src/lib/i18n/utils/get-server-i18n.ts b/packages/twenty-website/src/lib/i18n/utils/get-server-i18n.tsdeleted file mode 100644index bab33d5a154..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/get-server-i18n.ts+++ /dev/null@@ -1,13 +0,0 @@-import type { I18n } from '@lingui/core';-import { getI18n } from '@lingui/react/server';--import { createI18nInstance } from './create-i18n-instance';--let fallback: I18n | null = null;--export function getServerI18n(): I18n {- const instance = getI18n() as I18n | null;- if (instance) return instance;- if (!fallback) fallback = createI18nInstance('en');- return fallback;-}diff --git a/packages/twenty-website/src/lib/i18n/utils/locale-display-names.ts b/packages/twenty-website/src/lib/i18n/utils/locale-display-names.tsdeleted file mode 100644index 6eca3ddfb83..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/locale-display-names.ts+++ /dev/null@@ -1,19 +0,0 @@-import { type AppLocale } from 'twenty-shared/translations';--const languageCode = (locale: AppLocale): string => locale.split('-')[0];--const capitalizeFirstChar = (value: string): string =>- value.length === 0- ? value- : value.charAt(0).toLocaleUpperCase() + value.slice(1);--export const getNativeLocaleName = (locale: AppLocale): string => {- const display = new Intl.DisplayNames([locale], { type: 'language' });- const name = display.of(languageCode(locale)) ?? locale;- return capitalizeFirstChar(name);-};--export const getEnglishLocaleName = (locale: AppLocale): string => {- const display = new Intl.DisplayNames(['en'], { type: 'language' });- return display.of(languageCode(locale)) ?? locale;-};diff --git a/packages/twenty-website/src/lib/i18n/utils/localize-href.ts b/packages/twenty-website/src/lib/i18n/utils/localize-href.tsdeleted file mode 100644index faf62f3a1c8..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/localize-href.ts+++ /dev/null@@ -1,53 +0,0 @@-import { SOURCE_LOCALE, type AppLocale } from 'twenty-shared/translations';--import { isPublicAppLocale } from './app-locale-set';-import {- LOCALE_BY_URL_SEGMENT,- localeToUrlSegment,-} from './website-locale-segments';--const findFirstSegmentEnd = (path: string): number => {- for (let i = 1; i < path.length; i += 1) {- const ch = path[i];- if (ch === '/' || ch === '?' || ch === '#') return i;- }- return path.length;-};--const buildTailFromSegmentEnd = (path: string, segmentEnd: number): string => {- const tail = path.slice(segmentEnd);- if (tail.length === 0) return '/';- if (tail.startsWith('?') || tail.startsWith('#')) return `/${tail}`;- return tail;-};--const isLocalePrefixSegment = (segment: string): boolean =>- LOCALE_BY_URL_SEGMENT.has(segment);--export const localizeHref = (locale: AppLocale, href: string): string => {- if (!href.startsWith('/') || href.startsWith('//')) return href;-- const segmentEnd = findFirstSegmentEnd(href);- const firstSegment = href.slice(1, segmentEnd);-- const unprefixed = isLocalePrefixSegment(firstSegment)- ? buildTailFromSegmentEnd(href, segmentEnd)- : href;-- if (locale === SOURCE_LOCALE || !isPublicAppLocale(locale)) {- return unprefixed;- }-- const segment = localeToUrlSegment(locale);- return unprefixed === '/' ? `/${segment}` : `/${segment}${unprefixed}`;-};--export const stripLocale = (pathname: string): string => {- if (!pathname.startsWith('/')) return pathname;-- const segmentEnd = findFirstSegmentEnd(pathname);- const firstSegment = pathname.slice(1, segmentEnd);- if (!isLocalePrefixSegment(firstSegment)) return pathname;-- return buildTailFromSegmentEnd(pathname, segmentEnd);-};diff --git a/packages/twenty-website/src/lib/i18n/utils/messages-by-locale.ts b/packages/twenty-website/src/lib/i18n/utils/messages-by-locale.tsdeleted file mode 100644index 9c99ccbc10d..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/messages-by-locale.ts+++ /dev/null@@ -1,15 +0,0 @@-import { type Messages } from '@lingui/core';-import { SOURCE_LOCALE, type AppLocale } from 'twenty-shared/translations';--import { messages as enMessages } from '@/locales/generated/en';-import { messages as frMessages } from '@/locales/generated/fr-FR';--const MESSAGES_BY_LOCALE: Partial<Record<AppLocale, Messages>> = {- en: enMessages,- 'fr-FR': frMessages,-};--export const getLocaleMessages = (locale: AppLocale): Messages =>- MESSAGES_BY_LOCALE[locale] ?? MESSAGES_BY_LOCALE[SOURCE_LOCALE] ?? {};--export { MESSAGES_BY_LOCALE };diff --git a/packages/twenty-website/src/lib/i18n/utils/resolve-locale-param.ts b/packages/twenty-website/src/lib/i18n/utils/resolve-locale-param.tsdeleted file mode 100644index 5fcb0fde562..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/resolve-locale-param.ts+++ /dev/null@@ -1,10 +0,0 @@-import { notFound } from 'next/navigation';-import { type AppLocale } from 'twenty-shared/translations';--import { LOCALE_BY_URL_SEGMENT } from './website-locale-segments';--export const resolveLocaleParam = (raw: string): AppLocale => {- const locale = LOCALE_BY_URL_SEGMENT.get(raw);- if (locale === undefined) notFound();- return locale;-};diff --git a/packages/twenty-website/src/lib/i18n/utils/set-server-i18n.ts b/packages/twenty-website/src/lib/i18n/utils/set-server-i18n.tsdeleted file mode 100644index 15040b89b8d..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/set-server-i18n.ts+++ /dev/null@@ -1,10 +0,0 @@-import { setI18n } from '@lingui/react/server';-import type { AppLocale } from 'twenty-shared/translations';--import { createI18nInstance } from './create-i18n-instance';--export const setServerI18n = (locale: AppLocale) => {- const i18n = createI18nInstance(locale);- setI18n(i18n);- return i18n;-};diff --git a/packages/twenty-website/src/lib/i18n/utils/website-locale-list.ts b/packages/twenty-website/src/lib/i18n/utils/website-locale-list.tsdeleted file mode 100644index f1e80c4fadb..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/website-locale-list.ts+++ /dev/null@@ -1,12 +0,0 @@-import {- APP_LOCALES,- SOURCE_LOCALE,- type AppLocale,-} from 'twenty-shared/translations';--// Website localization is intentionally rolled out separately from the app.-// Keep this allowlist small until Crowdin sync, SEO signals, and QA are proven.-export const WEBSITE_LOCALE_LIST = [- SOURCE_LOCALE,- APP_LOCALES['fr-FR'],-] as const satisfies readonly AppLocale[];diff --git a/packages/twenty-website/src/lib/i18n/utils/website-locale-segments.ts b/packages/twenty-website/src/lib/i18n/utils/website-locale-segments.tsdeleted file mode 100644index b3bad52ded2..00000000000--- a/packages/twenty-website/src/lib/i18n/utils/website-locale-segments.ts+++ /dev/null@@ -1,14 +0,0 @@-import { type AppLocale } from 'twenty-shared/translations';--import { WEBSITE_LOCALE_LIST } from './website-locale-list';--const URL_SEGMENT_OVERRIDES: Partial<Record<AppLocale, string>> = {- 'fr-FR': 'fr',-};--export const localeToUrlSegment = (locale: AppLocale): string =>- URL_SEGMENT_OVERRIDES[locale] ?? locale;--export const LOCALE_BY_URL_SEGMENT: ReadonlyMap<string, AppLocale> = new Map(- WEBSITE_LOCALE_LIST.map((locale) => [localeToUrlSegment(locale), locale]),-);diff --git a/packages/twenty-website/src/lib/seo/build-localized-metadata.ts b/packages/twenty-website/src/lib/seo/build-localized-metadata.tsindex 1db487b7908..3f6d6a7a76d 100644--- a/packages/twenty-website/src/lib/seo/build-localized-metadata.ts+++ b/packages/twenty-website/src/lib/seo/build-localized-metadata.ts@@ -1,7 +1,7 @@import type { Metadata } from 'next';-import { resolveLocaleParam } from '@/lib/i18n/utils/resolve-locale-param';-import { setServerI18n } from '@/lib/i18n/utils/set-server-i18n';+import { resolveLocaleParam } from '@/lib/i18n';+import { setServerI18n } from '@/lib/i18n/server';import {buildPageMetadata,diff --git a/packages/twenty-website/src/lib/seo/build-page-metadata.ts b/packages/twenty-website/src/lib/seo/build-page-metadata.tsindex c34305b7d3c..69bcab6f823 100644--- a/packages/twenty-website/src/lib/seo/build-page-metadata.ts+++ b/packages/twenty-website/src/lib/seo/build-page-metadata.ts@@ -2,11 +2,11 @@ import type { Metadata } from 'next';import { SOURCE_LOCALE, type AppLocale } from 'twenty-shared/translations';import {- PUBLIC_APP_LOCALE_LIST,- isPublicAppLocale,-} from '@/lib/i18n/utils/app-locale-set';-import { createI18nInstance } from '@/lib/i18n/utils/create-i18n-instance';-import { localeToUrlSegment } from '@/lib/i18n/utils/website-locale-segments';+ WEBSITE_LOCALE_LIST,+ isWebsiteLocale,+ localeToUrlSegment,+} from '@/lib/i18n';+import { createI18nInstance } from '@/lib/i18n/server';import type { MessageDescriptor } from '@lingui/core';import { getSiteUrl } from './site-url';@@ -30,7 +30,7 @@ const normalizePath = (path: string): string =>path.startsWith('/') ? path : `/${path}`;const localizePath = (locale: AppLocale, normalizedPath: string): string => {- if (locale === SOURCE_LOCALE || !isPublicAppLocale(locale)) {+ if (locale === SOURCE_LOCALE || !isWebsiteLocale(locale)) {return normalizedPath;}const segment = localeToUrlSegment(locale);@@ -56,14 +56,14 @@ export function buildPageMetadata({path,title,description,- locales = PUBLIC_APP_LOCALE_LIST,+ locales = WEBSITE_LOCALE_LIST,ogImage,type = 'website',extend,}: BuildPageMetadataInput): Metadata {const siteUrl = getSiteUrl();const normalizedPath = normalizePath(path);- const metadataLocale = isPublicAppLocale(locale) ? locale : SOURCE_LOCALE;+ const metadataLocale = isWebsiteLocale(locale) ? locale : SOURCE_LOCALE;const canonical = localizePath(metadataLocale, normalizedPath);const i18n = createI18nInstance(metadataLocale);const resolvedTitle = i18n._(title);diff --git a/packages/twenty-website/src/lib/seo/json-ld-builders.ts b/packages/twenty-website/src/lib/seo/json-ld-builders.tsindex c65c0bf85dd..5758c573d7f 100644--- a/packages/twenty-website/src/lib/seo/json-ld-builders.ts+++ b/packages/twenty-website/src/lib/seo/json-ld-builders.ts@@ -2,7 +2,7 @@ import type { MessageDescriptor } from '@lingui/core';import { SOURCE_LOCALE, type AppLocale } from 'twenty-shared/translations';import type { Article } from '@/lib/articles';-import { localeToUrlSegment } from '@/lib/i18n/utils/website-locale-segments';+import { localeToUrlSegment } from '@/lib/i18n';import type { LocalReleaseNote } from '@/lib/releases/types';import type { JsonLdValue } from './JsonLd';diff --git a/packages/twenty-website/src/locales/generated/es-ES.ts b/packages/twenty-website/src/locales/generated/es-ES.tsnew file mode 100644index 00000000000..c7abf3c6e05--- /dev/null+++ b/packages/twenty-website/src/locales/generated/es-ES.ts@@ -0,0 +1 @@+/*eslint-disable*/import type{Messages}from"@lingui/core";export const messages=JSON.parse("{\"BUIzFF\":[\"-33% de descuento\"],\"q0ur5+\":[[\"0\"],\" | Caso de cliente de Twenty\"],\"icND7o\":[\"/ asiento / mes - facturado anualmente\"],\"XUqxHW\":[\"/usuario/mes\"],\"ojimXJ\":[\"© 2026 – Twenty\"],\"foGG8A\":[\"+$105/usuario por mes\"],\"Bsq9GJ\":[\"+$35/usuario por mes\"],\"mWSpW5\":[\"+$5/usuario por mes\"],\"JIwDAd\":[\"+$7000/organización al mes\"],\"yVr18d\":[\"+$75/usuario al mes\\n¡Pásate a Enterprise!\"],\"iK+ikF\":[\"+10k más\"],\"nRtVCK\":[\"+20% del gasto neto\\n+$75/usuario al mes\\n¡Pásate a Enterprise!\"],\"be30i9\":[\"$0\"],\"6inRXo\":[\"$1/ejecución de orquestación/organización\\n+$75/usuario al mes\\n¡Pásate a Enterprise!\"],\"EkIZkY\":[\"$19\"],\"8r6DgO\":[\"$9\"],\"EHNAf2\":[\"1 clic\"],\"qvNspm\":[\"1‑800‑YES‑SOFTWARE\"],\"6WQdu8\":[\"100 por minuto\"],\"uuKUqZ\":[\"11 grupos\\nde permisos\"],\"SaSafJ\":[\"150 horas\"],\"9ntyY8\":[\"150 h\"],\"2z1Znr\":[\"Contrato de 2 años\"],\"l6Vx4q\":[\"2,000+\"],\"FKcV/y\":[\"2025\"],\"PJgfBS\":[\"3\"],\"BL47wE\":[\"3 contratos de 2 años\\n-33% de descuento\"],\"/jgC+9\":[\"3 líneas de producto\"],\"7SJhyh\":[\"30+\"],\"Pdl2UE\":[\"4 herramientas\"],\"2ScEtE\":[\"5 créditos de flujo de trabajo/mes incluidos\"],\"Z2TH0F\":[\"50 por minuto\"],\"CiRGZ8\":[\"50 créditos de flujo de trabajo/año incluidos\"],\"tZvajW\":[\"6 flujos de trabajo\"],\"AQPMc4\":[\"90%\"],\"fHxYPM\":[\"90%+\"],\"1GAcp6\":[\"Un negocio que no encaja en una\"],\"NLSM5L\":[\"Un negocio que no encaja en una plantilla\"],\"9Z2FZQ\":[\"Un CRM para equipos\"],\"GSM5RA\":[\"Un CRM que\"],\"diWAWP\":[\"Un CRM que crece contigo\"],\"och6cp\":[\"Un CRM que crece contigo | NetZero y Twenty\"],\"EewhZt\":[\"Un CRM que\"],\"muZzEA\":[\"Un CRM que realmente les pertenece\"],\"sgzhYK\":[\"un CRM que les encantará\"],\"xiVefD\":[\"Un CRM personalizado da a tu organización una ventaja,\"],\"67D5wF\":[\"Una demo que vale la pena\"],\"Qay3/Z\":[\"Un CRM moderno con\"],\"GoyOzl\":[\"Una plataforma lista para\"],\"rxMguZ\":[\"Una plataforma lista para crecer\"],\"R5hTKX\":[\"Una agencia inmobiliaria en WhatsApp\"],\"hwoGni\":[\"Una agencia inmobiliaria en WhatsApp creó un CRM a su alrededor\"],\"WjUlJr\":[\"Que un tema retro sea un complemento de pago es, de algún modo, la parte más creíble.\"],\"r9Msiv\":[\"Hace un año, personalizar tu CRM significaba contratar a un consultor de Salesforce, aprender Apex y esperar meses. La brecha entre \\\"lo quiero\\\" y \\\"ya está en producción\\\" se medía en trimestres y facturas. Así que la gente se conformaba. Doblaban su proceso para adaptarlo a la herramienta y lo llamaban adopción.\"],\"c0RR2h\":[\"Unas 150 horas al mes ahorradas en operaciones manuales. Métricas en tiempo real para el propietario del negocio. Preparación para crecer sin añadir personal operativo. Un equipo que puede responder preguntas que antes llevaban días en responder.\"],\"41o3VS\":[\"AC&T y Flycoder pasaron de una exportación de un proveedor inactivo a Twenty autoalojado, con más del 90% de reducción en el costo del CRM y control total.\"],\"TuJiQF\":[\"AC&T Education Migration\"],\"yHUdh6\":[\"AC&T Education Migration (actimmi.com) es una agencia educativa en Australia. Ayudan a estudiantes internacionales con solicitudes a instituciones educativas y visas. Habían estado en un CRM anterior hasta que el proveedor cerró el sistema, dejando solo una exportación CSV.\"],\"MPzy5R\":[\"AC&T pasó a una instancia de Twenty autoalojada sin riesgo del proveedor, sin migraciones forzadas y con costos de CRM reducidos en más del 90%.\"],\"J+A83M\":[\"AC&T reemplazó un CRM de proveedor clausurado por Twenty autoalojado y redujo los costos del CRM en más del 90%.\"],\"muhZ+X\":[\"Activando tu licencia Enterprise…\"],\"y+9jZD\":[\"activación\"],\"TDMykO\":[\"realmente se use\"],\"+/fX0G\":[\"realmente poseen\"],\"woOp+c\":[\"Añade objetos y campos\"],\"Y2K3rp\":[\"Complementos\"],\"Op7nVF\":[\"Adopción\"],\"TeMRC2\":[\"avanzado\"],\"StqEz0\":[\"Africa\"],\"/C6Pwb\":[\"Widgets de agregación, de barras, de líneas, de pastel y de indicadores\"],\"rp2omj\":[\"Agroindustria\"],\"jiGK6+\":[\"IA (Einstein)\"],\"aUn7Ps\":[\"IA y automatizaciones\"],\"HbXHSp\":[\"Agentes de IA\"],\"WGXwzu\":[\"Los agentes de IA están empezando a redactar mensajes de prospección, puntuar prospectos, investigar cuentas, escribir seguimientos y actualizar las etapas de los acuerdos. Cada una de estas acciones lee y escribe en el CRM. El marcador se convirtió en el libro de jugadas. La base de datos se convirtió en el cerebro.\"],\"Rsxdfy\":[\"Agentes de IA con habilidades personalizadas\"],\"TfV/y9\":[\"Chat de IA, ajustes y registros en paneles laterales para un acceso rápido en una sola pantalla.\"],\"R+bwFB\":[\"IA para iteraciones rápidas\"],\"+pgY/C\":[\"IA en el\"],\"A6v5aI\":[\"IA en el flujo de migración\"],\"9VlH2i\":[\"La IA hizo que esa brecha fuera así de pequeña.\"],\"jJXjo0\":[\"IA que realmente\"],\"Tp1P7F\":[\"La IA lo convirtió en un sistema operativo.\"],\"t97j+F\":[\"Asistido por IA\"],\"LIGwFL\":[\"Alternative Partners\"],\"GDVvyT\":[\"Alternative Partners es una firma de consultoría que pasó de Salesforce a una instancia de Twenty autoalojada. Benjamin Reynolds lideró la migración. Ya se había convertido en un experto en Twenty al implementarlo para uno de los primeros clientes en la nube de Twenty.\"],\"CCrRuT\":[\"Alternative Partners reemplazó Salesforce por Twenty autoalojado, usando IA agéntica para comprimir el trabajo de migración.\"],\"UIu18Y\":[\"Alternative Partners utilizó IA agéntica para comprimir lo que normalmente serían semanas de trabajo de migración de Salesforce en algo que una sola persona pudiera supervisar.\"],\"iFLhqi\":[\"Amrendra Pratap Singh\"],\"JDRPTH\":[\"una interfaz intuitiva\"],\"lTSix7\":[\"y desbloquea nuevas oportunidades con Twenty\"],\"aGCcXe\":[\"¿Alguna pregunta?\"],\"AfiWqP\":[\"APAC\"],\"/AMVjF\":[\"Tutoriales de APEX\"],\"OZtEcz\":[\"API\"],\"yKBF3l\":[\"Acceso a la API\"],\"GpYSXo\":[\"Espina dorsal de la API\"],\"30KnZB\":[\"Llamadas a la API\"],\"42FQ3y\":[\"API primero\"],\"azQMHP\":[\"Las APIs se pagan aparte. La simplicidad tiene un precio.\"],\"MqJvvH\":[\"APIs, SDKs y webhooks para ampliar Twenty y lanzar aplicaciones sobre los datos de tu CRM.\"],\"I1Z4AM\":[\"Solicita para crear\"],\"uicv6Z\":[\"Arquitectura\"],\"Sfa0xD\":[\"a su alrededor\"],\"4YKyFV\":[\"Haz preguntas, automatiza tareas y obtén información. Todo impulsado por IA que entiende tus datos.\"],\"yYKNWp\":[\"Ensambla, itera y adapta un CRM robusto,\"],\"v7zTZl\":[\"Asigna responsables y fechas de vencimiento\"],\"9c5acG\":[\"a velocidad de IA\"],\"4/b98B\":[\"en el núcleo\"],\"fxL/Km\":[\"Archivos adjuntos sin caos.\"],\"y2W2Hg\":[\"Registros de auditoría\"],\"FFv0Vh\":[\"Automatización\"],\"SJ7WSP\":[\"¡Disponible en YouTube!\"],\"iH8pgl\":[\"Volver\"],\"jQLfIW\":[\"Porque, al parecer, la privacidad se siente más premium con un recargo.\"],\"qEQv1F\":[\"Como todo está construido sobre la base abierta de Twenty, Flycoder pudo conectar la lógica exacta que AC&T necesitaba sin pelear con la plataforma.\"],\"uIG0OH\":[\"Como la base es sólida, W3Grads está diseñado para lo que viene, incluida una capa de pagos para futuros planes de entrevistas de pago y escala nacional sin reescrituras estructurales.\"],\"JGM+JO\":[\"Porque la verdadera orquestación significa poner un signo de dólar en cada entrada dramática.\"],\"SoJDT2\":[\"Conviértete\"],\"sx6hMS\":[\"Conviértete en Socio de Contenido\"],\"PKMHNe\":[\"¡Conviértete en un genio!\"],\"6ZCRfT\":[\"Conviértete en socio\"],\"lvXL1I\":[\"Conviértete en Socio de Soluciones\"],\"EwaFPn\":[\"Conviértete en Socio de Tecnología\"],\"eqswCn\":[\"Empieza con nivel de producción\"],\"SYfuGP\":[\"Benjamin Reynolds\"],\"YfjrMq\":[\"Bertrams\"],\"mzTjnf\":[\"¡Mejor que Liquid Glass!\"],\"GvGk4g\":[\"Más allá\"],\"MkvsWx\":[\"Book a call\"],\"bxWnM1\":[\"romper operaciones\"],\"fYFNV7\":[\"Browse Twenty's certified partner network: regional coverage, languages, deployment expertise, and direct booking links.\"],\"ONUC8n\":[\"construir\"],\"WxyAko\":[\"Construye un CRM que tus competidores\"],\"Utc5RF\":[\"Crea paneles personalizados a partir de datos de CRM en tiempo real. Agrupa cualquier cosa — acuerdos, cuentas, actividad — en gráficos que tu equipo realmente consulte.\"],\"wWXG44\":[\"Crea integraciones que conecten Twenty con las herramientas que tus clientes ya usan. Ayúdanos a expandir el ecosistema de Twenty.\"],\"ZhC3tY\":[\"Constrúyelo en una tarde.\"],\"e1u+Zh\":[\"Construye sobre una plataforma abierta\"],\"oIpt0K\":[\"Construye tu CRM Enterprise\"],\"J7i6zm\":[\"bloques de construcción\"],\"/ETeLn\":[\"construyó un\"],\"SoAKmY\":[\"Construido para la velocidad\"],\"hnSOXa\":[\"construido con Twenty\"],\"j8RGrG\":[\"Quemados por el bloqueo del proveedor, AC&T construyó un CRM del que realmente son dueños | Twenty\"],\"EjSajd\":[\"pero construir uno\"],\"wCALve\":[\"¿Pueden los desarrolladores ampliar Twenty con código?\"],\"6mytgb\":[\"¿Puedo migrar desde Salesforce o HubSpot?\"],\"+oHJTp\":[\"no pueden comprar.\"],\"u+wGUf\":[\"cambian con Twenty\"],\"2D9CbR\":[\"Ver más complementos\"],\"h1IXFK\":[\"Chinese\"],\"ZbCD7v\":[\"Lo clásico nunca muere. Solo se extiende una vez más.\"],\"u8JHrO\":[\"Clear filters\"],\"XLMJ7O\":[\"Cloud\"],\"L/LPQZ\":[\"Cloud Pro cuesta $9/usuario/mes (anual). Organization cuesta $19/usuario/mes y desbloquea SSO y permisos a nivel de fila para equipos que necesitan un control de acceso más fino.\"],\"WYgF8M\":[\"Cloud Pro empieza en $9/usuario/mes con objetos personalizados ilimitados. Aloja tú mismo el núcleo de código abierto gratis o actualiza a Organization para SSO y permisos a nivel de fila.\"],\"1YncLF\":[\"Cofundador en NetZero\"],\"vWaYWP\":[\"Cofundador, NetZero\"],\"R8BDsa\":[\"Oportunidades de co-marketing\"],\"b5bnuN\":[\"Asignación de columna a campo (incluyendo relaciones)\"],\"NHYWK4\":[\"viene con\"],\"ofoEsM\":[\"¡Próximamente!\"],\"KGD9Kt\":[\"Licencia comercial (sin obligaciones AGPL)\"],\"chL5IG\":[\"Comunidad\"],\"8CLnho\":[\"Soporte de la comunidad\"],\"SHjhDC\":[\"Empresa o marca *\"],\"O403zL\":[\"en toda la empresa\"],\"P/f7ez\":[\"Completa la activación de tu licencia Enterprise de Twenty autoalojada.\"],\"Fkb+LW\":[\"Compón tu CRM y tus aplicaciones internas con un único kit de extensibilidad.\"],\"kD7ZGH\":[\"Compón tu CRM y tus aplicaciones internas con un único kit de extensibilidad. Modelo de datos, diseño y automatización.\"],\"iSLIjg\":[\"Conectar\"],\"90KBr0\":[\"Conecta cuentas de Google o Microsoft\"],\"xgrBCK\":[\"Conecta cuentas de Google o Microsoft y ve automáticamente los correos y eventos vinculados a los registros de CRM.\"],\"MVrQxI\":[\"Conectado vía API\"],\"cfAG43\":[\"Consultoría\"],\"Oii3vg\":[\"Contactos y Empresas\"],\"fi9xsM\":[\"Socio de Contenido y Comunidad\"],\"vymMOT\":[\"Socios de Contenido y Comunidad\"],\"24qVhV\":[\"El contexto vive con el registro.\"],\"mutfS8\":[\"Continuar la iteración\"],\"+Uepfb\":[\"Control\"],\"VOpE1H\":[\"centro de control\"],\"sTIhSj\":[\"Control sin\"],\"wH1xmY\":[\"Control sin fricción\"],\"Bj7igG\":[\"Control sin la sobrecarga\"],\"PiH3UR\":[\"¡Copiado!\"],\"he3ygx\":[\"Copiar\"],\"7qTWwB\":[\"Copia la clave de Enterprise de arriba.\"],\"PXnj76\":[\"Copia esta clave y pégala en la configuración de tu instancia autoalojada de Twenty.\"],\"FapWIq\":[\"Funciones básicas\"],\"JRK+HF\":[\"Costos reducidos en más de\"],\"Xn2Nlq\":[\"Crea un flujo de trabajo\"],\"Pg0blE\":[\"Crea un flujo de trabajo que envíe una secuencia de correos electrónicos\"],\"B9nLrl\":[\"Crea aplicaciones en Twenty\"],\"yAL7FY\":[\"Crea aplicaciones personalizadas\"],\"mmx00G\":[\"Crea tareas de seguimiento para mis 10 principales cuentas\"],\"oS1RiS\":[\"Crea tareas desde los registros\"],\"D3S5+x\":[\"Crea tareas, asigna responsables y adjunta notas detalladas directamente desde cualquier registro. Sin cambiar de pestaña, sin perder el contexto.\"],\"MSlbwg\":[\"CRM\"],\"Y44Xsf\":[\"Los costos del CRM cayeron más de un 90%. La carga manual ligada al sistema antiguo desapareció. Por primera vez, AC&T tiene un CRM que no volverán a perder.\"],\"wDasLa\":[\"Ingeniero de CRM\"],\"DqkzNV\":[\"Ingeniero de CRM, AC&T Education Migration\"],\"b7vNti\":[\"El CRM era una base de datos que rellenabas los viernes. La IA lo convirtió en el sistema que impulsa tu salida al mercado. Para diferenciarte, tienes que construir lo que tus competidores no pueden comprar.\"],\"v5sHk3\":[\"El CRM era un libro mayor.\"],\"I6FFSA\":[\"Exportación CSV en cualquier momento\"],\"8RWevB\":[\"Importación y exportación CSV\"],\"s+QiQi\":[\"Flujo de importación CSV\"],\"lh6aPn\":[\"Modelos de IA personalizados\"],\"OaTurC\":[\"Aplicaciones personalizadas\"],\"yBSEtR\":[\"Etapas de negociación personalizadas para tu proceso\"],\"L+b7SB\":[\"Etapas de acuerdos personalizadas, tableros de arrastrar y soltar y seguimiento en tiempo real para que tu pipeline refleje la realidad.\"],\"GAD3Dx\":[\"Dominio personalizado\"],\"Vz1Vq2\":[\"Dominio personalizado (crm.yourco.com)\"],\"oPwQt4\":[\"Campos personalizados\"],\"U1RB/7\":[\"Campos y relaciones personalizados\"],\"WGKb6T\":[\"Campos personalizados, relaciones y una cronología unificada para cada contacto y empresa en tu espacio de trabajo.\"],\"prIqWa\":[\"Diseño personalizado\"],\"8skTDV\":[\"Objetos personalizados\"],\"AbyZbl\":[\"Vistas personalizadas\"],\"YjXLAQ\":[\"Historias de clientes\"],\"NihQNk\":[\"Clientes\"],\"qqLY+j\":[\"Personalización\"],\"GRfLAg\":[\"Personalizaciones\"],\"4RLD4p\":[\"Mensajes diarios\"],\"V0kvgB\":[\"Importación de datos\"],\"5cNMFz\":[\"Modelo de datos\"],\"/TlpVf\":[\"Acuerdos que se mueven solos.\"],\"FBZA6a\":[\"Soporte dedicado para socios\"],\"0Zg50q\":[\"Deploys\"],\"KR5UiF\":[\"Los equipos de desarrollo impulsan\"],\"n+SX4g\":[\"Desarrolladores\"],\"vcsX5L\":[\"Diferenciación ahora\"],\"Wuqvfz\":[\"Director de Digital e Información, Elevate Consulting\"],\"5MOmDI\":[\"Descubre las funciones y mejoras más recientes en Twenty,\\nel CRM de código abierto n.º 1.\"],\"W+b/DF\":[\"Descubre qué hay de nuevo\"],\"Zjjbne\":[\"¿Necesito un desarrollador para personalizar Twenty?\"],\"Zx22Ih\":[\"¿Twenty funciona con Claude, ChatGPT y Cursor?\"],\"pOLPPB\":[\"No te encierres en el ecosistema de otra persona. La experiencia de desarrollador de Twenty se parece al software normal, con configuración local, datos reales, pruebas en vivo y sin herramientas propietarias.\"],\"fPma12\":[\"Arrastra y suelta acuerdos entre etapas\"],\"4CJ4xV\":[\"EdTech\"],\"aqxYLv\":[\"Educación\"],\"1wTjWx\":[\"Elevate Consulting es una consultora de gestión con sede en Canadá. Cuando Justin Beadle, Director de Digital e Información, se incorporó, la empresa funcionaba completamente con documentos de Word, hojas de cálculo de Excel, notas adhesivas, correos electrónicos y dependencia de las personas. No había CRM, ni herramientas accesibles por API, solo un remiendo que intentaba reemplazar una única fuente de verdad.\"],\"2THY70\":[\"Elevate Consulting usa Twenty como la espina dorsal de API que conecta la facturación, Teams, la asignación de recursos y un front-end personalizado alrededor de los datos de clientes y oportunidades.\"],\"wiTeYI\":[\"El CEO de Elevate quedó tan impresionado con Twenty que empezó a recomendarlo a los clientes antes de que la configuración interna estuviera completa. El equipo está explorando llevar Twenty a proyectos de clientes como parte de su práctica de consultoría, incluso como backend para productos hechos a medida según necesidades operativas específicas.\"],\"FNyrb0\":[\"Correo y Calendario\"],\"AoN898\":[\"Correo y chat\"],\"ObCvfI\":[\"Compartir correos\"],\"hfqiVr\":[\"Actividad de correo/calendario en cada registro\"],\"XGd8Wo\":[\"Correos y Calendario\"],\"o4/9l1\":[\"Correos y eventos vinculados a registros del CRM\"],\"Qpn/bX\":[\"Cifra tus datos\"],\"Iy8Gze\":[\"Rotación de claves de cifrado\"],\"lYGfRP\":[\"English\"],\"Ijh+h+\":[\"Disfruta de personalización ilimitada usando las herramientas de codificación con IA que ya te encantan. Adapta tu CRM para que se ajuste a la forma en que tu negocio crece y gana.\"],\"xoqD/n\":[\"Introduce una dirección de correo válida.\"],\"GpB8YV\":[\"Enterprise\"],\"NTskGY\":[\"Activación de Enterprise | Twenty\"],\"3dQ6zJ\":[\"Entornos\"],\"D1bFNS\":[\"Oportunidades mensuales estimadas (opcional)\"],\"rQqP1P\":[\"Europe\"],\"IhKZhp\":[\"Hasta el material de formación es una función digna de celebrar.\"],\"sQP1sF\":[\"Cada nuevo lanzamiento de Twenty, el CRM de código abierto n.º 1, con registros de cambios, demos y los aspectos destacados que más importan a los equipos.\"],\"rkZTD7\":[\"Cada conversación, en el registro correcto.\"],\"kz/8m8\":[\"Todo lo de Pro\"],\"zoNk7e\":[\"Todo se actualiza en tiempo real, con un chat de IA siempre listo para ayudarte a moverte más rápido.\"],\"bEEOy2\":[\"Todo lo que necesitas,\"],\"CIcRGB\":[\"Oportunidades exclusivas de colaboración de contenido\"],\"57gG1f\":[\"Experimenta granularidad de nivel empresarial, empezando por un undécimo permiso.\"],\"JTM5zS\":[\"Explora historias de clientes\"],\"weFouS\":[\"¡Ejecución extendida!\"],\"akLvep\":[\"Interfaz moderna y familiar\"],\"abO45l\":[\"Vía rápida hacia la acción\"],\"e6BgMV\":[\"Permisos a nivel de campo\"],\"sER+bs\":[\"Archivos\"],\"bOidm7\":[\"Filter partners\"],\"iabLgo\":[\"Métricas filtradas de cualquier objeto\"],\"sRUAXp\":[\"Encuentra un socio certificado de Twenty para migrar, personalizar y operar tu CRM de código abierto, o únete al ecosistema y haz crecer tu práctica con nosotros.\"],\"TJ7HQl\":[\"Encuentra un socio\"],\"MD032e\":[\"Encuentra un socio de Twenty\"],\"YeWg37\":[\"Find a Twenty Partner — Certified Open Source CRM Implementers\"],\"SZabbQ\":[\"Encuentra el programa que se adapta a tu negocio\"],\"wHyJkT\":[\"Encuentra al socio adecuado para implementar, personalizar y adaptar Twenty a tu equipo.\"],\"X7E3a0\":[\"Find your\"],\"PHM5wp\":[\"Flexibilidad\"],\"HBJ0P5\":[\"Orquestación\\nde flujos\"],\"obrJBN\":[\"Vuela por tu espacio de trabajo con atajos y tiempos de carga cortos.\"],\"HjFq2b\":[\"Flycoder, un socio de desarrollo full-stack, les ayudó a configurar Twenty como una instancia autoalojada moldeada según cómo AC&T realmente opera. El modelo de datos se centra en los estudiantes, no en un pipeline genérico de contactos y acuerdos. Los estados se actualizan automáticamente: un flujo de trabajo se ejecuta cada noche para mantener actualizados los registros de inscripción. Los recordatorios de correo automatizados cubren fechas importantes. Agregar un nuevo registro toma menos de un minuto.\"],\"1SL9ZF\":[\"Céntrate en el caso de uso, no en la\"],\"P5E+kT\":[\"Céntrate en el caso de uso, no en la infraestructura\"],\"wdVyxi\":[\"Importación de carpetas/etiquetas\"],\"CKQ0za\":[\"Para una empresa que antes funcionaba con notas adhesivas, esto es más que una mejora. Es una transformación completa.\"],\"yAJC9c\":[\"Durante veinte años, CRM significó lo mismo: un lugar para registrar llamadas, seguir acuerdos y sacar informes el viernes. El trabajo real ocurría en la cabeza de las personas, en hilos de Slack, en conversaciones de pasillo. El CRM llevaba la cuenta. Nadie esperaba más de él.\"],\"wSoqhC\":[\"base\"],\"UCoxP5\":[\"Fundador, Nine Dots Ventures\"],\"IPaRlc\":[\"Fundador, Wintactix\"],\"tUgSXd\":[\"¡Gratis para ti!\"],\"nLC6tu\":[\"French\"],\"Iuxc00\":[\"De CSV a CRM en minutos.\"],\"yDeZSV\":[\"De documentos a\"],\"emeKZ7\":[\"De documentos a APIs abiertas\"],\"CMqgta\":[\"De Salesforce a\"],\"kl+hEJ\":[\"De Salesforce a Twenty autohospedado\"],\"syU/BD\":[\"De Salesforce a Twenty autoalojado, impulsado por IA | Alternative Partners\"],\"TH5XjF\":[\"De simple a\"],\"Lf7cb3\":[\"De simple a avanzado\"],\"m1I5TY\":[\"Historial de comunicación completo en un solo lugar\"],\"wXgKOm\":[\"Personalización completa\"],\"YZ7Q3Z\":[\"Propiedad total\"],\"hdxwWi\":[\"Totalmente personalizable\"],\"DDcvSo\":[\"German\"],\"ZDIydz\":[\"Comenzar\"],\"3mUKNr\":[\"Ve un paso más allá\"],\"Ay/vbT\":[\"¡Buena elección!\"],\"IsZ6P7\":[\"crecer\"],\"MCLWq4\":[\"Crece con una base flexible\"],\"XpCing\":[\"crece\"],\"Xf5EJg\":[\"Generador de semitonos\"],\"DHC85F\":[\"Generador de Semitonos | Twenty\"],\"c3XJ18\":[\"Ayuda\"],\"CRzGla\":[\"Centro de ayuda\"],\"R5aged\":[\"Ayuda a los clientes a implementar, personalizar y tener éxito con Twenty. Combina ventas y servicios para hacer crecer tu negocio.\"],\"4Dw9Tx\":[\"te ayuda\"],\"qfSbUb\":[\"Su enfoque fue poco convencional. En lugar de mapear campos manualmente, crear scripts de transformaciones y validar datos paso a paso, entregó el trabajo a herramientas de IA agéntica con un briefing: dónde viven los datos, el repositorio de GitHub de la plataforma de destino y el despliegue en Railway. Empezar, y solo volver si algo se rompe más allá de una corrección con un 70% de confianza.\"],\"i0qMbr\":[\"Inicio\"],\"CtU7yU\":[\"Homeseller\"],\"KYnPnU\":[\"Homeseller es una agencia inmobiliaria de alto volumen en Singapur, fundada por uno de los agentes de bienes raíces con mejor rendimiento del país. Toda la operación funciona en WhatsApp: sin correo, sin calendarios, solo chats grupales, miles de ellos, con clientes, agentes y prospectos juntos.\"],\"v6cmMq\":[\"Homeseller mantuvo sus hábitos. WhatsApp siguió siendo WhatsApp. Lo que cambió es que todo lo que fluye por esas conversaciones ahora aterriza en un sistema estructurado, rastreado, clasificado y visible en tiempo real.\"],\"xaIV9m\":[\"Homeseller, WhatsApp y un CRM construido alrededor del negocio | Nine Dots y Twenty\"],\"XnFo3G\":[\"Cómo AC&T Education Migration y Flycoder reemplazaron un CRM de proveedor clausurado por Twenty autoalojado, con más del 90% menos de costo y propiedad total.\"],\"PYi0f6\":[\"Cómo Alternative Partners migró de Salesforce a Twenty autoalojado usando IA agéntica en el ciclo de implementación: migración rápida, propiedad duradera.\"],\"o+Kp2M\":[\"¿Cómo quieres asociarte con Twenty? *\"],\"+MLOVo\":[\"Cómo Elevate Consulting pasó de documentos y hojas de cálculo a Twenty como el CRM conectado por API en el centro de su stack.\"],\"OIwpKt\":[\"¿Cuánto tiempo se tarda en empezar?\"],\"iRzy9e\":[\"Cómo NetZero usa Twenty en créditos de carbono, productos agrícolas y sistemas industriales franquiciados con un CRM modular y una hoja de ruta hacia flujos de trabajo asistidos por IA.\"],\"NZYA4S\":[\"Cómo Nine Dots Ventures reconstruyó una agencia inmobiliaria de Singapur en Twenty con APIs, n8n, Grafana e IA sobre más de 2,000 mensajes de WhatsApp al día.\"],\"kqEcVc\":[\"Cómo los equipos\"],\"bcln75\":[\"Cómo Twenty recopila, usa, protege y divulga información cuando utilizas Twenty.com y servicios relacionados.\"],\"URQPvK\":[\"Cómo W3villa Technologies lanzó W3Grads, una plataforma de entrevistas simuladas con IA para instituciones, en Twenty como la columna vertebral operativa.\"],\"xalbpT\":[\"Ideas del equipo que construye Twenty sobre CRM de código abierto, datos de clientes, sistemas de GTM y creación de software duradero.\"],\"l0JGUk\":[\"Suplantar usuarios\"],\"N4OVNn\":[\"Implementación\"],\"yHueLx\":[\"Socios de implementación\"],\"ZAKTS6\":[\"Importa tus datos con asignación de campos, incluidas las relaciones. Exporta en cualquier momento: tus datos siempre son tuyos.\"],\"InyU0Z\":[\"En junio de 2025, Justin se enteró de que Twenty v1 había salido. En dos o tres días, el CEO le pidió que explorara la configuración de un CRM. El cambio vino del potencial de lo que podía construirse sobre APIs totalmente abiertas. El momento fue perfecto.\"],\"d1Aru8\":[\"En producción.\"],\"Sqb+jp\":[\"Vista previa en la app para los tipos de archivo compatibles (cuando está habilitada)\"],\"3XP8Lk\":[\"¡Incluido!\"],\"S8gy7K\":[\"Industria\"],\"MeL8SS\":[\"Desplazamiento infinito\"],\"+mOisw\":[\"El desplazamiento infinito aún está por llegar, a diferencia de la factura.\"],\"K8iwJx\":[\"Instalar app de tarball compartido\"],\"AHWM9N\":[\"Integración\"],\"OChKCc\":[\"Generador de semitonos interactivo exportado desde Twenty.\"],\"mdsMtj\":[\"despliegue interno\"],\"a+PGuG\":[\"Cuentas de Internet por usuario\"],\"/yQIKP\":[\"¿Twenty es realmente de código abierto?\"],\"QjEULz\":[\"Es una experiencia mucho mejor que lidiar con Salesforce o HubSpot. Mi misión ha sido que todas las herramientas tengan acceso por API, para que todo se comunique entre sí.\"],\"FJ51pP\":[\"Es una experiencia mucho mejor que lidiar con Salesforce o HubSpot. Mi misión ha sido que todas las herramientas tengan acceso por API, para que todo se comunique entre sí. Twenty hizo eso posible de una manera que las plataformas CRM más antiguas simplemente no pueden.\"],\"kqIAbN\":[\"Funcionó. Esto es iteración asistida por IA en la práctica: no IA como una función del producto, sino como parte del trabajo de implementación, comprimiendo lo que normalmente serían semanas en algo que una sola persona puede supervisar sin ser el cuello de botella.\"],\"ltNDOB\":[\"Es frágil. La V1 se lanza rápido, pero mantenerla y hacer cambios es una carga a largo plazo.\"],\"kX2mij\":[\"Únete a nuestro ecosistema y ayuda a las empresas a tomar el control de sus datos de clientes con\"],\"1qiriB\":[\"Únete a nuestro ecosistema de socios en crecimiento\"],\"4721j2\":[\"Únete a nuestro ecosistema de socios y ayuda a las empresas\\na tomar el control de su CRM.\"],\"4QqdtB\":[\"Únete a los equipos que eligieron ser dueños de su CRM.\\nEmpieza a crear con Twenty hoy mismo.\"],\"pB76mP\":[\"jul 2025\"],\"hvwlu3\":[\"jun 2025\"],\"qrYDGE\":[\"Justin Beadle\"],\"vYXuJI\":[\"Justin creó flujos de trabajo para notificaciones en todo el equipo, alertando a las personas adecuadas en Teams cuando un prospecto se convierte en lead o cuando se alcanzan hitos de proyecto. Los formularios en Twenty permiten que el equipo de desarrollo de negocio registre actividad sin salir de la herramienta. El impacto es real para la organización. La herramienta ha sido adaptable desde el trabajo a nivel de oportunidad en un cliente hasta decisiones a nivel ejecutivo.\"],\"E6Oohx\":[\"La misión más amplia de Justin en Elevate ha sido pasar de documentos estáticos a herramientas con acceso por API. A finales de 2025, eso ya estaba en marcha: facturación por tiempo, planificación de recursos, Microsoft Teams y gestión de proyectos eran accesibles vía API, con Twenty en el centro manteniendo los datos de clientes y oportunidades. Los miembros del equipo pudieron usar esa información de forma estratégica en lugar de volver a teclearla.\"],\"GAmD3h\":[\"Idiomas\"],\"2lrGbG\":[\"LATAM\"],\"wL3cK8\":[\"Lo último\"],\"rdU729\":[\"Diseño\"],\"+Ss/og\":[\"Aprende a usar Twenty\"],\"vifyyw\":[\"Legal\"],\"tHFTlp\":[\"Licenciatario:\"],\"gggTBm\":[\"LinkedIn\"],\"Jvz4g8\":[\"Aparición en la página de integraciones de Twenty\"],\"AHVzME\":[\"Datos en tiempo real e IA integrada\"],\"GObQuL\":[\"Actualizaciones en tiempo real\"],\"zmRZwk\":[\"Las actualizaciones en tiempo real no están disponibles, lo cual es casi más honesto.\"],\"M7lzaL\":[\"vive en el código que posees.\"],\"ObPscj\":[\"Cargando activación…\"],\"7VBQ2j\":[\"Local, Producción\"],\"JO8Bdx\":[\"Bloqueo\"],\"sQia9P\":[\"Iniciar sesión\"],\"KPLAuI\":[\"Reducir el costo del CRM\"],\"i3PI5l\":[\"Haz feliz a tu equipo de GTM\"],\"Si4WyF\":[\"Consultoría de gestión\"],\"poX06f\":[\"Trabajo manual en el núcleo\"],\"VJOKPB\":[\"Vista de mapas\"],\"u0wogL\":[\"Materiales de marketing y recursos de marca\"],\"Zt5PUS\":[\"Marketplace\"],\"LiMSZr\":[\"Listado en el Marketplace\"],\"bJNKJ1\":[\"Domina cada rincón de Twenty\"],\"Zw+Zv+\":[\"Servidor MCP\"],\"zxcfgg\":[\"significa control\"],\"bwCiCi\":[\"Conoce a las agencias y consultores certificados que implementan Twenty para equipos de todo el mundo.\"],\"ujYZ+f\":[\"Conoce a los equipos que convirtieron Twenty en su propio CRM con implementaciones autoalojadas, flujos de trabajo asistidos por IA y stacks de producto con prioridad en la API.\"],\"CQ9M36\":[\"MENA\"],\"briyJf\":[\"Métricas en las que realmente puedes confiar.\"],\"ZdvtU2\":[\"flujo de trabajo de migración\"],\"so04x6\":[\"Mike y Azmat de Nine Dots intervinieron para arreglarlo, no cambiando cómo funciona Homeseller, sino construyendo un sistema que por fin se ajustara a su alrededor.\"],\"izddzp\":[\"Mike Babiy\"],\"+8Nek/\":[\"Mensual\"],\"VqXuUv\":[\"¡Más opciones disponibles!\"],\"HmvqZe\":[\"avanza rápido\"],\"dlKkNL\":[\"Carga de múltiples archivos en los registros\"],\"6YtxFj\":[\"Nombre\"],\"LfNsfa\":[\"¿Necesitas un cambio rápido? Omite el ticket a ingeniería. Personaliza tu espacio de trabajo en minutos.\"],\"4sbgPq\":[\"¿Necesitas ayuda con la personalización?\"],\"8Cp4Of\":[\"NetZero\"],\"J8ZssL\":[\"NetZero ejecuta una instalación modular de Twenty para créditos de carbono, productos agrícolas y sistemas industriales.\"],\"7HVBV+\":[\"NetZero utiliza Twenty como un CRM modular en líneas de producto y países, con una hoja de ruta hacia flujos de trabajo asistidos por IA.\"],\"3PtYTO\":[\"NetZero trabaja con la agroindustria, atendiendo a clientes desde multinacionales hasta pequeños agricultores. Venden créditos de carbono, productos agrícolas y sistemas industriales franquiciados en tres líneas de producto diferentes, múltiples países y múltiples tamaños de empresa. Cuando Olivier Reinaud, cofundador de NetZero, comenzó a evaluar CRMs a finales de 2024, no buscaba la plataforma con más funciones. Quería la base adecuada.\"],\"KqojOL\":[\"Próximos pasos\"],\"qZ+egR\":[\"Nine Dots puso Twenty en el centro del stack de Homeseller con APIs, automatización e IA sobre operaciones fuertemente basadas en WhatsApp.\"],\"sGuHDu\":[\"Nine Dots reconstruyó las operaciones de Homeseller en Twenty, con un modelo de datos personalizado moldeado según su flujo de ventas. Como Twenty es abierto y todo es accesible vía API, lo conectaron con lo que el negocio realmente necesitaba: n8n para flujos de trabajo automatizados (los flujos dentro de la app no estaban disponibles en ese momento), Grafana para paneles en vivo alimentados desde Twenty y una capa de IA personalizada para analizar y extraer información estructurada de más de 2,000 mensajes de WhatsApp al día.\"],\"1UzENP\":[\"No\"],\"o+/Ad5\":[\"No más alquilar lo de otra persona\"],\"LmWdm6\":[\"No más alquilar la estructura de otra persona\"],\"UxK4so\":[\"No partners match your filters\"],\"q9f4Tp\":[\"Sin código\"],\"SiZ/7E\":[\"No. Crea objetos, campos, vistas y flujos de trabajo sin código directamente desde Configuración. Ilimitado, sin costo adicional.\"],\"7ngHsA\":[\"no comprado.\"],\"k3T2mM\":[\"Ahora un desarrollador puede describir lo que quiere a Claude Code y tener una app funcionando en una tarde. Un objeto personalizado, un flujo de puntuación, una vista nueva, una integración. El cuello de botella ya no es construir. Es si tu plataforma te lo permite.\"],\"CzeIij\":[\"Número de paneles\"],\"0dVyEt\":[\"de un stack de salida al mercado\"],\"pkrZnO\":[\"Olivier reconoce que el uso actual de Twenty por parte de NetZero sigue siendo relativamente simple: los flujos de trabajo y las integraciones aún no son tan profundos como eventualmente quiere, porque priorizó acertar primero con los cimientos.\"],\"l/1LQc\":[\"Olivier Reinaud\"],\"D2b+1q\":[\"En un único CRM\"],\"XhXmzW\":[\"En esta página\"],\"jeGPx0\":[\"en Twenty\"],\"pbmZ7R\":[\"Paquetes de incorporación\"],\"/DFChQ\":[\"Uno\"],\"Zt1UZb\":[\"Una API para gobernarlas a todas\"],\"pShqss\":[\"Solo 5 $ para SSO. Prácticamente un programa de caridad.\"],\"3WErRa\":[\"APIs abiertas\"],\"pkXQA+\":[\"Abre Configuración → Enterprise en tu instancia autoalojada de Twenty.\"],\"wtKPUT\":[\"primitivas de código abierto.\"],\"8THUfN\":[\"software de código abierto\"],\"5RkmVr\":[\"De código abierto, preparado para IA y tuyo para moldear.\"],\"oYQN5j\":[\"o no.\"],\"ucgZ0o\":[\"Organización\"],\"M12WZl\":[\"nuestro socio\"],\"dKGg8T\":[\"Agotado\"],\"C8Ex6S\":[\"listo para usar\"],\"PASC/7\":[\"Ha sobrevivido a cada rediseño desde 2004.\"],\"Bwsi7B\":[\"Haz tuyo el CRM de extremo a extremo\"],\"oDAEQq\":[\"Propiedad\"],\"NmF/Vo\":[\"Ser dueño de tu stack sigue estando misteriosamente agotado.\"],\"h/oMMb\":[\"Los CRMs en paquete hacen que todas las empresas se vean iguales. Twenty es el CRM de código abierto que los equipos moldean en torno a su flujo de trabajo, con una interfaz moderna y una plataforma con prioridad para desarrolladores.\"],\"+AiiMt\":[\"La paginación forja el carácter.\"],\"mPkInZ\":[\"Socios\"],\"9yo8NN\":[\"Pega la clave y haz clic en Activar.\"],\"nxV7o2\":[\"dando sus frutos\"],\"FFkjaT\":[\"Gestión de pipeline\"],\"gzkkC3\":[\"Pipelines, objetos personalizados, asistentes de IA y una API nativa sobre Postgres. Twenty es el CRM de código abierto con la experiencia moderna que los equipos realmente quieren usar.\"],\"0gBYFU\":[\"Completa todos los campos obligatorios antes de enviar.\"],\"iCh6/3\":[\"plomería\"],\"a7u1N9\":[\"Precio\"],\"aHCEmh\":[\"Precios\"],\"J2IAmT\":[\"Director y fundador\"],\"kXBQYM\":[\"Director y fundador, Alternative Partners\"],\"k62X/2\":[\"Soporte prioritario\"],\"LcET2C\":[\"Política de Privacidad\"],\"DJ3uVe\":[\"Política de Privacidad | Twenty\"],\"3fPjUY\":[\"Pro\"],\"kIGKva\":[\"Calidad de nivel de producción\"],\"CcK9cq\":[\"Los programas que antes requerían una coordinación manual pesada ahora funcionan de extremo a extremo con automatización. Las instituciones obtienen un sistema inteligente y escalable; los estudiantes, una preparación más rápida para entrevistas que importan; W3villa entregó un producto alrededor del cual las instituciones pueden generar ingresos.\"],\"9NAqO4\":[\"Automatización de propuestas\"],\"a24q7E\":[\"Lenguajes propietarios, ciclos de despliegue lentos y lógica de \\\"caja negra\\\".\"],\"kS6G/9\":[\"puso fin\"],\"frfCYp\":[\"T1 2026\"],\"gSQVmr\":[\"Leer el caso\"],\"EqCbT9\":[\"Permisos de Lectura/Edición/Eliminación\"],\"SNf+4G\":[\"Listo para construir\"],\"9BL+5g\":[\"Listo para crecer\"],\"1d+b/h\":[\"¿Listo para crecer\\ncon Twenty?\"],\"zTY2by\":[\"Historias reales de clientes de equipos que gestionan su negocio en Twenty: cómo migraron, qué personalizaron y qué cambió una vez que su CRM por fin encajó.\"],\"NIwjHh\":[\"Inmobiliario\"],\"CH+Ona\":[\"Historias reales de equipos reales sobre cómo moldearon Twenty para adaptarlo a su flujo de trabajo y aceleraron su crecimiento.\"],\"5O1eTm\":[\"¿Cambios en tiempo real? Será una sorpresa premium.\"],\"4hc7hc\":[\"Datos en tiempo real\"],\"dKQCrj\":[\"El tiempo real es un estado mental, no una función.\"],\"Zhiuz9\":[\"Trimestre récord\"],\"PWlTvh\":[\"Registros\"],\"q45OlW\":[\"Regions\"],\"rwWjWg\":[\"Notas de la versión\"],\"5icoS1\":[\"Lanzamientos\"],\"a/aGHe\":[\"Renombrar, descargar y eliminar archivos adjuntos\"],\"t9yxlZ\":[\"Informes\"],\"SY/an2\":[\"Informes y Paneles\"],\"5Cs/CL\":[\"Descuentos de reventa y reparto de ingresos\"],\"s+MGs7\":[\"Recursos\"],\"oC2l7f\":[\"API REST y GraphQL\"],\"kx0s+n\":[\"Resultados\"],\"2itg0p\":[\"Retro 2015\"],\"OH7xLu\":[\"Participación de ingresos por clientes referidos\"],\"frqduN\":[\"Notas enriquecidas adjuntas a los registros\"],\"/gaSVU\":[\"Hoja de ruta\"],\"Wdh41P\":[\"Permisos a nivel de fila\"],\"mRpuWW\":[\"Dirigir programas de entrevistas simuladas para cientos de estudiantes suena sencillo. En la práctica, las universidades e institutos de formación chocan con el mismo muro: inscripciones introducidas a mano, enlaces de entrevista enviados uno por uno, el profesorado revisando cada sesión sin puntuación ni clasificación. A escala real, se rompe.\"],\"Burn4/\":[\"Centro de complementos de Salesfarce\"],\"xTfEgV\":[\"Salesfarce Pro\"],\"/UolBB\":[\"Salesforce Classic\"],\"l69E+u\":[\"Migración desde Salesforce\"],\"CADlRK\":[\"El mismo CRM\"],\"60i6S+\":[\"La misma salida\"],\"xl2tJ9\":[\"Los mismos resultados\"],\"w9QWxz\":[\"SSO SAML/OIDC\"],\"elz5ka\":[\"Ahorrado / mes\"],\"tigXYO\":[\"ahorrado cada mes\"],\"bifv6N\":[\"Escala\"],\"rbgetd\":[\"Escalar sin\"],\"842ybw\":[\"Escalar sin romper las operaciones\"],\"HVOGoW\":[\"Límite de usuarios\"],\"a3LDKx\":[\"Seguridad\"],\"q20Cda\":[\"Mira cómo los equipos\"],\"aB+XpI\":[\"Ver más funciones\"],\"FY4ykg\":[\"Ver el último lanzamiento\"],\"JDp1bg\":[\"Ve las actualizaciones a medida que suceden. Trabaja con tu equipo y agentes sin fricciones.\"],\"0kgOPB\":[\"Mira lo que se lanzó en \",[\"0\"]],\"wgNoIs\":[\"Seleccionar todo\"],\"KP119R\":[\"Selecciona tu equipo\"],\"aSWuGn\":[\"Self-host\"],\"6JhL+3\":[\"Autoalojado\"],\"5CWy3T\":[\"Autoalojado significa que AC&T no asume riesgo de proveedores: ningún modelo de precios que pueda cambiar, ninguna plataforma que pueda desaparecer, ninguna migración forzada. El sistema es suyo.\"],\"5WmQ5O\":[\"Autoalojado significa control\"],\"6QPYP7\":[\"Twenty autoalojado\"],\"GrBvv/\":[\"Autoalojamiento\"],\"YdhUoe\":[\"¡Autoalojamiento, ahora en alquiler!\"],\"NaHz2o\":[\"Autoalojamiento\"],\"2tkD/5\":[\"Comparte Twenty con tu audiencia y ayuda a dar forma al futuro del CRM de código abierto n.º 1. Buscamos creadores, educadores y constructores de comunidad que quieran mostrar un gran software.\"],\"3VFzsh\":[\"Lanza un producto en Twenty\"],\"6lGV3K\":[\"Mostrar menos\"],\"qv84H6\":[\"Muéstrame todos los acuerdos que se cierran este mes\"],\"RhU4bB\":[\"Showing \",[\"visibleCount\"],\" of \",[\"totalCount\"],\" partners\"],\"I89wN/\":[\"Showing all \",[\"totalCount\"],\" partners\"],\"mA6cL1\":[\"Regístrate en Cloud en menos de un minuto y comienza tu prueba de 30 días. Para despliegues más grandes, nuestros Paquetes de incorporación de 4 horas o socios certificados te ponen en producción en 1–2 semanas.\"],\"AQK14J\":[\"Simple\"],\"V9dFwD\":[\"Mapa del sitio\"],\"t6ComU\":[\"Evita la UX torpe que siempre acompaña a lo personalizado.\"],\"bUmSwL\":[\"Patrones inteligentes, atajos y diseños hacen que las tareas diarias sean más rápidas y fáciles de ejecutar.\"],\"7PyS12\":[\"Socio de Soluciones\"],\"e1+XW/\":[\"Socios de Soluciones\"],\"AVfp38\":[\"Algunos lo llaman precios empresariales. Preferimos un CRM donde el acceso a la API, los webhooks y los flujos de trabajo no aparezcan como complementos sorpresa.\"],\"/UwJ/B\":[\"Próximamente: gana ingresos\"],\"B/mYo/\":[\"Acceso al código fuente\"],\"65A04M\":[\"Spanish\"],\"vnS6Rf\":[\"SSO\"],\"uQl22y\":[\"Soporte estándar\"],\"wxW2Sv\":[\"¡Empieza a automatizar a gran escala!\"],\"F02wii\":[\"Empieza a crear, con Twenty\"],\"XO628f\":[\"Comienza gratis\"],\"sBOFB0\":[\"Comienza hoy tu prueba gratuita\\nsin tarjeta de crédito.\"],\"FT+TW7\":[\"Mantente en control con nuestros\"],\"j9c8rb\":[\"Mantente en Flow\"],\"bxgoJR\":[\"Guías paso a paso y playbooks para ayudar a tu equipo a sacar el máximo partido a su espacio de trabajo.\"],\"RMK92/\":[\"Deja de pelearte con lo personalizado.\"],\"UCLArd\":[\"Deja de conformarte con compromisos.\"],\"lm4alq\":[\"estructura\"],\"Sv4BSp\":[\"Subdominio (yourco.twenty.com)\"],\"H5/rZQ\":[\"Enviar solicitud\"],\"MDqQmP\":[\"Enviando…\"],\"KY4KBn\":[\"Resume el historial de este cliente\"],\"XYLcNv\":[\"Soporte\"],\"3w+Aox\":[\"Tabla, Kanban, Calendario\"],\"9M02G5\":[\"Adapta páginas de registro, menús y vistas\"],\"JAKtcG\":[\"Habla con nosotros\"],\"GWMpL3\":[\"Tareas y Actividades\"],\"Ye3KKA\":[\"Colabora con un experto en Twenty\"],\"vsdUaL\":[\"Notas técnicas\"],\"8dX1MJ\":[\"Socio Tecnológico\"],\"EeZsnh\":[\"Socios Tecnológicos\"],\"gNW5s8\":[\"Cuéntanos sobre las soluciones personalizadas o integraciones que planeas construir.\"],\"1ZwmkP\":[\"plantilla\"],\"mvP/25\":[\"Términos y Condiciones\"],\"BEX1RA\":[\"Términos del Servicio | Twenty\"],\"iqG74V\":[\"Términos del Servicio para Twenty.com PBC, incluido el uso de Twenty.com, subdominios y servicios relacionados.\"],\"dn9a7V\":[\"que\"],\"FjkPYg\":[\"Eso abrió la puerta a algo más poderoso. Justin creó un front end personalizado que extrae datos en vivo de esos sistemas en una sola vista, adaptada a cada rol. Cuando se gana una propuesta, lo que antes requería que cuatro personas configuraran manualmente instancias en cuatro herramientas diferentes ahora ocurre con un solo clic, aprovechando los datos recopilados en Twenty a lo largo de todo el ciclo de vida de la oportunidad. Es otro cambio hacia trabajo de mayor valor para los clientes.\"],\"8S4psU\":[\"Eso funciona hasta que necesitas entender el negocio subyacente. ¿Qué acuerdos están atascados? ¿De dónde vienen los leads? ¿Cuál es la tasa de cierre? Con hojas de cálculo y un CRM personalizado heredado que no podía seguir el ritmo, esas preguntas eran casi imposibles de responder.\"],\"yWOGs1\":[\"que se adapta rápido\"],\"zXlFuT\":[\"El CRM de código abierto n.º 1 para equipos modernos. Modular, escalable y creado para adaptarse a tu negocio.\"],\"G2IgPj\":[\"La apuesta es\"],\"NT2bSJ\":[\"La apuesta está dando frutos\"],\"Xmr/wH\":[\"el negocio\"],\"Wie492\":[\"El equipo de desarrollo de negocio por fin tenía el CRM que habían estado pidiendo. La adopción llegó de forma natural: sus datos ya estaban allí cuando iniciaron sesión.\"],\"2kHqXc\":[\"El CEO se había resistido a incorporar un CRM durante años. El equipo de desarrollo de negocio no tenía experiencia usando uno, y los costos de licencia de CRMs conocidos como Salesforce o HubSpot eran difíciles de justificar sin ninguna garantía de adopción: los CRMs solo son tan buenos como el mantenimiento de los datos dentro de ellos.\"],\"5DpEh7\":[\"El CRM como un\"],\"2sfVd8\":[\"El CRM como centro de control\"],\"XlFsoH\":[\"La apuesta temprana por la arquitectura se mantiene, y se espera que las próximas funciones de IA la hagan aún más relevante.\"],\"kCUcnD\":[\"La flexibilidad es simplemente increíble. Literalmente, no hay nada que no puedas hacer. Puedes crear objetos, acceder a todo a través de la API, extraer notas y enviarlas al portal. Intenta hacer eso en HubSpot. De ninguna manera. Es la verdadera capacidad de construir exactamente lo que realmente se necesita.\"],\"MaHqAc\":[\"La flexibilidad fue realmente lo que marcó la diferencia. Nuestras necesidades evolucionan muy rápido. Descubro una nueva necesidad y en dos clics puedo abordarla. Eso es una verdadera ventaja cuando te mueves rápido.\"],\"Q5iZ9Q\":[\"La flexibilidad para conectar todo esto, sin ayuda externa y sin pelearse con la plataforma, fue lo que hizo posible que una sola persona levantara y mantuviera un stack conectado en toda una consultora.\"],\"l0eUFC\":[\"El despliegue completo llegó en julio de 2025. Desde entonces, Nine Dots construyó un Asistente Inteligente sobre el sistema, que impulsa a los agentes con tareas, recordatorios y análisis de mercado bajo demanda. Algunos agentes nunca abren Twenty directamente, pero están impulsados por él, superando a sus pares solo con procesos manuales. Para el T1 de 2026, Homeseller había registrado su mejor trimestre de ventas de la historia.\"],\"SiW1pC\":[\"el futuro del CRM\"],\"Uslh7V\":[\"El futuro del CRM se construye,\"],\"sm10Rg\":[\"El Gran Monolito\"],\"nFB8I1\":[\"La Carga Interna\"],\"ZNzKXV\":[\"La decisión clave fue no construir todo desde cero. Twenty cubre el modelo de datos, los permisos, la autenticación y el motor de flujos de trabajo, las partes que habrían llevado meses reconstruir, para que el equipo pudiera centrarse en la lógica específica del producto.\"],\"q1kKLq\":[\"La oportunidad\"],\"ZgWQl4\":[\"la sobrecarga\"],\"2NJdyz\":[\"El problema.\"],\"Q8D9Lf\":[\"el producto\"],\"3/wAFg\":[\"El resultado\"],\"nAWeyi\":[\"El resultado es un sistema que se ajusta a cómo AC&T ya trabajaba, en lugar de al revés.\"],\"tfG/xw\":[\"Lo correcto\"],\"nbHA9N\":[\"La base adecuada\"],\"omVXTg\":[\"La configuración autoalojada significa que Alternative Partners posee todo el stack: sin acceso de proveedores a sus datos, sin dependencia de un modelo de precios SaaS, control total sobre cómo evoluciona el sistema. La migración fue rápida gracias a la IA; el resultado es duradero porque el stack es de código abierto.\"],\"1tN3qf\":[\"El cambio\"],\"AnGOwN\":[\"La situación\"],\"u0uFxg\":[\"Ellos son las ventas de verdad\"],\"53RXLB\":[\"Lo llaman fidelidad del cliente. Nosotros lo llamamos una jaula muy afectuosa.\"],\"RhmZMe\":[\"No solo reemplazaron una herramienta. Recuperaron la propiedad de cómo funciona su negocio.\"],\"5YzqyT\":[\"Evaluaron Salesforce, Zoho, Pipedrive y SuiteCRM. Todos venían con los mismos compromisos: demasiado caros, demasiado rígidos o demasiado genéricos, y ninguno solucionaba el problema de fondo. Seguían alquilando una estructura que no controlaban.\"],\"wnQPbr\":[\"mil palabras\"],\"2y6W+f\":[\"para gobernarlas a todas\"],\"5eFktS\":[\"Integración de herramientas\"],\"xv7HSr\":[\"total por mes con costo fijo\"],\"hmu++i\":[\"Sigue el importe y la fecha de cierre\"],\"POzmFl\":[\"Sigue cada lanzamiento con registros de cambios, destacados y demostraciones de las funciones más recientes.\"],\"yiYtW0\":[\"Sigue relaciones, gestiona pipelines y actúa rápido con un CRM que se siente intuitivo desde el primer día.\"],\"XzfkgA\":[\"compromisos\"],\"ccIZU2\":[\"Confía en el CRM n.º 1,\"],\"KtyN0b\":[\"con la confianza de\"],\"eslLQF\":[\"Pruébalo en vivo\"],\"qhmtws\":[\"Try removing some filters or browse all partners.\"],\"E/hGy3\":[\"Prueba Twenty Cloud\"],\"D5Kf4t\":[\"El martes tu equipo descubre que las oportunidades con un champion técnico cierran 3 veces más rápido. El miércoles agregas el campo, conectas la puntuación, ajustas el flujo de trabajo. Para el jueves tus agentes ya están actuando. Ese circuito de retroalimentación es la ventaja. Y solo funciona si el CRM es tuyo.\"],\"O5dAmW\":[\"Twenty | CRM de código abierto n.º 1\"],\"NalB1c\":[\"Twenty Apps abre la puerta a crear productos, no solo implementaciones. Por ejemplo, estamos desarrollando una integración de WhatsApp Business que cualquier cliente de Twenty podría obtener. Es una fuente de ingresos recurrentes que no tendríamos si solo estuviéramos configurando la plataforma de otra empresa.\"],\"q9UWVC\":[\"Artículos de Twenty — Insights sobre CRM de código abierto\"],\"mkTfZ1\":[\"Twenty como el\"],\"+w9xZW\":[\"Twenty como columna vertebral de API de un stack de salida al mercado\"],\"zj0CA+\":[\"Twenty como la columna vertebral de API de un stack de salida al mercado | Elevate Consulting\"],\"neM1Ol\":[\"Funciones de Twenty CRM — Plataforma CRM moderna de código abierto\"],\"8zCqPL\":[\"Precios de Twenty CRM — Planes desde 9 $ por usuario al mes\"],\"D05UQH\":[\"Clientes de Twenty — Cómo los equipos modernos gestionan su CRM\"],\"0qyMhk\":[\"Twenty da a los equipos técnicos los bloques de construcción para un CRM personalizado que cubre necesidades de negocio complejas y se adapta rápidamente a medida que el negocio evoluciona.\"],\"jVhq41\":[\"Twenty te da el tipo de flexibilidad que realmente cambia lo que puedes ofrecer a tus clientes. La experiencia de desarrollo es limpia, las APIs son abiertas y, cuando algo necesita personalizarse, simplemente puedes hacerlo. No hay que pelearse con la plataforma.\"],\"x/I85y\":[\"Twenty no es solo donde viven los datos del CRM. Es la columna vertebral de API que hace posible el resto del stack.\"],\"K+zzSQ\":[\"Twenty nos permite construir un CRM alrededor del negocio y no el negocio alrededor del CRM.\"],\"AxT+g4\":[\"Twenty lo hace sencillo. Es limpio, intuitivo y está diseñado para que se sienta como Notion.\"],\"TvzLOC\":[\"Twenty partner\"],\"4SJucz\":[\"Twenty Partners — Implementadores certificados de CRM de código abierto\"],\"X1GHuJ\":[\"Lanzamientos de Twenty — Novedades en el CRM de código abierto\"],\"V1lV7B\":[\"Soporte del equipo de Twenty\"],\"KsFvUt\":[\"Twenty's certified partners help teams migrate, customise, and operate the open source CRM across regions, languages, and deployment models. Browse profiles and book a call.\"],\"EIU345\":[\"Autenticación de dos factores\"],\"uxuy4l\":[\"Tema de la interfaz de usuario\"],\"jqzUyM\":[\"No disponible\"],\"Hix/m6\":[\"Cronología unificada (correos electrónicos, eventos, tareas, notas, archivos)\"],\"NIuIk1\":[\"Ilimitado\"],\"aGpTSC\":[\"Hasta 5 espacios de trabajo\"],\"2vanwz\":[\"Sube, renombra, previsualiza y gestiona archivos directamente en los registros. Todo se mantiene donde corresponde.\"],\"RCOibx\":[\"US\"],\"Roaswv\":[\"Guía del usuario\"],\"3XIgKU\":[\"Roles de usuario\"],\"BAzC1v\":[\"Tipos de vista\"],\"mHtVst\":[\"¡Visualiza a tus clientes en un mapa!\"],\"CsHuOr\":[\"VP de Ingeniería\"],\"uRh799\":[\"VP de Ingeniería en W3villa Technologies\"],\"w2INie\":[\"VP de Ingeniería, W3villa Technologies\"],\"s0tU5h\":[\"W3Grads\"],\"R8BueT\":[\"W3villa creó W3Grads (w3grads.com), una plataforma de simulación de entrevistas impulsada por IA para universidades e institutos de formación, usando Twenty como columna vertebral operativa.\"],\"7hHsoV\":[\"W3villa creó W3Grads para simulaciones de entrevistas con IA a escala, con Twenty como columna vertebral operativa.\"],\"QBOUnd\":[\"W3villa lanzó W3Grads sobre Twenty para entrevistas con IA, puntuación y flujos de trabajo a escala institucional sin rehacer la infraestructura del CRM.\"],\"7q5Vjn\":[\"W3villa Technologies\"],\"ZabLEt\":[\"W3villa Technologies se propuso resolverlo correctamente, no con un parche, sino con un producto.\"],\"3v2ipf\":[\"W3villa usó Twenty como un framework de nivel de producción para el modelo de datos, los permisos, la autenticación y el motor de flujos de trabajo que de otro modo habrían reconstruido por su cuenta.\"],\"8CHatv\":[\"No pudimos enviar tu solicitud. Inténtalo de nuevo en un momento.\"],\"MjWeUE\":[\"No queríamos parchear el problema. Queríamos crear algo en lo que las instituciones pudieran confiar a escala, y eso significaba partir de una base lo suficientemente sólida como para soportar toda la complejidad de lo que teníamos en mente.\"],\"d5CWI6\":[\"Estamos construyendo el CRM de código abierto n.º 1, pero no podemos hacerlo solos. Únete a nuestro ecosistema de partners y crece con nosotros.\"],\"v1kQyJ\":[\"Webhooks\"],\"ZhnM/K\":[\"Webhooks (Captura de cambios de datos)\"],\"jBX2tZ\":[\"Sitio web o enlace de GitHub *\"],\"Z34FQq\":[\"Lo que convenció a Olivier fue la flexibilidad de la plataforma y hacia dónde se dirigía. Aunque las necesidades iniciales eran un registro básico de datos, seguía necesitando un modelo de datos personalizado con permisos granulares para gestionar la amplia gama de actividades de NetZero. También necesitaba un sistema que pudiera adaptarse rápidamente a una empresa de iteración rápida.\"],\"phiBjc\":[\"¿Cuánto cuesta Twenty?\"],\"WVQaGB\":[\"Lo que llegará en abril de 2026 es lo que ha estado esperando: creación de flujos de trabajo asistida por IA, describir lo que necesita e iterar a partir de ahí en lugar de construir lógica compleja desde cero. Para un fundador que gestiona él mismo el CRM, eso cambia lo que es realísticamente posible.\"],\"iOAq7n\":[\"Qué sigue\"],\"tWd6MT\":[\"Lo que está planificado es significativo. NetZero tiene un data lake, formularios en línea y múltiples sistemas internos que quiere conectar con Twenty. Las canalizaciones ya están; el siguiente paso son automatizaciones que los unan.\"],\"aYRqmz\":[\"Lo que esto significa\"],\"1kfjxX\":[\"Lo que viniera después tenía que ser algo de lo que pudieran ser propietarios.\"],\"cs6VpJ\":[\"Cuando un estudiante se registra mediante un QR en un evento del campus, el sistema asigna un plan, genera una sesión de entrevista y envía un enlace. La IA realiza la entrevista, puntúa al candidato y clasifica el resultado. El profesorado ve en qué situación está cada estudiante sin revisar manualmente cada sesión. Construir e iterar estos flujos de trabajo fue más rápido con la IA en el ciclo.\"],\"I/oPrY\":[\"Cuando el canal es\"],\"JglRo/\":[\"Cuando el canal es el negocio\"],\"ee4xKk\":[\"Cuando el proveedor\"],\"DajeYD\":[\"Cuando el proveedor desconectó el servicio\"],\"X1gdzB\":[\"Cuando tu CRM es\"],\"OQ41z8\":[\"Cuando tu CRM es el producto\"],\"Svuneu\":[\"Cuando tu CRM es el producto: W3Grads en Twenty | W3villa Technologies\"],\"KRKrw8\":[\"¿Qué programa de partners es el adecuado para ti?\"],\"bGN8u+\":[\"Aunque NetZero aún ejecuta un segundo CRM en paralelo para operaciones con gran uso de WhatsApp con agricultores en Brasil, esperan migrarlo todo a Twenty a medida que crezcan las funciones y el ecosistema. Ya, su pipeline estructurado y multinacional funciona con Twenty.\"],\"DJlSwA\":[\"Por qué\"],\"4sOVu+\":[\"Por qué Twenty\"],\"DH7vVZ\":[\"Por qué Twenty — El CRM de código abierto creado para ser personalizado\"],\"aycITw\":[\"con\"],\"NI3KID\":[\"con sin código\"],\"OKVlnc\":[\"Con Twenty, cuando surge una nueva necesidad, puede abordarla él mismo: sin desarrollador, sin ticket de soporte.\"],\"JRUWoH\":[\"con Twenty?\"],\"KAB1uP\":[\"contigo\"],\"Lr53K3\":[\"sin fricción\"],\"OX5bbs\":[\"Correo electrónico de trabajo *\"],\"5uK1yi\":[\"trabaja más rápido\"],\"woYYQq\":[\"Flujos de trabajo\"],\"1ie9Dm\":[\"Flujos de trabajo que\"],\"AzqmMJ\":[\"Flujos de trabajo que realmente se usan\"],\"pmUArF\":[\"Espacio de trabajo\"],\"zkWmBh\":[\"Anual\"],\"l75CjT\":[\"Sí\"],\"bo6pUs\":[\"Sí, con nuestro framework de Apps. Inicializa una extensión con `npx create-twenty-app` y entrega objetos personalizados, funciones de lógica del lado del servidor, componentes de React que se renderizan dentro de la interfaz de Twenty, habilidades y agentes de IA, vistas y navegación, todo en TypeScript, desplegable en cualquier espacio de trabajo.\"],\"yIcBW6\":[\"Sí. Cada espacio de trabajo Cloud incluye un servidor MCP nativo. Conecta tu asistente de IA mediante OAuth y podrá leer y escribir tus datos del CRM en lenguaje natural.\"],\"8xYMYQ\":[\"Sí. Importa tus datos vía CSV, o usa nuestra API para 50,000+ registros. Nuestros partners pueden encargarse de toda la migración por ti.\"],\"8m0eN9\":[\"Sí. Twenty es el CRM de código abierto n.º 1 en GitHub. Puedes autoalojarlo para poseer por completo tu infraestructura, o ejecutarlo en nuestra nube gestionada para una configuración sin operaciones.\"],\"LJ3sTb\":[\"No compras tu pipeline de despliegue ya hecho. No alquilas tu almacén de datos a un proveedor que decide el esquema. Lo construyes, es tuyo y iteras sobre él cada semana. El CRM va por el mismo camino. Los equipos que lo traten como una infraestructura propia acumularán una ventaja cada trimestre.\"],\"SfJVcK\":[\"Tu compra se ha completado. Sigue los pasos a continuación para copiar tu clave de licencia en tu instancia de Twenty.\"],\"krHgj1\":[\"Tu clave empresarial\"],\"+dxjCu\":[\"Tu licencia empresarial se ha activado correctamente.\"],\"pEQiCY\":[\"Tu nombre *\"],\"fQATWn\":[\"Tu red, completamente mapeada.\"],\"9Apzz7\":[\"tu propia historia?\"],\"wHjFOw\":[\"Cero\"],\"xlFvlS\":[\"Cero trabajo manual\"],\"ZvEoMq\":[\"Cero trabajo manual en el núcleo. Automatización total. Construido sobre Twenty.\"]}")as Messages;\ No newline at end of filediff --git a/packages/twenty-website/src/sections/Articles/components/index.ts b/packages/twenty-website/src/sections/Articles/components/index.tsdeleted file mode 100644index 1b263f8ecab..00000000000--- a/packages/twenty-website/src/sections/Articles/components/index.ts+++ /dev/null@@ -1,7 +0,0 @@-import { Article } from './Article';-import { ArticleIndex } from './ArticleIndex';--export const Articles = {- Article,- Index: ArticleIndex,-};diff --git a/packages/twenty-website/src/sections/Articles/index.ts b/packages/twenty-website/src/sections/Articles/index.tsindex 30329eaad1d..3a8aa0a046b 100644--- a/packages/twenty-website/src/sections/Articles/index.ts+++ b/packages/twenty-website/src/sections/Articles/index.ts@@ -1 +1,2 @@-export { Articles } from './components';+export { ArticleIndex as ArticlesIndex } from './components/ArticleIndex';+export { Article as ArticlesArticle } from './components/Article';diff --git a/packages/twenty-website/src/sections/CaseStudy/components/Hero.tsx b/packages/twenty-website/src/sections/CaseStudy/components/Hero.tsxindex e9298e656e5..11cdeb2793b 100644--- a/packages/twenty-website/src/sections/CaseStudy/components/Hero.tsx+++ b/packages/twenty-website/src/sections/CaseStudy/components/Hero.tsx@@ -1,7 +1,7 @@import type { CaseStudyData } from '@/lib/customers';import { Container } from '@/design-system/components';import { CLIENT_ICONS } from '@/icons';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import { LocalizedLink } from '@/lib/i18n';import { CustomerCasesCover } from '@/sections/CaseStudyCatalog/visuals/CustomerCasesCover';import { theme } from '@/theme';diff --git a/packages/twenty-website/src/sections/CaseStudy/components/Highlights.tsx b/packages/twenty-website/src/sections/CaseStudy/components/Highlights.tsxindex 1ffa43106ef..c3f3d229e14 100644--- a/packages/twenty-website/src/sections/CaseStudy/components/Highlights.tsx+++ b/packages/twenty-website/src/sections/CaseStudy/components/Highlights.tsx@@ -1,5 +1,5 @@import { Container } from '@/design-system/components';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import { theme } from '@/theme';import type { MessageDescriptor } from '@lingui/core';import { msg } from '@lingui/core/macro';diff --git a/packages/twenty-website/src/sections/CaseStudy/components/TextBlock.tsx b/packages/twenty-website/src/sections/CaseStudy/components/TextBlock.tsxindex 1565d9abd6e..4adbeea5223 100644--- a/packages/twenty-website/src/sections/CaseStudy/components/TextBlock.tsx+++ b/packages/twenty-website/src/sections/CaseStudy/components/TextBlock.tsx@@ -5,7 +5,7 @@ import {Eyebrow,HeadingPart,} from '@/design-system/components';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import { theme } from '@/theme';import { styled } from '@linaria/react';const Section = styled.section`diff --git a/packages/twenty-website/src/sections/CaseStudy/components/index.ts b/packages/twenty-website/src/sections/CaseStudy/components/index.tsdeleted file mode 100644index 99eb200295c..00000000000--- a/packages/twenty-website/src/sections/CaseStudy/components/index.ts+++ /dev/null@@ -1,15 +0,0 @@-import { Body } from './Body';-import { CaseStudySectionNav } from './CaseStudySectionNav';-import { Hero } from './Hero';-import { Highlights } from './Highlights';-import { TextBlock } from './TextBlock';-import { VisualBlock } from './VisualBlock';--export const CaseStudy = {- Body,- SectionNav: CaseStudySectionNav,- Hero,- Highlights,- TextBlock,- VisualBlock,-};diff --git a/packages/twenty-website/src/sections/CaseStudy/index.ts b/packages/twenty-website/src/sections/CaseStudy/index.tsindex d4fadf29a2b..0ce221d7b56 100644--- a/packages/twenty-website/src/sections/CaseStudy/index.ts+++ b/packages/twenty-website/src/sections/CaseStudy/index.ts@@ -1 +1,6 @@-export { CaseStudy } from './components';+export { Body as CaseStudyBody } from './components/Body';+export { CaseStudySectionNav } from './components/CaseStudySectionNav';+export { Hero as CaseStudyHero } from './components/Hero';+export { Highlights as CaseStudyHighlights } from './components/Highlights';+export { TextBlock as CaseStudyTextBlock } from './components/TextBlock';+export { VisualBlock as CaseStudyVisualBlock } from './components/VisualBlock';diff --git a/packages/twenty-website/src/sections/CaseStudyCatalog/components/Card.tsx b/packages/twenty-website/src/sections/CaseStudyCatalog/components/Card.tsxindex 8ba0bb5cff6..ac6262aa3ad 100644--- a/packages/twenty-website/src/sections/CaseStudyCatalog/components/Card.tsx+++ b/packages/twenty-website/src/sections/CaseStudyCatalog/components/Card.tsx@@ -1,5 +1,5 @@import type { CaseStudyCatalogEntry } from '@/lib/customers';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import { LocalizedLink } from '@/lib/i18n';import { theme } from '@/theme';import { styled } from '@linaria/react';diff --git a/packages/twenty-website/src/sections/CaseStudyCatalog/components/CardFooter.tsx b/packages/twenty-website/src/sections/CaseStudyCatalog/components/CardFooter.tsxindex 8727f7e1e5d..69691995273 100644--- a/packages/twenty-website/src/sections/CaseStudyCatalog/components/CardFooter.tsx+++ b/packages/twenty-website/src/sections/CaseStudyCatalog/components/CardFooter.tsx@@ -1,5 +1,5 @@import { ArrowRightIcon } from '@/icons';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import { theme } from '@/theme';import type { MessageDescriptor } from '@lingui/core';import { styled } from '@linaria/react';diff --git a/packages/twenty-website/src/sections/CaseStudyCatalog/components/CardKpis.tsx b/packages/twenty-website/src/sections/CaseStudyCatalog/components/CardKpis.tsxindex 6608a9609a3..6c12123db3a 100644--- a/packages/twenty-website/src/sections/CaseStudyCatalog/components/CardKpis.tsx+++ b/packages/twenty-website/src/sections/CaseStudyCatalog/components/CardKpis.tsx@@ -1,4 +1,4 @@-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import { theme } from '@/theme';import type { MessageDescriptor } from '@lingui/core';import { styled } from '@linaria/react';diff --git a/packages/twenty-website/src/sections/CaseStudyCatalog/components/Promo.tsx b/packages/twenty-website/src/sections/CaseStudyCatalog/components/Promo.tsxindex 480c78b81ce..7233ea0357c 100644--- a/packages/twenty-website/src/sections/CaseStudyCatalog/components/Promo.tsx+++ b/packages/twenty-website/src/sections/CaseStudyCatalog/components/Promo.tsx@@ -1,4 +1,5 @@import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';import type { CaseStudyCatalogEntry } from '@/lib/customers';import {Body,@@ -8,8 +9,8 @@ import {HeadingPart,} from '@/design-system/components';import { PlusIcon, UsersIcon } from '@/icons';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';-import { LocalizedLinkButton } from '@/lib/i18n/components/LocalizedLinkButton';+import { getServerI18n } from '@/lib/i18n/server';+import { LocalizedLinkButton } from '@/lib/i18n';import { PromoMic } from '@/sections/CaseStudyCatalog/visuals/PromoMic';import { theme } from '@/theme';import type { MessageDescriptor } from '@lingui/core';@@ -22,8 +23,6 @@ const LINE_INSET = '20px';const TRUSTED_BY_BOTTOM_PADDING = 12;const TRUSTED_BY_BOTTOM_PADDING_DESKTOP = 16;-const BODY = msg`Meet the teams who shaped Twenty into their own CRM with self-hosted deployments, AI-assisted workflows, and API-first product stacks.`;-const Section = styled.section`background-color: ${theme.colors.primary.background[100]};isolation: isolate;@@ -327,19 +326,23 @@ export function Promo({<TextColumn><Eyebrow colorScheme="primary" markerHeight={6} markerWidth={14}><HeadingPart fontFamily="mono">- {i18n._(msg`Customer Stories`)}+ <Trans>Customer Stories</Trans></HeadingPart></Eyebrow><Heading size="lg" weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`How teams`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`built with Twenty`)}- </HeadingPart>+ <Trans>+ <HeadingPart fontFamily="serif">How teams</HeadingPart>+ <br />+ <HeadingPart fontFamily="sans">built with Twenty</HeadingPart>+ </Trans></Heading>- <PromoBody size="sm">{i18n._(BODY)}</PromoBody>+ <PromoBody size="sm">+ <Trans>+ Meet the teams who shaped Twenty into their own CRM with+ self-hosted deployments, AI-assisted workflows, and API-first+ product stacks.+ </Trans>+ </PromoBody><CtaRow><LocalizedLinkButtoncolor="secondary"diff --git a/packages/twenty-website/src/sections/CaseStudyCatalog/components/index.ts b/packages/twenty-website/src/sections/CaseStudyCatalog/components/index.tsdeleted file mode 100644index d81bceb8b5b..00000000000--- a/packages/twenty-website/src/sections/CaseStudyCatalog/components/index.ts+++ /dev/null@@ -1,5 +0,0 @@-import { Card } from './Card';-import { Grid } from './Grid';-import { Promo } from './Promo';--export const CaseStudyCatalog = { Card, Grid, Promo };diff --git a/packages/twenty-website/src/sections/CaseStudyCatalog/index.ts b/packages/twenty-website/src/sections/CaseStudyCatalog/index.tsindex f2bc98a3232..21bc23cd3d0 100644--- a/packages/twenty-website/src/sections/CaseStudyCatalog/index.ts+++ b/packages/twenty-website/src/sections/CaseStudyCatalog/index.ts@@ -1 +1,2 @@-export { CaseStudyCatalog } from './components';+export { Grid as CaseStudyCatalogGrid } from './components/Grid';+export { Promo as CaseStudyCatalogPromo } from './components/Promo';diff --git a/packages/twenty-website/src/sections/Demo/components/Cta.tsx b/packages/twenty-website/src/sections/Demo/components/Cta.tsxdeleted file mode 100644index 09c2942cd7d..00000000000--- a/packages/twenty-website/src/sections/Demo/components/Cta.tsx+++ /dev/null@@ -1,16 +0,0 @@-import { theme } from '@/theme';-import { styled } from '@linaria/react';-import type { ReactNode } from 'react';--const CTAsContainer = styled.div`- display: flex;- flex-wrap: wrap;- gap: ${theme.spacing(4)};- justify-content: center;-`;--type CtaProps = { children: ReactNode };--export function Cta({ children }: CtaProps) {- return <CTAsContainer>{children}</CTAsContainer>;-}diff --git a/packages/twenty-website/src/sections/Demo/components/Preview.tsx b/packages/twenty-website/src/sections/Demo/components/Preview.tsxdeleted file mode 100644index 08a3ae898d3..00000000000--- a/packages/twenty-website/src/sections/Demo/components/Preview.tsx+++ /dev/null@@ -1,28 +0,0 @@-'use client';--import { theme } from '@/theme';-import { styled } from '@linaria/react';--import { AppPreview, type AppPreviewConfig } from '@/sections/AppPreview';--const PreviewRoot = styled.div`- margin-bottom: ${theme.spacing(11)};- margin-top: ${theme.spacing(12)};- width: 100%;-- @media (min-width: ${theme.breakpoints.md}px) {- margin-top: ${theme.spacing(19)};- }-`;--type PreviewProps = {- visual: AppPreviewConfig;-};--export function Preview({ visual }: PreviewProps) {- return (- <PreviewRoot>- <AppPreview showTerminal={false} visual={visual} />- </PreviewRoot>- );-}diff --git a/packages/twenty-website/src/sections/Demo/components/index.ts b/packages/twenty-website/src/sections/Demo/components/index.tsdeleted file mode 100644index 7aed43d92ab..00000000000--- a/packages/twenty-website/src/sections/Demo/components/index.ts+++ /dev/null@@ -1,5 +0,0 @@-import { Cta } from './Cta';-import { Root } from './Root';-import { Preview } from './Preview';--export const Demo = { Cta, Preview, Root };diff --git a/packages/twenty-website/src/sections/Demo/index.ts b/packages/twenty-website/src/sections/Demo/index.tsdeleted file mode 100644index 1f8e7705438..00000000000--- a/packages/twenty-website/src/sections/Demo/index.ts+++ /dev/null@@ -1 +0,0 @@-export { Demo } from './components';diff --git a/packages/twenty-website/src/sections/Editorial/components/Body.tsx b/packages/twenty-website/src/sections/Editorial/components/Body.tsxdeleted file mode 100644index 2aa6d3d3c34..00000000000--- a/packages/twenty-website/src/sections/Editorial/components/Body.tsx+++ /dev/null@@ -1,92 +0,0 @@-import { Body as BaseBody } from '@/design-system/components';-import { theme } from '@/theme';-import { css } from '@linaria/core';-import { styled } from '@linaria/react';-import { Children, type ReactNode } from 'react';--const bodyParagraphClassName = css`- color: var(--color-text-muted);- 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));-- &[data-align='left'] {- margin-left: 0;- }-- &[data-align='right'] {- margin-right: 0;- }- }-`;--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 = {- children: ReactNode;- layout:- | 'centered'- | 'indented'- | 'two-column'- | 'two-column-left'- | 'two-column-right';-};--export function Body({ children, layout }: EditorialBodyProps) {- const paragraphs = Children.map(children, (child) => (- <div className={bodyParagraphClassName}>- <BaseBody- as="p"- family="sans"- size="md"- variant="body-paragraph"- weight="regular"- >- {child}- </BaseBody>- </div>- ));-- if (- layout === 'two-column' ||- layout === 'two-column-left' ||- layout === 'two-column-right'- ) {- return (- <TwoColumnGrid- data-align={- layout === 'two-column-right'- ? 'right'- : layout === 'two-column-left'- ? 'left'- : undefined- }- >- {paragraphs}- </TwoColumnGrid>- );- }-- return <SingleColumnBody>{paragraphs}</SingleColumnBody>;-}diff --git a/packages/twenty-website/src/sections/Editorial/components/Eyebrow.tsx b/packages/twenty-website/src/sections/Editorial/components/Eyebrow.tsxdeleted file mode 100644index bb9e5d4b0b0..00000000000--- a/packages/twenty-website/src/sections/Editorial/components/Eyebrow.tsx+++ /dev/null@@ -1,11 +0,0 @@-import { Eyebrow as BaseEyebrow } from '@/design-system/components';-import type { ReactNode } from 'react';--type EditorialEyebrowProps = {- children: ReactNode;- colorScheme?: 'primary' | 'secondary';-};--export function Eyebrow({ children, colorScheme }: EditorialEyebrowProps) {- return <BaseEyebrow colorScheme={colorScheme}>{children}</BaseEyebrow>;-}diff --git a/packages/twenty-website/src/sections/Editorial/components/Heading.tsx b/packages/twenty-website/src/sections/Editorial/components/Heading.tsxdeleted file mode 100644index 5757b64eef7..00000000000--- a/packages/twenty-website/src/sections/Editorial/components/Heading.tsx+++ /dev/null@@ -1,23 +0,0 @@-import { Heading as BaseHeading } from '@/design-system/components';-import { styled } from '@linaria/react';-import type { ReactNode } from 'react';--const HeadingWrap = styled.div`- max-width: var(--editorial-heading-max-width, 617px);- min-width: 0;- width: 100%;-`;--type EditorialHeadingProps = {- children: ReactNode;-};--export function Heading({ children }: EditorialHeadingProps) {- return (- <HeadingWrap>- <BaseHeading as="h2" size="lg" weight="light">- {children}- </BaseHeading>- </HeadingWrap>- );-}diff --git a/packages/twenty-website/src/sections/Editorial/components/Intro.tsx b/packages/twenty-website/src/sections/Editorial/components/Intro.tsxdeleted file mode 100644index 74a22854c5d..00000000000--- a/packages/twenty-website/src/sections/Editorial/components/Intro.tsx+++ /dev/null@@ -1,22 +0,0 @@-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: var(--editorial-intro-max-width, 556px);- min-width: 0;- width: 100%;-`;--type IntroProps = {- children: ReactNode;- className?: string;-};--export function Intro({ children, className }: IntroProps) {- return <IntroRoot className={className}>{children}</IntroRoot>;-}diff --git a/packages/twenty-website/src/sections/Editorial/components/Root.tsx b/packages/twenty-website/src/sections/Editorial/components/Root.tsxdeleted file mode 100644index 06ffc4c61d7..00000000000--- a/packages/twenty-website/src/sections/Editorial/components/Root.tsx+++ /dev/null@@ -1,89 +0,0 @@-import { Container, GuideCrosshair } from '@/design-system/components';-import { theme, type Scheme } from '@/theme';-import { styled } from '@linaria/react';-import type { ReactNode } from 'react';--const StyledSection = styled.section`- min-width: 0;- width: 100%;-- &[data-has-crosshair] {- position: relative;- }-- &[data-scheme='light'] {- background-color: var(--color-white);- color: var(--color-text);- }-- &[data-scheme='muted'] {- background-color: var(--color-neutral);- color: var(--color-text);- }-- &[data-scheme='dark'] {- background-color: var(--color-black);- color: var(--color-text);- }-`;--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 EditorialCrosshair = {- crossX: string;- crossY: string;- lineColor?: string;-};--type RootProps = {- backgroundColor?: string;- children: ReactNode;- color?: string;- crosshair?: EditorialCrosshair;- scheme?: Scheme;-};--export function Root({- backgroundColor,- children,- color,- crosshair,- scheme,-}: RootProps) {- return (- <StyledSection- data-has-crosshair={crosshair ? '' : undefined}- data-scheme={scheme}- style={scheme ? undefined : { backgroundColor, color }}- >- {crosshair ? (- <GuideCrosshair- crossX={crosshair.crossX}- crossY={crosshair.crossY}- lineColor={crosshair.lineColor}- />- ) : null}- <StyledContainer>- <Inner>{children}</Inner>- </StyledContainer>- </StyledSection>- );-}diff --git a/packages/twenty-website/src/sections/Editorial/components/index.ts b/packages/twenty-website/src/sections/Editorial/components/index.tsdeleted file mode 100644index 83f07f4823c..00000000000--- a/packages/twenty-website/src/sections/Editorial/components/index.ts+++ /dev/null@@ -1,7 +0,0 @@-import { Body } from './Body';-import { Eyebrow } from './Eyebrow';-import { Heading } from './Heading';-import { Intro } from './Intro';-import { Root } from './Root';--export const Editorial = { Body, Eyebrow, Heading, Intro, Root };diff --git a/packages/twenty-website/src/sections/Editorial/index.ts b/packages/twenty-website/src/sections/Editorial/index.tsdeleted file mode 100644index 4a22f5aa27a..00000000000--- a/packages/twenty-website/src/sections/Editorial/index.ts+++ /dev/null@@ -1 +0,0 @@-export { Editorial } from './components';diff --git a/packages/twenty-website/src/sections/EngagementBand/components/index.ts b/packages/twenty-website/src/sections/EngagementBand/components/index.tsdeleted file mode 100644index a29a6ffd6eb..00000000000--- a/packages/twenty-website/src/sections/EngagementBand/components/index.ts+++ /dev/null@@ -1,15 +0,0 @@-import { Actions } from './Actions';-import { Body } from './Body';-import { Copy } from './Copy';-import { Heading } from './Heading';-import { Root } from './Root';-import { Strip } from './Strip';--export const EngagementBand = {- Actions,- Body,- Copy,- Heading,- Root,- Strip,-};diff --git a/packages/twenty-website/src/sections/EngagementBand/index.ts b/packages/twenty-website/src/sections/EngagementBand/index.tsindex 474ae3024bf..388e93f7ac7 100644--- a/packages/twenty-website/src/sections/EngagementBand/index.ts+++ b/packages/twenty-website/src/sections/EngagementBand/index.ts@@ -1 +1,6 @@-export { EngagementBand } from './components';+export { Root as EngagementBandSection } from './components/Root';+export { Strip as EngagementBandStrip } from './components/Strip';+export { Copy as EngagementBandCopy } from './components/Copy';+export { Heading as EngagementBandHeading } from './components/Heading';+export { Body as EngagementBandBody } from './components/Body';+export { Actions as EngagementBandActions } from './components/Actions';diff --git a/packages/twenty-website/src/sections/Faq/Faq.tsx b/packages/twenty-website/src/sections/Faq/Faq.tsxindex 17d92224044..57471f1a4ed 100644--- a/packages/twenty-website/src/sections/Faq/Faq.tsx+++ b/packages/twenty-website/src/sections/Faq/Faq.tsx@@ -1,11 +1,21 @@-import { Container, Heading as BaseHeading } from '@/design-system/components';+import {+ Container,+ Eyebrow,+ Heading,+ HeadingPart,+ LinkButton,+} from '@/design-system/components';+import { getServerI18n } from '@/lib/i18n/server';import { WebGlMount } from '@/lib/visual-runtime';-import { FaqBackground } from '@/sections/Faq/visuals/Background';+import { TalkToUsButton } from '@/sections/ContactCal';+import { FAQ_QUESTIONS } from '@/sections/Faq/faq.data';import { FaqItems } from '@/sections/Faq/FaqItems';+import { FaqBackground } from '@/sections/Faq/visuals/Background';import { theme } from '@/theme';+import { msg } from '@lingui/core/macro';+import { Trans } from '@lingui/react/macro';import { css } from '@linaria/core';import { styled } from '@linaria/react';-import type { ReactNode } from 'react';const StyledSection = styled.section`background-color: ${theme.colors.secondary.background[100]};@@ -62,11 +72,9 @@ const StyledCta = styled.div`justify-content: start;`;-type ChildrenProps = {- children: ReactNode;-};+export function Faq() {+ const i18n = getServerI18n();-function Root({ children }: ChildrenProps) {return (<StyledSection data-scheme="dark"><IllustrationLayer aria-hidden>@@ -74,36 +82,45 @@ function Root({ children }: ChildrenProps) {<FaqBackground /></WebGlMount></IllustrationLayer>- <StyledContainer>{children}</StyledContainer>+ <StyledContainer>+ <StyledIntro>+ <Eyebrow colorScheme="secondary">+ <HeadingPart fontFamily="sans">+ <Trans>Any Questions?</Trans>+ </HeadingPart>+ </Eyebrow>+ <Heading+ as="h2"+ className={faqHeadingClassName}+ size="lg"+ weight="light"+ >+ <Trans>+ <HeadingPart fontFamily="serif">+ Stop fighting custom.+ </HeadingPart>+ <br />+ <HeadingPart fontFamily="sans">+ Start building, with Twenty+ </HeadingPart>+ </Trans>+ </Heading>+ <StyledCta>+ <LinkButton+ color="primary"+ href="https://app.twenty.com/welcome"+ label={i18n._(msg`Get started`)}+ variant="contained"+ />+ <TalkToUsButton+ color="primary"+ label={msg`Talk to us`}+ variant="outlined"+ />+ </StyledCta>+ </StyledIntro>+ <FaqItems questions={FAQ_QUESTIONS} />+ </StyledContainer></StyledSection>);}--function Intro({ children }: ChildrenProps) {- return <StyledIntro>{children}</StyledIntro>;-}--function Heading({ children }: ChildrenProps) {- return (- <BaseHeading- as="h2"- className={faqHeadingClassName}- size="lg"- weight="light"- >- {children}- </BaseHeading>- );-}--function Cta({ children }: ChildrenProps) {- return <StyledCta>{children}</StyledCta>;-}--export const Faq = {- Cta,- Heading,- Intro,- Items: FaqItems,- Root,-};diff --git a/packages/twenty-website/src/sections/Feature/index.ts b/packages/twenty-website/src/sections/Feature/index.tsdeleted file mode 100644index 28c791c954b..00000000000--- a/packages/twenty-website/src/sections/Feature/index.ts+++ /dev/null@@ -1 +0,0 @@-export { Feature, type FeatureTileType } from './Feature';diff --git a/packages/twenty-website/src/sections/Footer/components/Bottom.tsx b/packages/twenty-website/src/sections/Footer/components/Bottom.tsxindex 4617d5a73d5..454ec2fe040 100644--- a/packages/twenty-website/src/sections/Footer/components/Bottom.tsx+++ b/packages/twenty-website/src/sections/Footer/components/Bottom.tsx@@ -1,5 +1,5 @@import { ArrowRightUpIcon, SOCIAL_ICONS } from '@/icons';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import type { MessageDescriptor } from '@lingui/core';import type { FooterSocialLinkType } from '@/sections/Footer/types';import { theme } from '@/theme';diff --git a/packages/twenty-website/src/sections/Footer/components/Footer.tsx b/packages/twenty-website/src/sections/Footer/components/Footer.tsxnew file mode 100644index 00000000000..f5f6f8ddfcd--- /dev/null+++ b/packages/twenty-website/src/sections/Footer/components/Footer.tsx@@ -0,0 +1,19 @@+import { FOOTER_DATA } from '@/sections/Footer/data';++import { Bottom } from './Bottom';+import { Logo } from './Logo';+import { Nav } from './Nav';+import { Root } from './Root';++export function Footer() {+ return (+ <Root>+ <Logo />+ <Nav groups={FOOTER_DATA.navGroups} />+ <Bottom+ copyright={FOOTER_DATA.bottom.copyright}+ links={FOOTER_DATA.socialLinks}+ />+ </Root>+ );+}diff --git a/packages/twenty-website/src/sections/Footer/components/FooterNavCta.tsx b/packages/twenty-website/src/sections/Footer/components/FooterNavCta.tsxindex 1b4efb5b00e..08baba4a7e6 100644--- a/packages/twenty-website/src/sections/Footer/components/FooterNavCta.tsx+++ b/packages/twenty-website/src/sections/Footer/components/FooterNavCta.tsx@@ -1,6 +1,6 @@import { TalkToUsButton } from '@/sections/ContactCal';import { LinkButton } from '@/design-system/components';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import type { FooterCtaType } from '@/sections/Footer/types';type FooterNavCtaProps = {diff --git a/packages/twenty-website/src/sections/Footer/components/LocaleSwitcher.tsx b/packages/twenty-website/src/sections/Footer/components/LocaleSwitcher.tsxindex 393fb8f28ac..763a43c786a 100644--- a/packages/twenty-website/src/sections/Footer/components/LocaleSwitcher.tsx+++ b/packages/twenty-website/src/sections/Footer/components/LocaleSwitcher.tsx@@ -12,14 +12,14 @@ import {} from 'react';import { type AppLocale } from 'twenty-shared/translations';-import { WEBSITE_LOCALE_LIST } from '@/lib/i18n/utils/app-locale-set';-import { localizeHref } from '@/lib/i18n/utils/localize-href';import {+ WEBSITE_LOCALE_LIST,getEnglishLocaleName,getNativeLocaleName,-} from '@/lib/i18n/utils/locale-display-names';-import { useLocale } from '@/lib/i18n/hooks/use-locale';-import { useUnlocalizedPathname } from '@/lib/i18n/hooks/use-unlocalized-pathname';+ localizeHref,+ useLocale,+ useUnlocalizedPathname,+} from '@/lib/i18n';import { LocaleSwitcherDismissEffect } from '@/sections/Footer/effect-components/LocaleSwitcherDismissEffect';import { theme } from '@/theme';diff --git a/packages/twenty-website/src/sections/Footer/components/Nav.tsx b/packages/twenty-website/src/sections/Footer/components/Nav.tsxindex 091c3f9e9fa..53b9f6af113 100644--- a/packages/twenty-website/src/sections/Footer/components/Nav.tsx+++ b/packages/twenty-website/src/sections/Footer/components/Nav.tsx@@ -1,7 +1,7 @@import { FooterNavCta } from '@/sections/Footer/components/FooterNavCta';import { PlusIcon, RectangleFillIcon } from '@/icons';import { LocalizedLink } from '@/lib/i18n';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import type { FooterNavGroupType } from '@/sections/Footer/types';import { theme } from '@/theme';import { NavigationMenu } from '@base-ui/react/navigation-menu';diff --git a/packages/twenty-website/src/sections/Footer/components/__tests__/LocaleSwitcher.test.tsx b/packages/twenty-website/src/sections/Footer/components/__tests__/LocaleSwitcher.test.tsxindex 10b5407c75e..b1a65f12723 100644--- a/packages/twenty-website/src/sections/Footer/components/__tests__/LocaleSwitcher.test.tsx+++ b/packages/twenty-website/src/sections/Footer/components/__tests__/LocaleSwitcher.test.tsx@@ -4,13 +4,16 @@ jest.mock('next/navigation', () => ({usePathname: jest.fn(),}));-jest.mock('@/lib/i18n/hooks/use-locale', () => ({+// Keep the real locale data/helpers (now all exported from the one barrel);+// only stub the React hook that reads request context.+jest.mock('@/lib/i18n', () => ({+ ...jest.requireActual('@/lib/i18n'),useLocale: jest.fn(),}));import { usePathname } from 'next/navigation';-import { useLocale } from '@/lib/i18n/hooks/use-locale';+import { useLocale } from '@/lib/i18n';import { LocaleSwitcher } from '@/sections/Footer/components/LocaleSwitcher';const mockUsePathname = usePathname as jest.MockedFunction<typeof usePathname>;diff --git a/packages/twenty-website/src/sections/Footer/components/index.ts b/packages/twenty-website/src/sections/Footer/components/index.tsdeleted file mode 100644index a1a8a8c7756..00000000000--- a/packages/twenty-website/src/sections/Footer/components/index.ts+++ /dev/null@@ -1,6 +0,0 @@-import { Bottom } from './Bottom';-import { Logo } from './Logo';-import { Nav } from './Nav';-import { Root } from './Root';--export const Footer = { Root, Logo, Nav, Bottom };diff --git a/packages/twenty-website/src/sections/Footer/index.ts b/packages/twenty-website/src/sections/Footer/index.tsindex b85f2a7850b..3c15ac7ad5b 100644--- a/packages/twenty-website/src/sections/Footer/index.ts+++ b/packages/twenty-website/src/sections/Footer/index.ts@@ -1,4 +1,4 @@-export { Footer } from './components';+export { Footer } from './components/Footer';export { FOOTER_DATA } from './data';export type {FooterBottomType,diff --git a/packages/twenty-website/src/sections/Helped/Helped.tsx b/packages/twenty-website/src/sections/Helped/Helped.tsxindex 2461de6398b..52de648ea74 100644--- a/packages/twenty-website/src/sections/Helped/Helped.tsx+++ b/packages/twenty-website/src/sections/Helped/Helped.tsx@@ -1,9 +1,11 @@import type { Scheme } from '@/theme';import { styled } from '@linaria/react';-import type { ReactNode } from 'react';++import { Scene } from './components/HelpedScene';+import type { HeadingCardType } from './types/heading-card-type';+export type { HeadingCardType } from './types/heading-card-type';export type { HelpedVisualId } from './types/helped-visual-id';-import { Scene } from './components/HelpedScene';const StyledSection = styled.section`width: 100%;@@ -21,21 +23,15 @@ const StyledSection = styled.section`}`;-type RootProps = {- backgroundColor?: string;- children: ReactNode;- scheme?: Scheme;+type HelpedProps = {+ cards: HeadingCardType[];+ scheme: Scheme;};-function Root({ backgroundColor, children, scheme }: RootProps) {+export function Helped({ cards, scheme }: HelpedProps) {return (- <StyledSection- data-scheme={scheme}- style={scheme ? undefined : { backgroundColor }}- >- {children}+ <StyledSection data-scheme={scheme}>+ <Scene cards={cards} /></StyledSection>);}--export const Helped = { Root, Scene };diff --git a/packages/twenty-website/src/sections/Helped/components/HelpedCard.tsx b/packages/twenty-website/src/sections/Helped/components/HelpedCard.tsxindex 873cdbb4a8c..8093d0ac961 100644--- a/packages/twenty-website/src/sections/Helped/components/HelpedCard.tsx+++ b/packages/twenty-website/src/sections/Helped/components/HelpedCard.tsx@@ -1,6 +1,6 @@import { Body, Heading, HeadingPart } from '@/design-system/components';import { CLIENT_ICONS } from '@/icons';-import { LocalizedLinkButton } from '@/lib/i18n/components/LocalizedLinkButton';+import { LocalizedLinkButton } from '@/lib/i18n';import { WebGlMount } from '@/lib/visual-runtime';import { theme } from '@/theme';import { msg } from '@lingui/core/macro';diff --git a/packages/twenty-website/src/sections/Helped/components/HelpedScene.tsx b/packages/twenty-website/src/sections/Helped/components/HelpedScene.tsxindex 3cfffc6fe23..139c16482db 100644--- a/packages/twenty-website/src/sections/Helped/components/HelpedScene.tsx+++ b/packages/twenty-website/src/sections/Helped/components/HelpedScene.tsx@@ -9,8 +9,7 @@ import {import { theme } from '@/theme';import { css } from '@linaria/core';import { styled } from '@linaria/react';-import { msg } from '@lingui/core/macro';-import { useLingui } from '@lingui/react';+import { Trans } from '@lingui/react/macro';import { useEffect, useRef } from 'react';import { HelpedCard } from './HelpedCard';import { HelpedSceneScrollLayoutEffect } from '../effect-components/HelpedSceneScrollLayoutEffect';@@ -99,7 +98,6 @@ type SceneProps = {};export function Scene({ cards }: SceneProps) {- const { i18n } = useLingui();const sectionRef = useRef<HTMLElement>(null);const innerRef = useRef<HTMLDivElement>(null);const cardRefs = useRef<(HTMLDivElement | null)[]>([]);@@ -130,7 +128,7 @@ export function Scene({ cards }: SceneProps) {<EyebrowExitTarget data-helped-exit-target><Eyebrow colorScheme="primary"><HeadingPart fontFamily="sans">- {i18n._(msg`In production.`)}+ <Trans>In production.</Trans></HeadingPart></Eyebrow></EyebrowExitTarget>@@ -140,15 +138,15 @@ export function Scene({ cards }: SceneProps) {size="xl"weight="light">- <HeadingPart fontFamily="serif">- {i18n._(msg`Dev teams power`)}+ <Trans>+ <HeadingPart fontFamily="serif">+ Dev teams power+ <br />+ company-wide+ </HeadingPart><br />- {i18n._(msg`company-wide`)}- </HeadingPart>- <br />- <HeadingPart fontFamily="sans">- {i18n._(msg`change with Twenty`)}- </HeadingPart>+ <HeadingPart fontFamily="sans">change with Twenty</HeadingPart>+ </Trans></Heading></HeadlineBlock><CardsLayer>diff --git a/packages/twenty-website/src/sections/Hero/components/__tests__/Heading.test.tsx b/packages/twenty-website/src/sections/Hero/components/__tests__/Heading.test.tsxdeleted file mode 100644index a7f3c8e540f..00000000000--- a/packages/twenty-website/src/sections/Hero/components/__tests__/Heading.test.tsx+++ /dev/null@@ -1,25 +0,0 @@-import { renderToStaticMarkup } from 'react-dom/server';--import { Heading as HeroHeading } from '@/sections/Hero/components/Heading';-import { Pages } from '@/lib/pages';--describe('Hero.Heading defaults', () => {- it('renders <h1> by default', () => {- const html = renderToStaticMarkup(- <HeroHeading page={Pages.Home}>Page title</HeroHeading>,- );- expect(html).toContain('<h1');- expect(html).toContain('Page title');- expect(html).toContain('</h1>');- });-- it('still allows callers to override as for legacy or special cases', () => {- const html = renderToStaticMarkup(- <HeroHeading as="h2" page={Pages.Home}>- Forced h2- </HeroHeading>,- );- expect(html).toContain('<h2');- expect(html).not.toContain('<h1');- });-});diff --git a/packages/twenty-website/src/sections/Hero/components/index.ts b/packages/twenty-website/src/sections/Hero/components/index.tsdeleted file mode 100644index b0a9823b9f0..00000000000--- a/packages/twenty-website/src/sections/Hero/components/index.ts+++ /dev/null@@ -1,23 +0,0 @@-import { Body } from './Body';-import { Cta } from './Cta';-import { Heading } from './Heading';-import { AppPreview } from '@/sections/AppPreview';-import { PartnerVisual } from './PartnerVisual/PartnerVisual';-import { HeroVisualScroll } from './ProductVisual/HeroVisualScroll';-import { ProductVisual } from './ProductVisual/ProductVisual';-import { ReleaseNotesVisual } from './ReleaseNotesVisual';-import { Root } from './Root';-import { WhyTwentyVisual } from './WhyTwentyVisual';--export const Hero = {- Root,- Heading,- Body,- Cta,- AppPreview,- HeroVisualScroll,- ProductVisual,- ReleaseNotesVisual,- PartnerVisual,- WhyTwentyVisual,-};diff --git a/packages/twenty-website/src/sections/Hero/index.ts b/packages/twenty-website/src/sections/Hero/index.tsindex af12a2f75c2..5e0abc90958 100644--- a/packages/twenty-website/src/sections/Hero/index.ts+++ b/packages/twenty-website/src/sections/Hero/index.ts@@ -1 +1,4 @@-export { Hero } from './components';+export { ReleaseNotesVisual } from './components/ReleaseNotesVisual';+export { WhyTwentyVisual } from './components/WhyTwentyVisual';+export { PartnerVisual } from './components/PartnerVisual/PartnerVisual';+export { HeroVisualScroll } from './components/ProductVisual/HeroVisualScroll';diff --git a/packages/twenty-website/src/sections/HomeStepper/components/index.ts b/packages/twenty-website/src/sections/HomeStepper/components/index.tsdeleted file mode 100644index d3312aed73b..00000000000--- a/packages/twenty-website/src/sections/HomeStepper/components/index.ts+++ /dev/null@@ -1,15 +0,0 @@-import { Flow } from './Flow';-import { LeftColumn } from './LeftColumn';-import { RightColumn } from './RightColumn';-import { Root } from './Root';-import { ScrollSection } from './ScrollSection';-import { Visual } from './Visual/Visual';--export const HomeStepper = {- Flow,- LeftColumn,- RightColumn,- Root,- ScrollSection,- Visual,-};diff --git a/packages/twenty-website/src/sections/HomeStepper/index.ts b/packages/twenty-website/src/sections/HomeStepper/index.tsindex 33ed602e6c3..f3ea4932252 100644--- a/packages/twenty-website/src/sections/HomeStepper/index.ts+++ b/packages/twenty-website/src/sections/HomeStepper/index.ts@@ -1,2 +1,2 @@-export { HomeStepper } from './components';+export { ScrollSection as HomeStepperScrollSection } from './components/ScrollSection';export type { HomeStepperStepType } from './types';diff --git a/packages/twenty-website/src/sections/LegalDocument/components/LegalDocumentPage.tsx b/packages/twenty-website/src/sections/LegalDocument/components/LegalDocumentPage.tsxindex 8b6dac280c3..7e61fada5f9 100644--- a/packages/twenty-website/src/sections/LegalDocument/components/LegalDocumentPage.tsx+++ b/packages/twenty-website/src/sections/LegalDocument/components/LegalDocumentPage.tsx@@ -104,17 +104,10 @@ export function LegalDocumentPage({}: LegalDocumentPageProps) {return (<>- <Menu.Root+ <MenubackgroundColor={theme.colors.primary.background[100]}- scheme="primary"- navItems={menuData.navItems}socialLinks={menuData.socialLinks}- >- <Menu.Logo scheme="primary" />- <Menu.Nav scheme="primary" navItems={menuData.navItems} />- <Menu.Social scheme="primary" socialLinks={menuData.socialLinks} />- <Menu.Cta scheme="primary" />- </Menu.Root>+ /><PageSection><Container>diff --git a/packages/twenty-website/src/sections/LegalDocument/components/index.ts b/packages/twenty-website/src/sections/LegalDocument/components/index.tsdeleted file mode 100644index 04916c0931b..00000000000--- a/packages/twenty-website/src/sections/LegalDocument/components/index.ts+++ /dev/null@@ -1,3 +0,0 @@-import { LegalDocumentPage } from './LegalDocumentPage';--export const LegalDocument = { Page: LegalDocumentPage };diff --git a/packages/twenty-website/src/sections/LegalDocument/index.ts b/packages/twenty-website/src/sections/LegalDocument/index.tsindex a7fa4e6ef42..e051239340d 100644--- a/packages/twenty-website/src/sections/LegalDocument/index.ts+++ b/packages/twenty-website/src/sections/LegalDocument/index.ts@@ -1 +1 @@-export { LegalDocument } from './components';+export { LegalDocumentPage } from './components/LegalDocumentPage';diff --git a/packages/twenty-website/src/sections/Marquee/index.ts b/packages/twenty-website/src/sections/Marquee/index.tsdeleted file mode 100644index 9ba90c81f62..00000000000--- a/packages/twenty-website/src/sections/Marquee/index.ts+++ /dev/null@@ -1 +0,0 @@-export { Marquee } from './Marquee';diff --git a/packages/twenty-website/src/sections/Menu/components/Menu.tsx b/packages/twenty-website/src/sections/Menu/components/Menu.tsxnew file mode 100644index 00000000000..a8ab6215c2e--- /dev/null+++ b/packages/twenty-website/src/sections/Menu/components/Menu.tsx@@ -0,0 +1,34 @@+import { MENU_DATA } from '@/sections/Menu/data';+import type { MenuScheme, MenuSocialLinkType } from '@/sections/Menu/types';++import { Cta } from './Cta';+import { Logo } from './Logo';+import { Nav } from './Nav';+import { Root } from './Root';+import { Social } from './Social';++type MenuProps = {+ backgroundColor: string;+ scheme?: MenuScheme;+ socialLinks: MenuSocialLinkType[];+};++export function Menu({+ backgroundColor,+ scheme = 'primary',+ socialLinks,+}: MenuProps) {+ return (+ <Root+ backgroundColor={backgroundColor}+ navItems={MENU_DATA.navItems}+ scheme={scheme}+ socialLinks={socialLinks}+ >+ <Logo scheme={scheme} />+ <Nav navItems={MENU_DATA.navItems} scheme={scheme} />+ <Social scheme={scheme} socialLinks={socialLinks} />+ <Cta scheme={scheme} />+ </Root>+ );+}diff --git a/packages/twenty-website/src/sections/Menu/components/index.ts b/packages/twenty-website/src/sections/Menu/components/index.tsindex fb5a88f6aad..81b93712f16 100644--- a/packages/twenty-website/src/sections/Menu/components/index.ts+++ b/packages/twenty-website/src/sections/Menu/components/index.ts@@ -1,7 +1 @@-import { Cta } from './Cta';-import { Logo } from './Logo';-import { Nav } from './Nav';-import { Root } from './Root';-import { Social } from './Social';--export const Menu = { Root, Logo, Nav, Social, Cta };+export { Menu } from './Menu';diff --git a/packages/twenty-website/src/sections/PlanTable/components/Content.tsx b/packages/twenty-website/src/sections/PlanTable/components/Content.tsxindex 97d83f090c6..b371cfb8ed9 100644--- a/packages/twenty-website/src/sections/PlanTable/components/Content.tsx+++ b/packages/twenty-website/src/sections/PlanTable/components/Content.tsx@@ -6,6 +6,7 @@ import {} from '@/design-system/components/Button/BaseButton';import { CheckIcon } from '@/icons';import { useLingui } from '@lingui/react';+import { Trans } from '@lingui/react/macro';import type { MessageDescriptor } from '@lingui/core';import { usePricingState } from '@/sections/Plans';import type {@@ -141,7 +142,11 @@ type CellValueProps = {function CellValue({ cell }: CellValueProps) {const { i18n } = useLingui();if (cell.kind === 'dash') {- return <TierText>{i18n._(msg`No`)}</TierText>;+ return (+ <TierText>+ <Trans>No</Trans>+ </TierText>+ );}if (cell.kind === 'text') {diff --git a/packages/twenty-website/src/sections/PlanTable/components/index.ts b/packages/twenty-website/src/sections/PlanTable/components/index.tsdeleted file mode 100644index 389bce94c21..00000000000--- a/packages/twenty-website/src/sections/PlanTable/components/index.ts+++ /dev/null@@ -1,7 +0,0 @@-import { Content } from './Content';-import { Root } from './Root';--export const PlanTable = {- Content,- Root,-};diff --git a/packages/twenty-website/src/sections/PlanTable/index.ts b/packages/twenty-website/src/sections/PlanTable/index.tsindex 152701dc651..83d4cc7ca0a 100644--- a/packages/twenty-website/src/sections/PlanTable/index.ts+++ b/packages/twenty-website/src/sections/PlanTable/index.ts@@ -1,4 +1,5 @@-export { PlanTable } from './components';+export { Root as PlanTableSection } from './components/Root';+export { Content as PlanTableContent } from './components/Content';export type {PlanTableBodyRowDataType,PlanTableCalculatorDataType,diff --git a/packages/twenty-website/src/sections/Plans/components/PlanFeatureList.tsx b/packages/twenty-website/src/sections/Plans/components/PlanFeatureList.tsxindex fac78205bab..56847feee85 100644--- a/packages/twenty-website/src/sections/Plans/components/PlanFeatureList.tsx+++ b/packages/twenty-website/src/sections/Plans/components/PlanFeatureList.tsx@@ -2,7 +2,7 @@import { Body } from '@/design-system/components';import { CheckIcon } from '@/icons/informative/Check';-import { getMessageDescriptorSource } from '@/lib/i18n/utils/get-message-descriptor-source';+import { getMessageDescriptorSource } from '@/lib/i18n';import { theme } from '@/theme';import type { MessageDescriptor } from '@lingui/core';import { useLingui } from '@lingui/react';diff --git a/packages/twenty-website/src/sections/Plans/components/index.ts b/packages/twenty-website/src/sections/Plans/components/index.tsdeleted file mode 100644index d02c34f8fca..00000000000--- a/packages/twenty-website/src/sections/Plans/components/index.ts+++ /dev/null@@ -1,15 +0,0 @@-import { BillingToggle } from './BillingToggle';-import { Card } from './Card';-import { Cards } from './Cards';-import { PlansContent } from './PlansContent';-import { Root } from './Root';-import { SelfHostToggle } from './SelfHostToggle';--export const Plans = {- BillingToggle,- Card,- Cards,- Content: PlansContent,- Root,- SelfHostToggle,-};diff --git a/packages/twenty-website/src/sections/Plans/components/use-feature-transition.ts b/packages/twenty-website/src/sections/Plans/components/use-feature-transition.tsindex 4dcb171dbb1..a8ac42813ea 100644--- a/packages/twenty-website/src/sections/Plans/components/use-feature-transition.ts+++ b/packages/twenty-website/src/sections/Plans/components/use-feature-transition.ts@@ -1,6 +1,6 @@import type { MessageDescriptor } from '@lingui/core';-import { getMessageDescriptorSource } from '@/lib/i18n/utils/get-message-descriptor-source';+import { getMessageDescriptorSource } from '@/lib/i18n';import { useTimeoutRegistry } from '@/lib/react';import { useEffect, useState } from 'react';diff --git a/packages/twenty-website/src/sections/Plans/index.ts b/packages/twenty-website/src/sections/Plans/index.tsindex 8fc313688de..0adad24df48 100644--- a/packages/twenty-website/src/sections/Plans/index.ts+++ b/packages/twenty-website/src/sections/Plans/index.ts@@ -1,4 +1,5 @@-export { Plans } from './components';+export { Root as PlansSection } from './components/Root';+export { PlansContent } from './components/PlansContent';export { PricingStateProvider } from './context/PricingStateContext';export { usePricingState } from './context/use-pricing-state';export type {diff --git a/packages/twenty-website/src/sections/Problem/Problem.tsx b/packages/twenty-website/src/sections/Problem/Problem.tsxindex a46e5531095..1d5be9a0354 100644--- a/packages/twenty-website/src/sections/Problem/Problem.tsx+++ b/packages/twenty-website/src/sections/Problem/Problem.tsx@@ -8,8 +8,8 @@ import { css } from '@linaria/core';import { styled } from '@linaria/react';import type { ReactNode } from 'react';-import { Points } from './ProblemPoints';-import { Visual } from './components/Visual/Visual';+export { Visual as ProblemVisual } from './components/Visual/Visual';+export { Points as ProblemPoints } from './ProblemPoints';const StyledSection = styled.section`width: 100%;@@ -57,9 +57,7 @@ const problemHeadingClassName = css`}`;-type RootProps = { children: ReactNode };--function Root({ children }: RootProps) {+export function ProblemSection({ children }: { children: ReactNode }) {return (<StyledSection><StyledContainer>{children}</StyledContainer>@@ -67,13 +65,11 @@ function Root({ children }: RootProps) {);}-type ContentProps = { children: ReactNode };--function Content({ children }: ContentProps) {+export function ProblemContent({ children }: { children: ReactNode }) {return <StyledContent>{children}</StyledContent>;}-function Heading({+export function ProblemHeading({as = 'h2',children,className,@@ -91,11 +87,3 @@ function Heading({</BaseHeading>);}--export const Problem = {- Root,- Visual,- Content,- Heading,- Points,-};diff --git a/packages/twenty-website/src/sections/Problem/ProblemPoints.tsx b/packages/twenty-website/src/sections/Problem/ProblemPoints.tsxindex 9912520c133..1074d0e7440 100644--- a/packages/twenty-website/src/sections/Problem/ProblemPoints.tsx+++ b/packages/twenty-website/src/sections/Problem/ProblemPoints.tsx@@ -1,5 +1,5 @@import { Body } from '@/design-system/components/Body';-import { getServerI18n } from '@/lib/i18n/utils/get-server-i18n';+import { getServerI18n } from '@/lib/i18n/server';import { theme } from '@/theme';import { styled } from '@linaria/react';import React from 'react';diff --git a/packages/twenty-website/src/sections/Problem/index.ts b/packages/twenty-website/src/sections/Problem/index.tsindex 9df76fd0698..fc732bc3251 100644--- a/packages/twenty-website/src/sections/Problem/index.ts+++ b/packages/twenty-website/src/sections/Problem/index.ts@@ -1,2 +1,8 @@-export { Problem } from './Problem';+export {+ ProblemContent,+ ProblemHeading,+ ProblemPoints,+ ProblemSection,+ ProblemVisual,+} from './Problem';export type { ProblemPointType } from './problem-point-type';diff --git a/packages/twenty-website/src/sections/ProductStepper/ProductStepper.tsx b/packages/twenty-website/src/sections/ProductStepper/ProductStepper.tsxdeleted file mode 100644index efa8f7b5bbe..00000000000--- a/packages/twenty-website/src/sections/ProductStepper/ProductStepper.tsx+++ /dev/null@@ -1,5 +0,0 @@-import { Flow } from './Flow';--export const ProductStepper = {- Flow,-};diff --git a/packages/twenty-website/src/sections/ProductStepper/index.ts b/packages/twenty-website/src/sections/ProductStepper/index.tsdeleted file mode 100644index b5a218f10a6..00000000000--- a/packages/twenty-website/src/sections/ProductStepper/index.ts+++ /dev/null@@ -1,2 +0,0 @@-export { ProductStepper } from './ProductStepper';-export type { ProductStepperStepType } from './types';diff --git a/packages/twenty-website/src/sections/ReleaseNotes/components/index.ts b/packages/twenty-website/src/sections/ReleaseNotes/components/index.tsdeleted file mode 100644index 66241818355..00000000000--- a/packages/twenty-website/src/sections/ReleaseNotes/components/index.ts+++ /dev/null@@ -1,10 +0,0 @@-import { Divider } from './Divider';-import { EmptyMessage, Root } from './Root';-import { ReleaseEntry } from './ReleaseEntry';--export const ReleaseNotes = {- Divider,- EmptyMessage,- ReleaseEntry,- Root,-};diff --git a/packages/twenty-website/src/sections/ReleaseNotes/index.ts b/packages/twenty-website/src/sections/ReleaseNotes/index.tsindex 9b61d6623d0..5e7d7ab6a39 100644--- a/packages/twenty-website/src/sections/ReleaseNotes/index.ts+++ b/packages/twenty-website/src/sections/ReleaseNotes/index.ts@@ -1 +1,6 @@-export { ReleaseNotes } from './components';+export {+ Root as ReleaseNotesSection,+ EmptyMessage as ReleaseNotesEmptyMessage,+} from './components/Root';+export { Divider as ReleaseNotesDivider } from './components/Divider';+export { ReleaseEntry as ReleaseNotesReleaseEntry } from './components/ReleaseEntry';diff --git a/packages/twenty-website/src/sections/Salesforce/components/PricingWindow.tsx b/packages/twenty-website/src/sections/Salesforce/components/PricingWindow.tsxindex 07a87c4061d..980b2489392 100644--- a/packages/twenty-website/src/sections/Salesforce/components/PricingWindow.tsx+++ b/packages/twenty-website/src/sections/Salesforce/components/PricingWindow.tsx@@ -7,9 +7,9 @@ import type {} from '@/sections/Salesforce/types';import { useAnimatedNumber } from '@/lib/animation';import { useLingui } from '@lingui/react';+import { Trans } from '@lingui/react/macro';import type { MessageDescriptor } from '@lingui/core';import { theme } from '@/theme';-import { msg } from '@lingui/core/macro';import { styled } from '@linaria/react';import { useRef } from 'react';@@ -698,7 +698,7 @@ export function PricingWindow({{i18n._(pricing.featureSectionHeading)}</SectionLabel><SelectAllButton onClick={onSelectAll} type="button">- {i18n._(msg`Select all`)}+ <Trans>Select all</Trans></SelectAllButton></SectionHeader>{pricing.addons.map((addon) => {diff --git a/packages/twenty-website/src/sections/Salesforce/components/index.ts b/packages/twenty-website/src/sections/Salesforce/components/index.tsdeleted file mode 100644index fa41fb6374a..00000000000--- a/packages/twenty-website/src/sections/Salesforce/components/index.ts+++ /dev/null@@ -1,7 +0,0 @@-import { Flow } from './Flow';-import { Root } from './Root';--export const Salesforce = {- Flow,- Root,-};diff --git a/packages/twenty-website/src/sections/Salesforce/index.ts b/packages/twenty-website/src/sections/Salesforce/index.tsindex 2286b30b9e9..3c5ad2d0db0 100644--- a/packages/twenty-website/src/sections/Salesforce/index.ts+++ b/packages/twenty-website/src/sections/Salesforce/index.ts@@ -1,2 +1,2 @@-export { Salesforce } from './components';+export { Flow as Salesforce } from './components/Flow';export type { SalesforceDataType } from './types';diff --git a/packages/twenty-website/src/sections/Signoff/Signoff.tsx b/packages/twenty-website/src/sections/Signoff/Signoff.tsxdeleted file mode 100644index c268197d769..00000000000--- a/packages/twenty-website/src/sections/Signoff/Signoff.tsx+++ /dev/null@@ -1,244 +0,0 @@-import { styled } from '@linaria/react';-import type { ReactNode } from 'react';--import {- Body as BaseBody,- Container,- GuideCrosshair,- Heading as BaseHeading,-} from '@/design-system/components';-import { type Page, Pages } from '@/lib/pages';-import { theme, type Scheme } from '@/theme';--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';--const GUIDE_CROSSHAIR_BY_PAGE: Partial<- Record<Page, { crossX: string; crossY: string; lineColor?: string }>-> = {- [Pages.Partners]: { crossX: 'calc(50% + 334px)', crossY: '198px' },-};--const StyledSection = styled.section`- min-width: 0;- width: 100%;-- &[data-scheme='light'] {- background-color: var(--color-white);- color: var(--color-text);- }-- &[data-scheme='muted'] {- background-color: var(--color-neutral);- color: var(--color-text);- }-- &[data-scheme='dark'] {- background-color: var(--color-black);- color: var(--color-text);- }-- &[data-page='partners'] {- position: relative;- }-- &[data-shaped] {- isolation: isolate;- overflow: hidden;- position: relative;- }-- @media (min-width: ${theme.breakpoints.md}px) {- &[data-page='partners'][data-center='true'] {- min-height: 759px;- overflow: hidden;- position: relative;- }-- &[data-page='partners'][data-center='true'] > div {- justify-content: center;- min-height: 759px;- padding-bottom: 0;- padding-top: 0;- }- }-`;--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;- position: relative;- z-index: 10;-- @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)};- }-`;--const HeadingWrap = styled.div`- margin-bottom: ${theme.spacing(2)};- margin-left: auto;- margin-right: auto;- max-width: ${theme.layout.editorial};- min-width: 0;- width: 100%;-- @media (min-width: ${theme.breakpoints.md}px) {- &[data-page='partners'] {- white-space: pre-line;- }- }-`;--const Subline = styled.div`- color: var(- --color-text-muted,- color-mix(in srgb, currentColor 80%, transparent)- );- margin-bottom: ${theme.spacing(6)};- max-width: 452px;- min-width: 0;- width: 100%;-- @media (min-width: ${theme.breakpoints.md}px) {- &[data-page='partners'] {- white-space: pre-line;- }- }-`;--const Actions = styled.div`- display: flex;- flex-wrap: wrap;- column-gap: ${theme.spacing(2)};- justify-content: center;- row-gap: ${theme.spacing(1)};-`;--function SignoffShape({ fillColor }: { fillColor: string }) {- 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>- );-}--type RootPropsSimple = {- backgroundColor?: string;- centerContent?: boolean;- children: ReactNode;- color?: string;- page?: Page;- scheme?: Scheme;- variant?: 'simple';-};--type RootPropsShaped = {- backgroundColor?: string;- centerContent?: boolean;- children: ReactNode;- color?: string;- page?: Page;- scheme?: Scheme;- shapeFillColor: string;- variant: 'shaped';-};--type RootProps = RootPropsSimple | RootPropsShaped;--function Root(props: RootProps) {- const { backgroundColor, centerContent, children, color, page, scheme } =- props;- const isShaped = props.variant === 'shaped';- const shapeFillColor = isShaped ? props.shapeFillColor : undefined;- const shouldCenterContent = centerContent ?? page === Pages.Partners;-- return (- <StyledSection- data-center={shouldCenterContent ? 'true' : undefined}- data-page={page}- data-scheme={scheme}- data-shaped={isShaped ? '' : undefined}- style={scheme ? undefined : { backgroundColor, color }}- >- {isShaped && shapeFillColor ? (- <SignoffShape fillColor={shapeFillColor} />- ) : null}- {page && GUIDE_CROSSHAIR_BY_PAGE[page] ? (- <GuideCrosshair- crossX={GUIDE_CROSSHAIR_BY_PAGE[page]!.crossX}- crossY={GUIDE_CROSSHAIR_BY_PAGE[page]!.crossY}- lineColor={GUIDE_CROSSHAIR_BY_PAGE[page]!.lineColor}- />- ) : null}- <StyledContainer>{children}</StyledContainer>- </StyledSection>- );-}--function Heading({ children, page }: { children: ReactNode; page?: Page }) {- return (- <HeadingWrap data-page={page}>- <BaseHeading as="h2" size="xl" weight="light">- {children}- </BaseHeading>- </HeadingWrap>- );-}--function Body({ children, page }: { children: ReactNode; page?: Page }) {- return (- <Subline data-page={page}>- <BaseBody as="p" size="sm" weight="regular">- {children}- </BaseBody>- </Subline>- );-}--function Cta({ children }: { children: ReactNode }) {- return <Actions>{children}</Actions>;-}--export const Signoff = { Body, Cta, Heading, Root };diff --git a/packages/twenty-website/src/sections/Testimonials/index.ts b/packages/twenty-website/src/sections/Testimonials/index.tsindex fd912fdd5e4..a556839e2ce 100644--- a/packages/twenty-website/src/sections/Testimonials/index.ts+++ b/packages/twenty-website/src/sections/Testimonials/index.ts@@ -1,2 +1,5 @@-export { Testimonials } from './Testimonials';+export { Carousel as TestimonialsCarousel } from './components/TestimonialsCarousel';+export { PartnerCarousel as TestimonialsPartnerCarousel } from './components/TestimonialsPartnerCarousel';+export { MountedTestimonialsVisual as TestimonialsHourglassVisual } from './components/MountedTestimonialsVisual';+export { MountedTestimonialsPartnerVisual as TestimonialsPartnerVisual } from './components/MountedTestimonialsPartnerVisual';export type { TestimonialCardType } from './types/types';diff --git a/packages/twenty-website/src/sections/ThreeCards/components/index.ts b/packages/twenty-website/src/sections/ThreeCards/components/index.tsdeleted file mode 100644index 1ca66762714..00000000000--- a/packages/twenty-website/src/sections/ThreeCards/components/index.ts+++ /dev/null@@ -1,15 +0,0 @@-import { Root } from './Root';-import { IllustrationCards } from './IllustrationCards';-import { IllustrationCard } from './IllustrationCard/IllustrationCard';-import { FeatureCards } from './FeatureCards';-import { FeatureCard } from './FeatureCard/FeatureCard';-import { Intro } from './Intro';--export const ThreeCards = {- Root,- Intro,- IllustrationCards,- IllustrationCard,- FeatureCards,- FeatureCard,-};diff --git a/packages/twenty-website/src/sections/ThreeCards/index.ts b/packages/twenty-website/src/sections/ThreeCards/index.tsindex c054b4458c2..2c7ab49c389 100644--- a/packages/twenty-website/src/sections/ThreeCards/index.ts+++ b/packages/twenty-website/src/sections/ThreeCards/index.ts@@ -1,4 +1,5 @@-export { ThreeCards } from './components';+export { IllustrationCards } from './components/IllustrationCards';+export { FeatureCards } from './components/FeatureCards';export type {ThreeCardsFeatureCardType,ThreeCardsIllustrationCardAttributionType,diff --git a/packages/twenty-website/src/sections/TrustedBy/TrustedBy.tsx b/packages/twenty-website/src/sections/TrustedBy/TrustedBy.tsxindex 8c5a1d4045a..23c92a7a050 100644--- a/packages/twenty-website/src/sections/TrustedBy/TrustedBy.tsx+++ b/packages/twenty-website/src/sections/TrustedBy/TrustedBy.tsx@@ -1,9 +1,11 @@import { Container } from '@/design-system/components';import { PlusIcon } from '@/icons';import { theme } from '@/theme';+import { Trans } from '@lingui/react/macro';import { styled } from '@linaria/react';import NextImage from 'next/image';-import type { ReactNode } from 'react';++import { TRUSTED_BY_LOGOS } from './trusted-by.data';export type TrustedByLogosType = {fit?: 'contain' | 'cover';@@ -18,7 +20,6 @@ const DEFAULT_GRAY_BRIGHTNESS = 1;const DEFAULT_GRAY_OPACITY = 0.72;const StyledSection = styled.section<{- compactTop: boolean;compactBottom: boolean;backgroundColor?: string;}>`@@ -26,8 +27,7 @@ const StyledSection = styled.section<{backgroundColor ?? 'transparent'};padding-bottom: ${({ compactBottom }) =>compactBottom ? '0' : theme.spacing(12)};- padding-top: ${({ compactTop }) =>- compactTop ? theme.spacing(4) : theme.spacing(12)};+ padding-top: ${theme.spacing(12)};position: relative;width: 100%;z-index: ${({ compactBottom }) => (compactBottom ? 2 : 'auto')};@@ -35,8 +35,7 @@ const StyledSection = styled.section<{@media (min-width: ${theme.breakpoints.md}px) {padding-bottom: ${({ compactBottom }) =>compactBottom ? '0' : theme.spacing(16)};- padding-top: ${({ compactTop }) =>- compactTop ? theme.spacing(6) : theme.spacing(16)};+ padding-top: ${theme.spacing(16)};}`;@@ -234,30 +233,21 @@ function Logo({);}-interface RootProps {- separator: ReactNode;- logos: TrustedByLogosType[];- clientCount: ReactNode;- compactTop?: boolean;- compactBottom?: boolean;+type TrustedByProps = {backgroundColor?: string;cardBackgroundColor?: string;-}+ compactBottom?: boolean;+};-function Root({- separator,- logos,- clientCount,- compactTop = false,- compactBottom = false,+export function TrustedBy({backgroundColor,cardBackgroundColor,-}: RootProps) {+ compactBottom = false,+}: TrustedByProps) {return (<StyledSectionaria-label="Trusted by leading organizations"backgroundColor={backgroundColor}- compactTop={compactTop}compactBottom={compactBottom}><StyledContainer>@@ -288,12 +278,14 @@ function Root({</CornerBottomRight><StyledLabelCell><SeparatorRow>- <SeparatorText>{separator}</SeparatorText>+ <SeparatorText>+ <Trans>trusted by</Trans>+ </SeparatorText></SeparatorRow></StyledLabelCell><StyledLogosCell><LogoStrip>- {logos.map((logo, index) => (+ {TRUSTED_BY_LOGOS.map((logo, index) => (<Logofit={logo.fit}grayBrightness={logo.grayBrightness}@@ -313,7 +305,9 @@ function Root({unoptimizedwidth={14}/>- <StyledCountText>{clientCount}</StyledCountText>+ <StyledCountText>+ <Trans>+10k others</Trans>+ </StyledCountText></StyledChip></StyledCountCell></StyledCard>@@ -321,5 +315,3 @@ function Root({</StyledSection>);}--export const TrustedBy = { Root };diff --git a/packages/twenty-website/src/sections/TrustedBy/index.ts b/packages/twenty-website/src/sections/TrustedBy/index.tsindex 99c563bc1e9..c8715e6261a 100644--- a/packages/twenty-website/src/sections/TrustedBy/index.ts+++ b/packages/twenty-website/src/sections/TrustedBy/index.ts@@ -1,2 +1 @@export { TrustedBy } from './TrustedBy';-export { TRUSTED_BY_LOGOS } from './trusted-by.data';diff --git a/packages/twenty-website/src/templates/Editorial/Editorial.tsx b/packages/twenty-website/src/templates/Editorial/Editorial.tsxnew file mode 100644index 00000000000..a41a8e8b429--- /dev/null+++ b/packages/twenty-website/src/templates/Editorial/Editorial.tsx@@ -0,0 +1,240 @@+import {+ Body as BaseBody,+ Container,+ Eyebrow as BaseEyebrow,+ GuideCrosshair,+ Heading as BaseHeading,+} from '@/design-system/components';+import { theme, type Scheme } from '@/theme';+import { css } from '@linaria/core';+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++export type EditorialCrosshair = {+ crossX: string;+ crossY: string;+ lineColor?: string;+};++export type EditorialBodyLayout =+ | 'centered'+ | 'indented'+ | 'two-column'+ | 'two-column-left'+ | 'two-column-right';++const StyledSection = styled.section`+ min-width: 0;+ width: 100%;++ &[data-has-crosshair] {+ position: relative;+ }++ &[data-scheme='light'] {+ background-color: var(--color-white);+ color: var(--color-text);+ }++ &[data-scheme='muted'] {+ background-color: var(--color-neutral);+ color: var(--color-text);+ }++ &[data-scheme='dark'] {+ background-color: var(--color-black);+ color: var(--color-text);+ }+`;++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)};+ }+`;++const Inner = styled.div`+ align-items: stretch;+ display: flex;+ flex-direction: column;+ gap: ${theme.spacing(10)};+ width: 100%;+`;++const IntroRoot = styled.div`+ align-items: flex-start;+ display: flex;+ flex-direction: column;+ gap: ${theme.spacing(6)};+ margin-bottom: ${theme.spacing(4)};+ max-width: 760px;+ min-width: 0;+ width: 100%;++ @media (min-width: ${theme.breakpoints.md}px) {+ margin-bottom: ${theme.spacing(8)};+ }++ &[data-align='right'] {+ @media (min-width: ${theme.breakpoints.md}px) {+ align-items: flex-end;+ margin-left: auto;+ margin-right: 0;+ text-align: right;+ width: auto;+ }+ }+`;++const HeadingWrap = styled.div`+ max-width: 760px;+ min-width: 0;+ width: 100%;+`;++const bodyParagraphClassName = css`+ color: var(--color-text-muted);+ 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));++ &[data-align='left'] {+ margin-left: 0;+ }++ &[data-align='right'] {+ margin-right: 0;+ }+ }+`;++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;+ }+`;++function EditorialParagraph({ children }: { children: ReactNode }) {+ return (+ <div className={bodyParagraphClassName}>+ <BaseBody+ as="p"+ family="sans"+ size="md"+ variant="body-paragraph"+ weight="regular"+ >+ {children}+ </BaseBody>+ </div>+ );+}++function EditorialBody({+ layout,+ paragraphs,+}: {+ layout: EditorialBodyLayout;+ paragraphs: ReactNode[];+}) {+ const renderedParagraphs = paragraphs.map((paragraph, index) => (+ <EditorialParagraph key={index}>{paragraph}</EditorialParagraph>+ ));++ if (+ layout === 'two-column' ||+ layout === 'two-column-left' ||+ layout === 'two-column-right'+ ) {+ return (+ <TwoColumnGrid+ data-align={+ layout === 'two-column-right'+ ? 'right'+ : layout === 'two-column-left'+ ? 'left'+ : undefined+ }+ >+ {renderedParagraphs}+ </TwoColumnGrid>+ );+ }++ return <SingleColumnBody>{renderedParagraphs}</SingleColumnBody>;+}++type EditorialProps = {+ bodyLayout: EditorialBodyLayout;+ bodyParagraphs: ReactNode[];+ crosshair?: EditorialCrosshair;+ eyebrow: ReactNode;+ eyebrowColorScheme?: 'primary' | 'secondary';+ heading: ReactNode;+ introAlign?: 'left' | 'right';+ scheme: Scheme;+};++export function Editorial({+ bodyLayout,+ bodyParagraphs,+ crosshair,+ eyebrow,+ eyebrowColorScheme,+ heading,+ introAlign = 'left',+ scheme,+}: EditorialProps) {+ return (+ <StyledSection+ data-has-crosshair={crosshair ? '' : undefined}+ data-scheme={scheme}+ >+ {crosshair ? (+ <GuideCrosshair+ crossX={crosshair.crossX}+ crossY={crosshair.crossY}+ lineColor={crosshair.lineColor}+ />+ ) : null}+ <StyledContainer>+ <Inner>+ <IntroRoot data-align={introAlign === 'right' ? 'right' : undefined}>+ <BaseEyebrow colorScheme={eyebrowColorScheme}>+ {eyebrow}+ </BaseEyebrow>+ <HeadingWrap>+ <BaseHeading as="h2" size="lg" weight="light">+ {heading}+ </BaseHeading>+ </HeadingWrap>+ </IntroRoot>+ <EditorialBody layout={bodyLayout} paragraphs={bodyParagraphs} />+ </Inner>+ </StyledContainer>+ </StyledSection>+ );+}diff --git a/packages/twenty-website/src/templates/Editorial/index.ts b/packages/twenty-website/src/templates/Editorial/index.tsnew file mode 100644index 00000000000..e2b8987be0f--- /dev/null+++ b/packages/twenty-website/src/templates/Editorial/index.ts@@ -0,0 +1,2 @@+export { Editorial } from './Editorial';+export type { EditorialBodyLayout, EditorialCrosshair } from './Editorial';diff --git a/packages/twenty-website/src/sections/Hero/components/Body.tsx b/packages/twenty-website/src/templates/Hero/HeroBody.tsxsimilarity index 57%rename from packages/twenty-website/src/sections/Hero/components/Body.tsxrename to packages/twenty-website/src/templates/Hero/HeroBody.tsxindex d247a2741d5..c940f370b48 100644--- a/packages/twenty-website/src/sections/Hero/components/Body.tsx+++ b/packages/twenty-website/src/templates/Hero/HeroBody.tsx@@ -6,12 +6,11 @@ import {type BodyVariant,type BodyWeight,} from '@/design-system/components/Body';-import type { Page } from '@/lib/pages';import { theme } from '@/theme';import { styled } from '@linaria/react';import type { ReactNode } from 'react';-const StyledBody = styled.div`+const StyledBody = styled.div<{ $maxWidthMd: number }>`color: var(--color-text-muted, ${theme.colors.primary.text[60]});&[data-preserve-line-breaks='true'] {@@ -23,69 +22,38 @@ const StyledBody = styled.div`width: 100%;@media (min-width: ${theme.breakpoints.md}px) {- &[data-page='home'] {- max-width: 591px;- }-- &[data-page='partners'] {- max-width: 500px;- }-- &[data-page='pricing'] {- max-width: 500px;- }-- &[data-page='product'] {- max-width: 591px;- }-- &[data-page='whyTwenty'] {- max-width: 443px;- }-- &[data-page='releaseNotes'] {- max-width: 591px;- white-space: pre-line;- }-- &[data-page='articles'] {- max-width: 550px;- }-- &[data-page='caseStudies'] {- max-width: 550px;- }+ max-width: ${({ $maxWidthMd }) => `${$maxWidthMd}px`};}`;type HeroBodyProps = {as?: BodyAs;children: ReactNode;- className?: string;family?: BodyFamily;- page: Page;+ maxWidthMd: number;preserveLineBreaks?: boolean;size?: BodySize;variant?: BodyVariant;weight?: BodyWeight;};-export function Body({+export function HeroBody({as,children,- className,family,- page,+ maxWidthMd,preserveLineBreaks = false,size,variant,weight,}: HeroBodyProps) {return (- <StyledBody data-page={page} data-preserve-line-breaks={preserveLineBreaks}>+ <StyledBody+ $maxWidthMd={maxWidthMd}+ data-preserve-line-breaks={preserveLineBreaks}+ ><BaseBodyas={as}- className={className}family={family}size={size}variant={variant}diff --git a/packages/twenty-website/src/sections/Hero/components/Cta.tsx b/packages/twenty-website/src/templates/Hero/HeroCta.tsxsimilarity index 75%rename from packages/twenty-website/src/sections/Hero/components/Cta.tsxrename to packages/twenty-website/src/templates/Hero/HeroCta.tsxindex 1ba29b5b8cd..a0f5e46cb08 100644--- a/packages/twenty-website/src/sections/Hero/components/Cta.tsx+++ b/packages/twenty-website/src/templates/Hero/HeroCta.tsx@@ -9,8 +9,6 @@ const CTAsContainer = styled.div`justify-content: center;`;-type HeroCtaProps = { children: ReactNode };--export function Cta({ children }: HeroCtaProps) {+export function HeroCta({ children }: { children: ReactNode }) {return <CTAsContainer>{children}</CTAsContainer>;}diff --git a/packages/twenty-website/src/sections/Hero/components/Heading.tsx b/packages/twenty-website/src/templates/Hero/HeroHeading.tsxsimilarity index 60%rename from packages/twenty-website/src/sections/Hero/components/Heading.tsxrename to packages/twenty-website/src/templates/Hero/HeroHeading.tsxindex 892b1cd1fec..fa5731da5fb 100644--- a/packages/twenty-website/src/sections/Hero/components/Heading.tsx+++ b/packages/twenty-website/src/templates/Hero/HeroHeading.tsx@@ -2,7 +2,6 @@ import {Heading as BaseHeading,type HeadingProps,} from '@/design-system/components/Heading';-import { type Page, Pages } from '@/lib/pages';import { theme } from '@/theme';import { styled } from '@linaria/react';import type { ReactNode } from 'react';@@ -12,31 +11,23 @@ const HeadingContainer = styled.div`width: 100%;word-wrap: break-word;- &[data-page=${Pages.WhyTwenty}] {- color: ${theme.colors.secondary.text[100]};- }-@media (min-width: ${theme.breakpoints.md}px) {max-width: 672px;}`;-type HeroHeadingProps = HeadingProps & {- children?: ReactNode;- page: Page;-};+type HeroHeadingProps = HeadingProps & { children?: ReactNode };-export function Heading({+export function HeroHeading({as = 'h1',children,className,- page,size = 'lg',weight = 'light',}: HeroHeadingProps) {return (- <HeadingContainer data-page={page}>- <BaseHeading as={as} className={className} size={size} weight={weight}>+ <HeadingContainer className={className}>+ <BaseHeading as={as} size={size} weight={weight}>{children}</BaseHeading></HeadingContainer>diff --git a/packages/twenty-website/src/sections/Hero/components/Root.tsx b/packages/twenty-website/src/templates/Hero/HeroSection.tsxsimilarity index 60%rename from packages/twenty-website/src/sections/Hero/components/Root.tsxrename to packages/twenty-website/src/templates/Hero/HeroSection.tsxindex 5873eef6f57..166f44099e6 100644--- a/packages/twenty-website/src/sections/Hero/components/Root.tsx+++ b/packages/twenty-website/src/templates/Hero/HeroSection.tsx@@ -1,21 +1,9 @@import { Container } from '@/design-system/components';-import { WebGlMount } from '@/lib/visual-runtime';-import { HomeBackgroundHalftone } from '@/sections/Hero/visuals/components/HomeBackgroundHalftone';import { theme, type Scheme } from '@/theme';import { styled } from '@linaria/react';import type { ReactNode } from 'react';const StyledSection = styled.section`- &[data-color-scheme='primary'] {- --hero-body-color: ${theme.colors.primary.text[60]};- color: ${theme.colors.primary.text[100]};- }-- &[data-color-scheme='secondary'] {- --hero-body-color: ${theme.colors.secondary.text[80]};- color: ${theme.colors.secondary.text[100]};- }-&[data-scheme='light'] {background-color: var(--color-white);color: var(--color-text);@@ -74,34 +62,23 @@ const StyledContainer = styled(Container)`}`;-type RootProps = {- backgroundColor?: string;+type HeroSectionProps = {+ // Optional decorative background rendered behind the hero content (e.g. the+ // home page's halftone). Injected by the page-local hero so the shell stays+ // free of WebGL/section dependencies.+ background?: ReactNode;children: ReactNode;- colorScheme?: 'primary' | 'secondary';- scheme?: Scheme;- showHomeBackground?: boolean;+ scheme: Scheme;};-export function Root({- backgroundColor,+export function HeroSection({+ background,children,- colorScheme = 'primary',scheme,- showHomeBackground = false,-}: RootProps) {+}: HeroSectionProps) {return (- <StyledSection- data-color-scheme={scheme ? undefined : colorScheme}- data-scheme={scheme}- style={scheme ? undefined : { backgroundColor }}- >- {showHomeBackground ? (- <StyledBackground>- <WebGlMount priority>- <HomeBackgroundHalftone />- </WebGlMount>- </StyledBackground>- ) : null}+ <StyledSection data-scheme={scheme}>+ {background ? <StyledBackground>{background}</StyledBackground> : null}<StyledContainer>{children}</StyledContainer></StyledSection>);diff --git a/packages/twenty-website/src/templates/Hero/__tests__/HeroHeading.test.tsx b/packages/twenty-website/src/templates/Hero/__tests__/HeroHeading.test.tsxnew file mode 100644index 00000000000..ff50fc12863--- /dev/null+++ b/packages/twenty-website/src/templates/Hero/__tests__/HeroHeading.test.tsx@@ -0,0 +1,20 @@+import { renderToStaticMarkup } from 'react-dom/server';++import { HeroHeading } from '@/templates/Hero/HeroHeading';++describe('HeroHeading defaults', () => {+ it('renders <h1> by default', () => {+ const html = renderToStaticMarkup(<HeroHeading>Page title</HeroHeading>);+ expect(html).toContain('<h1');+ expect(html).toContain('Page title');+ expect(html).toContain('</h1>');+ });++ it('still allows callers to override as for special cases', () => {+ const html = renderToStaticMarkup(+ <HeroHeading as="h2">Forced h2</HeroHeading>,+ );+ expect(html).toContain('<h2');+ expect(html).not.toContain('<h1');+ });+});diff --git a/packages/twenty-website/src/templates/Hero/index.ts b/packages/twenty-website/src/templates/Hero/index.tsnew file mode 100644index 00000000000..3430fd72c2c--- /dev/null+++ b/packages/twenty-website/src/templates/Hero/index.ts@@ -0,0 +1,4 @@+export { HeroSection } from './HeroSection';+export { HeroHeading } from './HeroHeading';+export { HeroBody } from './HeroBody';+export { HeroCta } from './HeroCta';diff --git a/packages/twenty-website/src/templates/Signoff/Signoff.tsx b/packages/twenty-website/src/templates/Signoff/Signoff.tsxnew file mode 100644index 00000000000..48ebb040ae2--- /dev/null+++ b/packages/twenty-website/src/templates/Signoff/Signoff.tsx@@ -0,0 +1,147 @@+import { styled } from '@linaria/react';+import type { ReactNode } from 'react';++import {+ Body as BaseBody,+ Container,+ GuideCrosshair,+ Heading as BaseHeading,+} from '@/design-system/components';+import { theme, type Scheme } from '@/theme';++// The tall, centered sign-off has only ever anchored its decorative guide+// crosshair at this one position, so it stays an internal constant rather+// than a per-call-site prop.+const CENTERED_GUIDE_CROSSHAIR = {+ crossX: 'calc(50% + 334px)',+ crossY: '198px',+};++const StyledSection = styled.section`+ min-width: 0;+ width: 100%;++ &[data-scheme='light'] {+ background-color: var(--color-white);+ color: var(--color-text);+ }++ &[data-scheme='muted'] {+ background-color: var(--color-neutral);+ color: var(--color-text);+ }++ &[data-scheme='dark'] {+ background-color: var(--color-black);+ color: var(--color-text);+ }++ &[data-center='true'] {+ position: relative;+ }++ @media (min-width: ${theme.breakpoints.md}px) {+ &[data-center='true'] {+ min-height: 759px;+ overflow: hidden;+ }++ &[data-center='true'] > div {+ justify-content: center;+ min-height: 759px;+ padding-bottom: 0;+ padding-top: 0;+ }+ }+`;++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;+ position: relative;+ z-index: 10;++ @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)};+ }+`;++const HeadingWrap = styled.div`+ margin-bottom: ${theme.spacing(2)};+ margin-left: auto;+ margin-right: auto;+ max-width: ${theme.layout.editorial};+ min-width: 0;+ width: 100%;+`;++const Subline = styled.div`+ color: var(+ --color-text-muted,+ color-mix(in srgb, currentColor 80%, transparent)+ );+ margin-bottom: ${theme.spacing(6)};+ max-width: 452px;+ min-width: 0;+ width: 100%;+`;++const Actions = styled.div`+ display: flex;+ flex-wrap: wrap;+ column-gap: ${theme.spacing(2)};+ justify-content: center;+ row-gap: ${theme.spacing(1)};+`;++type SignoffProps = {+ children: ReactNode;+ heading: ReactNode;+ body: ReactNode;+ scheme: Scheme;+ centered?: boolean;+};++export function Signoff({+ children,+ heading,+ body,+ scheme,+ centered = false,+}: SignoffProps) {+ return (+ <StyledSection+ data-center={centered ? 'true' : undefined}+ data-scheme={scheme}+ >+ {centered ? (+ <GuideCrosshair+ crossX={CENTERED_GUIDE_CROSSHAIR.crossX}+ crossY={CENTERED_GUIDE_CROSSHAIR.crossY}+ />+ ) : null}+ <StyledContainer>+ <HeadingWrap>+ <BaseHeading as="h2" size="xl" weight="light">+ {heading}+ </BaseHeading>+ </HeadingWrap>+ <Subline>+ <BaseBody as="p" size="sm" weight="regular">+ {body}+ </BaseBody>+ </Subline>+ <Actions>{children}</Actions>+ </StyledContainer>+ </StyledSection>+ );+}diff --git a/packages/twenty-website/src/sections/Signoff/index.ts b/packages/twenty-website/src/templates/Signoff/index.tssimilarity index 100%rename from packages/twenty-website/src/sections/Signoff/index.tsrename to packages/twenty-website/src/templates/Signoff/index.tsdiff --git a/packages/twenty-website/src/sections/Testimonials/Testimonials.tsx b/packages/twenty-website/src/templates/Testimonials/TestimonialsSection.tsxsimilarity index 65%rename from packages/twenty-website/src/sections/Testimonials/Testimonials.tsxrename to packages/twenty-website/src/templates/Testimonials/TestimonialsSection.tsxindex 4c0e5f03d4a..a35a9d7798b 100644--- a/packages/twenty-website/src/sections/Testimonials/Testimonials.tsx+++ b/packages/twenty-website/src/templates/Testimonials/TestimonialsSection.tsx@@ -1,11 +1,7 @@import { Container } from '@/design-system/components';-import { theme } from '@/theme';+import { theme, type Scheme } from '@/theme';import { styled } from '@linaria/react';import type { ReactNode } from 'react';-import { Carousel } from './components/TestimonialsCarousel';-import { PartnerCarousel } from './components/TestimonialsPartnerCarousel';-import { MountedTestimonialsVisual } from './components/MountedTestimonialsVisual';-import { MountedTestimonialsPartnerVisual } from './components/MountedTestimonialsPartnerVisual';const TESTIMONIALS_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';@@ -81,9 +77,8 @@ const BackgroundShape = styled.div`z-index: 0;`;-const StyledContainer = styled(Container)<{ $compactBottom: boolean }>`- padding-bottom: ${({ $compactBottom }) =>- $compactBottom ? theme.spacing(6) : theme.spacing(22)};+const StyledContainer = styled(Container)`+ padding-bottom: ${theme.spacing(22)};padding-left: ${theme.spacing(4)};padding-right: ${theme.spacing(4)};padding-top: ${theme.spacing(22)};@@ -94,47 +89,27 @@ const StyledContainer = styled(Container)<{ $compactBottom: boolean }>`padding-left: ${theme.spacing(10)};padding-right: ${theme.spacing(10)};padding-top: ${theme.spacing(25)};- padding-bottom: ${({ $compactBottom }) =>- $compactBottom ? theme.spacing(8) : theme.spacing(25)};+ padding-bottom: ${theme.spacing(25)};}`;-type RootProps = {- backgroundColor?: string;+type TestimonialsSectionProps = {children: ReactNode;- color?: string;- compactBottom?: boolean;- scheme?: 'light' | 'muted' | 'dark';+ scheme: Scheme;shapeFillColor?: string;};-function Root({- backgroundColor,+export function TestimonialsSection({children,- color,- compactBottom = false,scheme,shapeFillColor = theme.colors.primary.background[100],-}: RootProps) {+}: TestimonialsSectionProps) {return (- <StyledSection- data-scheme={scheme}- style={scheme ? undefined : { backgroundColor, color }}- >+ <StyledSection data-scheme={scheme}><BackgroundShape><TestimonialsShape fillColor={shapeFillColor} /></BackgroundShape>- <StyledContainer $compactBottom={compactBottom}>- {children}- </StyledContainer>+ <StyledContainer>{children}</StyledContainer></StyledSection>);}--export const Testimonials = {- Carousel,- HourglassVisual: MountedTestimonialsVisual,- PartnerCarousel,- PartnerVisual: MountedTestimonialsPartnerVisual,- Root,-};diff --git a/packages/twenty-website/src/templates/Testimonials/index.ts b/packages/twenty-website/src/templates/Testimonials/index.tsnew file mode 100644index 00000000000..0ec8f8d48b3--- /dev/null+++ b/packages/twenty-website/src/templates/Testimonials/index.ts@@ -0,0 +1 @@+export { TestimonialsSection } from './TestimonialsSection';diff --git a/packages/twenty-website/src/sections/ThreeCards/components/Intro.tsx b/packages/twenty-website/src/templates/ThreeCards/ThreeCardsIntro.tsxsimilarity index 54%rename from packages/twenty-website/src/sections/ThreeCards/components/Intro.tsxrename to packages/twenty-website/src/templates/ThreeCards/ThreeCardsIntro.tsxindex 61314c15427..a8768249169 100644--- a/packages/twenty-website/src/sections/ThreeCards/components/Intro.tsx+++ b/packages/twenty-website/src/templates/ThreeCards/ThreeCardsIntro.tsx@@ -1,9 +1,8 @@-import { type Page, Pages } from '@/lib/pages';import { theme } from '@/theme';import { styled } from '@linaria/react';import type { ReactNode } from 'react';-const StyledIntro = styled.div`+const StyledIntro = styled.div<{ $maxWidthMd?: number }>`display: grid;grid-template-columns: 1fr;row-gap: ${theme.spacing(6)};@@ -17,27 +16,24 @@ const StyledIntro = styled.div`}@media (min-width: ${theme.breakpoints.md}px) {- max-width: ${theme.layout.editorial};-- &[data-align='center'][data-page=${Pages.Home}] {- max-width: 900px;- }-- &[data-page=${Pages.Product}] {- max-width: 600px;- }+ max-width: ${({ $maxWidthMd }) =>+ $maxWidthMd ? `${$maxWidthMd}px` : theme.layout.editorial};}`;-type IntroProps = {+type ThreeCardsIntroProps = {align: 'left' | 'center';- page: Page;children: ReactNode;+ maxWidthMd?: number;};-export function Intro({ align, page, children }: IntroProps) {+export function ThreeCardsIntro({+ align,+ children,+ maxWidthMd,+}: ThreeCardsIntroProps) {return (- <StyledIntro data-align={align} data-page={page}>+ <StyledIntro $maxWidthMd={maxWidthMd} data-align={align}>{children}</StyledIntro>);diff --git a/packages/twenty-website/src/sections/ThreeCards/components/Root.tsx b/packages/twenty-website/src/templates/ThreeCards/ThreeCardsSection.tsxsimilarity index 60%rename from packages/twenty-website/src/sections/ThreeCards/components/Root.tsxrename to packages/twenty-website/src/templates/ThreeCards/ThreeCardsSection.tsxindex 1bc72871da0..ce98542e1c9 100644--- a/packages/twenty-website/src/sections/ThreeCards/components/Root.tsx+++ b/packages/twenty-website/src/templates/ThreeCards/ThreeCardsSection.tsx@@ -19,45 +19,36 @@ const StyledSection = styled.section`}`;-const StyledContainer = styled(Container)<{ compactTop: boolean }>`+const StyledContainer = styled(Container)`display: grid;grid-template-columns: 1fr;gap: ${theme.spacing(6)};padding-bottom: ${theme.spacing(22)};padding-left: ${theme.spacing(4)};padding-right: ${theme.spacing(4)};- padding-top: ${({ compactTop }) =>- compactTop ? theme.spacing(6) : theme.spacing(12)};+ padding-top: ${theme.spacing(12)};@media (min-width: ${theme.breakpoints.md}px) {gap: ${theme.spacing(20)};padding-left: ${theme.spacing(10)};padding-right: ${theme.spacing(10)};- padding-top: ${({ compactTop }) =>- compactTop ? theme.spacing(16) : theme.spacing(20)};+ padding-top: ${theme.spacing(20)};padding-bottom: ${theme.spacing(20)};}`;-type RootProps = {- backgroundColor?: string;+type ThreeCardsSectionProps = {children: ReactNode;- compactTop?: boolean;- scheme?: Scheme;+ scheme: Scheme;};-export function Root({- backgroundColor,+export function ThreeCardsSection({children,- compactTop = false,scheme,-}: RootProps) {+}: ThreeCardsSectionProps) {return (- <StyledSection- data-scheme={scheme}- style={scheme ? undefined : { backgroundColor }}- >- <StyledContainer compactTop={compactTop}>{children}</StyledContainer>+ <StyledSection data-scheme={scheme}>+ <StyledContainer>{children}</StyledContainer></StyledSection>);}diff --git a/packages/twenty-website/src/templates/ThreeCards/index.ts b/packages/twenty-website/src/templates/ThreeCards/index.tsnew file mode 100644index 00000000000..f9adec0db07--- /dev/null+++ b/packages/twenty-website/src/templates/ThreeCards/index.ts@@ -0,0 +1,2 @@+export { ThreeCardsSection } from './ThreeCardsSection';+export { ThreeCardsIntro } from './ThreeCardsIntro';