Mirror of gitea.com/fargeiw/aivadaily
Find a file
P ffae7eb038 docs: point links to askmeaiva.com and gitea (drop GitLab/GitHub refs)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 20:42:05 +04:00
.gitlab-ci.yml Initial commit: AIVA Daily release-notes site 2026-05-12 16:44:20 +04:00
index.html docs: point links to askmeaiva.com and gitea (drop GitLab/GitHub refs) 2026-05-13 20:42:05 +04:00
README.md docs: point links to askmeaiva.com and gitea (drop GitLab/GitHub refs) 2026-05-13 20:42:05 +04:00

aivadaily

Release-notes site for AIVA, served from a VPS.

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 via visibility:hidden.

Adding a new day

  1. 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.on at the top with the new date.
  2. 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 + .global block + tab strip + tab panels. Tab ids t-81/t-82/t-83 can repeat across days — showTab() scopes its queries to the active .day.on.
  3. Done — the JS auto-wires the new .day-btn click.

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.