More TEsting

This commit is contained in:
Fred Boniface
2023-06-13 13:38:59 +01:00
parent b24447ca3d
commit 234915f568
8 changed files with 215 additions and 12 deletions

View File

@@ -0,0 +1,25 @@
<script>
import Menu from '../../components/header.svelte'
import Footer from '../../components/footer.svelte'
import {onMount} from 'svelte'
const title = "Public Board"
const page = "ldb"
async function getHeadcode() {
return new URLSearchParams(window.location.search).get('station');
}
onMount(async () => {
const headcode = await getHeadcode();
document.getElementById('station').textContent = headcode;
})
</script>
<Menu {title} />
<p>Station: <span id="station"></span></p>
<Footer {page} />