Skip to content

Commit b9e979a

Browse files
authored
Merge pull request #16038 from ethereum/remove10year
remove 10 years
2 parents d57cc6b + 9851ed4 commit b9e979a

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

app/[locale]/10years/page.tsx

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ import {
5454
isAddressFiltered,
5555
type TorchHolder,
5656
} from "@/lib/torch"
57-
import TenYearLogo from "@/public/images/10-year-anniversary/10-year-logo.png"
5857

5958
// In seconds
6059
const REVALIDATE_TIME = BASE_TIME_UNIT * 1
@@ -440,21 +439,6 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
440439
<Stories stories={stories} />
441440
</I18nProvider>
442441
</div>
443-
444-
<div className="w-full gap-8 px-8 py-8 pt-32">
445-
<div className="flex flex-col items-center gap-4 rounded-2xl bg-ten-year-gradient p-8">
446-
<Image
447-
src={TenYearLogo}
448-
alt="10 year anniversary logo"
449-
className="mb-8 max-h-80 object-contain sm:mb-12"
450-
/>
451-
<h3>{t("page-10-year-ideas-title")}</h3>
452-
<p>{t("page-10-year-ideas-description")}</p>
453-
<ButtonLink href="mailto:[email protected]">
454-
{t("page-10-year-ideas-cta")}
455-
</ButtonLink>
456-
</div>
457-
</div>
458442
</MainArticle>
459443
)
460444
}

app/[locale]/page.tsx

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import type { Lang } from "@/lib/types"
1212
import { CodeExample } from "@/lib/interfaces"
1313

1414
import ActivityStats from "@/components/ActivityStats"
15-
import BannerNotification from "@/components/Banners/BannerNotification"
1615
import { ChevronNext } from "@/components/Chevron"
1716
import HomeHero from "@/components/Hero/HomeHero"
1817
import BentoCard from "@/components/Homepage/BentoCard"
@@ -79,7 +78,6 @@ import {
7978
RSS_DISPLAY_COUNT,
8079
} from "@/lib/constants"
8180

82-
import TenYearHomeBanner from "./10years/_components/TenYearHomeBanner"
8381
import { getActivity, getUpcomingEvents } from "./utils"
8482

8583
import { routing } from "@/i18n/routing"
@@ -429,14 +427,6 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
429427

430428
return (
431429
<MainArticle className="flex w-full flex-col items-center" dir={dir}>
432-
<BannerNotification shouldShow={locale === DEFAULT_LOCALE}>
433-
<p>
434-
10 years of Ethereum! -{" "}
435-
<Link href="/10years/" className="text-white">
436-
Join us to celebrate 10 years of Ethereum!
437-
</Link>
438-
</p>
439-
</BannerNotification>
440430
<HomeHero heroImg={Hero} className="w-full" locale={locale} />
441431
<div className="w-full space-y-32 px-4 md:mx-6 lg:space-y-48">
442432
<div className="my-20 grid w-full grid-cols-2 gap-x-4 gap-y-8 md:grid-cols-4 md:gap-x-10">
@@ -810,13 +800,6 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
810800
</SectionContent>
811801
</Section>
812802

813-
<Section
814-
id="10-year-anniversary"
815-
className={cn(locale !== "en" && "hidden")} // TODO: Show again when translations ready
816-
>
817-
<TenYearHomeBanner />
818-
</Section>
819-
820803
{/* Recent posts */}
821804
<Section id="recent">
822805
<h3 className="mb-4 mt-2 text-4xl font-black lg:text-5xl">

0 commit comments

Comments
 (0)