ResQHub is a small static website that provides disaster preparedness resources and guidance.
This repository was recently reorganized to improve maintainability. HTML pages now live under src/pages/, static assets (images) are under src/assets/images/, and reference PDFs live in docs/.
- Source pages:
src/pages/*.html - Images:
src/assets/images/(logo, hero images, disaster images) - Styles / scripts:
src/assets/styles/andsrc/assets/scripts/(placeholders for future custom files) - Reusable components:
src/components/(placeholder) - Documentation PDFs:
docs/ - GitHub Actions workflow:
.github/workflows/static.yml— configured to upload theResQHubfolder so Pages receives pages + assets + docs.
Because this is a static site, the easiest way to preview it locally is to run a simple HTTP server and open the pages in your browser. From the ResQHub directory you can run (PowerShell):
# Start a simple HTTP server on port 8000
# (works with Python 3 installed)
python -m http.server 8000Then open http://localhost:8000/ResQHub/src/pages/index.html in your browser.
- GitHub Pages is configured via the workflow at
.github/workflows/static.yml. The workflow uploads theResQHubfolder so the Pages artifact includessrc/pages,src/assets/images, anddocs. - When editing pages, keep asset paths relative (the pages in
src/pages/reference images as../assets/images/<file>).
- To add images, place them in
src/assets/images/and update page references as needed. - To add or update PDFs, place them in
docs/and update links insrc/pages/library.html.
- If you want a narrower Pages artifact, you can change the workflow
pathtoResQHub/src(and ensure docs are reachable). I set it toResQHubto be conservative and include everything. - Consider extracting header/footer into
src/components/and using a templating/build step (e.g., Eleventy, Hugo) if the site grows.
For questions about this restructure, open an issue or contact the repository owner.