diff --git a/src/assets/default profile icon.jpg b/src/assets/default profile icon.jpg new file mode 100644 index 0000000..fdd3963 Binary files /dev/null and b/src/assets/default profile icon.jpg differ diff --git a/src/components/ProfileMenu.tsx b/src/components/ProfileMenu.tsx index 80248cd..8a38a0d 100644 --- a/src/components/ProfileMenu.tsx +++ b/src/components/ProfileMenu.tsx @@ -4,6 +4,8 @@ import { signOut, useSession } from "next-auth/react"; import { useRouter } from "next/router"; import { api } from "~/utils/api"; import { usePostHog } from "posthog-js/react"; +import defaultProfileIcon from "~/assets/default profile icon.jpg"; +import Image from "next/image"; export default function ProfileMenu() { const { mutateAsync: createBillingPortalSession } = @@ -28,10 +30,13 @@ export default function ProfileMenu() { Open user menu - { const router = useRouter(); @@ -175,13 +176,12 @@ const VideoList: NextPage = () => { {!isLoading ? ( <>
- profile photo
{video.user.name}