Upload index.html

#1
by deucebucket - opened

Needs hooked up.

notes: One file, nothing to upload alongside it. Everything that was a local asset โ€” the JS runtime (support.js), the component logic, the SVG thumbnail โ€” is compressed and embedded directly inside index.html (you can see it in the __bundler/manifest and __bundler/template blocks).

The one thing that's not a bundled file but a runtime network call: the Google Fonts (Fredoka, JetBrains Mono, VT323, Press Start 2P) are pulled from Google's CDN when the page loads. That's not a file you upload โ€” it just needs internet, which a HF Space has. If the font CDN is ever blocked it falls back to system monospace; the layout still works.

So: upload the single index.html, set the Space SDK to Static, done.

deucebucket changed pull request status to closed
deucebucket deleted the refs/pr/1 ref

Sign up or log in to comment