mirror of https://github.com/mue/mue.git
feat: improve collection gradient
This commit is contained in:
parent
f3c185495d
commit
51dca6d107
|
@ -22,7 +22,7 @@ function Items({
|
||||||
collection.news
|
collection.news
|
||||||
? { backgroundColor: collection.background_colour }
|
? { backgroundColor: collection.background_colour }
|
||||||
: {
|
: {
|
||||||
backgroundImage: `linear-gradient(to left, #000, transparent, #000), url('${collection.img}')`,
|
backgroundImage: `linear-gradient(to right, rgba(0 ,0, 0, 0.9), rgba(0 ,0, 0, 0.7), transparent, rgba(0 ,0, 0, 0.7), rgba(0 ,0, 0, 0.9)), url('${collection.img}')`,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue