From 4bd47a1774b63804cbef59174d9752194d44ea23 Mon Sep 17 00:00:00 2001 From: Jenny Date: Fri, 19 Jun 2026 23:39:58 +0800 Subject: [PATCH] feat: update CONNEX Luma event link - Point RSVP to the Luma event page with utm_source parameter - Add divider to events empty state --- skills/context/progress-tracker.md | 13 +++++++------ src/app/globals.css | 10 +++++++++- src/components/sections/events-section.tsx | 6 +++++- src/lib/content/events.ts | 3 +-- 4 files changed, 22 insertions(+), 10 deletions(-) diff --git a/skills/context/progress-tracker.md b/skills/context/progress-tracker.md index a30078e..baf9530 100644 --- a/skills/context/progress-tracker.md +++ b/skills/context/progress-tracker.md @@ -78,15 +78,16 @@ All seven homepage sections are built, wired, and animated (scroll-driven entran ## Open Questions -- Final CONNEX copy and Luma event URL before launch. +- Final CONNEX copy before launch. ## Next Steps -1. Preformance review and optimization. -2. og image and description. -3. SEO, tracking validation, and launch metadata. -4. Staking page (remove `TEMP(staking-page)` comments when shipping). +1. Integrate Resend for newsletter form. Cloudflare Turnstile for prevent spam. +2. Preformance review and optimization. +3. og image and description. +4. SEO, tracking validation, and launch metadata. +5. Staking page (remove `TEMP(staking-page)` comments when shipping). ## Latest Handoff -Added an inline-styled primary `Try again` button to `src/app/global-error.tsx` wired to `unstable_retry`, matching `(site)/error.tsx` without importing `globals.css` or `CortexButton`. `(site)/error.tsx` still handles route-segment failures. Removed the temporary `global-error-content` extract and dev preview route after style review. Sentry log capture still sends `console.log`, `console.warn`, and `console.error` in development and production whenever the relevant DSN is configured, and Sentry Session Replay remains disabled. Files touched: `src/app/global-error.tsx` and `skills/context/progress-tracker.md`. Verification: `bun run typecheck` passed. Next: deploy a preview to confirm Sentry errors, logs, source maps, and release metadata. +- Events empty state: `events-empty-divider` full-width rule when no upcoming events remain (list borders unchanged when events exist). Removed temporary event helper tests and left no package test script because the static-event flow will be replaced by the event submission/API pipeline. Touched `events-section.tsx`, `globals.css`, and removed the local event test files. Verified at `/#events` (empty + live states); `typecheck`, `build`, and `lint` pass. Open: confirm June 27 vs July 27 event date. Next: event submission/API pipeline. diff --git a/src/app/globals.css b/src/app/globals.css index 76593db..b925996 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -2044,12 +2044,20 @@ @apply pt-0; } + .events-empty-divider-wrap { + @apply pt-0; + } + + .events-empty-divider { + @apply h-px w-full bg-border-default; + } + .events-follow-up-wrap { @apply pt-20 md:pt-24 xl:pt-30; } .events-follow-up-wrap-empty { - @apply pt-0; + @apply pt-12 md:pt-16 xl:pt-20; } .events-follow-up { diff --git a/src/components/sections/events-section.tsx b/src/components/sections/events-section.tsx index c7ebb38..f8a7f4e 100644 --- a/src/components/sections/events-section.tsx +++ b/src/components/sections/events-section.tsx @@ -174,7 +174,11 @@ export function EventsSection() { ))} - ) : null} + ) : ( +
+ + )}
& {