aiinfinite latest code
This commit is contained in:
@@ -0,0 +1,268 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="description" content="Effortless Passport Data Extraction with AI Precision. Automate your passport processing and streamline your workflow with AI Infinite." />
|
||||
<meta name="keywords" content="passport extraction, AI OCR, automation, data extraction, AI Infinite" />
|
||||
<title>Passport Extraction - AI Infinite</title>
|
||||
<!-- Tailwind CSS CDN -->
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
|
||||
<!-- AOS CSS -->
|
||||
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
|
||||
<link rel="icon" href="{{ url_for('static', filename='logos/ai infinite.jpg') }}" type="image/x-icon">
|
||||
</head>
|
||||
<body class="antialiased text-gray-800">
|
||||
|
||||
<!-- Updated Navbar -->
|
||||
<nav id="navbar" class="fixed top-0 left-0 w-full bg-[#f7f7f7] backdrop-blur shadow-md z-50">
|
||||
<div class="container mx-auto px-6 py-4 flex items-center">
|
||||
<!-- Logo / Brand -->
|
||||
<a href="{{ url_for('home_logged_in') if logged_in else url_for('index') }}" class="flex items-center space-x-2 hover:opacity-90">
|
||||
<img src="{{ url_for('static', filename='logos/aiinfinite.png') }}" alt="AI Infinite Logo" class="h-12 md:h-16 w-auto" />
|
||||
<span class="text-xl font-bold text-gray-800"></span>
|
||||
</a>
|
||||
|
||||
<!-- Combined Right-side Links -->
|
||||
<div class="hidden md:flex items-center ml-auto space-x-12">
|
||||
<a href="{{ url_for('invoice', doc_type='invoice') }}" class="text-gray-700 hover:text-blue-600 font-medium">Invoice</a>
|
||||
<a href="{{ url_for('passport', doc_type='passport') }}" class="text-gray-700 hover:text-blue-600 font-medium">Passport</a>
|
||||
<a href="{{ url_for('pricing') }}" class="text-gray-700 hover:text-blue-600 font-medium">Pricing</a>
|
||||
<a href="{{ url_for('about') }}" class="text-gray-700 hover:text-blue-600 font-medium">About</a>
|
||||
{% if logged_in %}
|
||||
<a href="{{ url_for('dashboard') }}" class="text-gray-700 hover:text-blue-600 font-medium">Dashboard</a>
|
||||
<a href="{{ url_for('logout') }}" class="bg-red-600 hover:bg-red-700 text-white px-4 py-2 rounded-lg font-semibold">Logout</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('login') }}" class="text-gray-700 hover:text-blue-600 font-medium">Log in</a>
|
||||
<a href="{{ url_for('login') }}" class="bg-blue-600 hover:bg-blue-700 text-white px-5 py-2 rounded-lg font-semibold">Get Started</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Mobile Menu Button -->
|
||||
<button id="menu-btn" class="md:hidden text-gray-700 focus:outline-none">
|
||||
<i class="fas fa-bars fa-2x"></i>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Mobile Menu Content -->
|
||||
<div id="menu" class="hidden md:hidden bg-[#f7f7f7] backdrop-blur shadow-inner">
|
||||
<div class="flex flex-col space-y-2 px-6 py-4">
|
||||
<a href="{{ url_for('invoice', doc_type='invoice') }}" class="block text-gray-700 hover:text-blue-600 font-medium">Invoice</a>
|
||||
<a href="{{ url_for('passport', doc_type='passport') }}" class="block text-gray-700 hover:text-blue-600 font-medium">Passport</a>
|
||||
<a href="{{ url_for('pricing') }}" class="block text-gray-700 hover:text-blue-600 font-medium">Pricing</a>
|
||||
<a href="{{ url_for('about') }}" class="block text-gray-700 hover:text-blue-600 font-medium">About</a>
|
||||
{% if logged_in %}
|
||||
<a href="{{ url_for('dashboard') }}" class="block text-gray-700 hover:text-blue-600 font-medium">Dashboard</a>
|
||||
<a href="{{ url_for('logout') }}" class="block text-gray-700 hover:text-blue-600 font-medium">Logout</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('login') }}" class="block text-gray-700 hover:text-blue-600 font-medium">Log in</a>
|
||||
<a href="{{ url_for('login') }}" class="block bg-blue-600 hover:bg-blue-700 text-white px-5 py-2 rounded-lg font-semibold text-center">Get Started</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<!-- Hero Section (Passport page) -->
|
||||
<section class="relative h-[80vh] flex items-center justify-center text-center text-white pt-20"
|
||||
style="background-image: url('{{ url_for('static', filename='logos/Invoice_bg.png') }}');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;">
|
||||
<div class="absolute inset-0 bg-black opacity-50"></div>
|
||||
<div class="relative container mx-auto px-6 z-10" data-aos="fade-up">
|
||||
<h1 class="text-4xl sm:text-5xl font-bold mb-4">
|
||||
Fast, Accurate Passport OCR You Can Trust
|
||||
</h1>
|
||||
<p class="text-lg sm:text-2xl mb-8">
|
||||
From scanned passports to structured data in seconds—AI Infinite does the heavy lifting.
|
||||
</p>
|
||||
|
||||
{% if logged_in %}
|
||||
<a href="{{ url_for('dashboard') }}"
|
||||
class="bg-blue-600 hover:bg-green-700 text-white font-bold py-3 px-8 rounded text-xl transform hover:scale-105 transition duration-300">
|
||||
Go to Dashboard
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{{ url_for('login') }}"
|
||||
class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-8 rounded text-xl transform hover:scale-105 transition duration-300">
|
||||
Try It Now
|
||||
</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<!-- How It Works -->
|
||||
<section id="how-it-works" class="py-20 bg-gray-50">
|
||||
<div class="container mx-auto px-6">
|
||||
<h2 class="text-4xl font-bold text-center mb-12" data-aos="fade-up">How It Works</h2>
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-12">
|
||||
<div class="text-center" data-aos="fade-up" data-aos-delay="100">
|
||||
<div class="mx-auto p-6 bg-white rounded-full shadow-lg mb-4">
|
||||
<i class="fas fa-passport text-blue-600 text-4xl"></i>
|
||||
</div>
|
||||
<h3 class="text-2xl font-semibold mb-2">Upload Passport</h3>
|
||||
<p>Upload passport images or PDFs.</p>
|
||||
</div>
|
||||
<div class="text-center" data-aos="fade-up" data-aos-delay="200">
|
||||
<div class="mx-auto p-6 bg-white rounded-full shadow-lg mb-4">
|
||||
<i class="fas fa-brain text-blue-600 text-4xl"></i>
|
||||
</div>
|
||||
<h3 class="text-2xl font-semibold mb-2">AI Processing</h3>
|
||||
<p>AI extracts key details like name, date of birth, and passport number.</p>
|
||||
</div>
|
||||
<div class="text-center" data-aos="fade-up" data-aos-delay="300">
|
||||
<div class="mx-auto p-6 bg-white rounded-full shadow-lg mb-4">
|
||||
<i class="fas fa-database text-blue-600 text-4xl"></i>
|
||||
</div>
|
||||
<h3 class="text-2xl font-semibold mb-2">Get Structured Data</h3>
|
||||
<p>Receive extracted data in JSON or Excel format.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Key Features -->
|
||||
<section id="features" class="py-20">
|
||||
<div class="container mx-auto px-6">
|
||||
<h2 class="text-4xl font-bold text-center mb-12" data-aos="fade-up">Key Features</h2>
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
<!-- Feature cards identical to Invoice page -->
|
||||
<div class="p-8 bg-white rounded-xl shadow hover:shadow-lg transition" data-aos="fade-up" data-aos-delay="100">
|
||||
<div class="mb-4 text-center"><i class="fas fa-file-alt fa-3x text-blue-600"></i></div>
|
||||
<h3 class="text-2xl font-semibold mb-2 text-center">Multi-Format Support</h3>
|
||||
<p class="text-gray-600 text-center">Handles images and PDFs from any device.</p>
|
||||
</div>
|
||||
<div class="p-8 bg-white rounded-xl shadow hover:shadow-lg transition" data-aos="fade-up" data-aos-delay="200">
|
||||
<div class="mb-4 text-center"><i class="fas fa-th-large fa-3x text-blue-600"></i></div>
|
||||
<h3 class="text-2xl font-semibold mb-2 text-center">Template-Free AI/OCR</h3>
|
||||
<p class="text-gray-600 text-center">Adapts to any passport layout automatically.</p>
|
||||
</div>
|
||||
<div class="p-8 bg-white rounded-xl shadow hover:shadow-lg transition" data-aos="fade-up" data-aos-delay="300">
|
||||
<div class="mb-4 text-center"><i class="fas fa-bullseye fa-3x text-blue-600"></i></div>
|
||||
<h3 class="text-2xl font-semibold mb-2 text-center">High Accuracy</h3>
|
||||
<p class="text-gray-600 text-center">Deep‑learning + OCR minimizes extraction errors.</p>
|
||||
</div>
|
||||
<div class="p-8 bg-white rounded-xl shadow hover:shadow-lg transition" data-aos="fade-up" data-aos-delay="400">
|
||||
<div class="mb-4 text-center"><i class="fas fa-lock fa-3x text-blue-600"></i></div>
|
||||
<h3 class="text-2xl font-semibold mb-2 text-center">Secure & Compliant</h3>
|
||||
<p class="text-gray-600 text-center">End‑to‑end encryption and SOC2/ISO27001 compliant.</p>
|
||||
</div>
|
||||
<div class="p-8 bg-white rounded-xl shadow hover:shadow-lg transition" data-aos="fade-up" data-aos-delay="500">
|
||||
<div class="mb-4 text-center"><i class="fas fa-plug fa-3x text-blue-600"></i></div>
|
||||
<h3 class="text-2xl font-semibold mb-2 text-center">Seamless Integrations</h3>
|
||||
<p class="text-gray-600 text-center">Connect to your ERP, CRM, or RPA tools easily.</p>
|
||||
</div>
|
||||
<div class="p-8 bg-white rounded-xl shadow hover:shadow-lg transition" data-aos="fade-up" data-aos-delay="600">
|
||||
<div class="mb-4 text-center"><i class="fas fa-cogs fa-3x text-blue-600"></i></div>
|
||||
<h3 class="text-2xl font-semibold mb-2 text-center">Custom Field Extraction</h3>
|
||||
<p class="text-gray-600 text-center">Define and pull any fields unique to your process.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Benefits -->
|
||||
<section id="benefits" class="py-20 bg-gray-50">
|
||||
<div class="container mx-auto px-6">
|
||||
<h2 class="text-4xl font-bold text-center mb-12" data-aos="fade-up">Benefits</h2>
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
||||
<div class="text-center" data-aos="fade-up" data-aos-delay="100">
|
||||
<i class="fas fa-clock fa-3x text-blue-600 mb-4"></i>
|
||||
<h3 class="text-2xl font-semibold mb-2">Save Time</h3>
|
||||
<p>Automate passport data entry and speed up processing.</p>
|
||||
</div>
|
||||
<div class="text-center" data-aos="fade-up" data-aos-delay="200">
|
||||
<i class="fas fa-check-circle fa-3x text-blue-600 mb-4"></i>
|
||||
<h3 class="text-2xl font-semibold mb-2">Reduce Errors</h3>
|
||||
<p>Minimize manual mistakes with AI precision.</p>
|
||||
</div>
|
||||
<div class="text-center" data-aos="fade-up" data-aos-delay="300">
|
||||
<i class="fas fa-chart-line fa-3x text-blue-600 mb-4"></i>
|
||||
<h3 class="text-2xl font-semibold mb-2">Scale Operations</h3>
|
||||
<p>Handle large volumes of passports effortlessly.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- FAQ & Contact -->
|
||||
<section id="faq" class="py-20">
|
||||
<div class="container mx-auto px-6 lg:flex lg:space-x-12">
|
||||
<div class="lg:w-1/2" data-aos="fade-right">
|
||||
<h2 class="text-4xl font-bold mb-6">Frequently Asked Questions</h2>
|
||||
<div class="space-y-4">
|
||||
<details class="bg-white p-4 rounded-lg shadow">
|
||||
<summary class="font-semibold cursor-pointer">What passport formats are supported?</summary>
|
||||
<p class="mt-2 text-gray-600">We support passports from multiple countries in various formats.</p>
|
||||
</details>
|
||||
<details class="bg-white p-4 rounded-lg shadow">
|
||||
<summary class="font-semibold cursor-pointer">How accurate is the data extraction?</summary>
|
||||
<p class="mt-2 text-gray-600">Our AI achieves high accuracy rates, minimizing errors in data capture.</p>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
<div class="lg:w-1/2 mt-12 lg:mt-0" data-aos="fade-left">
|
||||
<h2 class="text-4xl font-bold mb-6">Talk to Sales</h2>
|
||||
<form action="https://example.com/contact" method="POST" class="space-y-4">
|
||||
<input type="text" name="name" placeholder="Name*" required class="w-full p-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" />
|
||||
<input type="email" name="email" placeholder="Email*" required class="w-full p-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" />
|
||||
<input type="tel" name="phone" placeholder="Phone" class="w-full p-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500" />
|
||||
<textarea name="message" rows="4" placeholder="Message" class="w-full p-3 rounded-lg border border-gray-300 focus:outline-none focus:ring-2 focus:ring-blue-500"></textarea>
|
||||
<button type="submit" class="w-full bg-blue-600 text-white font-semibold py-3 rounded-lg hover:bg-blue-700 transition">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Footer (matched to Invoice page) -->
|
||||
<footer class="bg-gray-800 text-gray-200 py-8">
|
||||
<div class="container mx-auto px-4 text-center">
|
||||
<p class="mb-2">© 2025 AI Infinite. All rights reserved.</p>
|
||||
<p class="mb-2">
|
||||
<a href="#features" class="hover:underline mx-2">Features</a>|
|
||||
<a href="#benefits" class="hover:underline mx-2">Benefits</a>|
|
||||
<a href="#faq" class="hover:underline mx-2">FAQ</a>|
|
||||
<a href="#" class="hover:underline mx-2">Blog</a>|
|
||||
<a href="#" class="hover:underline mx-2">Help Center</a>|
|
||||
<a href="#" class="hover:underline mx-2">API</a>
|
||||
</p>
|
||||
<p class="mb-2">
|
||||
<a href="#" class="hover:underline mx-2">Terms</a>|
|
||||
<a href="#" class="hover:underline mx-2">Privacy Policy</a>|
|
||||
<a href="#" class="hover:underline mx-2">Security</a>|
|
||||
<a href="#" class="hover:underline mx-2">GDPR</a>
|
||||
</p>
|
||||
<p>
|
||||
Follow us:
|
||||
<a href="#" class="mx-2 transform hover:scale-125 transition duration-300"><i class="fab fa-twitter"></i></a>
|
||||
<a href="#" class="mx-2 transform hover:scale-125 transition duration-300"><i class="fab fa-linkedin"></i></a>
|
||||
<a href="#" class="mx-2 transform hover:scale-125 transition duration-300"><i class="fab fa-facebook"></i></a>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<!-- Scripts -->
|
||||
<script>
|
||||
// Mobile menu toggle
|
||||
document.getElementById('menu-btn').addEventListener('click', () => {
|
||||
document.getElementById('menu').classList.toggle('hidden');
|
||||
});
|
||||
// Navbar shadow on scroll
|
||||
const navbar = document.getElementById('navbar');
|
||||
window.addEventListener('scroll', () => {
|
||||
if (window.scrollY > 50) {
|
||||
navbar.classList.add('shadow-lg');
|
||||
} else {
|
||||
navbar.classList.remove('shadow-lg');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<!-- AOS JS -->
|
||||
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
|
||||
<script>
|
||||
AOS.init({ duration: 800, once: true });
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user