mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
added dominant color to node swiper block
This commit is contained in:
parent
4ded317fd0
commit
15a83b6793
2 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,7 @@ const NodeImageSwiperBlock: FC<IProps> = observer(({ node }) => {
|
|||
{images.map((file, i) => (
|
||||
<SwiperSlide className={styles.slide} key={file.id}>
|
||||
<Image
|
||||
style={{ backgroundColor: file.metadata?.dominant_color }}
|
||||
src={getURL(file, ImagePresets['1600'])}
|
||||
width={file.metadata?.width}
|
||||
height={file.metadata?.height}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue