Spaces:
Configuration error
Configuration error
redesign
Browse filesFiles changed (4)
- components/navbar.js+12-3
- index.html+37-11
- script.js+23-3
- style.css+15-1
8 unmodified lines9101112131415161718198 unmodified linesdisplay: flex;justify-content: space-between;align-items: center;box-shadow: 0 1px 3px rgba(0,0,0,0.1);position: relative;z-index: 50;}.logo {color: #1F2937;font-weight: 700;font-size: 1.25rem;8 unmodified lines9101112131415161718192021222324252627288 unmodified linesdisplay: flex;justify-content: space-between;align-items: center;box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);position: fixed;width: 100%;top: 0;z-index: 50;transition: all 0.3s ease;}nav.scrolled {padding: 0.5rem 2rem;background: rgba(255, 255, 255, 0.95);backdrop-filter: blur(10px);}.logo {color: #1F2937;font-weight: 700;font-size: 1.25rem;
22 unmodified lines23242526272829303132333435363738394041424344454622 unmodified lines</head><body class="bg-gray-50 min-h-screen flex flex-col"><custom-navbar></custom-navbar><main class="flex-grow"><section class="relative py-20 overflow-hidden"><div class="absolute inset-0 bg-gradient-to-r from-primary-500 to-secondary-500 opacity-10"></div><div class="container mx-auto px-4 relative z-10"><div class="max-w-3xl mx-auto text-center"><h1 class="text-4xl md:text-5xl font-bold text-gray-900 mb-6">Track Lost & Found Items</h1><p class="text-xl text-gray-600 mb-10">A simple way to report, verify and manage lost or found items in your organization.</p><div class="flex flex-col sm:flex-row justify-center gap-4"><a href="/login.html" class="bg-primary-500 hover:bg-primary-600 text-white font-medium py-3 px-6 rounded-lg transition duration-200">Login</a><a href="/register.html" class="bg-secondary-500 hover:bg-secondary-600 text-white font-medium py-3 px-6 rounded-lg transition duration-200">Register</a></div></div></div></section><section class="py-20 bg-white"><div class="container mx-auto px-4"><div class="max-w-5xl mx-auto"><h2 class="text-3xl font-bold text-center text-gray-900 mb-12">How It Works</h2><div class="grid md:grid-cols-3 gap-8">22 unmodified lines232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717222 unmodified lines</head><body class="bg-gray-50 min-h-screen flex flex-col"><custom-navbar></custom-navbar><main class="flex-grow"><!-- Hero Section --><section class="relative py-32 overflow-hidden bg-gradient-to-r from-blue-600 to-indigo-700"><div class="container mx-auto px-6 relative z-10"><div class="max-w-4xl mx-auto text-center"><h1 class="text-4xl md:text-6xl font-bold text-white mb-6">Never Lose Track Again</h1><p class="text-xl text-blue-100 mb-10 max-w-2xl mx-auto">Our advanced lost & found system helps organizations efficiently manage and reunite lost items with their owners.</p><div class="flex flex-col sm:flex-row justify-center gap-4"><a href="/login.html" class="bg-white text-blue-600 hover:bg-blue-50 font-medium py-3 px-8 rounded-full transition duration-200 shadow-lg">Login</a><a href="/register.html" class="bg-transparent border-2 border-white text-white hover:bg-white hover:bg-opacity-10 font-medium py-3 px-8 rounded-full transition duration-200">Register</a></div></div><div class="mt-16 flex justify-center"><img src="http://static.photos/technology/1024x576/1" alt="App screenshot" class="rounded-xl shadow-2xl border-8 border-white border-opacity-20 w-full max-w-3xl"></div></div></section><!-- Stats Section --><section class="py-16 bg-white"><div class="container mx-auto px-6"><div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center"><div class="p-6"><div class="text-4xl font-bold text-blue-600 mb-2">10,000+</div><div class="text-gray-600">Items Recovered</div></div><div class="p-6"><div class="text-4xl font-bold text-blue-600 mb-2">95%</div><div class="text-gray-600">Success Rate</div></div><div class="p-6"><div class="text-4xl font-bold text-blue-600 mb-2">500+</div><div class="text-gray-600">Organizations</div></div><div class="p-6"><div class="text-4xl font-bold text-blue-600 mb-2">24/7</div><div class="text-gray-600">Support</div></div></div></div></section><section class="py-20 bg-gray-50"><div class="container mx-auto px-4"><div class="max-w-5xl mx-auto"><h2 class="text-3xl font-bold text-center text-gray-900 mb-12">How It Works</h2><div class="grid md:grid-cols-3 gap-8">
12345678// Shared functions across all pagesdocument.addEventListener('DOMContentLoaded', () => {console.log('Lost & Found Tracker Pro loaded');// Initialize tooltipsconst tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));tooltipTriggerList.map(function (tooltipTriggerEl) {return new bootstrap.Tooltip(tooltipTriggerEl);12345678910111213141516171819202122232425262728// Shared functions across all pagesdocument.addEventListener('DOMContentLoaded', () => {// Navbar scroll effectconst navbar = document.querySelector('custom-navbar').shadowRoot.querySelector('nav');window.addEventListener('scroll', () => {if (window.scrollY > 50) {navbar.classList.add('scrolled');} else {navbar.classList.remove('scrolled');}});// Animation triggersconst animateElements = document.querySelectorAll('.animate-on-scroll');const observer = new IntersectionObserver((entries) => {entries.forEach(entry => {if (entry.isIntersecting) {entry.target.classList.add('animate-fadeInUp');observer.unobserve(entry.target);}});}, { threshold: 0.1 });animateElements.forEach(el => observer.observe(el));// Initialize tooltipsconst tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));tooltipTriggerList.map(function (tooltipTriggerEl) {return new bootstrap.Tooltip(tooltipTriggerEl);
123456789@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');body {font-family: 'Inter', sans-serif;}/* Custom scrollbar */::-webkit-scrollbar {width: 8px;1234567891011121314151617181920212223@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');body {font-family: 'Inter', sans-serif;scroll-behavior: smooth;}@keyframes fadeInUp {from {opacity: 0;transform: translateY(20px);}to {opacity: 1;transform: translateY(0);}}.animate-fadeInUp {animation: fadeInUp 0.8s ease-out forwards;}/* Custom scrollbar */::-webkit-scrollbar {width: 8px;
components/navbar.js+12-3
index.html+37-11
script.js+23-3
style.css+15-1