don't show entire alt text

This commit is contained in:
Georgi Gardev
2023-11-20 00:34:03 +02:00
parent 714acf42fb
commit b580b82556

View File

@@ -117,7 +117,9 @@ export default function Home() {
</div>
</div>
<div class={style.CurrentBackground}>
<strong>{currentBackground()?.description || currentBackground()?.alt_description}</strong>
<strong>
{currentBackground()?.description || currentBackground()?.alt_description?.slice(100)}
</strong>
<br />
{currentBackground()?.location.name}
</div>