| import { UserData, Chat } from './types'; | |
| export const users: UserData[] = [ | |
| { id: 'user1', name: 'Alice', avatar: 'https://picsum.photos/seed/1/100/100', online: true }, | |
| { id: 'user2', name: 'Bob', avatar: 'https://picsum.photos/seed/2/100/100', online: false }, | |
| { id: 'user3', name: 'Charlie', avatar: 'https://picsum.photos/seed/3/100/100', online: true }, | |
| { id: 'user4', name: 'Diana', avatar: 'https://picsum.photos/seed/4/100/100', online: false }, | |
| { id: 'user5', name: 'Eve', avatar: 'https://picsum.photos/seed/5/100/100', online: true }, | |
| { id: 'user6', name: 'Frank', avatar: 'https://picsum.photos/seed/6/100/100', online: true }, | |
| { id: 'user7', name: 'Grace', avatar: 'https://picsum.photos/seed/7/100/100', online: false }, | |
| ]; | |
| export const loggedInUser = users[0]; | |
| export const chats: Chat[] = [ | |
| { | |
| id: 'chat1', | |
| users: [users[0], users[1]], | |
| messages: [ | |
| { id: 'msg1', sender: users[1], text: 'Hey Alice, how are you?', timestamp: '10:30 AM' }, | |
| { id: 'msg2', sender: users[0], text: 'Hi Bob! I am good, thanks. How about you?', timestamp: '10:31 AM' }, | |
| { id: 'msg3', sender: users[1], text: 'Doing great! Just planning a trip to Italy.', timestamp: '10:32 AM', theme: 'travel' }, | |
| ], | |
| unreadCount: 1, | |
| }, | |
| { | |
| id: 'chat2', | |
| name: 'Project Phoenix', | |
| isGroup: true, | |
| users: [users[0], users[2], users[3]], | |
| messages: [ | |
| { id: 'msg4', sender: users[2], text: 'Hey team, any updates on the new designs?', timestamp: '9:15 AM' }, | |
| { id: 'msg5', sender: users[3], text: 'I have pushed the latest mockups to Figma.', timestamp: '9:16 AM' }, | |
| { id: 'msg6', sender: users[0], text: 'Awesome, I will take a look now. Thanks Diana!', timestamp: '9:17 AM' }, | |
| ], | |
| }, | |
| { | |
| id: 'chat3', | |
| users: [users[0], users[4]], | |
| messages: [ | |
| { id: 'msg7', sender: users[4], text: 'Did you see that new recipe for sourdough bread?', timestamp: 'Yesterday', theme: 'recipes' }, | |
| { id: 'msg8', sender: users[0], text: 'Oh, no I haven\'t! Send it over.', timestamp: 'Yesterday' }, | |
| ], | |
| unreadCount: 0, | |
| }, | |
| { | |
| id: 'chat4', | |
| users: [users[0], users[5]], | |
| messages: [ | |
| { id: 'msg9', sender: users[5], text: 'The weather is looking great for this weekend!', timestamp: 'Yesterday', theme: 'weather' }, | |
| ], | |
| unreadCount: 2, | |
| }, | |
| { | |
| id: 'chat5', | |
| name: 'Weekend Plans', | |
| isGroup: true, | |
| users: [users[0], users[1], users[4]], | |
| messages: [ | |
| { id: 'msg10', sender: users[1], text: 'Anyone free for a hike this Saturday?', timestamp: '3 days ago' }, | |
| ], | |
| }, | |
| { | |
| id: 'chat6', | |
| users: [users[0], users[6]], | |
| messages: [ | |
| { id: 'msg11', sender: users[6], text: 'I need some relationship advice, got a minute?', timestamp: '3 days ago', theme: 'relationships' }, | |
| ], | |
| }, | |
| ]; | |