Skip to content

Commit 176be16

Browse files
Lekoclaude
andauthored
feat: update top page for post-conference (#643)
* feat: update top page for post-conference - Remove ticket link from navigation - Remove Floor Map section from top page - Remove Venue section from top page (keep in navigation) - Add thank you message with YouTube highlight video embed Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: remove unused primary and target props from navigation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 8609cf0 commit 176be16

File tree

4 files changed

+19
-40
lines changed

4 files changed

+19
-40
lines changed

2025/messages/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "jsconf.jp is a JavaScript festival in Japan powered by Japan Node.js Association. This is the sixth time event of jsconf in Japan. We would love to become a bridge between Japanese Web Developers and International Web Developers.",
55
"eventDate": "November 16, 2025 (Sun)",
66
"companyAddress": "〒210-0024 27-7-903 Nisshincho Kawasaki-ku Kawasaki-shi Kanagawa",
7-
"copyright": "© 2019-2025 JSConf JP"
7+
"copyright": "© 2019-2025 JSConf JP",
8+
"thankYou": "Thank you for joining us! Here are the event highlights!"
89
},
910
"navigation": {
1011
"speakers": "Speakers",

2025/messages/ja.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"description": "jsconf.jp is a JavaScript festival in Japan powered by Japan Node.js Association. This is the sixth time event of jsconf in Japan. We would love to become a bridge between Japanese Web Developers and International Web Developers.",
55
"eventDate": "2025年11月16日(日)",
66
"companyAddress": "〒210-0024 神奈川県川崎市川崎区日進町27-7-903",
7-
"copyright": "© 2019-2025 JSConf JP"
7+
"copyright": "© 2019-2025 JSConf JP",
8+
"thankYou": "ご参加いただきありがとうございました!イベントのハイライトはこちらです!"
89
},
910
"navigation": {
1011
"speakers": "スピーカー",

2025/src/app/[locale]/page.tsx

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
import { Metadata } from "next";
2-
import Image from "next/image";
32
import { getTranslations, setRequestLocale } from "next-intl/server";
43
import { Button } from "@/components/Button";
54
import { Hero } from "@/components/Hero";
65
import { SponsorGrid } from "@/components/SponsorGrid";
76
import { Team } from "@/components/Team";
8-
import { Venue } from "@/components/Venue";
97
import { SPONSORS } from "@/constants/sponsors";
108
import { Locale } from "@/i18n/constants";
11-
import FloorMap from "../../../public/misc/floor-map.png";
129

1310
type Params = { locale: Locale };
1411

@@ -42,33 +39,23 @@ export default async function Page({ params }: Props) {
4239
<Hero />
4340
</div>
4441

45-
<div className="max-w-screen-md mx-auto mt-8 md:mt-32 flex flex-col gap-4">
46-
<h2 className="text-3xl font-bold text-center">
47-
{t("navigation.floorMap")}
48-
</h2>
49-
<div className="w-full">
50-
<Image
51-
alt={t("navigation.floorMap")}
52-
src={FloorMap}
53-
width={1192}
54-
height={843}
55-
className="w-full h-auto"
42+
<div className="max-w-screen-md mx-auto mt-8 md:mt-16 flex flex-col gap-4 px-4 lg:px-0">
43+
<p className="text-lg md:text-xl font-bold text-center">
44+
{t("about.thankYou")}
45+
</p>
46+
<div className="w-full aspect-video">
47+
<iframe
48+
className="w-full h-full"
49+
src="https://www.youtube.com/embed/me9KQ1SpKK4?si=byHOxwIpCcctOFyE"
50+
title="YouTube video player"
51+
frameBorder="0"
52+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
53+
referrerPolicy="strict-origin-when-cross-origin"
54+
allowFullScreen
5655
/>
5756
</div>
5857
</div>
5958

60-
<div className="max-w-screen-md mx-auto mt-8 md:mt-32 flex flex-col gap-4">
61-
<h2 className="text-3xl font-bold text-center">
62-
{t("navigation.venue")}
63-
</h2>
64-
<Venue locale={locale} />
65-
<div className="flex items-center justify-center">
66-
<Button href="/venue" variant="secondary" size="md">
67-
{t("navigation.viewDetails")}
68-
</Button>
69-
</div>
70-
</div>
71-
7259
<div className="max-w-screen-md mx-auto mt-8 md:mt-32 flex flex-col gap-4">
7360
<h2 className="text-3xl font-bold text-center">
7461
{t("navigation.sponsors")}

2025/src/components/GlobalNavigation.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ export function GlobalNavigation() {
3535
label: t("sponsors"),
3636
href: "/sponsors",
3737
},
38-
{
39-
ready: true,
40-
label: t("tickets"),
41-
href: "https://pretix.eu/jsconfjp/2025/",
42-
primary: true,
43-
target: "_blank",
44-
},
4538
].map((item) => ({
4639
...item,
4740
active: pathname === item.href,
@@ -79,15 +72,13 @@ export function GlobalNavigation() {
7972
</nav>
8073
<nav className="flex-1 items-center gap-4 hidden lg:flex">
8174
{[...spacerItems, ...readyItems].map(
82-
({ label, href, primary, ready, active, target }) =>
75+
({ label, href, ready, active }) =>
8376
ready ? (
8477
<Link
8578
key={href}
8679
href={href}
87-
target={target}
8880
className={clsx(
8981
"py-5 h-full flex-1 flex items-center justify-center text-lg font-bold underline underline-offset-8 decoration-4",
90-
primary && "bg-primary text-white hover:decoration-white",
9182
active
9283
? "decoration-primary"
9384
: "decoration-transparent hover:decoration-dimmed",
@@ -110,13 +101,12 @@ export function GlobalNavigation() {
110101
isOpen ? "visible" : "hidden",
111102
)}
112103
>
113-
{readyItems.map(({ label, href, primary, active }) => (
104+
{readyItems.map(({ label, href, active }) => (
114105
<Link
115106
key={href}
116107
href={href}
117108
className={clsx(
118109
"py-4 flex-1 flex items-center justify-center text-md font-bold underline underline-offset-6 decoration-4",
119-
primary && "bg-primary text-white hover:decoration-white",
120110
active
121111
? "decoration-primary"
122112
: "decoration-transparent hover:decoration-dimmed",

0 commit comments

Comments
 (0)