feat: initial project setup with frontend mockup
- Docker Compose setup with nginx reverse proxy and frontend service - React + Vite + Tailwind CSS configuration - Complete mockup of all application views: - Authentication (login/register) - Events list and selection - Event chat with matchmaking - 1:1 private chat with WebRTC P2P video transfer mockup - Partner rating system - Collaboration history - Mock data for users, events, messages, matches, and ratings - All UI text and messages in English - Project documentation (CONTEXT.md, TODO.md, README.md, QUICKSTART.md)
This commit is contained in:
79
frontend/src/mocks/matches.js
Normal file
79
frontend/src/mocks/matches.js
Normal file
@@ -0,0 +1,79 @@
|
||||
export const mockMatches = [
|
||||
{
|
||||
id: 1,
|
||||
user1_id: 1,
|
||||
user2_id: 2,
|
||||
user2_name: 'sarah_swing',
|
||||
user2_avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Sarah',
|
||||
event_id: 1,
|
||||
event_name: 'Warsaw Dance Festival 2025',
|
||||
status: 'active',
|
||||
room_id: 10,
|
||||
created_at: '2025-03-14T11:00:00Z',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
user1_id: 1,
|
||||
user2_id: 3,
|
||||
user2_name: 'mike_moves',
|
||||
user2_avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Mike',
|
||||
event_id: 1,
|
||||
event_name: 'Warsaw Dance Festival 2025',
|
||||
status: 'completed',
|
||||
room_id: 11,
|
||||
created_at: '2025-03-13T14:30:00Z',
|
||||
completed_at: '2025-03-13T16:45:00Z',
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
user1_id: 1,
|
||||
user2_id: 4,
|
||||
user2_name: 'emma_elegant',
|
||||
user2_avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Emma',
|
||||
event_id: 2,
|
||||
event_name: 'Berlin Swing Out',
|
||||
status: 'completed',
|
||||
room_id: 12,
|
||||
created_at: '2025-02-20T10:00:00Z',
|
||||
completed_at: '2025-02-20T15:30:00Z',
|
||||
},
|
||||
];
|
||||
|
||||
export const mockRatings = [
|
||||
{
|
||||
id: 1,
|
||||
match_id: 2,
|
||||
rater_id: 1,
|
||||
rated_id: 3,
|
||||
rated_name: 'mike_moves',
|
||||
rated_avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Mike',
|
||||
score: 5,
|
||||
comment: 'Great energy and smooth moves! Would love to dance again.',
|
||||
would_collaborate_again: true,
|
||||
created_at: '2025-03-13T17:00:00Z',
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
match_id: 3,
|
||||
rater_id: 1,
|
||||
rated_id: 4,
|
||||
rated_name: 'emma_elegant',
|
||||
rated_avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=Emma',
|
||||
score: 5,
|
||||
comment: 'Amazing dancer with excellent technique. Highly recommend!',
|
||||
would_collaborate_again: true,
|
||||
created_at: '2025-02-20T16:00:00Z',
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
match_id: 2,
|
||||
rater_id: 3,
|
||||
rated_id: 1,
|
||||
rated_name: 'john_dancer',
|
||||
rated_avatar: 'https://api.dicebear.com/7.x/avataaars/svg?seed=John',
|
||||
score: 4,
|
||||
comment: 'Good collaboration, very professional!',
|
||||
would_collaborate_again: true,
|
||||
created_at: '2025-03-13T17:15:00Z',
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user