iter 2
This commit is contained in:
@@ -65,7 +65,10 @@ export const ProjectCard: FunctionComponent<IProjectCardProps> = ({
|
||||
{imageUrl ? (
|
||||
<img src={imageUrl} alt={name} loading="lazy" />
|
||||
) : (
|
||||
<div className={styles.placeholder}>
|
||||
<div
|
||||
className={styles.placeholder}
|
||||
data-color-index={name.charCodeAt(0) % 4}
|
||||
>
|
||||
<ImageIcon />
|
||||
</div>
|
||||
)}
|
||||
@@ -109,7 +112,7 @@ export const ProjectCard: FunctionComponent<IProjectCardProps> = ({
|
||||
>
|
||||
<Dropdown>
|
||||
<DropdownTrigger asChild>
|
||||
<button type="button" aria-label="Project actions">
|
||||
<button type="button" aria-label="Действия проекта">
|
||||
<MoreHorizontal size={16} />
|
||||
</button>
|
||||
</DropdownTrigger>
|
||||
|
||||
Reference in New Issue
Block a user