From 3e0431a6bd583ba4c9cea3647a668b4b99d2b1e7 Mon Sep 17 00:00:00 2001 From: kimjaehyeon0101 <47347352-kimjaehyeon0101@users.noreply.replit.com> Date: Wed, 15 Oct 2025 07:45:54 +0000 Subject: [PATCH] Enable navigation to home page via footer logo and filter media outlets by category Update Footer component to navigate to home page on logo click. Modify MainContent to filter and display media outlets by "People", "Topics", and "Companies" categories, with a two-column layout. Adjust MediaOutlet page to display articles in a two-column layout when not in grid view. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9a264234-c5d7-4dcc-adf3-a954b149b30d Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3df548ff-50ae-432f-9be4-25d34eccc983/9a264234-c5d7-4dcc-adf3-a954b149b30d/IfFFLfD --- client/src/components/Footer.tsx | 6 ++++- client/src/components/MainContent.tsx | 34 ++++++++++++++++++++++++--- client/src/pages/MediaOutlet.tsx | 4 ++-- 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/client/src/components/Footer.tsx b/client/src/components/Footer.tsx index 7c54cd7..0297b52 100644 --- a/client/src/components/Footer.tsx +++ b/client/src/components/Footer.tsx @@ -1,6 +1,9 @@ import logoWhite from "@assets/logo_white_1759167910147.png"; +import { useLocation } from "wouter"; export default function Footer() { + const [, setLocation] = useLocation(); + return (