Add projects section to home page

This commit is contained in:
pancakes 2025-03-26 17:51:54 +10:00
parent 371d728321
commit deff396cdc
Signed by: pancakes
SSH key fingerprint: SHA256:yrp4c4hhaPoPG07fb4QyQIgAdlbUdsJvUAydJEWnfTw
2 changed files with 35 additions and 0 deletions

17
src/data/projects.json Normal file
View file

@ -0,0 +1,17 @@
[
{
"href": "https://git.meow.company/pancakes/fedifeeds",
"name": "fedifeeds",
"description": "RSS feeds to Mastodon API. Supports multiple feeds per account, Markdown, and automatic threading (split into multiple notes to fit character limit)."
},
{
"href": "https://shrimp.meow.company/@iceshrimp_updates",
"name": "Iceshrimp Updates Bot",
"description": "This bot automatically checks for Iceshrimp-js and Iceshrimp.NET releases and posts them. Based on fedifeeds."
},
{
"href": "https://shrimp.meow.company/@scp_pages",
"name": "SCP Wiki Pages Bot",
"description": "Posts random pages from the SCP Foundation wiki on the Fediverse."
}
]

View file

@ -3,6 +3,7 @@
import { getPages } from "$lib/pages";
import contributions from "../data/contributions.json"
import links from "../data/links.json";
import projects from "../data/projects.json";
const pages = getPages();
@ -74,6 +75,23 @@
</div>
{/each}
<h2 id="projects">Projects</h2>
<p>Projects made by me</p>
<ul class="page-links">
{#each projects as project}
<li>
<h3>
<a href={project.href} target="_blank">
{project.name}
</a>
</h3>
<p>{project.description}</p>
</li>
{/each}
</ul>
<h2 id="contributions">Contributions</h2>
<p>Projects not made by me that I have contributed to</p>