From 0f371ac87f82643b74586c38101f2966a5a0a526 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sun, 16 Mar 2025 09:28:19 +0000 Subject: [PATCH] Add symbol to home header Adds a symbol to the left side of the welcome message and app description in the home header. --- src/components/Header.tsx | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 1e747ea..cb0e087 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -1,18 +1,35 @@ + import React from 'react'; import { Bell } from 'lucide-react'; import { useAuth } from '@/contexts/auth'; + const Header: React.FC = () => { const { user } = useAuth(); const userName = user?.user_metadata?.username || '익명'; + return
-

- {user ? `${userName}님, 반갑습니다` : '반갑습니다'} -

-

젤리의 적자탈출

+
+ Zellyy +

+ {user ? `${userName}님, 반갑습니다` : '반갑습니다'} +

+
+
+ Zellyy +

젤리의 적자탈출

+
; }; -export default Header; \ No newline at end of file + +export default Header;