{campaign.title}
{campaign.description}
{communityText('Loading your organisations…')}
; + const failedHint = failed ? ( ++ {communityText('Could not load your organisations.')}{' '} + {onRetry ? ( + + ) : null} +
+ ) : null; + if (failed && !choices.length) return failedHint; + if (!choices.length) { + return ( ++ {orgs.length ? + communityText('Other organisations you can publish for will appear here.') : + communityText('Organisations you can publish for will appear here.')}{' '} + + {communityText('Create an organisation on Rotur')} + +
+ ); + } + const move = () => onMove(choice); + return ( + <> + {failedHint} +{project.description}
diff --git a/src/community/components/RouteLoading.jsx b/src/community/components/RouteLoading.jsx index f1197167381..45932fbb033 100644 --- a/src/community/components/RouteLoading.jsx +++ b/src/community/components/RouteLoading.jsx @@ -17,7 +17,6 @@ const SECTION_LEADS = { studios: 'A shared place where curators organise projects and accept submissions.', challenges: 'A timed event where people make projects around a prompt.', collections: 'A curated project list with submissions closed by default.', - groups: 'Organisations that share projects, spaces, members, and funding.', bounties: 'Funded improvements open across public MistWarp projects.', themes: 'Discover community-made looks for MistWarp.', mine: 'Spaces you own, curate, follow, or have been invited to.', @@ -28,7 +27,6 @@ const getExploreSection = (pathname, search) => { if (pathname === '/explore') return {active: 'projects', lead: null}; if (pathname === '/posts') return {active: 'posts', lead: 'posts'}; if (pathname === '/leaderboard') return {active: 'creators', lead: null}; - if (pathname === '/groups') return {active: 'groups', lead: 'groups'}; if (pathname === '/bounties') return {active: 'bounties', lead: 'bounties'}; if (pathname === '/themes') return {active: 'themes', lead: 'themes'}; if (pathname === '/spaces') { @@ -41,10 +39,8 @@ const getExploreSection = (pathname, search) => { return null; }; -// Each section's placeholder is shaped like what it lists: cards for games, -// spaces and themes, rows for people, groups, posts and bounties. const CARD_SECTIONS = ['studios', 'challenges', 'collections', 'themes']; -const LIST_MEDIA = {bounties: null, groups: 'square'}; +const LIST_MEDIA = {bounties: null}; const sectionSkeleton = (active, label) => { if (active === 'projects') return{communityText('No judges announced yet.')}
}{campaign.description}
{product.description}
{communityText('Purchase on Rotur')}{item.body}
{item.description}