Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Jul 12, 2024
1 parent 978a7ab commit 8105715
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/app/(hayao)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import Links from "./links";
export default function Home() {
return (
<div className="m-auto flex h-full w-fit flex-col items-center justify-center gap-4 child:m-2">
<h1 className="text-5xl font-bold">山田ハヤオ</h1>
<h1 className="text-5xl font-bold">
<Link href="/me">山田ハヤオ</Link>
</h1>

<div className="flex w-full text-center child:child:mx-auto child:grow child:child:text-xl">
<Links />
Expand Down
4 changes: 2 additions & 2 deletions src/components/layouts/CommonMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function MainManus({ horizontal, className, onMenuItemClick }: MenusProps
<MenuItem href="/" text="トップ" onClick={onMenuItemClick} />
<MenuItemBlog onMenuItemClick={onMenuItemClick} />
<MenuItem href="/portfolio" text="ポートフォリオ" onClick={onMenuItemClick} />
<MenuItem href="/projects" text="Something" onClick={onMenuItemClick} />
<MenuItem href="/projects" text="何か" onClick={onMenuItemClick} />
<MenuItem href="/social" text="SNS" onClick={onMenuItemClick} />
</Menu>
);
Expand Down Expand Up @@ -79,7 +79,7 @@ function MenuItemBlog({ onMenuItemClick }: MenusCommonProps) {
function MenuItem({ href, text, onClick }: { href: string; text: string; onClick?: () => void }) {
return (
<Menu.Item onClick={onClick}>
<Link href={href} className="!text-inherit">
<Link href={href} className="!w-fit !text-nowrap !text-inherit">
{text}
</Link>
</Menu.Item>
Expand Down

0 comments on commit 8105715

Please sign in to comment.