fix(constellations) : show header note in export
This commit is contained in:
@@ -20,7 +20,7 @@ export function ConstellationImage({
|
|||||||
const rows = constellationChartRows(group.rows);
|
const rows = constellationChartRows(group.rows);
|
||||||
const background = guide.character.nameCardImageUrl ?? guide.coverUrl;
|
const background = guide.character.nameCardImageUrl ?? guide.coverUrl;
|
||||||
const character = guide.character.splashImageUrl ?? guide.character.imageUrl;
|
const character = guide.character.splashImageUrl ?? guide.character.imageUrl;
|
||||||
const footer = group.note ?? sectionNote;
|
const footer = group.note;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="relative isolate size-[1500px] overflow-hidden bg-[#070b20] font-heading text-white">
|
<div className="relative isolate size-[1500px] overflow-hidden bg-[#070b20] font-heading text-white">
|
||||||
@@ -54,9 +54,11 @@ export function ConstellationImage({
|
|||||||
>
|
>
|
||||||
{guide.character.name} Constellations
|
{guide.character.name} Constellations
|
||||||
</h2>
|
</h2>
|
||||||
<p className="mt-3 text-[46px] leading-none font-bold text-[#f1badd]">
|
{sectionNote ? (
|
||||||
Team Damage
|
<p className="mt-3 line-clamp-2 max-w-[1100px] whitespace-pre-line text-[42px] leading-tight font-bold text-[#f1badd]">
|
||||||
|
{sectionNote}
|
||||||
</p>
|
</p>
|
||||||
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user