From 134f58690e86d63f4d0f7e5c115d93ababc0ef2f Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 28 Jun 2026 13:32:00 +0000 Subject: [PATCH] chore: remove dead deps/files and dedupe card shadow styles Drop devDependencies (luxon, dotenv, @11ty/import, eleventy-activity-feed) and files (site.webmanifest, jolicoeur.js, webawesome.js, icon-component.js) that were never referenced anywhere in templates or build config. Remove the orphaned `webawesome` script that copied from a package no longer installed. Update the credits page to reflect how icons are actually rendered (inline Font Awesome markup, not the unused custom element). Consolidate the repeated bordered-card base and double-ring shadow pattern in _cards.scss into shared rules driven by custom properties, removing ~30 duplicated declarations across .card-layered, .card-accent, .about-card and .showcase-large. Verified identical computed output by diffing compiled CSS and screenshot comparison before/after. --- .eleventy.js | 1 - docs/credits/credits/index.html | 4 +- docs/css/containers.css | 84 +- docs/css/markdown.css | 26 +- docs/css/print.css | 198 +--- docs/css/prism.css | 156 +-- docs/css/slides.css | 65 +- docs/css/style.css | 1800 +------------------------------ docs/css/style.css.map | 2 +- docs/feed.json | 52 +- docs/js/icon-component.js | 131 --- docs/js/jolicoeur.js | 5 - docs/js/webawesome.js | 50 - docs/sass/containers.css | 2 +- docs/sass/style.css | 2 +- docs/site.webmanifest | 15 - docs/sitemap.xml | 30 +- docs/sw.js | 6 +- package.json | 5 - pnpm-lock.yaml | 461 ++++---- src/js/icon-component.js | 131 --- src/js/jolicoeur.js | 5 - src/js/webawesome.js | 50 - src/pages/credits/credits.md | 4 +- src/sass/_cards.scss | 82 +- src/site.webmanifest | 15 - 26 files changed, 333 insertions(+), 3049 deletions(-) delete mode 100644 docs/js/icon-component.js delete mode 100755 docs/js/jolicoeur.js delete mode 100644 docs/js/webawesome.js delete mode 100644 docs/site.webmanifest delete mode 100644 src/js/icon-component.js delete mode 100755 src/js/jolicoeur.js delete mode 100644 src/js/webawesome.js delete mode 100644 src/site.webmanifest diff --git a/.eleventy.js b/.eleventy.js index 5639f06c..df8c0433 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -71,7 +71,6 @@ module.exports = function (eleventyConfig) { eleventyConfig.addPassthroughCopy("src/android-launchericon-72-72.png"); eleventyConfig.addPassthroughCopy("src/keybase.txt"); eleventyConfig.addPassthroughCopy("src/manifest.json"); - eleventyConfig.addPassthroughCopy("src/site.webmanifest"); eleventyConfig.addPassthroughCopy("src/sw.js"); eleventyConfig.addPassthroughCopy("src/_headers"); eleventyConfig.addPassthroughCopy("src/js/**"); diff --git a/docs/credits/credits/index.html b/docs/credits/credits/index.html index c6f6b733..7cc0e1e7 100644 --- a/docs/credits/credits/index.html +++ b/docs/credits/credits/index.html @@ -101,8 +101,8 @@

Fonts #--font-family-heading: 'Pirata One', cursive; }

Icons #

-

A custom icon component (icon-component.js) is used to render icons as web components with Font Awesome as the preferred icon library.

-
  <fa-icon type="brands" name="github" size="md"></fa-icon>
+

Font Awesome is the preferred icon library, loaded via its kit script and used directly as inline icon markup.

+
  <i class="fa-solid fa-github"></i>

Plugins #