final_project_html / chatbot.html
pragyarama's picture
Update chatbot.html
5f0f50d verified
<!DOCTYPE html>
<html lang="en">
<head>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<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@300;400;500;600;700&display=swap" rel="stylesheet">
<script>
window.addEventListener('scroll', () => {
const navbar = document.querySelector('.navbar');
if (window.scrollY > 50) {
navbar.classList.add('bg-white/80', 'shadow-md');
} else {
navbar.classList.remove('bg-white/80', 'shadow-md');
}
});
</script>
<style>
body {
font-family: 'Poppins', sans-serif;
padding-top: 5rem; /* offset for fixed navbar */
}
.main-bg {
background: linear-gradient(to bottom, #fcf1db 0%, #fffaf3 100%);
position: relative;
min-height: 100vh;
}
.navbar {
backdrop-filter: blur(12px);
background-color: rgba(255, 255, 255, 0.7);
color: #fcf1db;
padding: 1rem 1.5rem;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 50;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-link {
position: relative;
text-decoration: none;
color: #608b4d;
font-weight: 500;
margin-left: 2rem;
}
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: #c40a0a;
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.nav-link.active::after {
width: 100%;
}
.clip-path-diagonal {
clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
</style>
</head>
<body class="main-bg">
<!-- NAVIGATION BAR -->
<nav class="navbar">
<a href="index.html" class="flex items-center space-x-2 font-bold text-xl" style="text-decoration: none;">
<img src="logo.png" alt="Logo" class="h-12 w-12 object-contain">
<span style="color: #608b4d;">Roam-eo & </span><span style="color: #0c265b;">Juli-jet</span>
</a>
<div class="flex space-x-8">
<a href="index.html" class="nav-link" style="color: #0c265b;">Home</a>
<a href="#" class="nav-link active">Trip Planner</a>
</div>
</nav>
<main class="max-w-screen-xl mx-auto p-6 mt-24 text-[#0c265b]">
<h1 class="text-4xl font-bold mb-6 text-center">Trip Planner</h1>
<div class="flex flex-col lg:flex-row gap-8">
<div class="flex-1">
<iframe
src="https://roameoandjulijet-final-project-code.hf.space?embed=true"
frameborder="0"
width="100%"
height="1300px">
</iframe>
</div>
<div class="w-full lg:w-1/3 bg-white/70 rounded-xl shadow-lg p-6 text-base leading-relaxed">
<h2 class="text-2xl font-semibold mb-4 text-[#608b4d]">How to Use</h2>
<ol class="list-decimal pl-5 space-y-2">
<li>Take the survey by filling out your name and the country you are planning to visit.</li>
<li>Submit your response and refer to Miles for any questions about outfits, travel tips, or foods to eat!</li>
</ol>
</div>
</main>
</body>
<footer style="background-color: #0c265b;" class="text-white py-12 px-4">
<div class="max-w-7xl mx-auto text-center">
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div>
<h3 class="text-xl font-bold mb-1">Roam-eo & Juli-jet</h3>
<p class="text-base italic text-gray-300 -mt-1">Love at first sight</p>
</div>
<div>
<h4 class="font-bold mb-4">Quick Links</h4>
<ul class="space-y-2">
<li><a href="index.html" class="text-gray-400 hover:text-white transition duration-300">Home</a></li>
<li><a href="chatbot.html" class="text-gray-400 hover:text-white transition duration-300">Trip Planner</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Our Mission</h4>
<p class="text-gray-400">Allowing you to travel anywhere without a worry.</p>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2025 Roam-eo & Juli-jet. All rights reserved.</p>
</div>
</div>
</footer>
</html>