refactor: change Image Optimization to custom url

This commit is contained in:
Kentai Radiquum 2024-08-23 04:51:47 +05:00
parent 61e8b74d11
commit ff11a90a5e
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
11 changed files with 100 additions and 28 deletions

View file

@ -6,6 +6,7 @@ import Link from "next/link";
import { CommentsAddModal } from "./Comments.Add";
import { CommentsEditModal } from "./Comments.Edit";
import { useUserStore } from "#/store/auth";
import Image from "next/image";
export const CommentsComment = (props: {
release_id: number;
@ -155,8 +156,10 @@ export const CommentsComment = (props: {
href={`/profile/${props.profile.id}`}
className="inline-flex items-center mr-3 text-sm font-semibold text-gray-900 dark:text-white hover:underline"
>
<img
<Image
className="w-6 h-6 mr-2 rounded-full"
width={24}
height={24}
src={props.profile.avatar}
alt=""
/>