From abc04048163a5013b0e44feaa6baf9756798f18f Mon Sep 17 00:00:00 2001 From: Ricardo Date: Wed, 25 Feb 2026 16:48:06 +0100 Subject: [PATCH] feat: add fullwidth layout and interactive architecture page Add a reusable fullwidth layout (layouts/fullwidth.njk) for rich HTML content that needs the full container width without sidebar or prose constraints. Add the interactive architecture explorer as a static asset served via passthrough copy at /interactive/architecture.html. - layouts/fullwidth.njk: site header + footer only, no sidebar - interactive/architecture.html: tabbed architecture guide - eleventy.config.js: passthrough copy for interactive/ directory --- _includes/layouts/fullwidth.njk | 25 + eleventy.config.js | 1 + interactive/architecture.html | 1162 +++++++++++++++++++++++++++++++ 3 files changed, 1188 insertions(+) create mode 100644 _includes/layouts/fullwidth.njk create mode 100644 interactive/architecture.html diff --git a/_includes/layouts/fullwidth.njk b/_includes/layouts/fullwidth.njk new file mode 100644 index 0000000..7a84d59 --- /dev/null +++ b/_includes/layouts/fullwidth.njk @@ -0,0 +1,25 @@ +--- +layout: layouts/base.njk +--- +{# Full-width layout for rich HTML pages (interactive guides, architecture diagrams, etc.) + Inherits site header + footer from base.njk but renders content at full container width + with no sidebar, no post metadata, and no prose constraints. #} + +
+ {% if title %} +
+

+ {{ title }} +

+ {% if description %} +

+ {{ description }} +

+ {% endif %} +
+ {% endif %} + +
+ {{ content | safe }} +
+
diff --git a/eleventy.config.js b/eleventy.config.js index 48a55e4..09c33cc 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -314,6 +314,7 @@ export default function (eleventyConfig) { eleventyConfig.addPassthroughCopy("images"); eleventyConfig.addPassthroughCopy("js"); eleventyConfig.addPassthroughCopy("favicon.ico"); + eleventyConfig.addPassthroughCopy("interactive"); eleventyConfig.addPassthroughCopy({ ".cache/og": "og" }); // Copy vendor web components from node_modules diff --git a/interactive/architecture.html b/interactive/architecture.html new file mode 100644 index 0000000..7062ece --- /dev/null +++ b/interactive/architecture.html @@ -0,0 +1,1162 @@ + + + + + +Indiekit Architecture Guide + + + + + + +
+ + + +