Skip to content

antoniskappa/othello-greece

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Othello Greece (Astro, bilingual)

A simple bilingual (EL/EN) community site for Othello/Reversi in Greece.

Local dev

npm install
npm run dev

Content editing

Events and results are Markdown files:

  • src/content/events/el/*.md
  • src/content/events/en/*.md
  • src/content/results/el/*.md
  • src/content/results/en/*.md

Each file needs a slug in frontmatter (used in the URL).

Community links

Edit src/lib/site.ts:

  • Discord invite
  • Facebook group
  • Contact email

Deploy from GitHub

GitHub Pages (recommended simplest)

  1. Push this repo to GitHub.
  2. In Settings → Pages:
    • Source: GitHub Actions
  3. The included workflow .github/workflows/deploy.yml will build and deploy on every push to main.

Notes:

  • The workflow sets BASE_PATH=/<repo>/ automatically for project pages.
  • Astro output is static (dist/).

Cloudflare Pages / Netlify (also easy)

  • Build command: npm run build
  • Output directory: dist

If you deploy under a subpath, set env var BASE_PATH to that subpath (e.g. /othello-greece/).

i18n routing

  • Greek: /el/
  • English: /en/
  • Root / redirects to /el/

About

Codebase for the website of the Greek Othello community

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors