Skip to content

Commit d278936

Browse files
committed
fix(event): add 2025-12-13 upcoming restage event info
1 parent f70f2e4 commit d278936

File tree

8 files changed

+28
-17
lines changed

8 files changed

+28
-17
lines changed
1.73 MB
Loading
1.77 MB
Loading
-1.63 MB
Binary file not shown.

src/app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ export default function Home() {
3939
/>
4040
<FeaturedProgram
4141
heading={'Restage of "Rape of Nanking"'}
42-
description=""
43-
mediaSrc="/ALPHA-HKU.png"
44-
mediaAlt="ALPHA HKU Logo"
42+
description="Join us on Saturday, December 13, 2025, for a commemoration of the 1937 Nanjing Massacre. This event marks the 80th anniversary of Japan's surrender in World War II and the victory in the War of Resistance."
43+
mediaSrc="/event/2025-12-13/poster.en.png"
44+
mediaAlt="Restage of 'Rape of Nanking' event poster"
4545
isVideo={false}
4646
ctaHref="/upcoming-event/restage-of-rape-of-nanking"
4747
ctaLabel="More Details"

src/app/upcoming-event/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function EventCard({ eventSummary }: { eventSummary: EventSummary }) {
2929
size="sm"
3030
as="h3"
3131
/>
32-
<p className="text-sm text-muted-foreground">{summary}</p>
32+
<p className="max-w-[70ch] text-sm text-muted-foreground">{summary}</p>
3333
<div className="mt-auto">
3434
<AnimatedFillButton
3535
href={`/upcoming-event/${slug}`}

src/components/events/poster-toggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function PosterToggle({ posters, initialLanguageCode, alt, className }: P
5353
width={0}
5454
height={0}
5555
sizes="100vw"
56-
className="h-auto w-full rounded-sm"
56+
className="h-auto w-full"
5757
/>
5858
</div>
5959
);

src/components/sections/featured-program.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function FeaturedProgram({
3232
<AnimatedFillButton href={ctaHref}>{ctaLabel}</AnimatedFillButton>
3333
) : null}
3434
</div>
35-
<div className="relative aspect-video overflow-hidden rounded-lg md:col-span-2">
35+
<div className="relative aspect-video overflow-hidden rounded-md md:col-span-2">
3636
{isVideo ? (
3737
<video
3838
src={mediaSrc}

src/content/events/restage-of-rape-of-nanking.mdx

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,42 @@
22
slug: "restage-of-rape-of-nanking"
33
title: 'Restage of "Rape of Nanking"'
44
date: "2025-12-13"
5-
summary: 'Restage of "Rape of Nanking"'
6-
cardImageSrc: "/home/Nanjing Massacre Memorial Day Poster.png"
5+
summary: 'Join us on Saturday, December 13, 2025, for a commemoration of the 1937 Nanjing Massacre. This event marks the 80th anniversary of Japan''s surrender in World War II and the victory in the War of Resistance. To honour and commemorate the victims, we will feature a screening of the award-winning documentary film "Iris Chang and the Nanjing Massacre," produced by ALPHA Education.'
6+
cardImageSrc: "/event/2025-12-13/poster.en.png"
77
---
88

99
import { InfoTable } from "@/components/events/info-table";
1010
import { PosterToggle } from "@/components/events/poster-toggle";
1111
import { AnimatedFillButton } from "@/components/primitives/animated-fill-button";
1212
import { PageHeader } from "@/components/primitives/page-header";
13+
import { SmartLink } from "@/components/primitives/smart-link";
1314
import { Hero } from "@/components/sections/hero";
15+
import { siteConfig } from "@/lib/config";
1416

15-
<Hero
16-
slides={[{ imageSrc: frontmatter.cardImageSrc, content: "" }]}
17-
heightClassName="h-[20rem]"
18-
/>
19-
20-
<section className="mx-auto max-w-4xl space-y-6">
17+
<section className="mx-auto max-w-4xl space-y-10">
2118
<PageHeader
2219
title={frontmatter.title}
23-
description={frontmatter.summary}
20+
descriptionClassName="text-primary mt-4"
21+
description={
22+
<>
23+
Join us on Saturday, December 13, 2025, for a commemoration of the 1937 Nanjing Massacre.
24+
This event marks the 80th anniversary of Japan's surrender in World War II and the victory in the War of Resistance.
25+
To honour and commemorate the victims, we will feature a screening of the award-winning documentary film
26+
<i>“Iris Chang and the Nanjing Massacre,”</i> produced by{" "}
27+
<SmartLink
28+
href={siteConfig.parentOrg}
29+
className="hover:underline"
30+
>
31+
ALPHA Education.
32+
</SmartLink>
33+
</>
34+
}
2435
/>
2536

2637
<PosterToggle
2738
posters={[
28-
{ code: "en", label: "English", src: frontmatter.cardImageSrc },
29-
{ code: "zh", label: "中文", src: frontmatter.cardImageSrc },
39+
{ code: "en", label: "English", src: "/event/2025-12-13/poster.en.png" },
40+
{ code: "zh", label: "中文", src: "/event/2025-12-13/poster.zh.png" },
3041
]}
3142
initialLanguageCode="en"
3243
alt={frontmatter.title + " event poster"}

0 commit comments

Comments
 (0)