Learn by Directing AI
All materials

index.ejs

ejsindex.ejs
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title><%= title %></title>
  <style>
    body { font-family: Arial, sans-serif; margin: 0; padding: 20px; background: #f5f5f0; }
    .header { background: #2c5530; color: white; padding: 20px; margin: -20px -20px 20px; }
    .header h1 { margin: 0; font-size: 1.5em; }
    .header p { margin: 5px 0 0; opacity: 0.8; }
    .search-box { margin: 20px 0; }
    .search-box input { padding: 10px; width: 300px; border: 1px solid #ccc; border-radius: 4px; }
    .search-box button { padding: 10px 20px; background: #2c5530; color: white; border: none; border-radius: 4px; cursor: pointer; }
    .info { background: white; padding: 20px; border-radius: 8px; margin: 10px 0; }
  </style>
</head>
<body>
  <div class="header">
    <h1>Bhutan Tourism Council</h1>
    <p>Tourism Services Portal</p>
  </div>
  <div class="search-box">
    <form action="/search" method="GET">
      <input type="text" name="q" placeholder="Search bookings by name or reference...">
      <button type="submit">Search</button>
    </form>
  </div>
  <div class="info">
    <h2>Welcome</h2>
    <p>This portal provides booking coordination, travel information, and quality report access for registered tourists visiting Bhutan.</p>
  </div>
</body>
</html>