Skip to content

chuhlomin/calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calendar PDF Generator

main

Powers calendar.chuhlomin.com.

calendar chuhlomin com

Directory structure

.

├── pages          # static files
│   ├── fonts      # ttf and woff2 fonts used in browser and PDF
│   ├── langs      # language files
│   ├── styles.css # main styles
│   ├── index.js   # main script
│   └── index.html # main page
└── Makefile       # build and run commands

Local development

Install Wrangler.

In terminal:

make dev

Open http://localhost:8788

Adding new language

Add new option to select in pages/index.html:

<select name="language" id="language" ...>
  ...
  <option value="en">English</option>
</select>

Create new file under pages/langs.