From bdb672c7ad7162fb685b4cda2ac0833e9126b182 Mon Sep 17 00:00:00 2001 From: bunker-admin Date: Mon, 9 Mar 2026 12:44:27 -0600 Subject: [PATCH] Remove hardcoded "Explore More" section from public campaigns page The section bypassed navigation settings and feature flags, linking directly to Map, Shifts, and Gallery with its own visibility logic. Bunker Admin --- admin/src/pages/public/CampaignsListPage.tsx | 36 -------------------- 1 file changed, 36 deletions(-) diff --git a/admin/src/pages/public/CampaignsListPage.tsx b/admin/src/pages/public/CampaignsListPage.tsx index 134e8bfb..cc19c65b 100644 --- a/admin/src/pages/public/CampaignsListPage.tsx +++ b/admin/src/pages/public/CampaignsListPage.tsx @@ -36,8 +36,6 @@ import { EditOutlined, EnvironmentOutlined, BankOutlined, - ScheduleOutlined, - PlayCircleOutlined, } from '@ant-design/icons'; import axios from 'axios'; import { useSettingsStore } from '@/stores/settings.store'; @@ -529,40 +527,6 @@ export default function CampaignsListPage() { )} - {/* Explore More Section */} - {(() => { - const links = [ - { to: '/map', icon: , label: 'Interactive Map', desc: 'Explore locations on the map', show: siteSettings?.enableMap !== false }, - { to: '/shifts', icon: , label: 'Volunteer Shifts', desc: 'Sign up for upcoming events', show: siteSettings?.enableMap !== false }, - { to: '/gallery', icon: , label: 'Media Gallery', desc: 'Watch videos and media', show: siteSettings?.enableMediaFeatures !== false }, - ].filter(l => l.show); - if (links.length === 0) return null; - return ( -
- - Explore More - - - {links.map(link => ( - - - -
{link.icon}
- {link.label} - {link.desc} -
- - - ))} -
-
- ); - })()} - setAuthModalOpen(false)}