diff --git a/next.config.js b/next.config.js index 5ea4dd6..818c835 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,14 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "lh3.googleusercontent.com", + }, + ], + }, +}; // use next-axiom for full stack monitoring const { withAxiom } = require("next-axiom"); diff --git a/src/app/components/Navbar.tsx b/src/app/components/Navbar.tsx index 997f2d6..486d508 100644 --- a/src/app/components/Navbar.tsx +++ b/src/app/components/Navbar.tsx @@ -1,10 +1,11 @@ "use client"; -import React, { use, useState } from "react"; +import React, { useState } from "react"; import { Transition } from "@headlessui/react"; import ProfileDropDown from "./ProfileDropDown"; import { signOut } from "next-auth/react"; import { usePathname } from "next/navigation"; +import Image from "next/image"; function makeLink(href: string, label: string) { return ( @@ -17,7 +18,7 @@ function makeLink(href: string, label: string) { ); } -function Nav() { +function Nav({ userImage }: { userImage: string }) { const [isOpen, setIsOpen] = useState(false); const pathname = usePathname(); @@ -46,7 +47,7 @@ function Nav() {
- +