From decfccfb112ec150f83daa797132df255c69ea55 Mon Sep 17 00:00:00 2001
From: LEE <dlwodyd7613@ajou.ac.kr>
Date: Fri, 8 Dec 2023 23:13:53 +0900
Subject: [PATCH] Fix MyPage.css

---
 frontend/src/components/Header.js |  2 +-
 frontend/src/css/Header.css       | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/frontend/src/components/Header.js b/frontend/src/components/Header.js
index e8b2e5a9..68a66a3f 100644
--- a/frontend/src/components/Header.js
+++ b/frontend/src/components/Header.js
@@ -47,7 +47,7 @@ function Header({ cookie }) {
         <img className="logo_image" alt="logo" src={logo} />
       </ButtonLink>
       <ul>
-        <p>{cookie ? (<Link to="/mypage" style={{ textDecoration: "none", color: "black" }}>{cookie.name}님, 환영합니다</Link>) : '로그인하세요.'}</p>
+        <p className='userName'>{cookie ? (<Link to="/mypage" style={{ textDecoration: "none", color: "black" }}>{cookie.name}님, 환영합니다</Link>) : '로그인하세요.'}</p>
         <ul className="menu_list">
           <li><ButtonLink link='/'>Home</ButtonLink></li>
           <li><ButtonLink link='/search'>검색</ButtonLink></li>
diff --git a/frontend/src/css/Header.css b/frontend/src/css/Header.css
index ac75e5d8..2ac5588f 100644
--- a/frontend/src/css/Header.css
+++ b/frontend/src/css/Header.css
@@ -1,3 +1,10 @@
+@font-face {
+    font-family: 'Pretendard-Regular';
+    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
+    font-weight: 400;
+    font-style: normal;
+}
+
 .header {
     /* background-color:$white; */
     /* z-index: 999; */
@@ -43,4 +50,10 @@ li{
 .Labelheader:hover{
     color: #a5500f;
 
+}
+.userName{
+    font-family: 'Pretendard-Regular';
+    text-align: right;
+    padding-right: 10px;
+    font-weight: bold;
 }
\ No newline at end of file
-- 
GitLab