banners now clickable; added banner to feed page
This commit is contained in:
@@ -56,13 +56,13 @@
|
||||
|
||||
<div class="container">
|
||||
{#if banner && banner !== ""}
|
||||
<div class="banner-container">
|
||||
<a class="banner-container" href={banner}>
|
||||
{#if pixelated}
|
||||
<img class="banner pixelated-img" src="{banner}" alt="{bannerAlt}">
|
||||
<img class="banner pixelated-img" src={banner} alt={bannerAlt}>
|
||||
{:else}
|
||||
<img class="banner" src="{banner}" alt="{bannerAlt}">
|
||||
<img class="banner" src={banner} alt={bannerAlt}>
|
||||
{/if}
|
||||
</div>
|
||||
</a>
|
||||
{/if}
|
||||
{@render titles({title, subtitle, date})}
|
||||
<hr>
|
||||
@@ -78,6 +78,8 @@
|
||||
height: 300px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.banner {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Transparent Phone Back
|
||||
subtitle: see-through
|
||||
subtitle: nowhere to hide!
|
||||
date: 2026-04-11 – 2026-04-12
|
||||
images:
|
||||
- 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