update for release

This commit is contained in:
schooltechx 2023-03-20 13:02:28 +07:00
parent 91f88b2aa6
commit 4edef450a3
7 changed files with 81 additions and 26 deletions

5
cms/src/lib/ver.json Normal file
View file

@ -0,0 +1,5 @@
{
"version":"Auto gen version",
"builddate":"2020-02-02_22:22:22"
}

View file

@ -1,6 +1,5 @@
import {getContact} from "$lib/data/info"
import type { PageServerLoad } from './$types'
/*
export const load: PageServerLoad = async () => {
@ -8,5 +7,5 @@ export const load: PageServerLoad = async () => {
}*/
export const load = (async () => {
return getContact()
return getContact()
}) satisfies PageServerLoad

View file

@ -1,10 +1,15 @@
<script lang="ts">
import type { PageData } from './$types'
import ver from "$lib/ver.json"
export let data: PageData;
</script>
<h1 class="text-4xl">{data.company_name}</h1>
<div>{data.description}</div>
<div>{ver.version}</div>
<div>{ver.builddate}</div>