diff --git a/frontend/components/GateCard.vue b/frontend/components/GateCard.vue new file mode 100644 index 0000000..30be180 --- /dev/null +++ b/frontend/components/GateCard.vue @@ -0,0 +1,489 @@ + + + diff --git a/frontend/components/SecurityCard.vue b/frontend/components/SecurityCard.vue deleted file mode 100644 index 8ebb391..0000000 --- a/frontend/components/SecurityCard.vue +++ /dev/null @@ -1,386 +0,0 @@ - - - diff --git a/frontend/pages/dashboard/events/[id].vue b/frontend/pages/dashboard/events/[id].vue index ab06ecb..9f3a01e 100644 --- a/frontend/pages/dashboard/events/[id].vue +++ b/frontend/pages/dashboard/events/[id].vue @@ -69,14 +69,16 @@ const loading = ref(true) // (Collaborators + Branding, configured once) → Analytics (results, // checked periodically). The two action-y tabs anchor the ends; setup // clusters in the middle. -type EventTab = 'guests' | 'collaborators' | 'branding' | 'analytics' | 'security' -const validTabs: EventTab[] = ['guests', 'collaborators', 'branding', 'analytics', 'security'] +type EventTab = 'guests' | 'collaborators' | 'branding' | 'analytics' | 'gate' +const validTabs: EventTab[] = ['guests', 'collaborators', 'branding', 'analytics', 'gate'] function tabFromHash(): EventTab { if (import.meta.client) { const h = window.location.hash.replace('#', '') as EventTab if (validTabs.includes(h)) return h // Block C / preview alias: older share links used #team. if (h === ('team' as EventTab)) return 'collaborators' + // Block G rebrand: #security → #gate so old links don't 404. + if (h === ('security' as EventTab)) return 'gate' } return 'guests' } @@ -785,7 +787,7 @@ function checkLabel(band?: string): string { { id: 'collaborators', label: 'Collaborators' }, { id: 'branding', label: 'Branding' }, { id: 'analytics', label: 'Analytics' }, - { id: 'security', label: 'Security' }, + { id: 'gate', label: 'Gate' }, ] as { id: EventTab, label: string }[]" :key="t.id" role="tab" @@ -1210,10 +1212,12 @@ function checkLabel(band?: string): string { - -
- + +
+
diff --git a/frontend/pages/rsvp/[token].vue b/frontend/pages/rsvp/[token].vue index a66b7c4..8f354c0 100644 --- a/frontend/pages/rsvp/[token].vue +++ b/frontend/pages/rsvp/[token].vue @@ -190,10 +190,8 @@ const submitLabel = computed(() => {

This invitation cannot be used

- The host has been notified of a suspicious access attempt. -

-

- Risk score {{ result.fraud.score }} · {{ result.fraud.risk }} + Something about this attempt looked off and the host has been notified. + If you believe this is a mistake, please reach out to them directly.

@@ -205,10 +203,6 @@ const submitLabel = computed(() => { Response recorded as {{ result.rsvp.response }} with +{{ result.rsvp.plus_ones }} plus-ones.

-

- Risk score {{ result.fraud.score }} · {{ result.fraud.risk }} - · fallback -