diff --git a/demos/full-stack_framework/src/app.scss b/demos/full-stack_framework/src/app.scss index 5942814..ddca22e 100644 --- a/demos/full-stack_framework/src/app.scss +++ b/demos/full-stack_framework/src/app.scss @@ -91,10 +91,8 @@ a { color: $acc2; } -// .darker_text{color: $gray3;} -.darker_text { - color: $gray2; -} +.darker_text{color: $gray3;} +// .darker_text {color: $gray2;} .bold { font-weight: 700; diff --git a/demos/full-stack_framework/src/routes/+page.svelte b/demos/full-stack_framework/src/routes/+page.svelte index 5d7a105..81e0b7b 100644 --- a/demos/full-stack_framework/src/routes/+page.svelte +++ b/demos/full-stack_framework/src/routes/+page.svelte @@ -25,7 +25,7 @@ //setup toasts sc.lifecycle_hooks.msg = (name:string, client_id:string, kind:string, data:any) => { if(['UPD', 'PROP_UPD'].includes(kind)) - toast('An update came in from the Socio Server.', {style:'background: #0D0D0E; color: #fff; padding:4px;',position: "bottom-center", duration:1000}); + toast('An update came in from the Socio Server.', {style:'background: #0D0D0E; color: #fff; padding:2px;',position: "bottom-center", duration:1000}); // else if(kind == 'ERR') // toast.error(`An error arrived for a query or prop. MSG ID:${data.id}`,{position: "bottom-center", duration:500}); } @@ -40,7 +40,7 @@ onMount(async () => { ready = await sc.ready(); - toast.success('Socio Client connected!', {icon:'🥳', style:'padding:4px;',position: "bottom-center", duration:1500}); + toast.success('Socio Client connected!', {icon:'🥳', style:'padding:2px;',position: "bottom-center", duration:1500}); sc.Subscribe({sql: socio`SELECT COUNT(*) AS RES FROM users WHERE name = :name;`,params: { name: "John" }}, (res) => { //@ts-ignore @@ -65,6 +65,7 @@ async function UploadFiles(e:any){ $progress = 0; const q = sc.SendFiles(e.target.files); + // c.TrackProgressOfQueryPromise(q, p => prog = p); sc.TrackProgressOfQueryPromise(q, progress.set); log('file upload result bit: ', await q); } @@ -73,20 +74,6 @@
{#if ready}
-

- - SvelteKit - - + - - Vite - - demo. -

client ID: {sc.client_id}
@@ -122,7 +109,7 @@ - + + sc.SetProp('num', num)}> - +
diff --git a/demos/full-stack_framework/src/routes/nav.svelte b/demos/full-stack_framework/src/routes/nav.svelte index 2737d43..72bfcab 100644 --- a/demos/full-stack_framework/src/routes/nav.svelte +++ b/demos/full-stack_framework/src/routes/nav.svelte @@ -3,15 +3,17 @@ \ No newline at end of file diff --git a/demos/full-stack_framework/static/favicon.png b/demos/full-stack_framework/static/favicon.png new file mode 100644 index 0000000..8a4d009 Binary files /dev/null and b/demos/full-stack_framework/static/favicon.png differ diff --git a/demos/full-stack_framework/static/logo.png b/demos/full-stack_framework/static/logo.png new file mode 100644 index 0000000..1b3848a Binary files /dev/null and b/demos/full-stack_framework/static/logo.png differ