Rename Support nav label to Campaigns, Organize to Groups
Touches user-facing labels only: - TopNav: Support -> Campaigns, Organize -> Groups - Sidebar: Organize -> Groups - MobileBottomNav: Organize -> Groups - /communities hero kicker: Organize -> Groups Routes, hooks, and the country-organizers admin feature (`OrganizersPage` / `useOrganizers` — a separate concept covering appointed pinners for country feeds) are left alone. Code comments referring to the "Organize hero" are kept as-is so future readers can still find their way around by structural name.
This commit is contained in:
@@ -110,7 +110,7 @@ export function MobileBottomNav() {
|
||||
{/* Organizations */}
|
||||
<NavItem
|
||||
icon={Users}
|
||||
label="Organize"
|
||||
label="Groups"
|
||||
active={isOnCommunities}
|
||||
to="/communities"
|
||||
onClick={() => { selectionChanged(); setSearchOpen(false); }}
|
||||
|
||||
@@ -34,8 +34,8 @@ interface NavItem {
|
||||
|
||||
const NAV_ITEMS: NavItem[] = [
|
||||
{ label: 'Activity', to: '/feed', icon: Activity },
|
||||
{ label: 'Support', to: '/campaigns/all', icon: HandHeart },
|
||||
{ label: 'Organize', to: '/communities', icon: Users },
|
||||
{ label: 'Campaigns', to: '/campaigns/all', icon: HandHeart },
|
||||
{ label: 'Groups', to: '/communities', icon: Users },
|
||||
{ label: 'Pledge', to: '/pledges', icon: Megaphone },
|
||||
];
|
||||
|
||||
|
||||
@@ -193,7 +193,7 @@ export const SIDEBAR_ITEMS: SidebarItemDef[] = [
|
||||
{ id: "emojis", label: "Emojis", path: "/emojis", icon: SmilePlus },
|
||||
{ id: "development", label: "Development", path: "/development", icon: Code },
|
||||
{ id: "badges", label: "Badges", path: "/badges", icon: Award },
|
||||
{ id: "communities", label: "Organize", path: "/communities", icon: Users },
|
||||
{ id: "communities", label: "Groups", path: "/communities", icon: Users },
|
||||
{ id: "world", label: "World", path: "/world", icon: Earth },
|
||||
];
|
||||
|
||||
|
||||
@@ -363,7 +363,7 @@ function CommunitiesHero({ onCreateCommunity }: CommunitiesHeroProps) {
|
||||
<div className="relative max-w-5xl mx-auto px-4 sm:px-6 py-10 sm:py-12 lg:py-14 min-h-[380px] sm:min-h-[420px] lg:min-h-[460px] flex flex-col items-center text-center">
|
||||
<div className="relative space-y-3 max-w-3xl">
|
||||
<p className="text-xs sm:text-sm font-semibold uppercase tracking-[0.18em] text-white/85 drop-shadow">
|
||||
Organize
|
||||
Groups
|
||||
</p>
|
||||
<h1 className="text-4xl sm:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.05] text-white drop-shadow-[0_2px_12px_rgb(0_0_0/0.55)]">
|
||||
Strength
|
||||
|
||||
Reference in New Issue
Block a user