Skip to content

Commit

Permalink
adding link to home page in logo
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanDDegli committed Jun 27, 2024
1 parent 529e171 commit 596d503
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const About = () => {
width={521}
height={728}
className="rounded-lg shadow-lg object-cover mr-0 md:mr-8"
priority
priority={true}
/>
</div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
import { Menu } from "./Menu";
import Image from "next/image";
import Logo from "@/assets/Logo.svg";
import Link from "next/link";

export function Header (){
return(
<header className="flex justify-between items-center p-4 bg-black mx-[10px] md:mx-[122px] mt-[20px] md:mt-[50px]">
<div className="flex items-center">
<Image src={Logo} alt="Logo" />
<Link href="/">

<Image src={Logo} alt="Logo" />
</Link>
</div>
<Menu/>
</header>
Expand Down

0 comments on commit 596d503

Please sign in to comment.