From a4b72a7f80bf4786bedfee34df7d17c899e1022d Mon Sep 17 00:00:00 2001 From: kimjaehyeon0101 <47347352-kimjaehyeon0101@users.noreply.replit.com> Date: Tue, 30 Sep 2025 05:56:38 +0000 Subject: [PATCH] Update header layout for media outlets with logos and names Replace the SAPIENS logo in the media outlet header with a profile picture, SAPIENS logo, and the media outlet's name, including an info icon. 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 --- .replit | 4 -- client/src/pages/MediaOutlet.tsx | 70 +++++++++++++++++++++++++------- 2 files changed, 55 insertions(+), 19 deletions(-) diff --git a/.replit b/.replit index 47249af..e53b196 100644 --- a/.replit +++ b/.replit @@ -26,10 +26,6 @@ externalPort = 3001 localPort = 38387 externalPort = 3003 -[[ports]] -localPort = 39255 -externalPort = 4200 - [[ports]] localPort = 43349 externalPort = 3000 diff --git a/client/src/pages/MediaOutlet.tsx b/client/src/pages/MediaOutlet.tsx index 75496cd..5f2ce07 100644 --- a/client/src/pages/MediaOutlet.tsx +++ b/client/src/pages/MediaOutlet.tsx @@ -135,13 +135,12 @@ export default function MediaOutlet() {
-
- SAPIENS +
+
+
+
+
+
@@ -254,14 +253,55 @@ export default function MediaOutlet() {
-
- SAPIENS setLocation("/")} - /> +
+ {outlet.imageUrl ? ( + {outlet.name} setEnlargedImage(outlet.imageUrl!)} + data-testid="image-outlet-header-profile" + /> + ) : ( +
+ + {outlet.name.charAt(0)} + +
+ )} +
setLocation("/")}> + SAPIENS +
+ + {outlet.name} + + + + + + + +

{outlet.description || "Media Outlet"}

+
+
+
+
+