we are providing an internship and online courses to the students .so generate me the certificate generator where i can generate Offer letter to internship, course completion certificate and internship completion certificates . make a looking and best profossional certicates and stunning offer letter generator , Name of the company is CAA-Carrer Craft Academy - Initial Deployment
a04b874 verified Download index.html from sd1908/cca-certificate-generator: direct link, hf CLI and curl.
- Browser
- Download file 25.5 kB
-
https://huggingface.co/spaces/sd1908/cca-certificate-generator/resolve/main/index.html
- Command line
-
hf download hf://spaces/sd1908/cca-certificate-generator/index.html
-
curl -L -o index.html https://huggingface.co/spaces/sd1908/cca-certificate-generator/resolve/main/index.html
25.5 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>CAA - Career Craft Academy | Certificate Generator</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></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=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| background-color: #f8fafc; | |
| } | |
| .certificate-paper { | |
| background: linear-gradient(to bottom right, #ffffff 0%, #f9f9f9 100%); | |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); | |
| border: 15px solid transparent; | |
| border-image: linear-gradient(135deg, #3b82f6, #8b5cf6); | |
| border-image-slice: 1; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .certificate-paper::before { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background: url('http://static.photos/abstract/1200x630/42') center/cover no-repeat; | |
| opacity: 0.03; | |
| z-index: 0; | |
| } | |
| .title-font { | |
| font-family: 'Playfair Display', serif; | |
| } | |
| .watermark { | |
| position: absolute; | |
| opacity: 0.05; | |
| font-size: 8rem; | |
| font-weight: 700; | |
| color: #3b82f6; | |
| transform: rotate(-30deg); | |
| z-index: 1; | |
| } | |
| .signature-line { | |
| border-top: 1px solid #333; | |
| width: 200px; | |
| display: inline-block; | |
| } | |
| .gold-text { | |
| background: linear-gradient(to right, #d4af37, #f9d423); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="min-h-screen"> | |
| <!-- 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 data-feather="award" class="h-8 w-8 text-indigo-600"></i> | |
| <span class="ml-2 text-xl font-bold text-gray-900">CAA - Career Craft Academy</span> | |
| </div> | |
| </div> | |
| <div class="hidden md:ml-6 md:flex md:items-center md:space-x-8"> | |
| <a href="#" class="text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 border-indigo-500 text-sm font-medium"> | |
| <i data-feather="home" class="mr-1"></i> Home | |
| </a> | |
| <a href="#generator" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium"> | |
| <i data-feather="file-text" class="mr-1"></i> Generator | |
| </a> | |
| <a href="#templates" class="text-gray-500 hover:text-gray-900 inline-flex items-center px-1 pt-1 text-sm font-medium"> | |
| <i data-feather="image" class="mr-1"></i> Templates | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <div class="bg-gradient-to-r from-indigo-500 to-purple-600 py-20"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center"> | |
| <h1 class="text-4xl md:text-5xl font-bold text-white mb-6 title-font" data-aos="fade-up"> | |
| Professional Certificate Generator | |
| </h1> | |
| <p class="text-xl text-indigo-100 max-w-3xl mx-auto mb-10" data-aos="fade-up" data-aos-delay="100"> | |
| Create stunning offer letters and certificates for internships and course completions with our easy-to-use generator. | |
| </p> | |
| <div class="flex justify-center space-x-4" data-aos="fade-up" data-aos-delay="200"> | |
| <a href="#generator" class="bg-white text-indigo-600 px-6 py-3 rounded-lg font-medium shadow-lg hover:bg-gray-100 transition duration-300 inline-flex items-center"> | |
| <i data-feather="edit" class="mr-2"></i> Generate Now | |
| </a> | |
| <a href="#templates" class="bg-indigo-700 text-white px-6 py-3 rounded-lg font-medium shadow-lg hover:bg-indigo-800 transition duration-300 inline-flex items-center"> | |
| <i data-feather="eye" class="mr-2"></i> View Templates | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Generator Section --> | |
| <div id="generator" class="py-16 bg-white"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4 title-font" data-aos="fade-up">Certificate Generator</h2> | |
| <p class="text-lg text-gray-600 max-w-3xl mx-auto" data-aos="fade-up" data-aos-delay="100"> | |
| Fill in the details below to generate professional certificates and offer letters. | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <!-- Form --> | |
| <div class="md:col-span-1 bg-gray-50 p-6 rounded-xl shadow-md" data-aos="fade-right"> | |
| <h3 class="text-xl font-semibold text-gray-800 mb-6">Certificate Details</h3> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="certificate-type"> | |
| Certificate Type | |
| </label> | |
| <select id="certificate-type" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500"> | |
| <option value="offer-letter">Internship Offer Letter</option> | |
| <option value="course-completion">Course Completion Certificate</option> | |
| <option value="internship-completion">Internship Completion Certificate</option> | |
| </select> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="student-name"> | |
| Student Name | |
| </label> | |
| <input type="text" id="student-name" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" placeholder="Enter student name"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="course-name"> | |
| Course/Internship Name | |
| </label> | |
| <input type="text" id="course-name" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" placeholder="Enter course/internship name"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="duration"> | |
| Duration | |
| </label> | |
| <input type="text" id="duration" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" placeholder="e.g. 3 months"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="date"> | |
| Date | |
| </label> | |
| <input type="date" id="date" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-medium mb-2" for="certificate-id"> | |
| Certificate ID (optional) | |
| </label> | |
| <input type="text" id="certificate-id" class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500" placeholder="Enter certificate ID"> | |
| </div> | |
| <button id="generate-btn" class="w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 flex items-center justify-center"> | |
| <i data-feather="file-text" class="mr-2"></i> Generate Certificate | |
| </button> | |
| <div class="mt-4 flex justify-between"> | |
| <button id="download-btn" class="bg-green-600 text-white py-2 px-4 rounded-md hover:bg-green-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-500 flex items-center justify-center disabled:opacity-50" disabled> | |
| <i data-feather="download" class="mr-2"></i> Download | |
| </button> | |
| <button id="print-btn" class="bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 flex items-center justify-center disabled:opacity-50" disabled> | |
| <i data-feather="printer" class="mr-2"></i> Print | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Preview --> | |
| <div class="md:col-span-2" data-aos="fade-left"> | |
| <div id="certificate-preview" class="certificate-paper p-8 md:p-12 bg-white rounded-lg relative"> | |
| <div class="watermark" style="top: 20%; left: 10%;">CAA</div> | |
| <div class="watermark" style="bottom: 20%; right: 10%;">CAA</div> | |
| <div class="relative z-10"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <div> | |
| <img src="http://static.photos/technology/200x200/1" alt="CAA Logo" class="h-16"> | |
| </div> | |
| <div class="text-right"> | |
| <p class="text-gray-600">Certificate ID: <span id="preview-cert-id" class="font-semibold">CCA-2023-001</span></p> | |
| <p class="text-gray-600">Date: <span id="preview-date" class="font-semibold">May 15, 2023</span></p> | |
| </div> | |
| </div> | |
| <div class="text-center mb-12"> | |
| <h1 id="preview-title" class="text-4xl font-bold mb-4 title-font gold-text">Internship Offer Letter</h1> | |
| <div class="w-24 h-1 bg-gradient-to-r from-indigo-500 to-purple-600 mx-auto mb-6"></div> | |
| <p class="text-gray-600">This is to certify that</p> | |
| <h2 id="preview-student-name" class="text-5xl font-bold my-6 title-font" style="color: #3b82f6;">John Doe</h2> | |
| </div> | |
| <div class="text-center mb-12"> | |
| <p class="text-lg text-gray-700 mb-4"> | |
| <span id="preview-body-text">has been selected for the internship program at Career Craft Academy (CAA) for the position of</span> | |
| <span id="preview-course-name" class="font-semibold">Web Development Intern</span> | |
| </p> | |
| <p class="text-lg text-gray-700"> | |
| for a duration of <span id="preview-duration" class="font-semibold">3 months</span> starting from <span id="preview-start-date" class="font-semibold">June 1, 2023</span>. | |
| </p> | |
| </div> | |
| <div class="flex justify-between mt-16"> | |
| <div class="text-center"> | |
| <div class="signature-line mb-2"></div> | |
| <p class="text-gray-600">Authorized Signatory</p> | |
| <p class="font-semibold">Career Craft Academy</p> | |
| </div> | |
| <div class="text-center"> | |
| <div class="w-24 h-24 bg-gray-200 mx-auto mb-2 rounded-full overflow-hidden"> | |
| <img src="http://static.photos/people/200x200/1" alt="Student Photo" class="w-full h-full object-cover"> | |
| </div> | |
| <p class="text-gray-600">Student Signature</p> | |
| </div> | |
| </div> | |
| <div class="mt-8 text-center"> | |
| <p class="text-sm text-gray-500"> | |
| <i data-feather="shield" class="inline mr-1 w-4 h-4"></i> This certificate is digitally verifiable at www.caacareers.com/verify | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Templates Section --> | |
| <div id="templates" class="py-16 bg-gray-50"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-gray-900 mb-4 title-font" data-aos="fade-up">Certificate Templates</h2> | |
| <p class="text-lg text-gray-600 max-w-3xl mx-auto" data-aos="fade-up" data-aos-delay="100"> | |
| Choose from our professionally designed templates for different purposes. | |
| </p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <!-- Template 1 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform duration-300 hover:scale-105" data-aos="fade-up"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-indigo-100 p-3 rounded-full mr-4"> | |
| <i data-feather="file-text" class="text-indigo-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800">Classic Design</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">Elegant and professional certificate design suitable for all purposes.</p> | |
| <div class="bg-gray-100 rounded-lg p-4 mb-4"> | |
| <img src="http://static.photos/office/640x360/1" alt="Classic Certificate" class="w-full h-auto rounded"> | |
| </div> | |
| <button class="w-full bg-indigo-600 text-white py-2 px-4 rounded-md hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> | |
| Use This Template | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Template 2 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform duration-300 hover:scale-105" data-aos="fade-up" data-aos-delay="100"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-purple-100 p-3 rounded-full mr-4"> | |
| <i data-feather="award" class="text-purple-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800">Modern Design</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">Contemporary design with vibrant colors for a fresh look.</p> | |
| <div class="bg-gray-100 rounded-lg p-4 mb-4"> | |
| <img src="http://static.photos/technology/640x360/2" alt="Modern Certificate" class="w-full h-auto rounded"> | |
| </div> | |
| <button class="w-full bg-purple-600 text-white py-2 px-4 rounded-md hover:bg-purple-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-purple-500"> | |
| Use This Template | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Template 3 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden transition-transform duration-300 hover:scale-105" data-aos="fade-up" data-aos-delay="200"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <i data-feather="briefcase" class="text-blue-600 w-6 h-6"></i> | |
| </div> | |
| <h3 class="text-xl font-semibold text-gray-800">Corporate Design</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4">Professional design perfect for corporate training and internships.</p> | |
| <div class="bg-gray-100 rounded-lg p-4 mb-4"> | |
| <img src="http://static.photos/office/640x360/3" alt="Corporate Certificate" class="w-full h-auto rounded"> | |
| </div> | |
| <button class="w-full bg-blue-600 text-white py-2 px-4 rounded-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500"> | |
| Use This Template | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12"> | |
| <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div> | |
| <div class="flex items-center mb-4"> | |
| <i data-feather="award" class="h-8 w-8 text-indigo-400"></i> | |
| <span class="ml-2 text-xl font-bold">CAA - Career Craft Academy</span> | |
| </div> | |
| <p class="text-gray-400"> | |
| Empowering students with skills and certifications for successful careers. | |
| </p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Home</a></li> | |
| <li><a href="#generator" class="text-gray-400 hover:text-white transition">Certificate Generator</a></li> | |
| <li><a href="#templates" class="text-gray-400 hover:text-white transition">Templates</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition">Contact Us</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4">Contact</h3> | |
| <ul class="space-y-2 text-gray-400"> | |
| <li class="flex items-center"><i data-feather="mail" class="mr-2 w-4 h-4"></i> info@caacareers.com</li> | |
| <li class="flex items-center"><i data-feather="phone" class="mr-2 w-4 h-4"></i> +1 (555) 123-4567</li> | |
| <li class="flex items-center"><i data-feather="map-pin" class="mr-2 w-4 h-4"></i> 123 Education St, Learning City</li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-500"> | |
| <p>© 2023 Career Craft Academy. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| AOS.init(); | |
| feather.replace(); | |
| // Certificate Generator Logic | |
| document.getElementById('generate-btn').addEventListener('click', function() { | |
| const certificateType = document.getElementById('certificate-type').value; | |
| const studentName = document.getElementById('student-name').value || 'John Doe'; | |
| const courseName = document.getElementById('course-name').value || 'Web Development Intern'; | |
| const duration = document.getElementById('duration').value || '3 months'; | |
| const dateInput = document.getElementById('date').value; | |
| const certId = document.getElementById('certificate-id').value || 'CCA-' + new Date().getFullYear() + '-' + Math.floor(Math.random() * 1000); | |
| // Format date | |
| let displayDate = 'May 15, 2023'; | |
| if (dateInput) { | |
| const date = new Date(dateInput); | |
| displayDate = date.toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }); | |
| } | |
| // Update preview based on certificate type | |
| let title = 'Internship Offer Letter'; | |
| let bodyText = 'has been selected for the internship program at Career Craft Academy (CAA) for the position of'; | |
| if (certificateType === 'course-completion') { | |
| title = 'Course Completion Certificate'; | |
| bodyText = 'has successfully completed the course on'; | |
| } else if (certificateType === 'internship-completion') { | |
| title = 'Internship Completion Certificate'; | |
| bodyText = 'has successfully completed the internship program on'; | |
| } | |
| // Update preview elements | |
| document.getElementById('preview-title').textContent = title; | |
| document.getElementById('preview-student-name').textContent = studentName; | |
| document.getElementById('preview-course-name').textContent = courseName; | |
| document.getElementById('preview-duration').textContent = duration; | |
| document.getElementById('preview-date').textContent = displayDate; | |
| document.getElementById('preview-cert-id').textContent = certId; | |
| document.getElementById('preview-body-text').textContent = bodyText; | |
| // Enable download and print buttons | |
| document.getElementById('download-btn').disabled = false; | |
| document.getElementById('print-btn').disabled = false; | |
| }); | |
| // Print functionality | |
| document.getElementById('print-btn').addEventListener('click', function() { | |
| window.print(); | |
| }); | |
| // Download functionality (simulated) | |
| document.getElementById('download-btn').addEventListener('click', function() { | |
| alert('Certificate downloaded successfully!'); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |