2023-12-08 20:44:05 -08:00
|
|
|
(async () => {
|
2023-12-10 20:37:03 -08:00
|
|
|
// shared styles
|
|
|
|
const sharedStyle = document.createElement("link");
|
|
|
|
sharedStyle.rel = "stylesheet";
|
|
|
|
sharedStyle.href = "/style/shared.css";
|
|
|
|
document.head.append(sharedStyle);
|
2023-12-08 20:44:05 -08:00
|
|
|
|
2023-12-10 20:37:03 -08:00
|
|
|
// polyfills
|
|
|
|
const polyfills = document.createElement("script");
|
|
|
|
polyfills.type = "module";
|
|
|
|
polyfills.src = "/polyfills.js";
|
|
|
|
document.head.append(polyfills);
|
2023-12-08 20:44:05 -08:00
|
|
|
|
2023-12-10 20:37:03 -08:00
|
|
|
// menu
|
|
|
|
const menu = document.createElement("script");
|
|
|
|
menu.type = "module";
|
|
|
|
menu.src = "/menu.js";
|
|
|
|
document.head.append(menu);
|
|
|
|
})();
|