landmark / index.html
bijifa's picture
Add 3 files
f22bb38 verified
Raw History Blame Contribute Delete
21.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Landmark Navigator | University Campus Guide</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
background-color: #f8fafc;
}
.hero-gradient {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.landmark-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.map-container {
height: 500px;
border-radius: 1rem;
overflow: hidden;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
}
70% {
transform: scale(1.05);
box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
}
100% {
transform: scale(1);
box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
}
}
.upload-area {
border: 2px dashed #cbd5e1;
transition: all 0.3s ease;
}
.upload-area:hover {
border-color: #818cf8;
background-color: #f8fafc;
}
.tech-icon {
transition: all 0.3s ease;
}
.tech-icon:hover {
transform: scale(1.1);
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="bg-white shadow-lg">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<div class="flex-shrink-0 flex items-center">
<i class="fas fa-landmark text-indigo-600 text-2xl mr-2"></i>
<span class="text-xl font-bold text-gray-900">Landmark Navigator</span>
</div>
</div>
<div class="hidden md:ml-6 md:flex md:items-center md:space-x-8">
<a href="#features" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Features</a>
<a href="#how-it-works" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">How It Works</a>
<a href="#demo" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Try Demo</a>
<a href="#tech" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Technology</a>
<a href="#contact" class="text-gray-900 hover:text-indigo-600 px-3 py-2 text-sm font-medium">Contact</a>
</div>
<div class="-mr-2 flex items-center md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" aria-controls="mobile-menu" aria-expanded="false" id="mobile-menu-button">
<span class="sr-only">Open main menu</span>
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div class="hidden md:hidden" id="mobile-menu">
<div class="pt-2 pb-3 space-y-1">
<a href="#features" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Features</a>
<a href="#how-it-works" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">How It Works</a>
<a href="#demo" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Try Demo</a>
<a href="#tech" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Technology</a>
<a href="#contact" class="block px-3 py-2 text-base font-medium text-gray-900 hover:text-indigo-600 hover:bg-gray-50">Contact</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<div class="hero-gradient">
<div class="max-w-7xl mx-auto py-16 px-4 sm:py-24 sm:px-6 lg:px-8">
<div class="text-center">
<h1 class="text-4xl font-extrabold tracking-tight text-white sm:text-5xl lg:text-6xl">
Discover Your Campus Landmarks
</h1>
<p class="mt-6 max-w-3xl mx-auto text-xl text-indigo-100">
Landmark Navigator uses advanced image classification to help students and visitors explore university landmarks with ease.
</p>
<div class="mt-10">
<a href="#demo" class="inline-flex items-center px-6 py-3 border border-transparent text-base font-medium rounded-md text-indigo-700 bg-white hover:bg-indigo-50 pulse-animation">
Try Live Demo
<i class="fas fa-arrow-down ml-2"></i>
</a>
</div>
</div>
</div>
</div>
<!-- Features Section -->
<div class="py-12 bg-white" id="features">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Features</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
Explore Campus Like Never Before
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
Landmark Navigator transforms how you experience university landmarks with these powerful features.
</p>
</div>
<div class="mt-10">
<div class="grid grid-cols-1 gap-10 sm:grid-cols-2 lg:grid-cols-3">
<!-- Feature 1 -->
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
<div class="p-6">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
<i class="fas fa-map-marked-alt text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900">Interactive Campus Map</h3>
<p class="mt-2 text-base text-gray-500">
Visualize all landmarks on an interactive map with detailed information about each location.
</p>
</div>
</div>
<!-- Feature 2 -->
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
<div class="p-6">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
<i class="fas fa-camera-retro text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900">Image Recognition</h3>
<p class="mt-2 text-base text-gray-500">
Snap a photo of any landmark and instantly get information about its history and significance.
</p>
</div>
</div>
<!-- Feature 3 -->
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
<div class="p-6">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
<i class="fas fa-route text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900">Guided Tours</h3>
<p class="mt-2 text-base text-gray-500">
Choose from pre-planned tours or create your own custom route through campus landmarks.
</p>
</div>
</div>
<!-- Feature 4 -->
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
<div class="p-6">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
<i class="fas fa-history text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900">Historical Context</h3>
<p class="mt-2 text-base text-gray-500">
Learn about the history and significance of each landmark with rich multimedia content.
</p>
</div>
</div>
<!-- Feature 5 -->
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
<div class="p-6">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
<i class="fas fa-language text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900">Multilingual Support</h3>
<p class="mt-2 text-base text-gray-500">
Access landmark information in multiple languages to accommodate international visitors.
</p>
</div>
</div>
<!-- Feature 6 -->
<div class="landmark-card transition-all duration-300 ease-in-out bg-white rounded-lg shadow-md overflow-hidden">
<div class="p-6">
<div class="flex items-center justify-center h-12 w-12 rounded-md bg-indigo-100 text-indigo-600 mb-4">
<i class="fas fa-bullhorn text-xl"></i>
</div>
<h3 class="text-lg font-medium text-gray-900">Event Integration</h3>
<p class="mt-2 text-base text-gray-500">
Discover events happening near landmarks and get notifications about special campus activities.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- How It Works Section -->
<div class="py-12 bg-gray-50" id="how-it-works">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Scenarios</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
How Landmark Navigator Helps
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
Explore real-world scenarios where Landmark Navigator enhances the campus experience.
</p>
</div>
<div class="mt-10">
<div class="grid grid-cols-1 gap-10 md:grid-cols-3">
<!-- Scenario 1 -->
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
<i class="fas fa-user-graduate text-white text-xl"></i>
</div>
<h3 class="ml-3 text-lg font-medium text-gray-900">New Student Orientation</h3>
</div>
<p class="mt-2 text-gray-600">
New students can quickly familiarize themselves with campus landmarks, reducing the stress of navigating a new environment. The app helps them locate important buildings and points of interest.
</p>
</div>
<!-- Scenario 2 -->
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
<i class="fas fa-users text-white text-xl"></i>
</div>
<h3 class="ml-3 text-lg font-medium text-gray-900">Campus Tours</h3>
</div>
<p class="mt-2 text-gray-600">
Tour guides can provide richer experiences by instantly accessing detailed information about each landmark. Prospective students get a comprehensive view of campus life and history.
</p>
</div>
<!-- Scenario 3 -->
<div class="bg-white p-6 rounded-lg shadow-md">
<div class="flex items-center mb-4">
<div class="flex-shrink-0 bg-indigo-500 rounded-md p-3">
<i class="fas fa-map-signs text-white text-xl"></i>
</div>
<h3 class="ml-3 text-lg font-medium text-gray-900">Self-Guided Exploration</h3>
</div>
<p class="mt-2 text-gray-600">
Visitors can explore at their own pace with detailed information available for each landmark they encounter. The app provides context and stories that bring the campus to life.
</p>
</div>
</div>
</div>
</div>
</div>
<!-- Demo Section -->
<div class="py-12 bg-white" id="demo">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center mb-12">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Try It Out</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text-4xl">
Experience Landmark Navigator
</p>
<p class="mt-4 max-w-2xl text-xl text-gray-500 lg:mx-auto">
Upload an image of a campus landmark to see how our classification works.
</p>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<!-- Image Upload -->
<div class="bg-gray-50 p-6 rounded-lg">
<form id="upload-form" action="/predict" method="POST" enctype="multipart/form-data">
<div class="upload-area border-dashed rounded-lg p-8 text-center cursor-pointer" id="upload-container">
<i class="fas fa-cloud-upload-alt text-4xl text-gray-400 mb-4"></i>
<h3 class="text-lg font-medium text-gray-700">Upload Landmark Image</h3>
<p class="mt-1 text-sm text-gray-500">Drag & drop your image here, or click to browse</p>
<input type="file" id="file-input" name="image" class="hidden" accept="image/*" required>
</div>
<div class="mt-4">
<button type="submit" id="classify-btn" class="w-full bg-indigo-600 hover:bg-indigo-700 text-white font-medium py-2 px-4 rounded-md flex items-center justify-center disabled:opacity-50" disabled>
<i class="fas fa-search mr-2"></i> Classify Landmark
</button>
</div>
</form>
</div>
<!-- Results Display -->
<div class="bg-gray-50 p-6 rounded-lg">
<h3 class="text-lg font-medium text-gray-900 mb-4">Classification Results</h3>
<div id="preview-container" class="mb-4 hidden">
<img id="preview-image" src="#" alt="Preview" class="w-full h-48 object-cover rounded-md">
</div>
<div id="results-container" class="hidden">
<div class="bg-white p-4 rounded-md shadow-sm">
<div class="flex items-center">
<div class="flex-shrink-0 bg-indigo-100 rounded-full p-3">
<i class="fas fa-landmark text-indigo-600"></i>
</div>
<div class="ml-4">
<h4 class="text-lg font-medium text-gray-900" id="landmark-name">Main Administration Building</h4>
<p class="text-gray-500" id="confidence-level">98% confidence</p>
</div>
</div>
<div class="mt-4">
<p class="text-gray-700" id="landmark-description">
The Main Administration Building, constructed in 1927, is the oldest building on campus. It features neoclassical architecture and houses the university president's office.
</p>
</div>
<div class="mt-4">
<div class="flex items-center text-sm text-gray-500">
<i class="fas fa-map-marker-alt mr-1"></i>
<span id="landmark-location">Central Quad, near the fountain</span>
</div>
</div>
</div>
</div>
<div id="placeholder" class="text-center py-12">
<i class="fas fa-landmark text-4xl text-gray-300 mb-4"></i>
<p class="text-gray-500">Upload an image to see classification results</p>
</div>
</div>
</div>
<!-- Interactive Map -->
<div class="mt-12">
<h3 class="text-lg font-medium text-gray-900 mb-4 text-center">Campus Landmarks Map</h3>
<div class="map-container bg-gray-200 relative">
<!-- This would be replaced with an actual map implementation in a real app -->
<div class="absolute inset-0 flex items-center justify-center">
<div class="text-center">
<i class="fas fa-map-marked-alt text-5xl text-gray-400 mb-4"></i>
<p class="text-gray-600">Interactive campus map would appear here</p>
<p class="text-gray-500 text-sm mt-2">Showing all classified landmarks with navigation routes</p>
</div>
</div>
<!-- Simulated landmarks on the map -->
<div class="absolute top-1/4 left-1/4 w-4 h-4 bg-red-500 rounded-full animate-pulse" data-landmark="library" title="University Library"></div>
<div class="absolute top-1/3 right-1/3 w-4 h-4 bg-blue-500 rounded-full animate-pulse" data-landmark="admin" title="Admin Building"></div>
<div class="absolute bottom-1/4 left-1/2 w-4 h-4 bg-green-500 rounded-full animate-pulse" data-landmark="fountain" title="Central Fountain"></div>
<div class="absolute top-1/2 right-1/4 w-4 h-4 bg-yellow-500 rounded-full animate-pulse" data-landmark="auditorium" title="Great Auditorium"></div>
</div>
</div>
</div>
</div>
<!-- Technology Stack Section -->
<div class="py-12 bg-gray-50" id="tech">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="lg:text-center mb-12">
<h2 class="text-base text-indigo-600 font-semibold tracking-wide uppercase">Technology</h2>
<p class="mt-2 text-3xl leading-8 font-extrabold tracking-tight text-gray-900 sm:text
</html>