mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 10:23:33 +00:00
Replace header with regular image
This commit is contained in:
parent
23e791c829
commit
3d1f36e85a
2 changed files with 11 additions and 21 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import { Group } from '@mantine/core';
|
||||
import { forwardRef, ReactNode, Ref } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { SimpleImg } from 'react-simple-img';
|
||||
import styles from './library-header.module.scss';
|
||||
import { LibraryItem } from '/@/renderer/api/types';
|
||||
import { Text } from '/@/renderer/components';
|
||||
|
|
@ -33,7 +32,7 @@ export const LibraryHeader = forwardRef(
|
|||
<div className={styles.backgroundOverlay} />
|
||||
<div className={styles.imageSection}>
|
||||
{imageUrl ? (
|
||||
<SimpleImg
|
||||
<img
|
||||
alt="cover"
|
||||
className={styles.image}
|
||||
placeholder={imagePlaceholderUrl || 'var(--placeholder-bg)'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue