From 966e244729cbdc19fab7b202b06d6379847df774 Mon Sep 17 00:00:00 2001 From: Joshua Ryder Date: Mon, 6 Oct 2025 17:29:10 -0400 Subject: [PATCH] Mobile layout adjustments --- pages/[slug].vue | 21 +++++++++++++++++++++ pages/index.vue | 44 +++++++++++++++++++++++++++++++++++++++++++- pages/login.vue | 4 +--- 3 files changed, 65 insertions(+), 4 deletions(-) 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' }}