fix bg image issue

This commit is contained in:
Jonathan Summers-Muir committed 2022-06-30 01:45:39 +08:00
1 parent 74bcc68962
commit 2f5edf9fdb
1 file changed
+5 -15
@@ -30,26 +30,16 @@ const components = {
},
ImageGrid,
img: (props: any) => {
const classes = [
'next-image--dynamic-fill',
'from-brand-500 to-brand-500',
'rounded border bg-gradient-to-r via-blue-500',
]
return (
<div
className="
next-image--dynamic-fill
to-scale-400
from-scale-500 rounded-md
border bg-gradient-to-r
"
to-scale-400
from-scale-500 rounded-md
border bg-gradient-to-r
"
>
<Image
{...props}
className="next-image--dynamic-fill to-brand-1000 from-brand-900 rounded-md border bg-gradient-to-r"
layout="fill"
/>
<Image {...props} className="next-image--dynamic-fill rounded-md border" layout="fill" />
</div>
)
},