Website for Gloria Beauty Training Academy (GBTA): https://gloriabta.com
site/ ← the website (upload this folder to any host)
index.html Home
courses.html All 9 courses, career path, brochures, FAQ
about.html Story, mission, founder, accreditation strip
international.html International students: steps, fees, life in Sabah
gallery.html 15 photos + 3 vertical video reels
404.html "Page not found" page
sitemap.xml, robots.txt
contact.html Enquiry form (opens WhatsApp/email), address, map
assets/css/styles.css
assets/js/main.js Mobile menu, WhatsApp links, enquiry form
assets/img/ Logos, favicon, photos/ (web copies)
assets/video/ Compressed reels + poster frames
content/ ← source material (not published)
inbox/ Drop new photos/videos here (emptied after processing)
media/photos, media/video Originals used on the site, same names as the web copies
courses/courses-current-site.md Course list copied from the old site
old-site/ Copies of the old pages + text versions
OPEN-QUESTIONS.md Things to confirm with the academy
Plain HTML, CSS and a little JavaScript. There’s no build step and no database, so it runs on any static host.
Open site/index.html in a browser, or run a local server:
python3 -m http.server 8000 -d site
then visit http://localhost:8000.
<div class="ph ...">), each labelled with the photo it needs. New uploads go in content/inbox/; once processed, the original moves to content/media/ with the same name as its web copy. Web copies (max ~1600px, JPEG quality 80, camera/location metadata stripped) go in site/assets/img/photos/. Replace the whole <div class="ph ...">…</div> with
<img class="photo ph-3x2" src="assets/img/photos/your-photo.jpg" alt="Describe the photo" loading="lazy" decoding="async">
and keep the same ph-* shape class so it crops to fit. To move the crop’s focus, add style="object-position: 50% 30%" (horizontal % then vertical %).content/OPEN-QUESTIONS.md. If you add one, the .tbc style (gold dashed box) is still available for marking unconfirmed text.site/assets/video/ (compressed to 540px wide with ffmpeg, plus a -poster.jpg frame). They load only when someone presses play. Longer videos are better on YouTube: copy the data-yt="EhpMSFPT5jU" block in gallery.html and change the video ID.assets/js/main.js (WA_NUMBER). The wa.me/60168321382 links in the HTML are the fallback when JavaScript is off.Every page carries its own copy of the header, footer and icon set. To change the menu or contact details, edit all six pages (a find-and-replace across site/*.html is easiest).
The repo contains only the website. content/ is git-ignored because it holds internal notes, the old-site archive and original media; keep it on your computer or in a separate private repo.
Every push to main publishes the site/ folder automatically (.github/workflows/pages.yml).
One-time setup:
gloriabta.com → Save. (With Actions deploys no CNAME file is needed.)Namecheap → Domain List → gloriabta.com → Advanced DNS. Delete the parking-page records, then add:
| Type | Host | Value |
|---|---|---|
| A | @ | 185.199.108.153 |
| A | @ | 185.199.109.153 |
| A | @ | 185.199.110.153 |
| A | @ | 185.199.111.153 |
| CNAME | www | hexsauce.github.io. |
(Optional AAAA records for IPv6: 2606:50c0:8000::153, 2606:50c0:8001::153, 2606:50c0:8002::153, 2606:50c0:8003::153.)
gloriabta.com) so nobody else can claim it.After it’s live:
https://gloriabta.com/sitemap.xml.assets/img/og-image.jpg).