66 lines
3.6 KiB
PHP
66 lines
3.6 KiB
PHP
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css" integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin=""/>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link href="assets/css/custom.css?v=<?php echo time(); ?>" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
|
|
<div class="hero">
|
|
<div class="container">
|
|
<h1>Your Next Adventure Awaits</h1>
|
|
<p class="lead">Discover Poland with AI.</p>
|
|
<a href="saved.php" class="btn btn-light">View Saved Suggestions</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container mt-n5">
|
|
<div class="row justify-content-center">
|
|
<div class="col-md-8">
|
|
<div class="card p-4 shadow-lg">
|
|
<div class="card-body">
|
|
<form id="suggestion-form">
|
|
<div class="mb-4 text-center">
|
|
<label for="persona" class="form-label fs-5 mb-2">Choose your guide:</label>
|
|
<select class="form-select form-select-lg mb-3" id="persona">
|
|
<option value="travel_agent">Travel Agent</option>
|
|
<option value="historian">Historian</option>
|
|
<option value="foodie">Foodie</option>
|
|
<option value="adventurer">Adventurer</option>
|
|
</select>
|
|
<label for="query" class="form-label fs-4 mb-3">What are you looking for?</label>
|
|
<input type="text" class="form-control form-control-lg" id="query" placeholder="e.g., a cozy cafe in Krakow">
|
|
</div>
|
|
<div class="text-center">
|
|
<button type="submit" class="btn btn-primary btn-lg px-5">Get Suggestion</button>
|
|
<button type="button" id="lucky-button" class="btn btn-secondary btn-lg px-5">I'm Feeling Lucky</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row justify-content-center mt-4">
|
|
<div class="col-md-8">
|
|
<div id="error-message" class="alert alert-danger alert-dismissible fade show" role="alert" style="display: none;">
|
|
<span id="error-text"></span>
|
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
<div id="loading" class="text-center">
|
|
<div class="spinner-border text-primary" role="status">
|
|
<span class="visually-hidden">Loading...</span>
|
|
</div>
|
|
<p>Thinking...</p>
|
|
<p id="fun-fact" class="text-muted mt-2"></p>
|
|
</div>
|
|
<div id="chat-container" class="mt-4"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js" integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" crossorigin=""></script>
|
|
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
|
</body>
|
|
</html> |