Skip to content

Commit

Permalink
github and google image importing refactored
Browse files Browse the repository at this point in the history
  • Loading branch information
olatunde1998 committed Dec 24, 2024
1 parent ced0548 commit 0e1659a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/components/auth-components/LoginHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import * as yup from "yup";
import { yupResolver } from "@hookform/resolvers/yup";
import { useRouter } from "next/navigation";
import { getSession, signIn } from "next-auth/react";
import GoogleImage from "@/public/images/google.png";
import GithubImage from "@/public/images/github.png";

const schema = yup.object().shape({
email: yup
Expand Down Expand Up @@ -128,7 +130,7 @@ export default function LoginHome() {
>
<div>
<Image
src="/images/google.png"
src={GoogleImage}
width={100}
height={100}
alt="doctor pics"
Expand All @@ -146,7 +148,7 @@ export default function LoginHome() {
>
<div>
<Image
src="/images/github.png"
src={GithubImage}
width={100}
height={100}
alt="doctor pics"
Expand Down

0 comments on commit 0e1659a

Please sign in to comment.