Skip to content

Commit

Permalink
Add home link to logo
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunnoH committed Jan 2, 2025
1 parent 8cdde93 commit e021ad5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
11 changes: 10 additions & 1 deletion src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,19 @@ const headerMenu = css`
gap: 16px;
`;

const logo = css`
color: black;
text-decoration: none;
`;

export function Header() {
return (
<header css={headerStyle}>
<div>HyunnoH.github.io</div>
<div>
<Link to="/" css={logo}>
<strong>HyunnoH.github.io</strong>
</Link>
</div>
<div>
<menu css={headerMenu}>
<li>
Expand Down
12 changes: 0 additions & 12 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const pageStyles = css`
display: flex;
flex-direction: column;
justify-content: space-between;
// color: #232129;
padding: 96px;
font-family: -apple-system, Roboto, sans-serif, serif;
`;
Expand All @@ -18,17 +17,6 @@ const linkBox = css`
gap: 24px;
`;

const iconBox = css`
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
border: 2px solid #232129;
font-size: 32px;
width: 48px;
height: 48px;
`;

const IndexPage: React.FC<PageProps> = () => {
return (
<Layout>
Expand Down

0 comments on commit e021ad5

Please sign in to comment.