From 6ee1ab745b5c344999f0c4aa4c796612648696bf Mon Sep 17 00:00:00 2001 From: Corwin Smith Date: Wed, 8 Oct 2025 10:15:45 +0200 Subject: [PATCH] remove AB test --- app/[locale]/page.tsx | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/app/[locale]/page.tsx b/app/[locale]/page.tsx index 8236fa12234..7dfc40047ed 100644 --- a/app/[locale]/page.tsx +++ b/app/[locale]/page.tsx @@ -11,11 +11,9 @@ import type { import type { Lang } from "@/lib/types" import { CodeExample } from "@/lib/interfaces" -import ABTestWrapper from "@/components/AB/TestWrapper" import ActivityStats from "@/components/ActivityStats" import { ChevronNext } from "@/components/Chevron" import DevconnectBannerVariation1 from "@/components/DevconnectBanner/Variation1" -import DevconnectBannerVariation2 from "@/components/DevconnectBanner/Variation2" import HomeHero from "@/components/Hero/HomeHero" import BentoCard from "@/components/Homepage/BentoCard" import CodeExamples from "@/components/Homepage/CodeExamples" @@ -87,7 +85,6 @@ import IndexPageJsonLD from "./page-jsonld" import { getActivity, getUpcomingEvents } from "./utils" import { routing } from "@/i18n/routing" -import { getABTestAssignment } from "@/lib/ab-testing/server" import { fetchCommunityEvents } from "@/lib/api/calendarEvents" import { fetchBeaconchainEpoch } from "@/lib/api/fetchBeaconchainEpoch" import { fetchEthPrice } from "@/lib/api/fetchEthPrice" @@ -163,9 +160,6 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => { const tCommon = await getTranslations({ locale, namespace: "common" }) const { direction: dir, isRtl } = getDirection(locale) - const DEVCONNECT_TEST_KEY = "2025-09-devconnect-banner" - const devconnectAssignment = await getABTestAssignment(DEVCONNECT_TEST_KEY) - const [ ethPrice, { totalEthStaked }, @@ -435,15 +429,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => { <> - , - , - ]} - serverVariantIndex={devconnectAssignment?.variantIndex} - enableAllLocales - /> +
@@ -485,18 +471,6 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => { )}
-
- , - , - ]} - serverVariantIndex={devconnectAssignment?.variantIndex} - enableAllLocales - /> -
- {/* Use Cases - A new way to use the internet */}