Skip to content
Snippets Groups Projects
Commit decfccfb authored by Jaeyong Lee's avatar Jaeyong Lee
Browse files

Fix MyPage.css

parent dc1ff815
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ function Header({ cookie }) { ...@@ -47,7 +47,7 @@ function Header({ cookie }) {
<img className="logo_image" alt="logo" src={logo} /> <img className="logo_image" alt="logo" src={logo} />
</ButtonLink> </ButtonLink>
<ul> <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"> <ul className="menu_list">
<li><ButtonLink link='/'>Home</ButtonLink></li> <li><ButtonLink link='/'>Home</ButtonLink></li>
<li><ButtonLink link='/search'>검색</ButtonLink></li> <li><ButtonLink link='/search'>검색</ButtonLink></li>
......
@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 { .header {
/* background-color:$white; */ /* background-color:$white; */
/* z-index: 999; */ /* z-index: 999; */
...@@ -44,3 +51,9 @@ li{ ...@@ -44,3 +51,9 @@ li{
color: #a5500f; color: #a5500f;
} }
.userName{
font-family: 'Pretendard-Regular';
text-align: right;
padding-right: 10px;
font-weight: bold;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment