Website for the Center for Mesoamerican Studies, Faculty of Arts, Comenius University Bratislava.
- Astro 6 — static site generation, View Transitions
- React 19 — islands only
- Tailwind CSS 4 — via Vite plugin, no config file
npm install
npm run dev # http://localhost:4321
npm run build # output → /dist
npm run preview # preview /dist locally
npm run check # type-checkRequires Node ≥ 22.12.0 (see .node-version).
Two-tier: native Astro pages in src/pages/ shadow the catch-all [...slug].astro, which serves 36 legacy Webstudio HTML pages from legacy/source-html/.
public/assets/pdfs/ is gitignored. Upload manually to the server or mount as a persistent volume in Coolify. Structure:
public/assets/pdfs/
grants/
publications/
reports/uaxactun/
reports/peten/
Build with Docker (multi-stage Node → nginx):
docker build -t cms-web .Or push to GitHub and let Coolify build from the Dockerfile. Mount the PDF directory as a persistent volume:
- Container path:
/usr/share/nginx/html/assets/pdfs - Host path:
/data/coolify/applications/<app-id>/pdfs
Live at: cms.fedu.uniba.sk