Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions skills/context/progress-tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
10 changes: 9 additions & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 5 additions & 1 deletion src/components/sections/events-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,11 @@ export function EventsSection() {
))}
</ul>
</div>
) : null}
) : (
<div className="site-container events-empty-divider-wrap">
<div className="events-empty-divider" aria-hidden="true" />
</div>
)}

<div
className={`site-container events-follow-up-wrap${hasUpcomingEvents ? "" : " events-follow-up-wrap-empty"}`}
Expand Down
3 changes: 1 addition & 2 deletions src/lib/content/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ export const eventsSection = {
src: "/images/events/627.png",
alt: "Cortex CONNEX Tech Festival poster for June 27, 2026",
},
// TODO: Temporary Luma profile link — replace with the CONNEX Tech Fest event page URL once available.
url: "https://luma.com/user/Cortex_Global",
url: "https://luma.com/vcdd20wc?utm_source=cortex_website",
},
] satisfies readonly CortexEvent[],
} as const satisfies Pick<SectionContent, "id"> & {
Expand Down
Loading