We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7be2edf + 916e0aa commit 45a406aCopy full SHA for 45a406a
apps/www/pages/blog/[year]/[month]/[day]/[slug].tsx
@@ -30,9 +30,26 @@ const components = {
30
},
31
ImageGrid,
32
img: (props: any) => {
33
+ const classes = [
34
+ 'next-image--dynamic-fill',
35
+ 'from-brand-500 to-brand-500',
36
+ 'rounded border bg-gradient-to-r via-blue-500',
37
+ ]
38
+
39
return (
- <div className="next-image--dynamic-fill">
- <Image {...props} layout="fill" className="custom-img" />
40
+ <div
41
+ className="
42
+ next-image--dynamic-fill
43
+ to-scale-400
44
+ from-scale-500 rounded-md
45
+ border bg-gradient-to-r
46
+ "
47
+ >
48
+ <Image
49
+ {...props}
50
+ className="next-image--dynamic-fill to-brand-1000 from-brand-900 rounded-md border bg-gradient-to-r"
51
+ layout="fill"
52
+ />
53
</div>
54
)
55
0 commit comments