banners now clickable; added banner to feed page
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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
BIN
static/feed/banner.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 73 KiB |
Reference in New Issue
Block a user