Static site for app-facing pages (marketing, support, privacy), published with GitHub Pages.
- Production URL:
https://kevinxft.github.io/app-pages/ - Current implemented app:
KeyLaunch - Localization:
en,zh,ja,ko,es,fr,de
This repo is a plain HTML/CSS/JS site with no build step.
index.html: app directory homepage (links to each app page)key-launch/marketing/index.html: KeyLaunch marketing pagekey-launch/support/index.html: KeyLaunch support pagekey-launch/privacy/index.html: KeyLaunch privacy policy pageshared/js/i18n.js: shared language detection + switcher + translation loadingshared/lang/*.json: translation dictionaries
app-pages/
|-- index.html
|-- key-launch/
| |-- marketing/index.html
| |-- support/index.html
| `-- privacy/index.html
`-- shared/
|-- js/i18n.js
`-- lang/
|-- en.json
|-- zh.json
|-- ja.json
|-- ko.json
|-- es.json
|-- fr.json
`-- de.json
Any static server works.
cd app-pages
python3 -m http.server 8080Then open http://localhost:8080.
shared/js/i18n.js does the following:
- Detects language from localStorage (
app-pages-lang) first, then browser language. - Loads
shared/lang/<lang>.json. - Replaces text using
data-i18nand tooltip titles usingdata-i18n-title. - Injects a language switcher UI into each page.
When adding new copy:
- Add stable keys in HTML (
data-i18n="..."). - Add matching keys in all language JSON files.
- Keep key paths consistent across locales.
- Create a new folder like
<app-slug>/with:marketing/index.htmlsupport/index.htmlprivacy/index.html
- Reuse the existing i18n pattern and include:
<script src="../../shared/js/i18n.js"></script>
- Add app card + links in root
index.html. - Add translation keys in all
shared/lang/*.jsonfiles. - Test on desktop + mobile viewport.
This repo is intended for GitHub Pages deployment from the default branch.
After push, pages are available under:
- Home:
https://kevinxft.github.io/app-pages/ - KeyLaunch marketing:
https://kevinxft.github.io/app-pages/key-launch/marketing/ - KeyLaunch support:
https://kevinxft.github.io/app-pages/key-launch/support/ - KeyLaunch privacy:
https://kevinxft.github.io/app-pages/key-launch/privacy/
index.html already includes a Baking Note card and links, but the corresponding baking-note/ page files are not present yet.