Skip to content

fix: tailwind typo, stale ICS date, and SSR browser safety#6

Open
ygd58 wants to merge 1 commit into
RitualChain:mainfrom
ygd58:fix/tailwind-typo-ics-browser-safety
Open

fix: tailwind typo, stale ICS date, and SSR browser safety#6
ygd58 wants to merge 1 commit into
RitualChain:mainfrom
ygd58:fix/tailwind-typo-ics-browser-safety

Conversation

@ygd58

@ygd58 ygd58 commented Jul 1, 2026

Copy link
Copy Markdown

Summary

Three bug fixes in this PR:

1. Tailwind typo in footer.tsx

flex-cols is not a valid Tailwind class — corrected to flex-col.

2. Stale ICS anchor date in lib/utils.ts

The downloadCalendarEvent function had a hardcoded start date of 2025-11-06 — a date in the past. Updated to 2026-07-03 (next upcoming Thursday) so downloaded .ics files correctly represent the recurring weekly schedule.

3. SSR safety in lib/utils.ts

URL.createObjectURL, document.createElement, and related DOM APIs are browser-only. Added if (typeof window === undefined) return guard to prevent crashes during server-side rendering.

- Fix 'flex-cols' typo to 'flex-col' in footer.tsx (invalid Tailwind class)
- Update Office Hours ICS start date from 2025-11-06 to 2026-07-03
- Add typeof window check in downloadCalendarEvent to prevent SSR crash
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@ygd58 is attempting to deploy a commit to the 0xBuns Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant