update for release
This commit is contained in:
parent
91f88b2aa6
commit
4edef450a3
7 changed files with 81 additions and 26 deletions
5
cms/src/lib/ver.json
Normal file
5
cms/src/lib/ver.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"version":"Auto gen version",
|
||||
"builddate":"2020-02-02_22:22:22"
|
||||
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue