Added a new project and fixed scrollupbutton
This commit is contained in:
@@ -21,6 +21,19 @@ const { project } = Astro.props;
|
||||
{project.description}
|
||||
</p>
|
||||
|
||||
{
|
||||
project.tags && project.tags.length > 0 && (
|
||||
<div class="flex gap-2 flex-wrap mb-4 justify-center">
|
||||
{project.tags.map((tag: string) => (
|
||||
<div class="badge badge-primary font-bold">
|
||||
<Icon name="mdi:tag" class="text-lg" />
|
||||
{tag}
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
<div class="card-actions justify-end">
|
||||
<a
|
||||
href={project.link}
|
||||
|
||||
@@ -7,7 +7,7 @@ export default function ScrollUpButton() {
|
||||
|
||||
useEffect(() => {
|
||||
const checkScroll = () => {
|
||||
isVisible.value = window.scrollY > 300;
|
||||
isVisible.value = window.scrollY > 50;
|
||||
};
|
||||
|
||||
checkScroll();
|
||||
|
||||
@@ -16,7 +16,6 @@ import {
|
||||
Newspaper,
|
||||
FileUser,
|
||||
CodeXml,
|
||||
Terminal as TerminalIcon,
|
||||
Megaphone,
|
||||
} from "lucide-preact";
|
||||
|
||||
@@ -131,11 +130,19 @@ export const talks: Talk[] = [
|
||||
];
|
||||
|
||||
export const projects: Project[] = [
|
||||
{
|
||||
id: "muse",
|
||||
name: "muse",
|
||||
description: "Go-based music generation using TOML song definitions",
|
||||
link: "https://git.atri.dad/atridad/muse",
|
||||
tags: ["golang","cli"]
|
||||
},
|
||||
{
|
||||
id: "openclimb",
|
||||
name: "OpenClimb",
|
||||
description: "Jeckpack Compose based Rock Climbing Tracker",
|
||||
link: "https://git.atri.dad/atridad/OpenClimb"
|
||||
link: "https://git.atri.dad/atridad/OpenClimb",
|
||||
tags: ["kotlin","mobile"],
|
||||
},
|
||||
{
|
||||
id: "mealient",
|
||||
@@ -143,6 +150,7 @@ export const projects: Project[] = [
|
||||
description:
|
||||
"An Android client for a self-hosted recipe manager Mealie.",
|
||||
link: "https://git.atri.dad/atridad/Mealient",
|
||||
tags: ["kotlin","mobile"],
|
||||
},
|
||||
{
|
||||
id: "magiccounter",
|
||||
@@ -150,6 +158,7 @@ export const projects: Project[] = [
|
||||
description:
|
||||
"Jeckpack Compose based Magic the Gathering Health Tracker",
|
||||
link: "https://git.atri.dad/atridad/MagicCounter",
|
||||
tags: ["kotlin","mobile"],
|
||||
},
|
||||
{
|
||||
id: "goth-stack",
|
||||
@@ -157,6 +166,7 @@ export const projects: Project[] = [
|
||||
description:
|
||||
"🚀 A Web Application Template Powered by HTMX + Go + Tailwind 🚀",
|
||||
link: "https://git.atri.dad/atridad/goth.stack",
|
||||
tags: ["golang","web"],
|
||||
},
|
||||
{
|
||||
id: "himbot",
|
||||
@@ -164,6 +174,7 @@ export const projects: Project[] = [
|
||||
description:
|
||||
"A discord bot written in Go. Loosly named after my username online (HimbothySwaggins).",
|
||||
link: "https://git.atri.dad/atridad/himbot",
|
||||
tags: ["golang","webserver"],
|
||||
},
|
||||
{
|
||||
id: "loadr",
|
||||
@@ -171,6 +182,7 @@ export const projects: Project[] = [
|
||||
description:
|
||||
"A lightweight REST load testing tool with robust support for different verbs, token auth, and performance reports.",
|
||||
link: "https://git.atri.dad/atridad/loadr",
|
||||
tags: ["golang","cli"],
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ export interface Project {
|
||||
name: string;
|
||||
description: string;
|
||||
link: string;
|
||||
technologies?: string[];
|
||||
tags?: string[];
|
||||
status?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user