From a688c3b019f37b0884c9dd8234b5d29c434a73ca Mon Sep 17 00:00:00 2001 From: John Jeong Date: Tue, 2 Dec 2025 15:57:31 +0900 Subject: [PATCH 1/2] style(css): add scroll margin for id elements --- apps/web/src/styles.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/web/src/styles.css b/apps/web/src/styles.css index bfdbed8f1e..e92bc1f7b9 100644 --- a/apps/web/src/styles.css +++ b/apps/web/src/styles.css @@ -10,6 +10,12 @@ --breakpoint-laptop: 72rem; } +@layer base { + [id] { + scroll-margin-top: 69px; + } +} + @layer utilities { @keyframes shake { 0%, From b79371e23faa153150d96cd021f30a744c084ecc Mon Sep 17 00:00:00 2001 From: John Jeong Date: Tue, 2 Dec 2025 15:57:48 +0900 Subject: [PATCH 2/2] refactor(ui): simplify section anchor handling --- apps/web/src/routes/_view/index.tsx | 9 ++--- .../src/routes/_view/product/ai-assistant.tsx | 18 ++------- .../routes/_view/product/ai-notetaking.tsx | 37 ++++--------------- .../src/routes/_view/product/mini-apps.tsx | 30 +++------------ 4 files changed, 19 insertions(+), 75 deletions(-) diff --git a/apps/web/src/routes/_view/index.tsx b/apps/web/src/routes/_view/index.tsx index 513886b78a..1b24368f99 100644 --- a/apps/web/src/routes/_view/index.tsx +++ b/apps/web/src/routes/_view/index.tsx @@ -289,11 +289,10 @@ function HeroSection({ return (
-
-
+

The AI notepad for
diff --git a/apps/web/src/routes/_view/product/ai-assistant.tsx b/apps/web/src/routes/_view/product/ai-assistant.tsx index 7a518327ec..6009989e9d 100644 --- a/apps/web/src/routes/_view/product/ai-assistant.tsx +++ b/apps/web/src/routes/_view/product/ai-assistant.tsx @@ -75,11 +75,7 @@ function HeroSection() { function BeforeMeetingSection() { return ( -
-
+
Before meetings
@@ -193,11 +189,7 @@ function BeforeMeetingSection() { function DuringMeetingSection() { return ( -
-
+
During meetings
@@ -303,11 +295,7 @@ function DuringMeetingSection() { function AfterMeetingSection() { return ( -
-
+
After meetings
diff --git a/apps/web/src/routes/_view/product/ai-notetaking.tsx b/apps/web/src/routes/_view/product/ai-notetaking.tsx index 2d1184ab2a..861116001b 100644 --- a/apps/web/src/routes/_view/product/ai-notetaking.tsx +++ b/apps/web/src/routes/_view/product/ai-notetaking.tsx @@ -185,11 +185,7 @@ function HeroSection() { function EditorSection() { return ( -
-
+
@@ -667,11 +663,7 @@ function AnimatedMarkdownDemo({ isMobile = false }: { isMobile?: boolean }) { function TranscriptionSection() { return ( -
-
+

Transcription @@ -840,11 +832,7 @@ function SummariesSection() { }, []); return ( -
-
+

AI summaries @@ -1108,15 +1096,12 @@ function SearchSection() { return (