Download verify.html from borreooo/trustchain-certifysecure: direct link, hf CLI and curl.
- Browser
- Download file 8.17 kB
-
https://huggingface.co/spaces/borreooo/trustchain-certifysecure/resolve/main/verify.html
- Command line
-
hf download hf://spaces/borreooo/trustchain-certifysecure/verify.html
-
curl -L -o verify.html https://huggingface.co/spaces/borreooo/trustchain-certifysecure/resolve/main/verify.html
8.17 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Verify Certificate - TrustChain</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <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> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Space Grotesk', sans-serif; | |
| background-color: #f8fafc; | |
| color: #1e293b; | |
| } | |
| .glow-text { | |
| text-shadow: 0 0 10px rgba(74, 222, 128, 0.3); | |
| } | |
| .gradient-border { | |
| border: 2px solid transparent; | |
| background: linear-gradient(#f8fafc, #f8fafc) padding-box, | |
| linear-gradient(to right, #10b981, #3b82f6) border-box; | |
| } | |
| .hover-scale { | |
| transition: transform 0.3s ease; | |
| } | |
| .hover-scale:hover { | |
| transform: scale(1.02); | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen"> | |
| <!-- Navigation --> | |
| <nav class="gradient-border border-b-2 py-4 px-6 backdrop-blur-md"> | |
| <div class="max-w-7xl mx-auto flex justify-between items-center"> | |
| <a href="/" class="flex items-center space-x-2"> | |
| <i data-feather="shield" class="text-emerald-400"></i> | |
| <span class="text-2xl font-bold glow-text">TrustChain</span> | |
| </a> | |
| <div class="hidden md:flex space-x-6"> | |
| <a href="/university" class="hover:text-emerald-400 transition-colors"> | |
| University Portal | |
| </a> | |
| <a href="/employer" class="hover:text-emerald-400 transition-colors"> | |
| Employer Portal | |
| </a> | |
| <a href="/verify" class="hover:text-emerald-400 transition-colors text-emerald-500"> | |
| Verify Certificate | |
| </a> | |
| <a href="/about" class="hover:text-emerald-400 transition-colors"> | |
| About | |
| </a> | |
| </div> | |
| <button class="md:hidden"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </nav> | |
| <!-- Main Content --> | |
| <div class="max-w-3xl mx-auto px-4 py-12"> | |
| <div class="text-center mb-16"> | |
| <h1 class="text-4xl font-bold mb-6 glow-text">Verify Certificate</h1> | |
| <p class="text-xl text-gray-600"> | |
| Check the authenticity of any TrustChain certificate | |
| </p> | |
| </div> | |
| <div class="bg-white p-8 rounded-2xl shadow-lg hover-scale mb-16"> | |
| <div class="space-y-6"> | |
| <div> | |
| <label for="verifyCertId" class="block text-gray-700 mb-2">Certificate ID</label> | |
| <input type="text" id="verifyCertId" placeholder="Enter certificate ID (e.g. TC-ABCD-1234)" | |
| class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-emerald-400 focus:border-transparent"> | |
| </div> | |
| <button id="verifyCertBtn" class="w-full bg-emerald-500 hover:bg-emerald-600 text-white px-6 py-3 rounded-lg font-medium transition-colors"> | |
| Verify Certificate | |
| </button> | |
| <div class="text-center text-gray-500">OR</div> | |
| <div class="text-center"> | |
| <button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-3 rounded-lg font-medium transition-colors"> | |
| <i data-feather="camera" class="inline mr-2"></i> Scan QR Code | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <div id="verificationResult" class="bg-white p-8 rounded-2xl shadow-lg hover-scale" style="display: none;"> | |
| <h2 class="text-2xl font-bold mb-6">Verification Result</h2> | |
| <div id="resultContent"> | |
| <!-- Results will be displayed here --> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="gradient-border border-t-2 py-6 px-6 mt-8"> | |
| <div class="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">TrustChain</h3> | |
| <p class="text-gray-600"> | |
| Decentralized certificate verification powered by blockchain technology. | |
| </p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="/university" class="text-gray-600 hover:text-emerald-400">University Portal</a></li> | |
| <li><a href="/employer" class="text-gray-600 hover:text-emerald-400">Employer Portal</a></li> | |
| <li><a href="/verify" class="text-gray-600 hover:text-emerald-400">Verify Certificate</a></li> | |
| <li><a href="/about" class="text-gray-600 hover:text-emerald-400">About</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Connect</h3> | |
| <div class="flex space-x-4"> | |
| <a href="https://twitter.com/trustchain" class="text-gray-600 hover:text-emerald-400"><i data-feather="twitter"></i></a> | |
| <a href="https://github.com/trustchain" class="text-gray-600 hover:text-emerald-400"><i data-feather="github"></i></a> | |
| <a href="https://linkedin.com/company/trustchain" class="text-gray-600 hover:text-emerald-400"><i data-feather="linkedin"></i></a> | |
| <a href="/contact" class="text-gray-600 hover:text-emerald-400"><i data-feather="mail"></i></a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="max-w-7xl mx-auto mt-8 pt-4 border-t border-gray-300 text-center text-gray-500"> | |
| <p>© 2023 TrustChain. All rights reserved.</p> | |
| </div> | |
| </footer> | |
| <script> | |
| </script> | |
| </body> | |
| </html> |