Skip to content

Commit 9a5bcce

Browse files
committed
Add link
1 parent 39e95f9 commit 9a5bcce

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/pages/index.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ const metadata = {
272272
teaser.style.zIndex = '9999';
273273
teaser.style.transition = 'opacity 3s ease-in';
274274

275+
const a = document.createElement('a');
276+
a.href = '/2025-12-31-version-7';
277+
275278
const img = document.createElement('img');
276279
img.src = '/Lychee-v7-teasing.png';
277280
img.alt = 'Teaser Image';
@@ -281,7 +284,8 @@ const metadata = {
281284
img.style.opacity = '0';
282285
img.style.transition = 'transform 6s ease-in-out, opacity 3s ease';
283286

284-
teaser.appendChild(img);
287+
a.appendChild(img);
288+
teaser.appendChild(a);
285289
document.body.appendChild(teaser);
286290

287291
// Start the zoom animation

0 commit comments

Comments
 (0)