Skip to content

remove 10 years #16038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions app/[locale]/10years/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import {
isAddressFiltered,
type TorchHolder,
} from "@/lib/torch"
import TenYearLogo from "@/public/images/10-year-anniversary/10-year-logo.png"

// In seconds
const REVALIDATE_TIME = BASE_TIME_UNIT * 1
Expand Down Expand Up @@ -440,21 +439,6 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
<Stories stories={stories} />
</I18nProvider>
</div>

<div className="w-full gap-8 px-8 py-8 pt-32">
<div className="flex flex-col items-center gap-4 rounded-2xl bg-ten-year-gradient p-8">
<Image
src={TenYearLogo}
alt="10 year anniversary logo"
className="mb-8 max-h-80 object-contain sm:mb-12"
/>
<h3>{t("page-10-year-ideas-title")}</h3>
<p>{t("page-10-year-ideas-description")}</p>
<ButtonLink href="mailto:[email protected]">
{t("page-10-year-ideas-cta")}
</ButtonLink>
</div>
</div>
</MainArticle>
)
}
Expand Down
17 changes: 0 additions & 17 deletions app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import type { Lang } from "@/lib/types"
import { CodeExample } from "@/lib/interfaces"

import ActivityStats from "@/components/ActivityStats"
import BannerNotification from "@/components/Banners/BannerNotification"
import { ChevronNext } from "@/components/Chevron"
import HomeHero from "@/components/Hero/HomeHero"
import BentoCard from "@/components/Homepage/BentoCard"
Expand Down Expand Up @@ -79,7 +78,6 @@ import {
RSS_DISPLAY_COUNT,
} from "@/lib/constants"

import TenYearHomeBanner from "./10years/_components/TenYearHomeBanner"
import { getActivity, getUpcomingEvents } from "./utils"

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

return (
<MainArticle className="flex w-full flex-col items-center" dir={dir}>
<BannerNotification shouldShow={locale === DEFAULT_LOCALE}>
<p>
10 years of Ethereum! -{" "}
<Link href="/10years/" className="text-white">
Join us to celebrate 10 years of Ethereum!
</Link>
</p>
</BannerNotification>
<HomeHero heroImg={Hero} className="w-full" locale={locale} />
<div className="w-full space-y-32 px-4 md:mx-6 lg:space-y-48">
<div className="my-20 grid w-full grid-cols-2 gap-x-4 gap-y-8 md:grid-cols-4 md:gap-x-10">
Expand Down Expand Up @@ -810,13 +800,6 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
</SectionContent>
</Section>

<Section
id="10-year-anniversary"
className={cn(locale !== "en" && "hidden")} // TODO: Show again when translations ready
>
<TenYearHomeBanner />
</Section>

{/* Recent posts */}
<Section id="recent">
<h3 className="mb-4 mt-2 text-4xl font-black lg:text-5xl">
Expand Down
Loading