Added a new project and fixed scrollupbutton

This commit is contained in:
2025-09-04 00:03:02 -06:00
parent 08537db2ab
commit a2a3b114dd
6 changed files with 315 additions and 277 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "atridotdad",
"type": "module",
"version": "2.0.0",
"version": "2.1.0",
"scripts": {
"dev": "astro dev",
"build": "astro build",
@@ -11,25 +11,25 @@
},
"dependencies": {
"@astrojs/mdx": "^4.3.4",
"@astrojs/node": "^9.4.2",
"@astrojs/node": "^9.4.3",
"@astrojs/preact": "^4.1.0",
"@astrojs/rss": "^4.0.12",
"@iarna/toml": "^2.2.5",
"@preact/signals": "^2.3.0",
"@preact/signals": "^2.3.1",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.1.12",
"astro": "^5.13.2",
"astro": "^5.13.5",
"astro-icon": "^1.1.5",
"lucide-preact": "^0.540.0",
"playwright": "^1.54.2",
"lucide-preact": "^0.542.0",
"playwright": "^1.55.0",
"preact": "^10.27.1",
"sharp": "^0.34.3",
"tailwindcss": "^4.1.12"
},
"devDependencies": {
"@iconify-json/mdi": "^1.2.3",
"@iconify-json/simple-icons": "^1.2.48",
"daisyui": "^5.0.50"
"@iconify-json/simple-icons": "^1.2.50",
"daisyui": "^5.1.6"
},
"pnpm": {
"onlyBuiltDependencies": [

543
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -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}

View File

@@ -7,7 +7,7 @@ export default function ScrollUpButton() {
useEffect(() => {
const checkScroll = () => {
isVisible.value = window.scrollY > 300;
isVisible.value = window.scrollY > 50;
};
checkScroll();

View File

@@ -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"],
},
];

View File

@@ -20,7 +20,7 @@ export interface Project {
name: string;
description: string;
link: string;
technologies?: string[];
tags?: string[];
status?: string;
}