diff --git a/front/packages/ui/src/details/header.tsx b/front/packages/ui/src/details/header.tsx index 5e1654b4..b0026b31 100644 --- a/front/packages/ui/src/details/header.tsx +++ b/front/packages/ui/src/details/header.tsx @@ -63,6 +63,7 @@ const TitleLine = ({ isLoading, slug, name, + tagline, date, poster, studio, @@ -72,7 +73,8 @@ const TitleLine = ({ isLoading: boolean; slug: string; name?: string; - date?: string; + tagline?: string; + date?: string | null; poster?: KyooImage | null; studio?: Studio | null; trailerUrl?: string | null; @@ -94,6 +96,7 @@ const TitleLine = ({ flexDirection: { xs: "column", sm: "row" }, alignItems: { xs: "center", sm: "flex-start" }, flexGrow: 1, + maxWidth: percent(100), })} > - - {isLoading || ( -

({ xs: theme.user.heading, md: theme.heading }), - })} - > - {name} -

- )} -
- {(isLoading || date) && ( +

({ xs: theme.user.heading, md: theme.heading }), + })}> + + {isLoading || ( + <> +

{name}

+ {date &&

({date})

} + + )} + +

+ {(isLoading || tagline) && ( ({ xs: theme.user.heading, md: theme.heading }), })} > - {date} + {tagline}

)}
@@ -337,6 +340,7 @@ export const Header = ({ query, slug }: { query: QueryIdentifier; isLoading={isLoading} slug={slug} name={data?.name} + tagline={data?.tagline} date={data ? getDisplayDate(data as any) : undefined} poster={data?.poster} trailerUrl={data?.trailer}