Fix: Finalizing full-width logic for Eventos

This commit is contained in:
Carlos (Almeira) 2026-03-26 15:56:18 -05:00
parent 0fd3c014c1
commit 4f1bc2b3ba

View File

@ -2,6 +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, hasSidebarContent } from '@/components/AdWrappers';
import { Calendar } from 'lucide-react';
async function fetchEventosData() {
@ -50,7 +51,7 @@ async function fetchEventosData() {
return { posts, cardSettings };
} catch (e) {
console.error("Eventos fetch error", e);
return { posts: [], cardSettings: { showCategory: false, showFooterDate: true, footerText: "" } };
return { posts: [], cardSettings: { showCategory: false, showFooterDate: true, showFooterButton: true, footerText: "" } };
}
}