Skip to content

Commit d0a023e

Browse files
committed
refactor: Remove GitHub corner button and update header layout and spacing
1 parent c6da4d8 commit d0a023e

File tree

3 files changed

+3
-53
lines changed

3 files changed

+3
-53
lines changed

src/components/common/GitHubCornerButton.tsx

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/components/layout/Header.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ import Link from 'next/link';
22

33
import { siteConfig } from 'site.config';
44

5-
import GitHubCornerButton from '@/components/common/GitHubCornerButton';
6-
75
const navLinkList = [
86
{
97
name: 'about',
@@ -15,7 +13,7 @@ const Header = () => {
1513
return (
1614
<>
1715
<header className="fixed top-0 z-50 w-full min-w-[360px] bg-[hsla(0,0%,100%,.8)] backdrop-blur-lg">
18-
<nav className="mx-auto flex max-w-[1024px] items-center justify-between p-3">
16+
<nav className="mx-auto flex max-w-screen-lg items-center justify-between p-3">
1917
<h1 className="text-[20px] font-medium">
2018
<Link href={'/'}>{siteConfig.blogName}</Link>
2119
</h1>
@@ -34,8 +32,7 @@ const Header = () => {
3432
</ul>
3533
</nav>
3634
</header>
37-
<div className="h-[128px]" />
38-
<GitHubCornerButton />
35+
<div className="h-[90px]" />
3936
</>
4037
);
4138
};

src/features/home/Intro/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Intro = () => {
1818
<section>
1919
<article className="flex gap-4 md:gap-6">
2020
<Image
21-
className="h-[110px] w-[110px] rounded-full object-cover"
21+
className="size-[110px] rounded-full object-cover"
2222
src={profileUrl}
2323
width={110}
2424
height={110}

0 commit comments

Comments
 (0)