Google auth done

This commit is contained in:
Roman Krček
2025-07-17 15:40:54 +02:00
parent 9f4b3a3804
commit f83595f3c3
20 changed files with 1956 additions and 4 deletions

View File

@@ -1,7 +1,16 @@
<script lang="ts">
import { onMount } from 'svelte';
import { initGoogleClient } from '$lib/google';
import '../app.css';
let { children } = $props();
onMount(() => {
initGoogleClient(() => {
// You can add any logic here to run after the client is initialized
console.log('Google API client initialized');
});
});
</script>
{@render children()}

View File

@@ -1,2 +1,11 @@
<h1>Welcome to SvelteKit</h1>
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
<script lang="ts">
import Splash from '$lib/components/Splash.svelte';
import Wizard from '$lib/components/Wizard.svelte';
import { currentStep } from '$lib/stores';
</script>
{#if $currentStep === 0}
<Splash />
{:else}
<Wizard />
{/if}