mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 04:15:04 +03:00
## I have read the [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) file. YES/NO ## What kind of change does this PR introduce? - Connected our notion db as source of truth for events. - Refreshed layout a bit - Fixed jumping gap when no upcoming events. [DEBR-229](https://linear.app/supabase/issue/DEBR-229/fix-jumping-gap-on-website-events-page) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * "Speaking" badge highlights presenter events * "Meet with us" secondary button for meetings * Added "Conference" category filter; removed "On demand" * Events now come from a single Notion-backed source * **UI/Design Changes** * Redesigned event banner and responsive layout (no cover image) * Register button now shows a right-arrow icon; CTAs open in a new tab * Event cards show up to 3 categories with "+N more" and support multi-day ranges * **Behavior** * Events sort newest/upcoming first (descending date) * Search/filters operate over a single unified events list <!-- end of auto-generated comment: release notes by coderabbit.ai -->
15 lines
332 B
TypeScript
15 lines
332 B
TypeScript
import { cn } from 'ui'
|
|
|
|
interface EventsContainerProps {
|
|
children: React.ReactNode
|
|
className?: string
|
|
}
|
|
|
|
export function EventsContainer({ children, className }: EventsContainerProps) {
|
|
return (
|
|
<div className={cn('relative mx-auto w-full max-w-5xl px-4 lg:px-10 xl:px-14', className)}>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|