Mirror of gitea.com/fargeiw/aivadaily
- HTML 100%
|
|
||
|---|---|---|
| .gitlab-ci.yml | ||
| index.html | ||
| README.md | ||
aivadaily
Release-notes site for AIVA, served from a VPS.
- Live: https://www.askmeaiva.com/aivadaily/
- Main dashboard: https://www.askmeaiva.com/AIVA/ (separate repo:
gitea.com/fargeiw/AIVA)
What it is
Single-file static site (index.html) — vanilla HTML/CSS/JS, no build step.
Source lives on Gitea (gitea.com/fargeiw/aivadaily); the live site at
www.askmeaiva.com/aivadaily/ is served from a VPS that pulls from main
after each push.
Structure
- Day picker at the top of the hero — switches between days when more than one is present.
- Cross-cutting block for changes that touch every slot.
- Tab strip per day:
8.1 Players/8.2 AIVA Rewards/8.3 AI SMS. - EN / TH bilingual — every block-level pair is wrapped in
<div class="bilingual">at boot so the grid overlay keeps layout pixel-stable when toggling language. Inactive language stays in flow viavisibility:hidden.
Adding a new day
- In
.day-picker: demote the current.day-btn.on→ plain.day-btn, change its<span class="day-label">from "Today" / "วันนี้" to a relative label (e.g. "Yesterday" / "เมื่อวาน"). Add a new.day-btn.onat the top with the new date. - Demote the current
<section class="day on">→ plain<section class="day">. Insert a new<section class="day on" data-day="YYYY-MM-DD">before it, containing that day's.hero-date+.globalblock + tab strip + tab panels. Tab idst-81/t-82/t-83can repeat across days —showTab()scopes its queries to the active.day.on. - Done — the JS auto-wires the new
.day-btnclick.
Deploy
git add index.html
git commit -m "daily: <summary>"
git push origin main
ssh root@161.35.198.149 "git -C /var/www/aivadaily pull"
Content is live at https://www.askmeaiva.com/aivadaily/ immediately
after the SSH pull.