feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
<template>
|
2025-08-31 13:50:07 +02:00
|
|
|
<div class="member-dashboard">
|
2025-08-31 14:12:58 +02:00
|
|
|
<!-- Simple Header -->
|
|
|
|
|
<div class="dashboard-header">
|
|
|
|
|
<h1 class="dashboard-title">Welcome back, {{ firstName }}</h1>
|
|
|
|
|
<p class="dashboard-subtitle">Member Dashboard</p>
|
2025-08-31 13:50:07 +02:00
|
|
|
</div>
|
|
|
|
|
|
2025-08-31 14:12:58 +02:00
|
|
|
<!-- Simple Two-Column Layout -->
|
|
|
|
|
<v-row class="dashboard-content">
|
|
|
|
|
<!-- Left Column - Profile -->
|
|
|
|
|
<v-col cols="12" md="4">
|
|
|
|
|
<SimpleProfileCard
|
2025-08-31 13:50:07 +02:00
|
|
|
:member="memberData"
|
2025-08-31 14:12:58 +02:00
|
|
|
:email-verified="emailVerified"
|
2025-08-31 13:50:07 +02:00
|
|
|
@edit-profile="navigateTo('/member/profile')"
|
|
|
|
|
/>
|
2025-08-31 14:12:58 +02:00
|
|
|
</v-col>
|
2025-08-31 13:50:07 +02:00
|
|
|
|
2025-08-31 14:12:58 +02:00
|
|
|
<!-- Right Column - Events -->
|
|
|
|
|
<v-col cols="12" md="8">
|
2025-08-31 13:50:07 +02:00
|
|
|
<EventsCard
|
|
|
|
|
:events="upcomingEvents"
|
|
|
|
|
@view-all="navigateTo('/member/events')"
|
|
|
|
|
/>
|
2025-08-31 14:12:58 +02:00
|
|
|
</v-col>
|
|
|
|
|
</v-row>
|
|
|
|
|
|
|
|
|
|
<!-- Activity Timeline -->
|
|
|
|
|
<v-row class="mt-6">
|
|
|
|
|
<v-col cols="12">
|
|
|
|
|
<div class="activity-section">
|
|
|
|
|
<div class="section-header">
|
|
|
|
|
<h2 class="section-title">Recent Activity</h2>
|
2025-08-31 13:50:07 +02:00
|
|
|
</div>
|
|
|
|
|
<ActivityTimeline
|
2025-08-31 14:12:58 +02:00
|
|
|
:activities="filteredActivities"
|
|
|
|
|
:max-items="10"
|
2025-08-31 13:50:07 +02:00
|
|
|
/>
|
|
|
|
|
</div>
|
2025-08-31 14:12:58 +02:00
|
|
|
</v-col>
|
|
|
|
|
</v-row>
|
2025-08-31 13:50:07 +02:00
|
|
|
|
|
|
|
|
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import type { Member } from '~/utils/types';
|
2025-08-31 14:12:58 +02:00
|
|
|
import SimpleProfileCard from '~/components/dashboard/SimpleProfileCard.vue';
|
2025-08-31 13:50:07 +02:00
|
|
|
import ActivityTimeline from '~/components/dashboard/ActivityTimeline.vue';
|
|
|
|
|
import EventsCard from '~/components/dashboard/EventsCard.vue';
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
|
|
|
|
|
definePageMeta({
|
|
|
|
|
layout: 'member',
|
|
|
|
|
middleware: 'member'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const { user } = useAuth();
|
|
|
|
|
|
|
|
|
|
// Fetch member data
|
|
|
|
|
const { data: sessionData } = await useFetch<{ success: boolean; member: Member | null }>('/api/auth/session', {
|
|
|
|
|
server: false
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const memberData = computed<Member | null>(() => sessionData.value?.member || null);
|
|
|
|
|
|
|
|
|
|
// Computed properties
|
|
|
|
|
const firstName = computed(() => memberData.value?.first_name || user.value?.firstName || 'Member');
|
|
|
|
|
const fullName = computed(() => {
|
|
|
|
|
if (memberData.value) {
|
|
|
|
|
return `${memberData.value.first_name} ${memberData.value.last_name}`;
|
|
|
|
|
}
|
|
|
|
|
return user.value?.name || 'Member';
|
|
|
|
|
});
|
|
|
|
|
const email = computed(() => memberData.value?.email || user.value?.email || '');
|
2025-08-31 14:12:58 +02:00
|
|
|
const emailVerified = computed(() => {
|
|
|
|
|
// Check if email is verified (you can add actual verification logic here)
|
|
|
|
|
return true;
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
});
|
|
|
|
|
|
2025-08-31 13:50:07 +02:00
|
|
|
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
// Mock data - replace with actual API calls
|
|
|
|
|
const upcomingEvents = ref([
|
|
|
|
|
{
|
|
|
|
|
id: "1",
|
|
|
|
|
title: "Monthly Networking Event",
|
|
|
|
|
date: "2024-01-15",
|
|
|
|
|
time: "6:00 PM",
|
|
|
|
|
location: "Conference Center",
|
|
|
|
|
status: "confirmed"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "2",
|
|
|
|
|
title: "Workshop: Digital Marketing",
|
|
|
|
|
date: "2024-01-22",
|
|
|
|
|
time: "2:00 PM",
|
|
|
|
|
location: "Training Room A",
|
|
|
|
|
status: "pending"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "3",
|
|
|
|
|
title: "Annual Gala Dinner",
|
|
|
|
|
date: "2024-02-05",
|
|
|
|
|
time: "7:00 PM",
|
|
|
|
|
location: "Grand Ballroom",
|
|
|
|
|
status: "confirmed"
|
|
|
|
|
}
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const recentActivity = ref([
|
|
|
|
|
{
|
|
|
|
|
id: "1",
|
|
|
|
|
type: "event",
|
2025-08-31 14:12:58 +02:00
|
|
|
description: "Registered for Monthly Networking Event",
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
timestamp: "2 days ago",
|
2025-08-31 14:12:58 +02:00
|
|
|
icon: "mdi-calendar-check",
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
color: "error"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "2",
|
2025-08-31 14:12:58 +02:00
|
|
|
type: "profile",
|
|
|
|
|
description: "Updated profile information",
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
timestamp: "1 week ago",
|
2025-08-31 14:12:58 +02:00
|
|
|
icon: "mdi-account",
|
|
|
|
|
color: "info"
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
id: "3",
|
2025-08-31 14:12:58 +02:00
|
|
|
type: "event",
|
|
|
|
|
description: "Attended Workshop: Digital Marketing",
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
timestamp: "2 weeks ago",
|
2025-08-31 14:12:58 +02:00
|
|
|
icon: "mdi-account-group",
|
|
|
|
|
color: "error"
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
}
|
|
|
|
|
]);
|
|
|
|
|
|
2025-08-31 14:12:58 +02:00
|
|
|
// Filter activities to exclude payment and achievement types
|
|
|
|
|
const filteredActivities = computed(() => {
|
|
|
|
|
return recentActivity.value
|
|
|
|
|
.filter(activity => activity.type === 'event' || activity.type === 'profile')
|
|
|
|
|
.map(activity => ({
|
|
|
|
|
...activity,
|
|
|
|
|
title: activity.description.split(' ').slice(0, 3).join(' '),
|
|
|
|
|
description: activity.description
|
|
|
|
|
}));
|
2025-08-31 13:50:07 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
// Helper functions
|
|
|
|
|
const formatDate = (dateString: string) => {
|
|
|
|
|
return new Date(dateString).toLocaleDateString('en-US', {
|
|
|
|
|
month: 'short',
|
|
|
|
|
day: 'numeric',
|
|
|
|
|
year: 'numeric'
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// Load real data on mount
|
|
|
|
|
onMounted(async () => {
|
|
|
|
|
// Load upcoming events
|
|
|
|
|
try {
|
|
|
|
|
const eventsRes = await $fetch('/api/member/events/upcoming');
|
|
|
|
|
if (eventsRes?.success && eventsRes?.data) {
|
|
|
|
|
// Map real events data
|
|
|
|
|
console.log('Loaded upcoming events:', eventsRes.data);
|
|
|
|
|
}
|
|
|
|
|
} catch (error) {
|
|
|
|
|
console.error('Error loading events:', error);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
|
2025-08-31 13:50:07 +02:00
|
|
|
<style scoped lang="scss">
|
|
|
|
|
.member-dashboard {
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-bottom: 2.5rem;
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
background: linear-gradient(135deg,
|
|
|
|
|
rgba(255, 255, 255, 0.95),
|
|
|
|
|
rgba(255, 255, 255, 0.85)
|
|
|
|
|
);
|
|
|
|
|
backdrop-filter: blur(20px);
|
|
|
|
|
-webkit-backdrop-filter: blur(20px);
|
|
|
|
|
border-radius: 1.25rem;
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
|
|
box-shadow:
|
|
|
|
|
0 20px 40px rgba(0, 0, 0, 0.08),
|
|
|
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.6);
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
gap: 1.5rem;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header-content {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-title {
|
|
|
|
|
font-size: 2.5rem;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
margin: 0 0 0.5rem 0;
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title-gradient {
|
|
|
|
|
background: linear-gradient(135deg, #dc2626, #b91c1c);
|
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
|
background-clip: text;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.title-name {
|
|
|
|
|
color: rgb(31, 41, 55);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dashboard-subtitle {
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
color: rgb(107, 114, 128);
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.header-actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
}
|
|
|
|
|
|
2025-08-31 13:50:07 +02:00
|
|
|
.notification-btn {
|
|
|
|
|
text-transform: none;
|
|
|
|
|
font-weight: 500;
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
}
|
|
|
|
|
|
2025-08-31 13:50:07 +02:00
|
|
|
.dashboard-grid {
|
|
|
|
|
margin-bottom: 3rem;
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
}
|
|
|
|
|
|
2025-08-31 13:50:07 +02:00
|
|
|
// Glass card base styles
|
|
|
|
|
.glass-card {
|
|
|
|
|
background: linear-gradient(135deg,
|
|
|
|
|
rgba(255, 255, 255, 0.9),
|
|
|
|
|
rgba(255, 255, 255, 0.7)
|
|
|
|
|
);
|
|
|
|
|
backdrop-filter: blur(20px);
|
|
|
|
|
-webkit-backdrop-filter: blur(20px);
|
|
|
|
|
border-radius: 1rem;
|
|
|
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
|
|
|
box-shadow:
|
|
|
|
|
0 8px 32px rgba(0, 0, 0, 0.08),
|
|
|
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.5);
|
|
|
|
|
padding: 1.5rem;
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-31 13:50:07 +02:00
|
|
|
.activity-card {
|
|
|
|
|
.card-header {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
margin-bottom: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-title {
|
|
|
|
|
font-size: 1.125rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: rgb(31, 41, 55);
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.quick-actions-section {
|
|
|
|
|
margin-top: 2rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-title {
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: rgb(31, 41, 55);
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.quick-actions-grid {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
|
|
|
|
gap: 1.25rem;
|
|
|
|
|
|
|
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
feat: Reorganize platform into member, board, and admin sections
Major platform reorganization implementing role-based portal sections:
## Infrastructure Changes
- Created role-based middleware for member, board, and admin access
- Updated main dashboard router to redirect based on highest privilege
- Implemented access hierarchy: Admin > Board > Member
## New Layouts
- Member layout: Simplified navigation for regular members
- Board layout: Enhanced tools for board member management
- Admin layout: Full system administration capabilities
## Member Portal (/member/*)
- Dashboard: Profile overview, events, payments, activity tracking
- Events: Browse, register, and manage event participation
- Profile: Complete personal and professional information management
- Resources: Access to documents, guides, FAQs, and quick links
## Board Portal (/board/*)
- Dashboard: Statistics, dues management, board-specific tools
- Members: Comprehensive member management with filtering
## Admin Portal (/admin/*)
- Dashboard: System overview and administrative controls (existing)
## Design Implementation
- Monaco red (#dc2626) as primary accent color
- Modern card-based layouts with consistent spacing
- Responsive design for all screen sizes
- Glass morphism effects for enhanced visual appeal
This reorganization provides clear separation of concerns based on user privileges while maintaining a cohesive user experience across all sections.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 22:00:59 +02:00
|
|
|
}
|
|
|
|
|
</style>
|