backend and api endpoints

This commit is contained in:
2023-07-14 11:58:27 +00:00
parent 90b4c95cd8
commit 897b9ae2cf
27 changed files with 1140 additions and 20 deletions

View File

@@ -0,0 +1,5 @@
<script lang="ts">
export let row: Row
</script>
<stlye lang="less"></stlye>

View File

@@ -0,0 +1,8 @@
<script lang="ts">
export let row: Row
</script>
<div></div>
<style lang="less">
</style>

View File

@@ -0,0 +1,27 @@
<script lang="ts">
import { init } from "svelte/internal"
import { pages } from "../../store"
export let path
export let homepage = false
let page: Page
function initPage() {
page = $pages[path]
}
$: {
if (Object.keys($pages).length) {
initPage()
}
}
</script>
<div>
{#if page}
{page.path}
{/if}
</div>
<style lang="less">
</style>