mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 09:59:41 +05:00
Frontend: add dynamic color from user avatar.
Backend: add image proxy
This commit is contained in:
parent
76bb133955
commit
1a83a80e07
7 changed files with 45 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
import Link from "next/link";
|
||||
import Image from "next/image";
|
||||
import Image from "next/legacy/image";
|
||||
|
||||
export const ReleaseCard = (props) => {
|
||||
return (
|
||||
|
@ -16,8 +16,7 @@ export const ReleaseCard = (props) => {
|
|||
<Image
|
||||
className="responsive large top-round"
|
||||
layout="fill"
|
||||
objectFit="cover"
|
||||
style={{ width: "100%", height: "100%", aspectRatio: "1/1" }}
|
||||
style={{ aspectRatio: "1/1" }}
|
||||
src={props.poster}
|
||||
alt=""
|
||||
sizes={"100vw"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue