refac: migrated to pyodide from pyscript

This commit is contained in:
Timothy J. Baek
2024-05-16 19:21:08 -10:00
parent 0a9092156c
commit 8f8ce26948
60 changed files with 273 additions and 255 deletions
-8
View File
@@ -13,9 +13,6 @@
href="/opensearch.xml"
/>
<script type="module" src="/pyscript/core.js"></script>
<link rel="stylesheet" href="/pyscript/core.css" />
<script>
// On page load or when changing themes, best to add inline in `head` to avoid FOUC
(() => {
@@ -58,11 +55,6 @@
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<py-config> interpreter = "/pyodide/pyodide.mjs" </py-config>
<script type="py">
print('pyscript:loaded')
</script>
<div style="display: contents">%sveltekit.body%</div>
<div