Skip to content

Commit 4e38a30

Browse files
balloobclaude
andauthored
Migrate final TypeScript to HTML (#14)
* Reduce JavaScript on firmware install pages - Created new install.html layout for firmware install pages - Converted all install pages to use static Nunjucks layout instead of TypeScript/Lit components - Eliminated need for page-specific TypeScript files (vpe-install.ts, zbt1-install.ts, zwa2-install-portable.ts, zwa2-install-poe.ts) - Pages now use declarative front matter configuration instead of imperative JavaScript - Maintains all existing functionality with significantly less JavaScript overhead - Updated pages: ZWA-2 install, ZWA-2 portable, ZWA-2 PoE, ZBT-1 install, VPE install This change reduces the amount of JavaScript loaded on firmware installation pages while keeping the same visual appearance and functionality. * Simplify ZWA-2 install pages to static HTML - Simplified install.html layout to only provide CSS and back navigation - Removed backLabel frontmatter variable (always uses "Back") - Converted ZWA-2 install pages to pure static HTML: - Removed frontmatter variables: installerElement, installerScript, installerAttributes - Script tags and installer elements now directly in page HTML - Troubleshooting sections included directly as static HTML - Pages are now completely declarative with no dynamic templating - URLs remain unchanged (still use /install/, /install-portable/, /use-poe/) This significantly reduces JavaScript and makes pages easier to maintain as plain HTML. * Fix install layout to use safe filter for content rendering * Tweaks * Clean up unused deps * Permanlinks not needed * Remove linting --------- Co-authored-by: Claude <[email protected]>
1 parent a63b2d0 commit 4e38a30

File tree

25 files changed

+1067
-5367
lines changed

25 files changed

+1067
-5367
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1010
permissions:
@@ -15,7 +15,7 @@ permissions:
1515
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1616
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1717
concurrency:
18-
group: "pages"
18+
group: 'pages'
1919
cancel-in-progress: false
2020

2121
jobs:
@@ -35,9 +35,6 @@ jobs:
3535
- name: Install dependencies
3636
run: npm ci
3737

38-
- name: Lint
39-
run: npm run lint
40-
4138
- name: Build
4239
run: npm run build
4340
env:

eslint.config.ts

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)