feat(person): add tmdb- and imdb link on person detail page (#2136)
Signed-off-by: Florian Hoech <code@florians-web.de>
This commit is contained in:
@@ -3,6 +3,7 @@ import CachedImage from '@app/components/Common/CachedImage';
|
||||
import ImageFader from '@app/components/Common/ImageFader';
|
||||
import LoadingSpinner from '@app/components/Common/LoadingSpinner';
|
||||
import PageTitle from '@app/components/Common/PageTitle';
|
||||
import ExternalLinkBlock from '@app/components/ExternalLinkBlock';
|
||||
import TitleCard from '@app/components/TitleCard';
|
||||
import globalMessages from '@app/i18n/globalMessages';
|
||||
import ErrorPage from '@app/pages/_error';
|
||||
@@ -277,6 +278,15 @@ const PersonDetails = () => {
|
||||
{mediaTypePicker}
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex w-full items-center justify-center lg:justify-between">
|
||||
<div className="mb-3 mt-3">
|
||||
<ExternalLinkBlock
|
||||
mediaType="person"
|
||||
tmdbId={data.id}
|
||||
imdbId={data.imdbId}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="mb-2 mt-1 space-y-1 text-xs text-white sm:text-sm lg:text-base">
|
||||
<div>{personAttributes.join(' | ')}</div>
|
||||
{(data.alsoKnownAs ?? []).length > 0 && (
|
||||
|
||||
Reference in New Issue
Block a user