Skip to content

Commit d2205da

Browse files
authored
Fix : HEADER UI
Signed-off-by: Yun Min Woo <[email protected]>
1 parent 51d0588 commit d2205da

File tree

1 file changed

+40
-3
lines changed

1 file changed

+40
-3
lines changed

src/layout/Header.js

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Button from "@mui/material/Button";
1515
import Avatar from "@mui/material/Avatar";
1616
import MenuItem from "@mui/material/MenuItem";
1717
import MenuIcon from "@mui/icons-material/Menu";
18-
import LOGO from "../../src/assets/images/title.svg";
18+
import LOGO from "../../src/assets/images/Logo.svg";
1919
import axios from "axios";
2020
import { useRecoilState, useSetRecoilState } from "recoil";
2121
import { avatar, id, name, token } from "../recoil/authorize";
@@ -103,6 +103,23 @@ export const Header = (props) => {
103103
<LogoWrapper href="/">
104104
<LogoImg src={LOGO} />
105105
</LogoWrapper>
106+
<Typography
107+
variant="h5"
108+
href="/"
109+
component="a"
110+
gutterBottom
111+
color={COLOR.MAIN_BLACK}
112+
mt={2}
113+
sx={{
114+
fontFamily: "monospace",
115+
fontWeight: 700,
116+
letterSpacing: ".3rem",
117+
color: "inherit",
118+
textDecoration: "none",
119+
}}
120+
>
121+
OpenSetGo
122+
</Typography>
106123
</Box>
107124
<Box sx={{ flexGrow: 1, display: { xs: "flex", md: "none" } }}>
108125
{props.burger ? (
@@ -157,6 +174,25 @@ export const Header = (props) => {
157174
<LogoWrapper href="/">
158175
<LogoImg src={LOGO} />
159176
</LogoWrapper>
177+
<Typography
178+
variant="h5"
179+
noWrap
180+
color={COLOR.MAIN_BLACK}
181+
component="a"
182+
href="/"
183+
mt={2}
184+
sx={{
185+
display: { xs: "flex", md: "none" },
186+
flexGrow: 1,
187+
fontFamily: "monospace",
188+
fontWeight: 700,
189+
letterSpacing: ".3rem",
190+
color: "inherit",
191+
textDecoration: "none",
192+
}}
193+
>
194+
OpenSetGo
195+
</Typography>
160196
</Box>
161197
<Box
162198
sx={{
@@ -230,10 +266,11 @@ const LogoWrapper = styled.a`
230266
display: flex;
231267
flex-direction: row;
232268
justify-content: center;
269+
margin: 1rem;
233270
`;
234271
const LogoImg = styled.img`
235-
width: 10rem;
236-
height: 10rem;
272+
width: 3rem;
273+
height: 3rem;
237274
`;
238275
const AvatarDiv = styled.div`
239276
flex-direction: column;

0 commit comments

Comments
 (0)