Skip to content

Commit

Permalink
fix: add hyperlink to logo in footer (#339)
Browse files Browse the repository at this point in the history
  • Loading branch information
kavania2002 authored Jun 25, 2024
1 parent f9f8673 commit ae1f633
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/Footer/footer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react";
import Image from 'next/image';
import Link from "next/link";

function Footer() {
const socials = [
Expand All @@ -22,7 +23,9 @@ function Footer() {
return (
<div className="container">
<div className="w-full flex justify-between items-center p-4 sm:flex-col sm:gap-3">
<Image src="/img/logo.png" alt="company logo" width={150} height={42} />
<Link href='/'>
<Image className="cursor-pointer" src="/img/logo.png" alt="company logo" width={150} height={42} />
</Link>
<div className="sm:hidden">
{/* This div helps keep the text centered */}
</div>
Expand Down

0 comments on commit ae1f633

Please sign in to comment.