One form at /request for blog posts, events, and new or updated chapters, regions (updates only), partners, teams, awards and people. ?type= opens it on one; buttons on the Community sections, blog posts, Retreats and the front page calendar do. Files (.docx, PDF, JPEG, PNG) go to a Google Drive folder through a service account. Requests are feedback rows of type 'content' (migration 046), in a third Forms queue: files download from Drive, a .docx can become a draft blog post, and deleting a request deletes its files. New content and data requests email the addresses in Site settings through Gmail. Setup: docs/google-drive-and-mail.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
32 lines
1.5 KiB
TypeScript
32 lines
1.5 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'
|
|
import RequestLink from '../../../components/RequestLink.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: 'var(--color-tint-soft)' }}>
|
|
<div className="mx-auto mb-10 flex max-w-6xl flex-wrap items-end justify-between gap-4 px-6">
|
|
<div>
|
|
<h2 className="font-display text-4xl font-extrabold text-ink md:text-5xl">
|
|
{title}
|
|
</h2>
|
|
{blurb && <p className="mt-3 max-w-xl text-lg text-muted">{blurb}</p>}
|
|
</div>
|
|
<RequestLink type="event" label="Add or update an event" />
|
|
</div>
|
|
|
|
<EventCalendar />
|
|
</section>
|
|
)
|
|
}
|