Call the software RepEx.
Browse filesFiles changed (6)
- README.md+8-5
- components/footer.jsAdded+93
- components/navbar.jsAdded+69
- index.html+166-19
- script.jsAdded+34
- style.css+26-18
12345678910---title: Repex Report Expressemoji: 😻colorFrom: bluecolorTo: yellowsdk: staticpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference12345678910111213---title: RepEx - Report Express 🚀colorFrom: graycolorTo: blueemoji: 🐳sdk: staticpinned: falsetags:- deepsite-v3---# Welcome to your new DeepSite project!This project was created with [DeepSite](https://huggingface.co/deepsite).
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293class CustomFooter extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` <style> :host { display: block; width: 100%; } footer { background-color: #f8fafc; border-top: 1px solid #e2e8f0; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; } .footer-link:hover { color: #3b82f6; } .social-icon { transition: all 0.2s ease; } .social-icon:hover { transform: translateY(-2px); } </style> <footer class="py-8"> <div class="footer-container"> <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> <div> <h3 class="text-lg font-semibold text-gray-800 mb-4">RepEx</h3> <p class="text-gray-600 mb-4">Express your reports with our AI-powered automation.</p><div class="flex space-x-4"> <a href="#" class="social-icon text-gray-600 hover:text-primary"> <i data-feather="twitter"></i> </a> <a href="#" class="social-icon text-gray-600 hover:text-primary"> <i data-feather="linkedin"></i> </a> <a href="#" class="social-icon text-gray-600 hover:text-primary"> <i data-feather="github"></i> </a> </div> </div> <div> <h4 class="text-md font-medium text-gray-800 mb-4">Product</h4> <ul class="space-y-2"> <li><a href="#" class="footer-link text-gray-600">Features</a></li> <li><a href="#" class="footer-link text-gray-600">Pricing</a></li> <li><a href="#" class="footer-link text-gray-600">Templates</a></li> <li><a href="#" class="footer-link text-gray-600">Integrations</a></li> </ul> </div> <div> <h4 class="text-md font-medium text-gray-800 mb-4">Resources</h4> <ul class="space-y-2"> <li><a href="#" class="footer-link text-gray-600">Documentation</a></li> <li><a href="#" class="footer-link text-gray-600">API Reference</a></li> <li><a href="#" class="footer-link text-gray-600">Community</a></li> <li><a href="#" class="footer-link text-gray-600">Support</a></li> </ul> </div> <div> <h4 class="text-md font-medium text-gray-800 mb-4">Company</h4> <ul class="space-y-2"> <li><a href="#" class="footer-link text-gray-600">About</a></li> <li><a href="#" class="footer-link text-gray-600">Blog</a></li> <li><a href="#" class="footer-link text-gray-600">Careers</a></li> <li><a href="#" class="footer-link text-gray-600">Contact</a></li> </ul> </div> </div> <div class="border-t border-gray-200 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center"> <p class="text-gray-600 mb-4 md:mb-0">© 2023 RepEx. All rights reserved.</p><div class="flex space-x-6"> <a href="#" class="footer-link text-gray-600">Privacy Policy</a> <a href="#" class="footer-link text-gray-600">Terms of Service</a> <a href="#" class="footer-link text-gray-600">Cookies</a> </div> </div> </div> </footer> `; }}
customElements.define('custom-footer', CustomFooter);123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869class CustomNavbar extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` <style> :host { display: block; width: 100%; } nav { background-color: white; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .nav-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; } .nav-link:hover { color: #3b82f6; } .mobile-menu { transition: all 0.3s ease; } </style> <nav class="py-4"> <div class="nav-container flex justify-between items-center"> <a href="/" class="flex items-center"> <i data-feather="clipboard" class="text-primary mr-2"></i> <span class="text-xl font-bold text-gray-800">RepEx</span></a> <div class="hidden md:flex items-center space-x-8"> <a href="/" class="nav-link text-gray-700 font-medium">Home</a> <a href="#upload" class="nav-link text-gray-700 font-medium">Upload</a> <a href="#" class="nav-link text-gray-700 font-medium">Reports</a> <a href="#" class="nav-link text-gray-700 font-medium">Templates</a> <a href="#" class="nav-link text-gray-700 font-medium">Account</a> </div> <div class="md:hidden"> <button id="mobile-menu-button" class="text-gray-700"> <i data-feather="menu"></i> </button> </div> </div> <!-- Mobile menu --> <div id="mobile-menu" class="mobile-menu hidden md:hidden bg-white py-2 px-4 shadow-md"> <a href="/" class="block py-2 text-gray-700">Home</a> <a href="#upload" class="block py-2 text-gray-700">Upload</a> <a href="#" class="block py-2 text-gray-700">Reports</a> <a href="#" class="block py-2 text-gray-700">Templates</a> <a href="#" class="block py-2 text-gray-700">Account</a> </div> </nav> `; // Add mobile menu toggle functionality const menuButton = this.shadowRoot.getElementById('mobile-menu-button'); const mobileMenu = this.shadowRoot.getElementById('mobile-menu'); menuButton.addEventListener('click', () => { mobileMenu.classList.toggle('hidden'); }); }}
customElements.define('custom-navbar', CustomNavbar);12345678910111213141516171819<!doctype html><html><head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" /><title>My static Space</title><link rel="stylesheet" href="style.css" /></head><body><div class="card"><h1>Welcome to your static Space!</h1><p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p><p>Also don't forget to check the<a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.</p></div></body></html>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>RepEx - Report Express</title><link rel="stylesheet" href="style.css"><script src="https://cdn.tailwindcss.com"></script><script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script><script src="https://unpkg.com/feather-icons"></script><script>tailwind.config = {theme: {extend: {colors: {primary: '#3b82f6',secondary: '#10b981'}}}}</script></head><body class="bg-gray-50 min-h-screen"><custom-navbar></custom-navbar><main class="container mx-auto px-4 py-8"><div class="max-w-4xl mx-auto"><!-- Hero Section --><section class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-800 mb-4">RepEx - Report Express</h1><p class="text-xl text-gray-600 mb-8">Upload photos and documents to generate professional job reports instantly</p><div class="flex justify-center gap-4"><a href="#upload" class="bg-primary hover:bg-primary-600 text-white px-6 py-3 rounded-lg font-medium transition duration-200 flex items-center gap-2"><i data-feather="upload"></i> Start Uploading</a><a href="#" class="border border-primary text-primary hover:bg-primary-50 px-6 py-3 rounded-lg font-medium transition duration-200 flex items-center gap-2"><i data-feather="info"></i> Learn More</a></div></section><!-- Features Grid --><section class="mb-16"><h2 class="text-2xl font-semibold text-gray-800 mb-8 text-center">How It Works</h2><div class="grid md:grid-cols-3 gap-8"><div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-200"><div class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center mb-4"><i data-feather="camera" class="text-primary"></i></div><h3 class="text-lg font-medium text-gray-800 mb-2">Capture Site Photos</h3><p class="text-gray-600">Take photos of structural elements during your inspection.</p></div><div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-200"><div class="w-12 h-12 bg-secondary-100 rounded-full flex items-center justify-center mb-4"><i data-feather="upload-cloud" class="text-secondary"></i></div><h3 class="text-lg font-medium text-gray-800 mb-2">Upload Documents</h3><p class="text-gray-600">Add inspection notes, measurements, and supporting documents.</p></div><div class="bg-white p-6 rounded-xl shadow-sm hover:shadow-md transition duration-200"><div class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center mb-4"><i data-feather="file-text" class="text-primary"></i></div><h3 class="text-lg font-medium text-gray-800 mb-2">Generate Report</h3><p class="text-gray-600">Get a professionally formatted report ready for submission.</p></div></div></section><!-- Upload Section --><section id="upload" class="mb-16"><div class="bg-white rounded-xl shadow-sm p-8"><h2 class="text-2xl font-semibold text-gray-800 mb-6">Upload Your Files</h2><div class="border-2 border-dashed border-gray-300 rounded-xl p-8 text-center mb-6 hover:border-primary transition duration-200"><div class="w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center mx-auto mb-4"><i data-feather="upload" class="text-primary"></i></div><h3 class="text-lg font-medium text-gray-800 mb-2">Drag & Drop Files Here</h3><p class="text-gray-600 mb-4">or</p><button class="bg-primary hover:bg-primary-600 text-white px-6 py-2 rounded-lg font-medium transition duration-200">Browse Files</button><p class="text-sm text-gray-500 mt-4">Supports JPG, PNG, PDF, DOCX (Max 50MB each)</p></div><div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6"><div><label class="block text-gray-700 font-medium mb-2">Project Name</label><input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-primary focus:border-primary"></div><div><label class="block text-gray-700 font-medium mb-2">Inspection Date</label><input type="date" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-primary focus:border-primary"></div></div><div class="mb-6"><label class="block text-gray-700 font-medium mb-2">Additional Notes</label><textarea rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-primary focus:border-primary"></textarea></div><button class="w-full bg-secondary hover:bg-secondary-600 text-white px-6 py-3 rounded-lg font-medium transition duration-200 flex items-center justify-center gap-2"><i data-feather="file-plus"></i> Generate Report</button></div></section><!-- Recent Reports --><section class="mb-12"><h2 class="text-2xl font-semibold text-gray-800 mb-6">Recent Reports</h2><div class="bg-white rounded-xl shadow-sm overflow-hidden"><div class="overflow-x-auto"><table class="min-w-full divide-y divide-gray-200"><thead class="bg-gray-50"><tr><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Report ID</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Project</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Status</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th></tr></thead><tbody class="bg-white divide-y divide-gray-200"><tr><td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#RPT-2023-001</td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Bridge Inspection - Main Span</td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-10-15</td><td class="px-6 py-4 whitespace-nowrap"><span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Completed</span></td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><a href="#" class="text-primary hover:text-primary-600 mr-3"><i data-feather="download"></i></a><a href="#" class="text-primary hover:text-primary-600"><i data-feather="edit"></i></a></td></tr><tr><td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900">#RPT-2023-002</td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">Building Facade Assessment</td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">2023-10-18</td><td class="px-6 py-4 whitespace-nowrap"><span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-800">Processing</span></td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500"><a href="#" class="text-gray-400 mr-3"><i data-feather="download"></i></a><a href="#" class="text-primary hover:text-primary-600"><i data-feather="edit"></i></a></td></tr></tbody></table></div></div></section></div></main><custom-footer></custom-footer><script src="components/navbar.js"></script><script src="components/footer.js"></script><script src="script.js"></script><script>feather.replace();</script><script src="https://huggingface.co/deepsite/deepsite-badge.js"></script></body></html>
12345678910111213141516171819202122232425262728293031323334// Main application scriptdocument.addEventListener('DOMContentLoaded', function() { // Initialize file upload functionality const dropzone = document.querySelector('.border-dashed'); if (dropzone) { dropzone.addEventListener('dragover', (e) => { e.preventDefault(); dropzone.classList.add('dropzone-active'); }); dropzone.addEventListener('dragleave', () => { dropzone.classList.remove('dropzone-active'); }); dropzone.addEventListener('drop', (e) => { e.preventDefault(); dropzone.classList.remove('dropzone-active'); handleFiles(e.dataTransfer.files); }); } function handleFiles(files) { console.log('Files to upload:', files); // Here you would typically handle the file upload process // Could be an AJAX call to your backend or processing in the browser } // Initialize tooltips for icons const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')); tooltipTriggerList.map(function (tooltipTriggerEl) { return new bootstrap.Tooltip(tooltipTriggerEl); });});12345678910111213141516171819202122232425262728body {padding: 2rem;font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;}h1 {font-size: 16px;margin-top: 0;}p {color: rgb(107, 114, 128);font-size: 15px;margin-bottom: 10px;margin-top: 5px;}.card {max-width: 620px;margin: 0 auto;padding: 16px;border: 1px solid lightgray;border-radius: 16px;}.card p:last-child {margin-bottom: 0;}123456789101112131415161718192021222324252627282930313233343536/* Custom styles that can't be easily done with Tailwind */@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');body {font-family: 'Inter', sans-serif;}/* Custom file upload dropzone */.dropzone-active {border-color: #3b82f6;background-color: #f0f7ff;}/* Smooth transitions for interactive elements */button, a {transition: all 0.2s ease;}/* Custom scrollbar */::-webkit-scrollbar {width: 8px;height: 8px;}::-webkit-scrollbar-track {background: #f1f1f1;}::-webkit-scrollbar-thumb {background: #c1c1c1;border-radius: 4px;}::-webkit-scrollbar-thumb:hover {background: #a8a8a8;}
README.md+8-5
components/footer.jsAdded+93
components/navbar.jsAdded+69
index.html+166-19
script.jsAdded+34
style.css+26-18