Commit Graph
36 Commits
Author SHA1 Message Date
spaghet d7b8a351c1 fix: update build and test scripts to set Rayon and Tokio worker threads 2026-11-13 01:43:07 -05:00
spaghet fb8e42f632 refactor: consolidate blog and project filtering into shared component
The /blog and /projects listings previously used byte-identical copies of the same
filtering island, which meant bugs like inconsistent AND-vs-OR tag semantics,
duplicate-case tags, and a missing empty state were duplicated across both.

This commit introduces `FilteredList`, a single shared Solid component that:

- Unifies tag, keyword, and sort filtering for both collections
- Seeds initial filter state from the SSR request URL to avoid hydration mismatches
- Syncs active filters into the address bar via `history.replaceState` so filtered
  views survive refreshes and can be shared
- Restores filters on browser back/forward navigation (`popstate`)
- Case-folds and dedupes tags when parsing URL params

Filter logic (collectTags, filterEntries, sortKeys, URL param encoding) is extracted
into `src/lib/filters.ts` with full unit test coverage.
2026-11-12 22:38:58 -05:00
spaghet 9e157a4fa3 feat(theme): implement dual light/dark colour token system with WCAG AA contrast
Replace hard-coded hex values and ad-hoc `dark:` variants with a single
semantic token layer in `src/styles/global.css` (`@theme` + `html.dark`
re-declaration), so every component uses the same Tailwind class list in
both modes.

Key changes:
- Define semantic tokens (page, surface, ink, accent, edge, etc.) and raw
  ingredient palette (--color-spaghetti-*, --color-marinara*, etc.)
- Configure dual Shiki themes (light-plus / everforest-dark) with
  `defaultColor: false` for proper per-mode code block colours, replacing
  the old `.prose pre { #1f2937 !important }` hack
- Tint background particles to match the warm cream/espresso palette
  instead of pure black dots
- Document theme rules: add tokens not `dark:` variants, keep colour rules
  inside `@layer`, never target Tailwind utility classes with unlayered
  overrides, route prose colours through `--tw-prose-*` only

All text and interactive elements meet WCAG AA contrast (4.5:1 body, 3:1
large/interactive). Light mode is a warm cream plate with white cards; dark
mode is espresso (#140C08) with raised cards.
2026-11-12 20:48:10 -05:00
spaghet 8b6be36f7a feat(theme): implement semantic colour token system with dark mode support 2026-11-12 20:47:51 -05:00
spaghet 9ddbad4674 feat(header): add resume button and SVG icon 2026-11-11 20:40:25 -05:00
spaghet 480259a4eb feat(status): add system status footer powered by Uptime Kuma
Replace the static "All systems normal" indicator in the Footer with a dynamic SystemStatus component backed by an internal API route and a server-side fetch of Uptime Kuma's public status/heartbeat endpoints. The light is rendered on first paint (correct without JS) and refreshed every minute, pausing when the tab is hidden.

- src/lib/status.ts: fetches and reduces Uptime Kuma data to one state
  (up/degraded/down/maintenance/unknown), with in-process caching and stale detection
- src/pages/api/status.ts: exposes a small snapshot to the browser, avoiding CORS issues and the ~200 KB heartbeat payload
- src/components/SystemStatus.astro: renders the light server-side and keeps it current client-side
- README.md: documents the feature and optional environment variables (STATUS_PAGE_URL, STATUS_PAGE_SLUG, STATUS_WATCH_GROUPS, STATUS_CACHE_TTL_SECONDS, STATUS_TIMEOUT_SECONDS, STATUS_STALE_AFTER_SECONDS)
- Tests for the summarization logic covering outage, degraded, and maintenance scenarios
2026-11-05 16:51:46 -05:00
spaghet ab6cd7c162 Refactor components and add tests for improved functionality and coverage 2026-11-04 22:16:17 -05:00
spaghet bbb76eaa31 feat(theme): replace meteor and star visuals with Italian night sky
- Update star background colors to warmer cream tones matching the food palette
- Convert meteors into meatballs with randomized sauce variants, trail/ball/splatter layers, and responsive sizing via CSS variables
- Rename and restyle twinkling stars as parmesan flecks, updating IDs and docs for visual consistency
2026-11-04 14:25:02 -05:00
spaghet 6de79d25e4 refactor(src): rename meteor and star components to food-themed names
Rename MeteorShower.astro to MeatballShower.astro and TwinklingStars.astro to ParmesanFlecks.astro to align component names with the project's meatball/parmesan visual theme.
2026-11-04 14:24:09 -05:00
spaghet 3fef5d378e chore(deps): upgrade tailwind to v4 via vite plugin
Replace @astrojs/tailwind with @tailwindcss/vite in the Astro config and lockfile to adopt Tailwind CSS v4 and simplify the build setup. Also update Markdown site content with current SpaghetAI/MarvinBlade infrastructure details.
2026-11-04 12:31:58 -05:00
spaghet ac545c4668 chore: migrate hosting documentation from Appwrite to self-hosted
Update README.md and astro.config.mjs to reflect the migration from
Appwrite to self-hosted infrastructure. Remove Appwrite-specific
environment variable schema from Astro config. Add .clinerules and
.cline to .gitignore.
2026-10-15 14:32:15 -04:00
spaghet d86f78fead Adding missing font files 2025-09-12 11:34:14 -04:00
spaghet 7d3ba2337b Merge pull request 'Refactor content handling to use Appwrite service instead of Astro collections, remove ViewTransitions import, update test files accordingly' (#2) from dev into main
Reviewed-on: #2
2025-08-23 20:11:35 -04:00
Spaghet c9948befaf Refactor content handling to use Appwrite service instead of Astro collections, remove ViewTransitions import, update test files accordingly 2025-08-23 20:10:43 -04:00
spaghet 00a4ef96f6 Merge pull request 'Complete Appwrite Migration and Feature Enhancements' (#1) from dev into main
Reviewed-on: #1
2025-08-23 00:24:29 -04:00
Spaghet 9cc9768121 Update color scheme to spaghetti palette across article layout and work page components 2025-08-22 22:11:29 -04:00
Spaghet 73db6d2cd3 Migrate Astro to latest version and update dependencies
- Updated Astro core package and related integrations to latest versions
- Added environment variable configuration in astro.config.mjs
- Removed deprecated migration plan and favicon.svg files
- Updated Search component to use onCleanup for proper effect cleanup
- Updated Appwrite service integration and configuration
- Removed old migration documentation and scripts
2025-08-22 21:54:30 -04:00
spaghet e5ce8e4783 Improve search functionality with better error handling and form submission 2025-08-22 12:50:17 -04:00
Spaghet 6ab3254384 refactor: Reorganize project structure and update dependencies
- Removed blog, project, and work content files
- Updated package dependencies including npm and removed license metadata
- Refactored component layouts and page routes
- Modified appwrite service for data operations
2025-08-22 00:08:32 -04:00
spaghet 7997eccb12 Refactor layouts to use Appwrite data types and implement search/pagination features 2025-08-21 13:50:56 -04:00
spaghet 03a79e2f79 Migrate content from markdown to Appwrite database
Remove static markdown file dependencies and update all pages/components to fetch data directly from Appwrite collections, while maintaining existing service functions for data retrieval and adding new CRUD operations for projects.
2025-08-19 10:59:50 -04:00
Spaghet 7e3b5b7a55 Appwrite migration WIP 2025-08-16 19:52:14 -04:00
SpaghetGaming 89c5e065de Starting infrastructure for server side image loading 2025-08-14 16:06:25 -04:00
SpaghetGaming 2ec6873ee0 Upgrade Astro and related dependencies to latest versions for improved functionality and compatibility 2025-08-14 13:42:06 -04:00
SpaghetGaming 663c5f894e Add migration plan and script for future Astro upgrades 2025-08-14 13:22:25 -04:00
SpaghetGaming 773e8ebaeb Fix Astro configuration error and secure Appwrite integration 2025-08-14 13:16:53 -04:00
SpaghetGaming 39eba48efd Update styling and color scheme across components to implement spaghetti-themed design system with consistent typography and visual hierarchy. 2025-08-13 18:57:54 -04:00
SpaghetGaming fd5536c5ee Update privacy policy with new company name and comprehensive data collection details 2025-08-13 13:14:58 -04:00
SpaghetGaming bf4e585a11 Update website documentation and deployment pipeline overview
Rewrote README.md to provide a comprehensive overview of the personal website, including the modern deployment pipeline using Gitea, GitHub, Appwrite, and NGINX reverse proxy. Updated project documentation to reflect current technologies and setup instructions.
2025-08-13 12:43:27 -04:00
SpaghetGaming 866d37fc3c Remove .vscode from Git tracking 2025-08-13 09:43:15 -04:00
SpaghetGaming 0f5a38348e ignore update 2025-08-13 09:39:01 -04:00
Spaghet 1f1bf6e08b Initial commit: Setup Astro website with blog, projects, work experience and search functionality 2025-08-13 00:29:17 -04:00
spaghet 8546ac140d Upload files to "/" 2025-08-13 00:17:47 -04:00
spaghet 469482dd8d Upload files to "/" 2025-08-13 00:17:00 -04:00
spaghet f3af7c23e4 gignore this 2025-08-12 17:26:01 -04:00
spaghet 65c65157e1 Initial commit 2025-08-12 17:21:30 -04:00