From 82ad0143e775d20a361c57f6e8739815c8032dcb Mon Sep 17 00:00:00 2001 From: Rayna-Yu Date: Sat, 30 May 2026 15:41:14 -0400 Subject: [PATCH 1/2] initial fix --- apps/frontend/public/profile-icon.svg | 11 +++++++++++ apps/frontend/src/app/components/Header.tsx | 11 ++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 apps/frontend/public/profile-icon.svg diff --git a/apps/frontend/public/profile-icon.svg b/apps/frontend/public/profile-icon.svg new file mode 100644 index 00000000..dcea3e61 --- /dev/null +++ b/apps/frontend/public/profile-icon.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/apps/frontend/src/app/components/Header.tsx b/apps/frontend/src/app/components/Header.tsx index bd5c444a..439c86eb 100644 --- a/apps/frontend/src/app/components/Header.tsx +++ b/apps/frontend/src/app/components/Header.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import Image from "next/image"; interface HeaderProps { text?: string; @@ -11,20 +12,20 @@ const Header: React.FC = ({ }) => { return (
{/* Dynamic Text Section */} - +
{text} - +
{/* Flexible Icon Section */}
{icon || ( // Default Profile Icon matching Figma
- + Profile Icon
)}
From 6c07056a6b880ddc606b42a376ff1e081b1b488b Mon Sep 17 00:00:00 2001 From: Rayna-Yu Date: Sun, 31 May 2026 22:34:37 -0400 Subject: [PATCH 2/2] add height --- apps/frontend/src/app/components/Header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/src/app/components/Header.tsx b/apps/frontend/src/app/components/Header.tsx index 439c86eb..4579a056 100644 --- a/apps/frontend/src/app/components/Header.tsx +++ b/apps/frontend/src/app/components/Header.tsx @@ -12,7 +12,7 @@ const Header: React.FC = ({ }) => { return (
{/* Dynamic Text Section */}