banners now clickable; added banner to feed page

This commit is contained in:
2026-04-13 22:24:07 +02:00
parent a88c02922b
commit aeb8361be8
3 changed files with 7 additions and 5 deletions

View File

@@ -56,13 +56,13 @@
<div class="container"> <div class="container">
{#if banner && banner !== ""} {#if banner && banner !== ""}
<div class="banner-container"> <a class="banner-container" href={banner}>
{#if pixelated} {#if pixelated}
<img class="banner pixelated-img" src="{banner}" alt="{bannerAlt}"> <img class="banner pixelated-img" src={banner} alt={bannerAlt}>
{:else} {:else}
<img class="banner" src="{banner}" alt="{bannerAlt}"> <img class="banner" src={banner} alt={bannerAlt}>
{/if} {/if}
</div> </a>
{/if} {/if}
{@render titles({title, subtitle, date})} {@render titles({title, subtitle, date})}
<hr> <hr>
@@ -78,6 +78,8 @@
height: 300px; height: 300px;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
margin: 0;
display: block;
} }
.banner { .banner {

View File

@@ -1,6 +1,6 @@
--- ---
title: Transparent Phone Back title: Transparent Phone Back
subtitle: see-through subtitle: nowhere to hide!
date: 2026-04-11 2026-04-12 date: 2026-04-11 2026-04-12
images: images:
- scratching - scratching

BIN
static/feed/banner.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB