mirror of
https://github.com/maciejpedzich/cats-album.git
synced 2024-11-27 22:35:47 +01:00
Show an extra paragraph for cats that passed away
This commit is contained in:
parent
e520b7dd99
commit
1653877498
@ -35,8 +35,13 @@ const title = `${cat.data.owner.name}'s ${cat.data.name}`;
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-12 col-6-md">
|
<div class="col-12 col-6-md">
|
||||||
<p>
|
<p>
|
||||||
{cat.data.description}
|
{
|
||||||
|
cat.data.description.length === 0
|
||||||
|
? 'No description provided.'
|
||||||
|
: cat.data.description
|
||||||
|
}
|
||||||
</p>
|
</p>
|
||||||
|
{cat.data.passedAway && <p>🕯️ Rest In Peace 🕯️</p>}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</BaseLayout>
|
</BaseLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user