Skip to content

Commit 655a9cd

Browse files
committed
change requests
1 parent 8fcd87e commit 655a9cd

File tree

5 files changed

+15
-17
lines changed

5 files changed

+15
-17
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,16 @@ export default function InnovationSwiper() {
2323
<Image
2424
src={card.image}
2525
alt={card.title}
26-
className="mx-auto h-auto max-w-full"
26+
className="mx-auto my-4 h-auto max-w-full"
2727
/>
2828
<div>
29-
<h3>{card.title}</h3>
30-
<p className="text-body-secondary">{card.date}</p>
29+
<h3 className="mb-4">{card.title}</h3>
30+
<p className="text-body-secondary mb-4">{card.date}</p>
3131
</div>
3232
{card.description.map((description, index) => (
33-
<p key={index}>{description}</p>
33+
<p key={index} className="mb-4">
34+
{description}
35+
</p>
3436
))}
3537
</SwiperSlide>
3638
))}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const TenYearGlobe = ({ events }: { events: EventData[] }) => {
194194
return (
195195
<div
196196
ref={globeContainerRef}
197-
className="relative"
197+
className="relative cursor-grab"
198198
style={{ width: width, height: width }}
199199
>
200200
{MemoizedGlobe}

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
5656

5757
// Get i18n messages
5858
const allMessages = await getMessages({ locale })
59-
const requiredNamespaces = getRequiredNamespacesForPage(
60-
"/10-year-anniversary"
61-
)
59+
const requiredNamespaces = getRequiredNamespacesForPage("/10years")
6260
const messages = pick(allMessages, requiredNamespaces)
6361

6462
return (
@@ -70,9 +68,8 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
7068
<div className="flex flex-1 flex-col gap-5">
7169
<div>
7270
<h1 className="text-4xl font-bold">
73-
A decade of Transforming the World
71+
A decade of transforming the world one block at a time
7472
</h1>
75-
<p className="text-2xl font-bold">One block at a time</p>
7673
</div>
7774
<div className="flex flex-1 flex-col gap-4">
7875
<p className="text-lg">
@@ -90,7 +87,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
9087
</div>
9188
</div>
9289

93-
<div className="md: w-full px-4 px-8 py-8">
90+
<div className="w-full px-4 py-8 md:px-8">
9491
<div className="flex min-h-[500px] flex-col items-center gap-4 rounded-4xl bg-radial-a px-8 pt-8 lg:px-14 lg:pt-14">
9592
<div className="flex max-w-[770px] flex-col gap-4 text-center">
9693
<h2 className="text-4xl font-black">Join the party</h2>
@@ -174,7 +171,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
174171
key={index}
175172
className="flex flex-col justify-between gap-2 rounded-lg p-2 hover:bg-background-highlight md:flex-row"
176173
>
177-
<div className="flex flex-col gap-2 md:flex-row">
174+
<div className="flex flex-col items-center gap-2 md:flex-row">
178175
<div>
179176
<span className="text-lg font-bold">
180177
{event.city}
@@ -209,7 +206,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
209206
<div className="flex flex-1 flex-col gap-4 md:gap-8">
210207
<p>
211208
Join celebrations worldwide featuring talks, networking, and more
212-
to celebrate the 10 years of Ethereum.
209+
to celebrate 10 years of Ethereum.
213210
</p>
214211
<p>
215212
Can&apos;t attend in person? No problem. We&apos;ll livestream and
@@ -235,7 +232,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
235232
<div className="flex w-full flex-col items-center gap-8 px-8 py-8 pt-32 lg:flex-row">
236233
<div className="flex flex-1 flex-col gap-6">
237234
<h2 className="flex flex-col gap-2 font-black">
238-
<span className="pl-2.5 text-4xl text-accent-a">10 years of</span>
235+
<span className="text-4xl text-accent-a">10 years of</span>
239236
<span className="text-5xl text-body md:text-7xl">Innovation</span>
240237
</h2>
241238
<p className="text-xl font-bold">

app/[locale]/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import { getRequiredNamespacesForPage } from "@/lib/utils/translations"
2121
import {
2222
BASE_TIME_UNIT,
2323
BLOG_FEEDS,
24-
BLOGS_WITHOUT_FEED,
2524
CALENDAR_DISPLAY_COUNT,
2625
RSS_DISPLAY_COUNT,
2726
} from "@/lib/constants"
@@ -111,7 +110,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
111110
name: source,
112111
href: sourceUrl,
113112
})) as CommunityBlog[]
114-
blogLinks.push(...BLOGS_WITHOUT_FEED)
113+
// blogLinks.push(...BLOGS_WITHOUT_FEED)
115114

116115
const props = {
117116
calendar,

src/lib/utils/translations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ const getRequiredNamespacesForPath = (relativePath: string) => {
206206
primaryNamespace = "page-translatathon"
207207
}
208208

209-
if (path.startsWith("/10-year-anniversary/")) {
209+
if (path.startsWith("/10years/")) {
210210
requiredNamespaces = [...requiredNamespaces, "page-10-year-anniversary"]
211211
}
212212

0 commit comments

Comments
 (0)