add day 81 & 82

This commit is contained in:
Zoe
2022-12-13 22:30:17 -06:00
parent a7bd95eece
commit fb978aec32
99 changed files with 24510 additions and 0 deletions

12
day82/src/entry-client.ts Normal file
View File

@@ -0,0 +1,12 @@
import { renderPage } from './lib/router/pageRenderer';
await import('./style.css');
await renderPage();
window.onpopstate = async e => {
if (e.state === null) {
return;
}
await renderPage();
};