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:
bogo22
2026-03-21 00:52:31 +01:00
committed by GitHub
parent eaf397a021
commit fb2ee7ca7c
2 changed files with 25 additions and 3 deletions

View File

@@ -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 && (