diff options
author | Huy Ngo <huy.ngo@eaera.com> | 2025-02-12 12:28:13 +0700 |
---|---|---|
committer | Huy Ngo <huy.ngo@eaera.com> | 2025-02-12 12:28:13 +0700 |
commit | 1d6e4db908554662a81d5293a148a3b879403020 (patch) | |
tree | f13f2eb20f2a7b2c48da5ec43f145c9600b5eb12 /content/cal/_index.html | |
parent | 0fc2d2a0fe83d06f0ade85f2a60bc648d4e6c784 (diff) | |
download | blog-1d6e4db908554662a81d5293a148a3b879403020.tar.gz |
WIP: Add calendars
Diffstat (limited to 'content/cal/_index.html')
-rw-r--r-- | content/cal/_index.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/content/cal/_index.html b/content/cal/_index.html new file mode 100644 index 0000000..1d078d6 --- /dev/null +++ b/content/cal/_index.html @@ -0,0 +1,37 @@ +--- +title: Calendar +disable_feed: true +--- + +<div id="lunar-solar-cal"> + <noscript> + This calendar works locally in your browser and requires JavaScript to remain serverless + </noscript> + <div> + <label> + Solar date: + <input id="solar-date" type="date" /> + </label> + <label> + Timezone offset: + <select id="timezone-offset"> + <option value=7>UTC+7 (Vietnam)</option> + <option value=8>UTC+8 (China)</option> + <option value=9>UTC+9 (Japan/Korea)</option> + </select> + </label> + </div> + <div id="solar-cal"> + <div id="solar-year"></div> + <div id="solar-month"></div> + <div id="solar-day"></div> + <div id="solar-weekday"></div> + </div> + <div id="lunar-cal"> + <div id="lunar-year"></div> + <div id="lunar-month"></div> + <div id="lunar-day"></div> + </div> +</div> +<script src="lunar.js"> +</script> |