From 2d552fc9fdb76631a79392a05ef56b3ac3a515e5 Mon Sep 17 00:00:00 2001 From: "Abdullah." <125115953+mabdullahabaid@users.noreply.github.com> Date: Tue, 7 Apr 2026 12:58:40 +0500 Subject: [PATCH] Remove hover and scroll transitions from website. (#19369) This PR removes hover and scroll transitions from the website. Per the conversation with Thomas, we should introduce them one by one for each section. --- .../src/app/(home)/page.tsx | 237 ++++++++--------- .../twenty-website-new/src/app/layout.tsx | 1 - .../src/app/partner/page.tsx | 251 ++++++++---------- .../src/app/pricing/page.tsx | 131 ++++----- .../src/app/product/page.tsx | 202 +++++++------- .../src/app/release-notes/page.tsx | 45 ++-- .../src/app/why-twenty/page.tsx | 227 +++++++--------- .../components/Button/BaseButton.tsx | 10 - .../Demo/components/Heading/Heading.tsx | 5 - .../Editorial/components/Body/Body.tsx | 12 - .../Editorial/components/Heading/Heading.tsx | 5 - .../Editorial/components/Root/Root.tsx | 17 -- .../components/Heading/Heading.tsx | 6 - .../Faq/components/Heading/Heading.tsx | 28 +- .../sections/Helped/components/Card/Card.tsx | 40 +-- .../Helped/components/Scene/Scene.tsx | 14 +- .../sections/Hero/components/Body/Body.tsx | 9 - .../Hero/components/Heading/Heading.tsx | 12 - .../components/LeftColumn/LeftColumn.tsx | 13 +- .../Marquee/components/Phrase/Phrase.tsx | 15 -- .../sections/Plans/components/Card/Card.tsx | 31 +-- .../Problem/components/Heading/Heading.tsx | 37 +-- .../sections/Problem/components/Root/Root.tsx | 17 -- .../sections/Signoff/components/Heading.tsx | 5 - .../src/sections/Signoff/components/Root.tsx | 29 -- .../components/Decoration/Decoration.tsx | 28 -- .../Statement/components/Heading/Heading.tsx | 6 - .../Statement/components/Root/Root.tsx | 17 +- .../Tabs/components/Heading/Heading.tsx | 15 -- .../components/FeatureCard/FeatureCard.tsx | 42 +-- .../IllustrationCard/IllustrationCard.tsx | 23 +- .../TrustedBy/components/Logo/Logo.tsx | 7 - 32 files changed, 544 insertions(+), 993 deletions(-) delete mode 100644 packages/twenty-website-new/src/sections/Statement/components/Decoration/Decoration.tsx diff --git a/packages/twenty-website-new/src/app/(home)/page.tsx b/packages/twenty-website-new/src/app/(home)/page.tsx index 09eb1d5759..17c7f2ac2a 100644 --- a/packages/twenty-website-new/src/app/(home)/page.tsx +++ b/packages/twenty-website-new/src/app/(home)/page.tsx @@ -8,11 +8,10 @@ import { THREE_CARDS_ILLUSTRATION_DATA, } from '@/app/(home)/_constants'; import { FAQ_DATA, MENU_DATA, TRUSTED_BY_DATA } from '@/app/_constants'; -import { fetchCommunityStats } from '@/lib/community/fetch-community-stats'; -import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels'; import { Body, Eyebrow, Heading, LinkButton } from '@/design-system/components'; import { Pages } from '@/enums/pages'; -import { ScrollReveal } from '@/motion/ScrollReveal'; +import { fetchCommunityStats } from '@/lib/community/fetch-community-stats'; +import { mergeSocialLinkLabels } from '@/lib/community/merge-social-link-labels'; import { Faq } from '@/sections/Faq/components'; import { Helped } from '@/sections/Helped/components'; import { Hero } from '@/sections/Hero/components'; @@ -32,10 +31,7 @@ export const metadata: Metadata = { export default async function HomePage() { const stats = await fetchCommunityStats(); - const menuSocialLinks = mergeSocialLinkLabels( - MENU_DATA.socialLinks, - stats, - ); + const menuSocialLinks = mergeSocialLinkLabels(MENU_DATA.socialLinks, stats); return ( <> @@ -51,136 +47,117 @@ export default async function HomePage() {