Add media outlet header to comprehensive report view
Integrates the media outlet's header information, including its logo and name, into the Comprehensive Report page. The header is now sticky and displays dynamically based on the current report's media outlet. Includes new navigation and utility icons in the header, along with search modal functionality and user authentication hooks. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 0fb68265-c270-4198-9584-3d9be9bddb41 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/0fb68265-c270-4198-9584-3d9be9bddb41/16cZmxV
This commit is contained in:
@ -53,13 +53,6 @@ export default function MainContent() {
|
||||
acc[article.mediaOutletId] = (acc[article.mediaOutletId] || 0) + 1;
|
||||
return acc;
|
||||
}, {} as Record<string, number>);
|
||||
|
||||
console.log('📊 Article Count Debug:', {
|
||||
totalArticles: allArticles.length,
|
||||
totalOutlets: allOutlets.length,
|
||||
articleCountByOutlet,
|
||||
outletsWithArticles: Object.keys(articleCountByOutlet).length
|
||||
});
|
||||
|
||||
// Group outlets by category and sort
|
||||
const getOutletsByCategory = (category: string) => {
|
||||
|
||||
Reference in New Issue
Block a user