diff --git a/package-lock.json b/package-lock.json index 014f0cb71..da0cf2b25 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10908,9 +10908,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001539", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001539.tgz", - "integrity": "sha512-hfS5tE8bnNiNvEOEkm8HElUHroYwlqMMENEzELymy77+tJ6m+gA2krtHl5hxJaj71OlpC2cHZbdSMX1/YEqEkA==", + "version": "1.0.30001543", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001543.tgz", + "integrity": "sha512-qxdO8KPWPQ+Zk6bvNpPeQIOH47qZSYdFZd6dXQzb2KzhnSXju4Kd7H1PkSJx6NICSMgo/IhRZRhhfPTHYpJUCA==", "funding": [ { "type": "opencollective", diff --git a/src/components/molecules/card/favoriteEntity.tsx b/src/components/molecules/card/favoriteEntity.tsx index 162cd6aa5..b5c764e6b 100644 --- a/src/components/molecules/card/favoriteEntity.tsx +++ b/src/components/molecules/card/favoriteEntity.tsx @@ -23,7 +23,7 @@ export default function CardFavoriteEntity({ case 'Collection': return ; case 'Person': - return ; + return ; case 'Recording': return ; case 'Sequence': diff --git a/src/components/molecules/card/inferred.tsx b/src/components/molecules/card/inferred.tsx index a36c5d226..2dc4fd788 100644 --- a/src/components/molecules/card/inferred.tsx +++ b/src/components/molecules/card/inferred.tsx @@ -34,7 +34,9 @@ const Typename = { export default function CardInferred({ entity }: { entity: InferrableEntity }) { switch (entity.__typename) { case Typename.Person: - return ; + return ( + + ); case Typename.Recording: return ; case Typename.Sequence: diff --git a/src/components/molecules/card/person.tsx b/src/components/molecules/card/person.tsx index 3723aa9d1..0841d50ef 100644 --- a/src/components/molecules/card/person.tsx +++ b/src/components/molecules/card/person.tsx @@ -19,11 +19,17 @@ import styles from './person.module.scss'; interface CardCollectionProps { person: CardPersonFragment; compact?: boolean; + largeinit?: boolean; + midinit?: boolean; + smallinit?: boolean; } export default function CardPerson({ person, compact = false, + largeinit = false, + midinit = false, + smallinit = false, }: CardCollectionProps): JSX.Element { const { isFavorited, toggleFavorited } = useIsPersonFavorited(person.id); const { canonicalPath, image, name, recordings } = person; @@ -39,7 +45,12 @@ export default function CardPerson({ ) : ( - + )} {name} diff --git a/src/components/organisms/cardSlider/section/presenters.tsx b/src/components/organisms/cardSlider/section/presenters.tsx index 391e98420..d012e15d5 100644 --- a/src/components/organisms/cardSlider/section/presenters.tsx +++ b/src/components/organisms/cardSlider/section/presenters.tsx @@ -38,7 +38,7 @@ export default function Presenters(props: { })} seeAllUrl={root.lang(lang).presenters.get()} Card={(p: { node: CardPersonFragment }) => ( - + )} /> ); diff --git a/src/containers/collection/presenters.tsx b/src/containers/collection/presenters.tsx index a4ce7fe31..142a7f8e2 100644 --- a/src/containers/collection/presenters.tsx +++ b/src/containers/collection/presenters.tsx @@ -43,7 +43,7 @@ function CollectionPresenters({ {nodes.map((node) => ( - + ))}