import React from 'react' import { usePage } from '@inertiajs/react' import SeoHead from '../../components/seo/SeoHead' import GroupPromoCard from '../../components/groups/GroupPromoCard' import GroupTrendingSection from '../../components/groups/GroupTrendingSection' import GroupBrowseFilters from '../../components/groups/GroupBrowseFilters' import GroupDiscoveryCard from '../../components/groups/GroupDiscoveryCard' import GroupLeaderboardCard from '../../components/groups/GroupLeaderboardCard' export default function GroupIndex() { const { props } = usePage() const groups = props.groups?.data || [] const surfaces = Array.isArray(props.surfaces) ? props.surfaces : [] const currentSurface = props.currentSurface || 'featured' const highlightSections = Array.isArray(props.highlightSections) ? props.highlightSections : [] const leaderboardItems = Array.isArray(props.leaderboard?.items) ? props.leaderboard.items : [] return (

Groups

Collective publishing identities

Discover collaborative studios, follow shared creative brands, and browse the artworks, releases, and collections published under each group identity.

{highlightSections.map((section) => ( ))} {leaderboardItems.length > 0 ? (

Monthly group leaderboard

A fast view of the collaborative teams moving the most attention and publishing energy right now.

View leaderboard
{leaderboardItems.slice(0, 3).map((item) => )}
) : null}

Browse groups

Filter the directory by discovery surface, then jump into each group’s public page for artworks, releases, projects, events, and activity.

{Number(props.groups?.meta?.total || 0).toLocaleString()} public groups
{groups.map((group) => )}
) }