diff --git a/next.config.ts b/next.config.ts index e9ffa30..791beae 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,16 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - /* config options here */ + images: { + remotePatterns: [ + { + hostname: "avatars.githubusercontent.com", + }, + { + hostname: "cdn.discordapp.com", + }, + ], + }, }; export default nextConfig; diff --git a/src/app/components/profile-overview.tsx b/src/app/components/profile-overview.tsx index b881d4c..97b42a2 100644 --- a/src/app/components/profile-overview.tsx +++ b/src/app/components/profile-overview.tsx @@ -1,3 +1,4 @@ +import Image from "next/image"; import { auth } from "@/lib/auth"; export default async function ProfileOverview() { @@ -6,7 +7,13 @@ export default async function ProfileOverview() { return (