export type InfoPage = {
  slug: string;
  title: string;
  sections: {
    title: string;
    body?: string[];
    bullets?: string[];
  }[];
};

export const infoPages: InfoPage[] = [
  {
    slug: "reaching-iitgn",
    title: "Reaching IIT Gandhinagar",
    sections: [
      {
        title: "Getting here",
        bullets: [
          "Sardar Vallabhbhai Patel International Airport (AMD) serves Ahmedabad and Gandhinagar and is about a 30-minute drive from IIT Gandhinagar in normal traffic.",
          "Ahmedabad Junction Railway Station (ADI), locally known as Kalupur station, is the main railway terminus and is well connected to the rest of India.",
          "Geeta Mandir and Paldi are major bus terminals in Ahmedabad.",
          "Gate 1 is the usual entry point for visitors unless event-specific instructions say otherwise.",
        ],
      },
      {
        title: "Cabs and autos",
        body: [
          "App-based cabs and autos are usually available from the airport, railway station, and city. Leaving campus late at night or early in the morning benefits from advance booking.",
          "For major events, reliable private transport contacts can be shared with registered participants over email or a participant messaging group.",
        ],
      },
      {
        title: "On campus",
        bullets: [
          "Academic Block 1 is a common venue for workshops and talks.",
          "The campus is walkable, but allow extra time if you are coming from the main gate, guest house, or hostels.",
          "The medical center is in the Central Arcade. Regular contact: 079-2395-1116. Emergency contact: +91-7069795000.",
        ],
      },
    ],
  },
  {
    slug: "gandhinagar-ahmedabad",
    title: "Gandhinagar and Ahmedabad",
    sections: [
      {
        title: "The region",
        body: [
          "IIT Gandhinagar is located in Gandhinagar, close to Ahmedabad. Ahmedabad has the larger airport, railway station, hotels, restaurants, museums, old-city walks, and many intercity transit options.",
          "Gandhinagar is quieter and closer to campus. Many events use either on-campus accommodation or a Gandhinagar hotel with organized shuttles.",
        ],
      },
      {
        title: "Campus areas",
        bullets: [
          "Residential area: staff and faculty housing.",
          "Student hostels: mess, coffee and juice shops, groceries, and informal gathering spaces.",
          "Academic area: classrooms, offices, labs, library, and common event venues.",
          "Sports complex: swimming, climbing wall, squash, badminton, table tennis, football, cricket, running track, gym, and a juice shop.",
          "Central Arcade: bank, ATM, post office, medical center, dry cleaning, and local shops.",
        ],
      },
      {
        title: "Food and daily needs",
        body: [
          "Gujarat is predominantly vegetarian, and food can be spicy. Event meals usually include milder options when organizers know participant needs in advance.",
          "Most campus vendors accept digital payments, but visitors should keep a little cash for exceptions.",
        ],
      },
    ],
  },
  {
    slug: "international-participants",
    title: "International Participants",
    sections: [
      {
        title: "Visa documents",
        body: [
          "Foreign nationals entering India generally need a valid passport and an appropriate Indian visa or eVisa category. Conference participants should check whether a conference visa is required for their event.",
          "If an invitation letter or government clearance letter is required, event organizers will usually collect participant details well in advance. Follow the event-specific deadline.",
        ],
      },
      {
        title: "Money and connectivity",
        bullets: [
          "The currency is the Indian Rupee (INR). Currency exchange is available at the airport and through local banks.",
          "UPI QR-code payments are common, but international visitors should keep cards enabled for international transactions and carry some cash.",
          "Eduroam works on campus. Events may also provide temporary IITGN WiFi credentials.",
          "A local or roaming cellular data connection is useful for cabs, maps, and off-campus movement.",
        ],
      },
      {
        title: "Practical information",
        bullets: [
          "India uses 230V, 50Hz power. Type C plugs are common; bring an adapter if needed.",
          "Most signage in Ahmedabad, Gandhinagar, and IITGN is available in English, and language barriers are usually manageable.",
          "Share accessibility, dietary, and accommodation needs with organizers early.",
        ],
      },
    ],
  },
];

export function getInfoPage(slug: string) {
  return infoPages.find((page) => page.slug === slug);
}
