From 8322e613356cec3977593c47603e74f5a8abc8da Mon Sep 17 00:00:00 2001 From: gamoutatsumi Date: Fri, 7 Nov 2025 13:05:02 +0900 Subject: [PATCH 1/6] wip: add link to jump to session header --- 2025/src/components/Sessions/Session.astro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2025/src/components/Sessions/Session.astro b/2025/src/components/Sessions/Session.astro index 939f6973..540deeae 100644 --- a/2025/src/components/Sessions/Session.astro +++ b/2025/src/components/Sessions/Session.astro @@ -32,8 +32,10 @@ const { speaker_name, title, abstract, self_introduction, image_url } =
From d3f6aeeda4f4f4ae60a2460dda7d9f785540a4a0 Mon Sep 17 00:00:00 2001 From: gamoutatsumi Date: Sat, 8 Nov 2025 09:44:07 +0900 Subject: [PATCH 2/6] use speaker_name and title as session header id --- 2025/src/components/Sessions/Session.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2025/src/components/Sessions/Session.astro b/2025/src/components/Sessions/Session.astro index 540deeae..fb5aa639 100644 --- a/2025/src/components/Sessions/Session.astro +++ b/2025/src/components/Sessions/Session.astro @@ -32,8 +32,8 @@ const { speaker_name, title, abstract, self_introduction, image_url } =
-

- +

+ {speaker_name}

From 98a51805277793950b0a1cf8a67d45b00af67cb5 Mon Sep 17 00:00:00 2001 From: gamoutatsumi Date: Sat, 8 Nov 2025 09:44:42 +0900 Subject: [PATCH 3/6] set scroll-padding-top --- 2025/src/styles/global.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/2025/src/styles/global.css b/2025/src/styles/global.css index c78fde6e..412817ae 100644 --- a/2025/src/styles/global.css +++ b/2025/src/styles/global.css @@ -8,6 +8,10 @@ body { font-family: Arial, Helvetica, sans-serif; } +html { + scroll-padding-top: calc(var(--spacing) * 16) +} + @layer utilities { .text-balance { text-wrap: balance; From d006c4fcdeb9fafc60228e08594e439255e54aab Mon Sep 17 00:00:00 2001 From: gamoutatsumi Date: Sat, 8 Nov 2025 10:35:58 +0900 Subject: [PATCH 4/6] use instead session_id --- 2025/src/components/Sessions/Session.astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/2025/src/components/Sessions/Session.astro b/2025/src/components/Sessions/Session.astro index fb5aa639..ca450ad1 100644 --- a/2025/src/components/Sessions/Session.astro +++ b/2025/src/components/Sessions/Session.astro @@ -11,7 +11,7 @@ type Props = { image_url?: string; }; -const { speaker_name, title, abstract, self_introduction, image_url } = +const { session_id,speaker_name, title, abstract, self_introduction, image_url } = Astro.props; --- @@ -32,8 +32,8 @@ const { speaker_name, title, abstract, self_introduction, image_url } =

-

- +

+ {speaker_name}

From 3cd51d61c81056d41e60e628e20f27f1f788bd21 Mon Sep 17 00:00:00 2001 From: gamoutatsumi Date: Sat, 8 Nov 2025 10:36:18 +0900 Subject: [PATCH 5/6] fix css format issue --- 2025/src/styles/global.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2025/src/styles/global.css b/2025/src/styles/global.css index 412817ae..bfc8660a 100644 --- a/2025/src/styles/global.css +++ b/2025/src/styles/global.css @@ -9,7 +9,7 @@ body { } html { - scroll-padding-top: calc(var(--spacing) * 16) + scroll-padding-top: calc(var(--spacing) * 16); } @layer utilities { From 3eee4f66c8afabe8eace3147eafffb01992de82c Mon Sep 17 00:00:00 2001 From: gamoutatsumi Date: Sat, 8 Nov 2025 10:46:09 +0900 Subject: [PATCH 6/6] fix prettier issue --- 2025/src/components/Sessions/Session.astro | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/2025/src/components/Sessions/Session.astro b/2025/src/components/Sessions/Session.astro index ca450ad1..fa16674e 100644 --- a/2025/src/components/Sessions/Session.astro +++ b/2025/src/components/Sessions/Session.astro @@ -11,8 +11,14 @@ type Props = { image_url?: string; }; -const { session_id,speaker_name, title, abstract, self_introduction, image_url } = - Astro.props; +const { + session_id, + speaker_name, + title, + abstract, + self_introduction, + image_url, +} = Astro.props; --- @@ -32,9 +38,12 @@ const { session_id,speaker_name, title, abstract, self_introduction, image_url }