Skip to content

Commit 9496bbf

Browse files
authored
Merge pull request #15666 from ethereum/staging
Back merge `staging` into `dev`
2 parents f987ce0 + 2ac5f68 commit 9496bbf

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

app/[locale]/10years/_components/TenYearHomeBanner.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import { getTranslations } from "next-intl/server"
22

3+
import { Image } from "@/components/Image"
34
import ParallaxImage from "@/components/Image/ParallaxImage"
45
import { ButtonLink } from "@/components/ui/buttons/Button"
56

67
import Countdown from "./CountDown"
78
import { getTimeUnitTranslations } from "./utils"
89

10+
import TenYearBackgroundImage from "@/public/images/10-year-anniversary/10-year-background.png"
911
import TenYearGraphicImage from "@/public/images/10-year-anniversary/10-year-logo.png"
1012
import TenYearDesktopText from "@/public/images/10-year-anniversary/10yeartext.svg"
1113
import TenYearMobileText from "@/public/images/10-year-anniversary/10yeartext-mobile.svg"
@@ -19,8 +21,16 @@ const TenYearHomeBanner = async ({ locale }: { locale: string }) => {
1921
const timeLeftLabels = await getTimeUnitTranslations(locale)
2022

2123
return (
22-
<div className="relative rounded-2xl bg-[url('/images/10-year-anniversary/10-year-background.png')] bg-cover bg-center text-center">
23-
<div className="absolute h-full w-full rounded-2xl bg-ten-year-gradient opacity-80" />
24+
<div className="relative rounded-2xl bg-cover bg-center text-center">
25+
<div className="absolute inset-0 overflow-hidden rounded-2xl after:absolute after:inset-0 after:bg-ten-year-gradient after:opacity-80 after:content-['']">
26+
<Image
27+
src={TenYearBackgroundImage}
28+
alt=""
29+
sizes="(max-width: 1504px) 100vw, 1504px"
30+
quality={15}
31+
className="size-full"
32+
/>
33+
</div>
2434
<div className="relative rounded-2xl p-8">
2535
<ParallaxImage
2636
src={TenYearGraphicImage}

src/data/community-events.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
"endDate": "2025-06-25",
114114
"href": "https://nft.nyc",
115115
"location": "NYC, USA",
116-
"description": "&quot;The Super Bowl of NFTs&quot; - Register now for NFT.NYC's 8th annual event. 50,000+ Alumni, the leading speakers and the best projects in the NFT ecosystem.",
116+
"description": "'The Super Bowl of NFTs' - Register now for NFT.NYC's 8th annual event. 50,000+ Alumni, the leading speakers and the best projects in the NFT ecosystem.",
117117
"imageUrl": "https://www.nft.nyc/hubfs/nftnyc2021-eventbrite-header.png"
118118
},
119119
{
@@ -248,7 +248,7 @@
248248
"endDate": "2025-06-24",
249249
"href": "https://ethmilan.xyz",
250250
"location": "Milan, ITALY",
251-
"description": "ETHMilan 2025 – Italy&#x27;s Largest ETH & Web3 Conference",
251+
"description": "ETHMilan 2025 – Italy's Largest ETH & Web3 Conference",
252252
"imageUrl": "https://cdn.prod.website-files.com/677e49dfe7df51bec6e5ba71/67b58ffe31d5fe8d4e54880e__DSC0914.jpeg"
253253
},
254254
{

0 commit comments

Comments
 (0)