diff --git a/app/assets/css/main.css b/app/assets/css/main.css index de0d0a7..468ef0c 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -21,13 +21,13 @@ --border: #b8a880; --border-d: #a89470; --candle: #7a5a10; - --candle-dim: #9a7420; + --candle-dim: #7a5a10; --candle-faint: #c4a448; --ember: #8a4420; --text: #2a2015; --text-bright: #1a1008; --text-dim: #5a5040; - --text-faint: #8a7e6a; + --text-faint: #6a5e4a; --parch: #2a2015; --parch-hover: #3a3025; --parch-text: #ede4d0; @@ -110,6 +110,11 @@ a:hover { text-decoration: underline; } +p a { + text-decoration: underline; + text-underline-offset: 2px; +} + /* ---- SECTION LABELS ---- */ .section-label { font-size: 10px; diff --git a/app/components/DevLoginPanel.vue b/app/components/DevLoginPanel.vue index 858c610..0ac113e 100644 --- a/app/components/DevLoginPanel.vue +++ b/app/components/DevLoginPanel.vue @@ -4,7 +4,9 @@
Admin - +
diff --git a/app/middleware/auth.js b/app/middleware/auth.js index bc92f62..012b1c2 100644 --- a/app/middleware/auth.js +++ b/app/middleware/auth.js @@ -1,36 +1,38 @@ export default defineNuxtRouteMiddleware(async (to, from) => { // Skip on server-side rendering if (process.server) { - console.log('๐Ÿ›ก๏ธ Auth middleware - skipping on server') - return + console.log("๐Ÿ›ก๏ธ Auth middleware - skipping on server"); + return; } - const { memberData, checkMemberStatus } = useAuth() - const { openLoginModal } = useLoginModal() + const { memberData, checkMemberStatus } = useAuth(); + const { openLoginModal } = useLoginModal(); - console.log('๐Ÿ›ก๏ธ Auth middleware (CLIENT) - route:', to.path) - console.log(' - memberData exists:', !!memberData.value) - console.log(' - Running on:', process.server ? 'SERVER' : 'CLIENT') + console.log("๐Ÿ›ก๏ธ Auth middleware (CLIENT) - route:", to.path); + console.log(" - memberData exists:", !!memberData.value); + console.log(" - Running on:", process.server ? "SERVER" : "CLIENT"); // If no member data, try to check authentication if (!memberData.value) { - console.log(' - No member data, checking authentication...') - const isAuthenticated = await checkMemberStatus() - console.log(' - Authentication result:', isAuthenticated) + console.log(" - No member data, checking authentication..."); + const isAuthenticated = await checkMemberStatus(); + console.log(" - Authentication result:", isAuthenticated); if (!isAuthenticated) { - console.log(' - โŒ Authentication failed, showing login modal') + console.log(" - โŒ Authentication failed, showing login modal"); // Open login modal instead of redirecting openLoginModal({ - title: 'Sign in to continue', - description: 'You need to be signed in to access this page', + title: "Sign in to continue", + description: "You need to be signed in to access this page", dismissible: true, redirectTo: to.fullPath, - }) - // Abort navigation - stay on current page with modal open - return abortNavigation() + }); + // Let navigation proceed โ€” the page renders its own unauthenticated + // fallback, and the modal opens on top. abortNavigation() on an initial + // page load resets client state, which closes the modal before it shows. + return; } } - console.log(' - โœ… Authentication successful for:', memberData.value?.email) -}) \ No newline at end of file + console.log(" - โœ… Authentication successful for:", memberData.value?.email); +}); diff --git a/app/pages/admin/events/create.vue b/app/pages/admin/events/create.vue index 64258dc..6ce6a0b 100644 --- a/app/pages/admin/events/create.vue +++ b/app/pages/admin/events/create.vue @@ -3,7 +3,7 @@ @@ -32,9 +32,7 @@

Basic Information

- + Feature Image

- Upload a high-quality image (1200x630px recommended) to - represent your event + Upload a high-quality image (1200x630px recommended) to represent + your event

- +
- + - +
- +
- + Ticketing -
+
@@ -339,7 +318,10 @@
-
+
- Note: Members always get free access to all - events regardless of ticket settings. + Note: Members always get free access to all events + regardless of ticket settings.
@@ -363,10 +345,7 @@

Series Management

-
+
- +
- + New Series
@@ -409,13 +381,9 @@

-
+
- +
- Note: This event will be added to the - existing "{{ eventForm.series.title }}" series. + Note: This event will be added to the existing + "{{ eventForm.series.title }}" series.
@@ -507,10 +475,7 @@