mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
refactor: change Image Optimization to custom url
This commit is contained in:
parent
61e8b74d11
commit
ff11a90a5e
11 changed files with 100 additions and 28 deletions
|
@ -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=""
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue