Compare commits

...

3 Commits

Author SHA1 Message Date
046a62f54b refactor: moved bsky button styling to its svelte component
All checks were successful
Gitea Actions Demo / Build (push) Successful in 1m32s
Gitea Actions Demo / Upload (push) Successful in 9s
2025-09-30 17:56:45 +02:00
416fc9f122 feat: added keys to sveltes each loop and added img alt 2025-09-30 17:55:06 +02:00
f4cf74cee9 fix: added title to BlogEntry interface 2025-09-30 17:54:06 +02:00
4 changed files with 9 additions and 8 deletions

View File

@@ -40,6 +40,12 @@
font-size: 1.728rem;
}
.bsky {
display: block;
height: 2rem;
float: right;
}
nav a {
margin: 1rem;
margin-left: 0rem;

View File

@@ -2,7 +2,7 @@ import type { SvelteComponent } from 'svelte';
import type { MDsveXComponent } from '$lib/types';
export interface BlogEntry {
name: string;
title: string;
src: string;
img: string;
date: string;

View File

@@ -13,14 +13,14 @@
This is a collection of things I've set up and created that I think might interest others.
</p>
</div>
{#each blogs as blog}
{#each blogs as blog (blog.src)}
<a href={blog.src} class="blog-entry">
<div>
<h4>{blog.title}</h4>
<p>{blog.desc}</p>
<p class="date">{blog.date}</p>
</div>
<img src="blog-1.png" class="blog-image" />
<img src="blog-1.png" alt="Preview of the described article" />
</a>
<!-- svelte:component this={page.default} /-->
{/each}

View File

@@ -91,11 +91,6 @@ hr {
color: var(--rp-moon-muted);
}
.bsky{
display:block;
height: 2rem;
float:right;
}
h1{font-size: 2.986rem}
h2{font-size: 2.488rem}