
import type { Event } from '../../types';

const getFutureDate = (days: number, hours: number = 0) => {
  const date = new Date();
  date.setDate(date.getDate() + days);
  date.setHours(date.getHours() + hours);
  const options: Intl.DateTimeFormatOptions = { month: 'short', day: '2-digit', year: 'numeric' };
  return date.toLocaleDateString('en-US', options);
};

export const ALL_EVENTS: Event[] = [
  {
    id: '1',
    title: 'Next-Gen AI Forum',
    date: getFutureDate(3, 4),

    location: 'Innovation Lab',
    category: 'TECHNICAL',
    domain: 'Computer Science and Engineering',
    club: 'Techspark',
    pricingType: 'PAID',
    coordinator: 'Dr. Ramesh Kumar',
    image: 'https://images.unsplash.com/photo-1620712943543-bcc4628c9759?auto=format&fit=crop&q=80&w=800'
  },
  {
    id: '2',
    title: 'Web Architecture 2025',
    date: getFutureDate(1, 2),
    location: 'Seminar Hall A',
    category: 'TECHNICAL',
    domain: 'Information Technology',
    club: 'Infintus club',
    pricingType: 'FREE',
    coordinator: 'Prof. Anitha S.',
    image: 'https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&q=80&w=800'
  },
  {
    id: '3',
    title: 'Cultural Night Jam',
    date: getFutureDate(15),
    location: 'Main Auditorium',
    category: 'NON-TECHNICAL',
    domain: 'Arts & Culture',
    club: 'Euphoria club',
    pricingType: 'PAID',
    coordinator: 'Dr. Sivakumar P.',
    image: 'https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&q=80&w=800'
  },
  {
    id: '4',
    title: 'FullStack React Workshop',
    date: getFutureDate(5, 1),
    location: 'Computer Lab 3',
    category: 'WORKSHOP',
    domain: 'Software Engineering',
    club: 'Fusion club',
    pricingType: 'FREE',
    coordinator: 'Prof. Rajesh B.',
    image: 'https://images.unsplash.com/photo-1633356122544-f134324a6cee?auto=format&fit=crop&q=80&w=800'
  },
  {
    id: '5',
    title: 'Entrepreneurship 101',
    date: getFutureDate(12, 8),
    location: 'Management Block',
    category: 'NON-TECHNICAL',
    domain: 'Management',
    club: 'EDC club',
    pricingType: 'FREE',
    coordinator: 'Dr. Preethi M.',
    image: 'https://images.unsplash.com/photo-1559136555-9303baea8ebd?auto=format&fit=crop&q=80&w=800'
  },
  {
    id: '6',
    title: 'Robo-Wars 2025',
    date: getFutureDate(20),
    location: 'Mechanical Workshop',
    category: 'TECHNICAL',
    domain: 'Mechanical',
    club: 'Steam',
    pricingType: 'PAID',
    coordinator: 'Prof. Karthikeyan J.',
    image: 'https://images.unsplash.com/photo-1561144443-0559f2e4bd3c?auto=format&fit=crop&q=80&w=800'
  }
];

export const CATEGORIES = [
  { name: 'Technical', id: 'TECHNICAL', image: 'https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=800' },
  { name: 'Non-Technical', id: 'NON-TECHNICAL', image: 'https://images.unsplash.com/photo-1523580494863-6f3031224c94?auto=format&fit=crop&q=80&w=800' },
  { name: 'Workshops', id: 'WORKSHOP', image: 'https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&q=80&w=800' },
  { name: 'Centre Activity', id: 'CENTRE-ACTIVITY', image: 'https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&q=80&w=1200' }
];

export const CLUBS = [
  { name: 'Fusion club', image: 'https://github.com/Sachin-627/club/raw/main/Fusion%20club.jpeg' },
  { name: 'Helios club', image: 'https://github.com/Sachin-627/club/raw/main/Helios%20club.jpeg' },
  { name: 'Infintus club', image: 'https://github.com/Sachin-627/club/raw/main/Infintus%20club.jpeg' },
  { name: 'Mediastic', image: 'https://github.com/Sachin-627/club/raw/main/Mediastic.jpeg' },
  { name: 'Nippon Club', image: 'https://github.com/Sachin-627/club/raw/main/Nippon%20Club.jpeg' },
  { name: 'Pod x club', image: 'https://github.com/Sachin-627/club/raw/main/Pod%20x%20club.jpeg' },
  { name: 'Rotract', image: 'https://github.com/Sachin-627/club/raw/main/Rotract.jpeg' },
  { name: 'Unnat Bharath Abhiyan club', image: 'https://github.com/Sachin-627/club/raw/main/UBS.jpeg' },
  { name: 'Variti club', image: 'https://github.com/Sachin-627/club/raw/main/Variti%20club.jpeg' },
  { name: 'Wec club', image: 'https://github.com/Sachin-627/club/raw/main/Wec%20club.jpeg' },
  { name: 'Wistom club', image: 'https://github.com/Sachin-627/club/raw/main/Wistom%20club.jpeg' },
  { name: 'Yatra club', image: 'https://github.com/Sachin-627/club/raw/main/Yatra%20club.jpeg' },
  { name: 'Yuva club', image: 'https://github.com/Sachin-627/club/raw/main/Yuva%20club.jpeg' },
  { name: 'Artist League', image: 'https://github.com/Sachin-627/club/raw/main/artist%20league.jpeg' },
  { name: 'Classical club', image: 'https://github.com/Sachin-627/club/raw/main/classical%20club.jpeg' },
  { name: 'EDC club', image: 'https://github.com/Sachin-627/club/raw/main/edc%20club.jpeg' },
  { name: 'Euphoria club', image: 'https://github.com/Sachin-627/club/raw/main/euphoria%20club.jpeg' },
  { name: 'R Square', image: 'https://github.com/Sachin-627/club/raw/main/r%20square.jpeg' },
  { name: 'Raptology', image: 'https://github.com/Sachin-627/club/raw/main/raptology.jpeg' },
  { name: 'Steam', image: 'https://github.com/Sachin-627/club/raw/main/steam.jpeg' },
  { name: 'Techspark', image: 'https://github.com/Sachin-627/club/raw/main/techspark.jpeg' },
  { name: 'YRC club', image: 'https://github.com/Sachin-627/club/raw/main/yrc%20club.jpeg' },
  { name: 'NCC club', image: 'https://github.com/Sachin-627/club/raw/main/ncc%20club.jpeg' }
];

export const DOMAIN_MAP: Record<string, { id: string, name: string, image: string }[]> = {
  'TECHNICAL': [
    { 
      id: 'CSE', 
      name: 'CSE', 
      image: 'https://images.unsplash.com/photo-1517694712202-14dd9538aa97?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'CSBS', 
      name: 'CSBS', 
      image: 'https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'AIML', 
      name: 'AIML', 
      image: 'https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'AIDS', 
      name: 'AIDS', 
      image: 'https://images.unsplash.com/photo-1509228627152-72ae9ae6848d?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'IT', 
      name: 'IT', 
      image: 'https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'ECE', 
      name: 'ECE', 
      image: 'https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'Mechanical', 
      name: 'Mechanical', 
      image: 'https://images.unsplash.com/photo-1537462715879-360eeb61a0ad?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'Bio-tech', 
      name: 'Bio-tech', 
      image: 'https://images.unsplash.com/photo-1530210124550-912dc1381cb8?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'CCE', 
      name: 'CCE', 
      image: 'https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=600' 
    },
    { 
      id: 'VLSI', 
      name: 'VLSI', 
      image: 'https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=600' 
    }
  ],
  'NON-TECHNICAL': [
    { id: 'Management', name: 'Management', image: 'https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&q=80&w=400' },
    { id: 'Arts & Culture', name: 'Arts & Culture', image: 'https://images.unsplash.com/photo-1513364776144-60967b0f800f?auto=format&fit=crop&q=80&w=800' },
    { id: 'Sports', name: 'Sports', image: 'https://images.unsplash.com/photo-1552674605-db6ffd4facb5?auto=format&fit=crop&q=80&w=400' },
    { id: 'Social Welfare', name: 'Social Welfare', image: 'https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&q=80&w=400' }
  ],
  'WORKSHOP': [
    { id: 'Software Dev', name: 'Software Dev', image: 'https://images.unsplash.com/photo-1633356122544-f134324a6cee?auto=format&fit=crop&q=80&w=400' },
    { id: 'Design', name: 'Design', image: 'https://images.unsplash.com/photo-1561070791-2526d30994b5?auto=format&fit=crop&q=80&w=800' },
    { id: 'Cloud/DevOps', name: 'Cloud/DevOps', image: 'https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=400' }
  ],
  'CENTRE-ACTIVITY': [
    { id: 'Research Hub', name: 'Research Hub', image: 'https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&q=80&w=400' },
    { id: 'Innovation Cell', name: 'Innovation Cell', image: 'https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&q=80&w=400' },
    { id: 'Incubation Centre', name: 'Incubation Centre', image: 'https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&q=80&w=400' }
  ],
  'ALL': [
    { id: 'CSE', name: 'CSE', image: 'https://images.unsplash.com/photo-1555255707-c07966488bc0?auto=format&fit=crop&q=80&w=400' },
    { id: 'IT', name: 'IT', image: 'https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&q=80&w=400' },
    { id: 'AIML', name: 'AIML', image: 'https://images.unsplash.com/photo-1677442136019-21780ecad995?auto=format&fit=crop&q=80&w=400' },
    { id: 'AIDS', name: 'AIDS', image: 'https://images.unsplash.com/photo-1551288049-bbbda5366391?auto=format&fit=crop&q=80&w=400' },
    { id: 'Management', name: 'Management', image: 'https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&q=80&w=400' },
    { id: 'Mechanical', name: 'Mechanical', image: 'https://images.unsplash.com/photo-1537462715879-360eeb61a0ad?auto=format&fit=crop&q=80&w=400' }
  ]
};

