saudade/saudade.js

20 lines
515 B
JavaScript
Raw Normal View History

(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-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-10 20:37:03 -08:00
// menu
const menu = document.createElement("script");
menu.type = "module";
menu.src = "/menu.js";
document.head.append(menu);
})();