diff --git a/.github/ISSUE_TEMPLATE/content_update.yml b/.github/ISSUE_TEMPLATE/content_update.yml index 6bf17adf..112265a1 100644 --- a/.github/ISSUE_TEMPLATE/content_update.yml +++ b/.github/ISSUE_TEMPLATE/content_update.yml @@ -22,7 +22,7 @@ body: attributes: label: "Affected pages or sections" description: "List routes, components, or assets that need updates." - placeholder: "Home hero copy, About bio, public/index.html gradient." + placeholder: "Home hero copy, About bio, public/fallback/index.html gradient." validations: required: true - type: textarea diff --git a/.github/workflows/github-pages-preview.yml b/.github/workflows/github-pages-preview.yml index 2491a5b6..18cdc6a6 100644 --- a/.github/workflows/github-pages-preview.yml +++ b/.github/workflows/github-pages-preview.yml @@ -10,6 +10,7 @@ permissions: contents: read pages: write id-token: write + pull-requests: write concurrency: group: pages-preview-${{ github.event.pull_request.number || github.ref }} diff --git a/AGENTS.md b/AGENTS.md index 6a611212..fc01092a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -42,7 +42,7 @@ - Privacy and legal copy should pull their “Last updated” value from `getBuildUpdatedAt()` so the date reflects the latest build automatically—never hardcode the date. - Developing skills use a dotted accent pill—follow the existing `isDeveloping` pattern in `SkillsSection` when adding new skills. - The contact form generates a `mailto:` draft; keep it client-only (no POST handlers) and preserve the copy-to-clipboard CTA. -- The fallback page in `public/index.html` should mirror the warm accent palette; update gradients/buttons there when the brand colors change. +- The fallback page in `public/fallback/index.html` should mirror the warm accent palette; update gradients/buttons there when the brand colors change. ## Testing Guidelines diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f7d56034..90d3a93d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,7 +19,7 @@ Below are suggestions and quick checks to help you convert this repo into your o - Important: this template includes a BSD-3-Clause `LICENSE` that must be preserved as-is in the source when redistributing or publishing derived works (see `LICENSE.example` for how to add your own copyright attribution without removing the original line). - - `public/index.html` and `src/data/*` — replace demo content with your personal content. + - `public/fallback/index.html` and `src/data/*` — replace demo content with your personal content. - If you plan to accept outside contributions on your fork, add a `CODE_OF_CONDUCT.md`, a `PULL_REQUEST_TEMPLATE.md`, and/or an `ISSUE_TEMPLATE/` directory so contributors have clear expectations. diff --git a/LICENSE.example b/LICENSE.example index 99bc1b88..974243fe 100644 --- a/LICENSE.example +++ b/LICENSE.example @@ -39,7 +39,7 @@ Choose the license that aligns with how you want others to use and contribute to - Fork the repo. - Update `LICENSE` (change copyright line and year). -- Update `README.md` and `public/index.html` with your site name and contact info. +- Update `README.md` and `public/fallback/index.html` with your site name and contact info. - Replace `src/data/*` content with your portfolio data. - Update `package.json` `name` and `license` fields. diff --git a/package-lock.json b/package-lock.json index 28dc8a0e..26d9407a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21,8 +21,7 @@ "react-dom": "^19.2.0", "tailwind-merge": "^3.3.1", "tailwindcss": "^4.1.8", - "wrangler": "^4.16.0", - "zod": "^4.1.12" + "wrangler": "^4.16.0" }, "devDependencies": { "@astrojs/check": "^0.9.9", @@ -13507,6 +13506,7 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/package.json b/package.json index 833c1792..91b9f173 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,7 @@ "react-dom": "^19.2.0", "tailwind-merge": "^3.3.1", "tailwindcss": "^4.1.8", - "wrangler": "^4.16.0", - "zod": "^4.1.12" + "wrangler": "^4.16.0" }, "devDependencies": { "@astrojs/check": "^0.9.9", diff --git a/public/index.html b/public/fallback/index.html similarity index 98% rename from public/index.html rename to public/fallback/index.html index 2f995dc1..1531a277 100644 --- a/public/index.html +++ b/public/fallback/index.html @@ -10,7 +10,7 @@