feat: improve collection gradient

This commit is contained in:
Isaac 2023-01-04 19:28:08 +00:00
parent f3c185495d
commit 51dca6d107
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function Items({
collection.news
? { 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}')`,
}
}
>