i’ve done a lot since the last stardance-visible change!
(note - due to me being stupid, i’ve spent about 30h so far on this project since initially adding it to stardance in the summer - but 2/3 is gone now </3)
here is a kind of ugly hodge podge of the changes i’ve made in the past month or so:
-
website now has an embed from wikipedia of the current status of the NPVIC in the united states! i also reorganized the images used and sorted them into subfolders for my convenience.
i still dont have an official demo page (coming up next) and i need to figure out the automation of ts - js - prod without the whole exports {} statement breaking the js. it also currently displays weird on my pc but laptop is fine. this will happen bc the impl is inherently finnicky bc the web sucks and i cant just f—ing request the data from wikipedia. so it’ll have to do for now. -
I made the site accessible via Codeberg Pages! The site is listed in the project description and in the readme (: next i hope to LOCK IN and fix the js - ts compile error thingy and actually start revamping the website layout :)
-
who knew you could just add
type="module"to the script tag housingindex.jsand suddenly theexports not allowederror vanishes?!!?!? these changes also mostly simplify the code inindex.html- unless explicitly exported, it’s easier to grab the element viadocument.getElementBy*()and do work directly inindex.ts! most notably, i also cleaned up the vocab word element - it’s now unselectable (nicer when spam-cycling the words) andindex.tsautomatically removes descriptions/details from the words