- Replace every em-dash in src and server/src with a colon, comma or hyphen - Give every relative import its file extension (.jsx imports of .tsx fixed) - Delete old-historyMock.ts, unused exports, unused CSS utilities, the unused @ alias and the fallback option nothing passed - One copy each of initials, capitalize, byName and the server's marks() - Move the organization, chapter and event hooks from src/data to src/lib - Schema sync always throws on a mismatch (strict was never turned off) - Replace the placeholder README Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
1.3 KiB
TypeScript
28 lines
1.3 KiB
TypeScript
/* ═══════════════════════════════════════════════════════════════
|
|
CALENDAR BAND
|
|
|
|
EventCalendar on the front page: every scope and every type, all
|
|
four visitor filters, starting on this month. The same component
|
|
can go on any page with a narrower filter, a region's page would
|
|
pass host, a classes page would pass type, and this file only
|
|
adds the front page's heading around it.
|
|
═══════════════════════════════════════════════════════════════ */
|
|
|
|
import EventCalendar from '../EventCalendar.tsx'
|
|
|
|
type CalendarBandProps = { id: string; title: string; blurb?: string | null }
|
|
|
|
export default function CalendarBand({ id, title, blurb }: CalendarBandProps) {
|
|
return (
|
|
<section id={id} className="py-24" style={{ background: '#f6fbfc' }}>
|
|
<div className="mx-auto mb-10 max-w-6xl px-6">
|
|
<h2 className="font-display text-4xl font-extrabold text-[#073d4a] md:text-5xl">
|
|
{title}
|
|
</h2>
|
|
{blurb && <p className="mt-3 max-w-xl text-lg text-[#4a6b72]">{blurb}</p>}
|
|
</div>
|
|
|
|
<EventCalendar />
|
|
</section>
|
|
)
|
|
}
|