Refactor: Unified conditional sidebar logic across pages

This commit is contained in:
Carlos (Almeira) 2026-03-26 15:54:12 -05:00
parent 03c72505af
commit d22b3d4cfa

View File

@ -2,7 +2,7 @@ import { APPWRITE_ALMEIRA_CONFIG } from '@/lib/appwrite';
import { createAdminClient } from '@/lib/appwrite.server';
import { Query } from 'node-appwrite';
import { NewsCard } from '@/components/NewsCard';
import { GlobalSidebar } from '@/components/AdWrappers';
import { GlobalSidebar, hasSidebarContent } from '@/components/AdWrappers';
import { RadioTower, Sparkles, ChevronDown } from 'lucide-react';
async function fetchHomeData() {