diff --git a/website-11ty-test/.eleventy.js b/website-11ty-test/.eleventy.js new file mode 100644 index 0000000..5ce0583 --- /dev/null +++ b/website-11ty-test/.eleventy.js @@ -0,0 +1,13 @@ +module.exports = function(eleventyConfig) { + // Critical: Tell 11ty to copy CSS and Images directly to the build folder + // Without this, your styles and images won't appear in the _site output + eleventyConfig.addPassthroughCopy("src/css"); + eleventyConfig.addPassthroughCopy("assets"); + + return { + dir: { + input: ".", + output: "_site" + } + }; +}; diff --git a/website-11ty-test/README.md b/website-11ty-test/README.md new file mode 100644 index 0000000..db42822 --- /dev/null +++ b/website-11ty-test/README.md @@ -0,0 +1,150 @@ +# Firefrost Gaming 11ty Website - Test Migration + +**Created:** April 2, 2026 +**Purpose:** 2-hour test of Ghost CMS โ 11ty static site migration +**Status:** Ready to build and test + +--- + +## ๐ Quick Start + +### On Ghost VPS (as architect): + +```bash +# Navigate to the test directory +cd /path/to/firefrost-operations-manual/website-11ty-test + +# Install dependencies +npm install + +# Build the site +npx @11ty/eleventy + +# Serve locally for testing +npx @11ty/eleventy --serve +``` + +The site will be available at `http://localhost:8080` + +--- + +## ๐ Project Structure + +``` +website-11ty-test/ +โโโ _includes/ +โ โโโ layouts/ +โ โ โโโ base.njk # Master layout +โ โโโ head.njk #
partial with Fire/Frost branding +โ โโโ footer.njk # Footer with all links +โโโ src/ +โ โโโ css/ +โ โโโ firefrost.css # Minimal Fire/Frost/Arcane styles +โโโ assets/ +โ โโโ images/ # (empty for now - add images here) +โโโ _site/ # Build output (created after npm run build) +โโโ .eleventy.js # 11ty config (CRITICAL for CSS/images) +โโโ package.json # Dependencies +โโโ index.njk # Homepage +โโโ README.md # This file +``` + +--- + +## ๐ง Configuration + +### Critical .eleventy.js Config + +The `.eleventy.js` file contains **critical passthrough copy settings** from Gemini: + +```javascript +eleventyConfig.addPassthroughCopy("src/css"); +eleventyConfig.addPassthroughCopy("assets"); +``` + +**Without this, CSS and images won't copy to the build!** + +--- + +## โ What's Included + +- โ Complete layout system (master + head + footer) +- โ Homepage with hero and path sections +- โ Fire/Frost/Arcane branding colors +- โ Responsive footer grid +- โ All social links from Ghost +- โ Clean URLs (no .html extensions) + +--- + +## ๐ฏ Test Checklist + +### Phase 1: Build (10 min) +- [ ] npm install runs successfully +- [ ] npx @11ty/eleventy builds without errors +- [ ] _site directory created with files + +### Phase 2: Local Test (10 min) +- [ ] Site loads at localhost:8080 +- [ ] Fire/Frost branding visible +- [ ] Footer displays correctly +- [ ] All links work +- [ ] Mobile responsive (test with browser dev tools) + +### Phase 3: Deploy Test (20 min) +- [ ] Push to Git repo +- [ ] Connect Cloudflare Pages +- [ ] Set build command: `npx @11ty/eleventy` +- [ ] Set output directory: `_site` +- [ ] Set NODE_VERSION environment variable: `20` +- [ ] Deploy to test.firefrostgaming.com + +### Phase 4: Evaluate (20 min) +- [ ] Compare to Ghost site visually +- [ ] Test all CTAs and links +- [ ] Check mobile responsive +- [ ] Verify Fire/Frost branding intact + +--- + +## ๐ Abort Criteria (From Gemini) + +**Pull the plug if:** +- 15+ minutes fighting build errors +- Need to rewrite CSS to match Ghost +- Mobile navigation breaks and can't fix in 10 minutes + +--- + +## ๐ Next Steps (If Test Succeeds) + +1. Port remaining 6 pages: + - About + - Servers + - Subscribe + - Contact + - Terms + - Privacy + +2. Download images from Ghost to /assets/images/ + +3. Set up Formspree for contact form + +4. Add basic SEO meta tags + +5. Deploy to production + +6. Spin down Ghost + +--- + +## ๐ Resources + +- **11ty Docs:** https://www.11ty.dev/docs/ +- **Cloudflare Pages:** https://pages.cloudflare.com/ +- **Formspree:** https://formspree.io/ +- **Gemini Consultation:** docs/planning/gemini-consultations/ghost-vs-static-website-2026-04-02.md + +--- + +**Fire + Frost + Foundation = Where Love Builds Legacy** ๐ฅโ๏ธโก diff --git a/website-11ty-test/_includes/footer.njk b/website-11ty-test/_includes/footer.njk new file mode 100644 index 0000000..1e6a430 --- /dev/null +++ b/website-11ty-test/_includes/footer.njk @@ -0,0 +1,51 @@ + diff --git a/website-11ty-test/_includes/head.njk b/website-11ty-test/_includes/head.njk new file mode 100644 index 0000000..a3efa89 --- /dev/null +++ b/website-11ty-test/_includes/head.njk @@ -0,0 +1,18 @@ + + + +Where Passion Meets Precision Through Creative Transformation
+ +Premium Minecraft server network built by The Trinity
๐ฅ Fire โข โก Arcane โข โ๏ธ Frost | Build your legacy with us
Two paths. One legendary community. Which element calls to you?
+ ++ All subscribers access ALL servers. Choose based on your heart, not limitations. ๐ +
+