diff --git a/pages/[slug].vue b/pages/[slug].vue index c3f1ee5..f095335 100644 --- a/pages/[slug].vue +++ b/pages/[slug].vue @@ -20,6 +20,22 @@ + + + + Log In + + @@ -218,6 +234,11 @@ function handleNotesChange() { }, 1000) } +async function handleLogout() { + await $fetch('/api/auth/logout', { method: 'POST' }) + window.location.reload() +} + const bibleReferences = computed(() => { if (!sermon.value?.bible_references) return [] try { diff --git a/pages/index.vue b/pages/index.vue index 89af26f..ebba001 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -3,7 +3,48 @@
-
+ +
+
+ New Life Christian Church +
+
+ + + + Log In + + +
+
+ + +
+

Welcome to New Life! diff --git a/pages/login.vue b/pages/login.vue index 4debf78..30a9d6d 100644 --- a/pages/login.vue +++ b/pages/login.vue @@ -3,9 +3,7 @@
- - New Life Christian Church - + New Life Christian Church

{{ isRegistering ? 'Create Account' : 'Log In' }}

{{ isRegistering ? 'Create a new account' : 'Sign in to your account' }}