Upload homepage.html
Browse files- homepage.html +434 -0
homepage.html
ADDED
|
@@ -0,0 +1,434 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<meta name="description" content="All File Converter - Professional file conversion software. Convert images, documents, video, audio. Fast, offline, secure.">
|
| 7 |
+
<meta name="keywords" content="file converter, all file converter, video converter, image converter, PDF converter, BahadurAli">
|
| 8 |
+
<meta name="author" content="BahadurAli's Team">
|
| 9 |
+
<title>All File Converter | Professional File Conversion Software</title>
|
| 10 |
+
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;400;500;600;700;800&display=swap" rel="stylesheet">
|
| 11 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
| 12 |
+
<style>
|
| 13 |
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
| 14 |
+
body { font-family: 'Inter', sans-serif; background: #ffffff; color: #111827; line-height: 1.5; overflow-x: hidden; }
|
| 15 |
+
|
| 16 |
+
/* Header Styles */
|
| 17 |
+
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border-bottom: 1px solid #e5e7eb; z-index: 999; padding: 12px 48px; display: flex; justify-content: space-between; align-items: center; }
|
| 18 |
+
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.2rem; color: #111827; cursor: pointer; }
|
| 19 |
+
.logo i { font-size: 1.5rem; color: #111827; }
|
| 20 |
+
.nav-links { display: flex; gap: 32px; }
|
| 21 |
+
.nav-links a { text-decoration: none; color: #4b5563; font-weight: 500; transition: 0.2s; cursor: pointer; }
|
| 22 |
+
.nav-links a:hover { color: #111827; }
|
| 23 |
+
.header-download { background: #111827; color: white; border: none; padding: 8px 24px; border-radius: 40px; font-weight: 600; cursor: pointer; transition: 0.2s; }
|
| 24 |
+
.header-download:hover { background: #1f2937; transform: translateY(-2px); }
|
| 25 |
+
.menu-btn { display: none; position: fixed; top: 16px; left: 16px; z-index: 1001; background: white; border: 1px solid #e5e7eb; border-radius: 12px; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
|
| 26 |
+
.menu-btn span { width: 20px; height: 2px; background: #374151; border-radius: 2px; transition: 0.2s; }
|
| 27 |
+
|
| 28 |
+
/* Sidebar */
|
| 29 |
+
.sidebar { position: fixed; top: 0; left: -320px; width: 320px; height: 100vh; background: #111827; color: #e5e7eb; z-index: 1100; transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow-y: auto; }
|
| 30 |
+
.sidebar.open { left: 0; }
|
| 31 |
+
.overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1050; opacity: 0; visibility: hidden; transition: 0.2s; }
|
| 32 |
+
.overlay.active { opacity: 1; visibility: visible; }
|
| 33 |
+
.sidebar-header { padding: 32px 24px; border-bottom: 1px solid #1f2d3d; display: flex; justify-content: space-between; align-items: center; }
|
| 34 |
+
.sidebar-header h3 { font-size: 1.2rem; font-weight: 600; display: flex; align-items: center; gap: 10px; color: white; }
|
| 35 |
+
.close-sidebar { background: none; border: none; color: #9ca3af; font-size: 1.3rem; cursor: pointer; padding: 5px; }
|
| 36 |
+
.close-sidebar:hover { color: white; }
|
| 37 |
+
.doc-nav { padding: 24px; }
|
| 38 |
+
.doc-group { margin-bottom: 32px; }
|
| 39 |
+
.doc-group h4 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: #6b7280; margin-bottom: 12px; }
|
| 40 |
+
.doc-group a { display: block; color: #d1d5db; text-decoration: none; font-size: 0.85rem; padding: 10px 0; cursor: pointer; transition: 0.15s; }
|
| 41 |
+
.doc-group a i { width: 24px; margin-right: 8px; color: #6b7280; }
|
| 42 |
+
.doc-group a:hover { color: white; transform: translateX(5px); }
|
| 43 |
+
|
| 44 |
+
/* Main Content */
|
| 45 |
+
.main-content { max-width: 1400px; margin: 0 auto; padding: 80px 48px 0; min-height: calc(100vh - 120px); }
|
| 46 |
+
.page-container { animation: fadeIn 0.4s ease; }
|
| 47 |
+
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
|
| 48 |
+
|
| 49 |
+
/* Hero */
|
| 50 |
+
.hero { text-align: center; padding: 60px 20px 40px; background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%); border-radius: 48px; margin-bottom: 60px; }
|
| 51 |
+
.badge { display: inline-block; background: #eef2ff; color: #1e40af; font-size: 0.75rem; font-weight: 600; padding: 6px 14px; border-radius: 30px; margin-bottom: 24px; }
|
| 52 |
+
h1 { font-size: 3.8rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 20px; background: linear-gradient(135deg, #111827, #374151); -webkit-background-clip: text; background-clip: text; color: transparent; }
|
| 53 |
+
.subhead { font-size: 1.2rem; color: #4b5563; margin-bottom: 32px; max-width: 700px; margin-left: auto; margin-right: auto; }
|
| 54 |
+
.download-btn { background: #111827; border: none; padding: 16px 42px; border-radius: 50px; font-size: 1.1rem; font-weight: 600; color: white; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; transition: 0.2s; margin: 10px; }
|
| 55 |
+
.download-btn:hover { background: #1f2937; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
|
| 56 |
+
.version { font-size: 0.8rem; color: #6b7280; margin-top: 16px; }
|
| 57 |
+
|
| 58 |
+
/* Stats Section with Counters */
|
| 59 |
+
.stats { display: flex; justify-content: center; gap: 80px; margin: 50px 0; flex-wrap: wrap; }
|
| 60 |
+
.stat-item { text-align: center; cursor: default; }
|
| 61 |
+
.stat-number { font-size: 2.5rem; font-weight: 800; color: #111827; font-family: monospace; }
|
| 62 |
+
.stat-label { font-size: 0.85rem; color: #6b7280; margin-top: 5px; letter-spacing: 0.5px; }
|
| 63 |
+
|
| 64 |
+
/* Features Grid */
|
| 65 |
+
.section-title { text-align: center; font-size: 2rem; font-weight: 700; margin: 60px 0 40px; }
|
| 66 |
+
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin: 40px 0; }
|
| 67 |
+
.feature-card { background: white; border: 1px solid #e5e7eb; border-radius: 24px; padding: 30px; transition: 0.3s; text-align: center; cursor: default; }
|
| 68 |
+
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px rgba(0,0,0,0.05); border-color: #d1d5db; }
|
| 69 |
+
.feature-card i { font-size: 2.5rem; background: linear-gradient(135deg, #111827, #374151); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; }
|
| 70 |
+
.feature-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
|
| 71 |
+
.feature-card p { font-size: 0.85rem; color: #6b7280; line-height: 1.5; }
|
| 72 |
+
|
| 73 |
+
/* Testimonials */
|
| 74 |
+
.testimonials { background: #f9fafb; border-radius: 48px; padding: 50px; margin: 60px 0; }
|
| 75 |
+
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 30px; }
|
| 76 |
+
.testimonial-card { background: white; border-radius: 20px; padding: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); transition: 0.2s; }
|
| 77 |
+
.testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
|
| 78 |
+
.testimonial-card i.fa-quote-left { color: #e5e7eb; font-size: 1.5rem; margin-bottom: 15px; }
|
| 79 |
+
.testimonial-card p { font-size: 0.9rem; color: #4b5563; margin-bottom: 20px; line-height: 1.6; }
|
| 80 |
+
.testimonial-author { display: flex; align-items: center; gap: 12px; }
|
| 81 |
+
.testimonial-author .avatar { width: 45px; height: 45px; background: #111827; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; }
|
| 82 |
+
.testimonial-author h4 { font-size: 0.9rem; font-weight: 600; }
|
| 83 |
+
.testimonial-author p { font-size: 0.75rem; color: #9ca3af; margin: 0; }
|
| 84 |
+
|
| 85 |
+
/* Pricing */
|
| 86 |
+
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin: 40px 0; }
|
| 87 |
+
.pricing-card { background: white; border: 1px solid #e5e7eb; border-radius: 24px; padding: 35px; text-align: center; transition: 0.3s; position: relative; }
|
| 88 |
+
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px rgba(0,0,0,0.05); }
|
| 89 |
+
.pricing-card.popular { border: 2px solid #111827; }
|
| 90 |
+
.popular-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #111827; color: white; padding: 4px 16px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
|
| 91 |
+
.pricing-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 15px; }
|
| 92 |
+
.price { font-size: 2.5rem; font-weight: 800; color: #111827; margin-bottom: 20px; }
|
| 93 |
+
.price span { font-size: 0.9rem; font-weight: 400; color: #6b7280; }
|
| 94 |
+
.pricing-card ul { list-style: none; margin: 25px 0; text-align: left; }
|
| 95 |
+
.pricing-card li { margin: 12px 0; font-size: 0.85rem; display: flex; align-items: center; gap: 8px; }
|
| 96 |
+
.pricing-card li i.fa-check { color: #10b981; }
|
| 97 |
+
.pricing-card li i.fa-times { color: #ef4444; }
|
| 98 |
+
.pricing-btn { background: #f3f4f6; border: none; padding: 12px 24px; border-radius: 40px; font-weight: 600; cursor: pointer; width: 100%; transition: 0.2s; }
|
| 99 |
+
.pricing-btn:hover { background: #111827; color: white; }
|
| 100 |
+
|
| 101 |
+
/* Contact Form */
|
| 102 |
+
.contact-section { background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%); border-radius: 48px; padding: 50px; margin: 60px 0; }
|
| 103 |
+
.contact-form { max-width: 600px; margin: 0 auto; }
|
| 104 |
+
.form-group { margin-bottom: 24px; }
|
| 105 |
+
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; color: #374151; }
|
| 106 |
+
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; border: 1px solid #d1d5db; border-radius: 16px; font-family: inherit; font-size: 0.9rem; transition: 0.15s; }
|
| 107 |
+
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #111827; box-shadow: 0 0 0 3px rgba(17,24,39,0.1); }
|
| 108 |
+
.submit-btn { background: #111827; color: white; border: none; padding: 14px 32px; border-radius: 50px; font-weight: 600; cursor: pointer; width: 100%; font-size: 1rem; transition: 0.2s; }
|
| 109 |
+
.submit-btn:hover { background: #1f2937; transform: translateY(-2px); }
|
| 110 |
+
.form-message { margin-top: 15px; padding: 12px; border-radius: 12px; display: none; }
|
| 111 |
+
.form-success { background: #d1fae5; color: #065f46; display: block; }
|
| 112 |
+
.form-error { background: #fee2e2; color: #991b1b; display: block; }
|
| 113 |
+
|
| 114 |
+
/* FAQ Section */
|
| 115 |
+
.faq-grid { max-width: 800px; margin: 0 auto; }
|
| 116 |
+
.faq-item { border-bottom: 1px solid #e5e7eb; padding: 20px 0; cursor: pointer; }
|
| 117 |
+
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
|
| 118 |
+
.faq-question i { transition: 0.2s; }
|
| 119 |
+
.faq-answer { max-height: 0; overflow: hidden; transition: 0.3s ease; color: #6b7280; font-size: 0.85rem; line-height: 1.6; }
|
| 120 |
+
.faq-answer.show { max-height: 200px; margin-top: 12px; }
|
| 121 |
+
|
| 122 |
+
/* Blog Section */
|
| 123 |
+
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin: 40px 0; }
|
| 124 |
+
.blog-card { background: white; border: 1px solid #e5e7eb; border-radius: 24px; overflow: hidden; transition: 0.3s; cursor: pointer; }
|
| 125 |
+
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px rgba(0,0,0,0.05); }
|
| 126 |
+
.blog-image { height: 180px; background: linear-gradient(135deg, #1e293b, #0f172a); display: flex; align-items: center; justify-content: center; color: white; font-size: 3rem; }
|
| 127 |
+
.blog-content { padding: 20px; }
|
| 128 |
+
.blog-content h3 { font-size: 1.1rem; margin-bottom: 10px; }
|
| 129 |
+
.blog-content p { font-size: 0.8rem; color: #6b7280; margin-bottom: 15px; line-height: 1.5; }
|
| 130 |
+
.read-more { color: #111827; font-weight: 600; font-size: 0.8rem; cursor: pointer; }
|
| 131 |
+
|
| 132 |
+
/* Footer */
|
| 133 |
+
.footer { background: #111827; color: #9ca3af; padding: 60px 48px 30px; margin-top: 60px; }
|
| 134 |
+
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1400px; margin: 0 auto; }
|
| 135 |
+
.footer-column h4 { color: white; margin-bottom: 20px; font-size: 1rem; font-weight: 600; }
|
| 136 |
+
.footer-column a { display: block; color: #9ca3af; text-decoration: none; font-size: 0.85rem; margin-bottom: 12px; transition: 0.2s; cursor: pointer; }
|
| 137 |
+
.footer-column a:hover { color: white; transform: translateX(5px); }
|
| 138 |
+
.social-links { display: flex; gap: 15px; margin-top: 20px; }
|
| 139 |
+
.social-links a { display: inline-block; margin: 0; }
|
| 140 |
+
.copyright { text-align: center; padding-top: 40px; margin-top: 40px; border-top: 1px solid #1f2937; font-size: 0.8rem; }
|
| 141 |
+
|
| 142 |
+
@media (max-width: 768px) {
|
| 143 |
+
.header { display: none; }
|
| 144 |
+
.menu-btn { display: flex; }
|
| 145 |
+
.main-content { padding: 70px 20px 0; }
|
| 146 |
+
h1 { font-size: 2rem; }
|
| 147 |
+
.hero { padding: 40px 20px; }
|
| 148 |
+
.stats { gap: 30px; }
|
| 149 |
+
.testimonials, .contact-section { padding: 30px 20px; }
|
| 150 |
+
.footer { padding: 40px 20px 20px; }
|
| 151 |
+
.stat-number { font-size: 1.8rem; }
|
| 152 |
+
}
|
| 153 |
+
</style>
|
| 154 |
+
</head>
|
| 155 |
+
<body>
|
| 156 |
+
|
| 157 |
+
<!-- Header -->
|
| 158 |
+
<header class="header">
|
| 159 |
+
<div class="logo" data-page="home"><i class="fas fa-exchange-alt"></i> All File Converter</div>
|
| 160 |
+
<div class="nav-links">
|
| 161 |
+
<a data-page="home">Home</a>
|
| 162 |
+
<a data-page="features">Features</a>
|
| 163 |
+
<a data-page="testimonials">Testimonials</a>
|
| 164 |
+
<a data-page="pricing">Pricing</a>
|
| 165 |
+
<a data-page="faq-page">FAQ</a>
|
| 166 |
+
<a data-page="blog">Blog</a>
|
| 167 |
+
<a data-page="contact">Contact</a>
|
| 168 |
+
</div>
|
| 169 |
+
<button class="header-download" id="headerDownloadBtn"><i class="fas fa-download"></i> Download</button>
|
| 170 |
+
</header>
|
| 171 |
+
|
| 172 |
+
<!-- Hamburger Menu Button -->
|
| 173 |
+
<button class="menu-btn" id="menuBtn"><span></span><span></span><span></span></button>
|
| 174 |
+
|
| 175 |
+
<!-- Sidebar -->
|
| 176 |
+
<div class="overlay" id="overlay"></div>
|
| 177 |
+
<aside class="sidebar" id="sidebar">
|
| 178 |
+
<div class="sidebar-header">
|
| 179 |
+
<h3><i class="fas fa-book"></i> Documentation</h3>
|
| 180 |
+
<button class="close-sidebar" id="closeSidebarBtn">β</button>
|
| 181 |
+
</div>
|
| 182 |
+
<nav class="doc-nav">
|
| 183 |
+
<div class="doc-group"><h4>π Getting Started</h4>
|
| 184 |
+
<a data-page="installation"><i class="fas fa-download"></i> Installation Guide</a>
|
| 185 |
+
<a data-page="requirements"><i class="fas fa-cog"></i> System Requirements</a>
|
| 186 |
+
<a data-page="quickstart"><i class="fas fa-rocket"></i> Quick Start Guide</a>
|
| 187 |
+
</div>
|
| 188 |
+
<div class="doc-group"><h4>π Conversion Guides</h4>
|
| 189 |
+
<a data-page="images"><i class="fas fa-file-image"></i> Image Conversion</a>
|
| 190 |
+
<a data-page="documents"><i class="fas fa-file-pdf"></i> Document Conversion</a>
|
| 191 |
+
<a data-page="video"><i class="fas fa-video"></i> Video & Audio</a>
|
| 192 |
+
<a data-page="batch"><i class="fas fa-layer-group"></i> Batch Processing</a>
|
| 193 |
+
</div>
|
| 194 |
+
<div class="doc-group"><h4>π‘οΈ Support</h4>
|
| 195 |
+
<a data-page="contact"><i class="fas fa-envelope"></i> Contact Support</a>
|
| 196 |
+
<a data-page="faq-page"><i class="fas fa-question-circle"></i> FAQ</a>
|
| 197 |
+
<a data-page="changelog"><i class="fas fa-changelog"></i> Version History</a>
|
| 198 |
+
</div>
|
| 199 |
+
</nav>
|
| 200 |
+
</aside>
|
| 201 |
+
|
| 202 |
+
<!-- Main Content -->
|
| 203 |
+
<main class="main-content" id="mainContent"></main>
|
| 204 |
+
|
| 205 |
+
<script>
|
| 206 |
+
// ==================== CONFIGURATION ====================
|
| 207 |
+
const YOUR_EMAIL = "bahaduralimunnabhai@gmail.com";
|
| 208 |
+
const WHATSAPP_NUMBER = "923034572298";
|
| 209 |
+
const EXE_URL = "./AllFileConverter_Setup.exe";
|
| 210 |
+
|
| 211 |
+
function sendEmailNotification(name, email, subject, message) {
|
| 212 |
+
const formData = new FormData();
|
| 213 |
+
formData.append('name', name);
|
| 214 |
+
formData.append('email', email);
|
| 215 |
+
formData.append('subject', subject);
|
| 216 |
+
formData.append('message', message);
|
| 217 |
+
formData.append('_to', YOUR_EMAIL);
|
| 218 |
+
formData.append('_subject', `New Support Request from ${name}`);
|
| 219 |
+
formData.append('_replyto', email);
|
| 220 |
+
|
| 221 |
+
return fetch('https://formspree.io/f/mojrrdov', {
|
| 222 |
+
method: 'POST',
|
| 223 |
+
body: formData,
|
| 224 |
+
headers: {
|
| 225 |
+
'Accept': 'application/json'
|
| 226 |
+
}
|
| 227 |
+
})
|
| 228 |
+
.then(response => {
|
| 229 |
+
if (response.ok) {
|
| 230 |
+
return response.json();
|
| 231 |
+
}
|
| 232 |
+
throw new Error('Network response was not ok');
|
| 233 |
+
})
|
| 234 |
+
.catch(error => {
|
| 235 |
+
console.error('Fetch error:', error);
|
| 236 |
+
return { success: false, error: error.message };
|
| 237 |
+
});
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
// ==================== ANIMATED COUNTERS ====================
|
| 241 |
+
function startCounters() {
|
| 242 |
+
const counters = [
|
| 243 |
+
{ element: document.getElementById('counterFormats'), target: 200, suffix: '+' },
|
| 244 |
+
{ element: document.getElementById('counterUsers'), target: 50, suffix: 'K+' },
|
| 245 |
+
{ element: document.getElementById('counterSuccess'), target: 99.9, suffix: '%', decimal: true },
|
| 246 |
+
{ element: document.getElementById('counterSupport'), target: 24, suffix: '/7' }
|
| 247 |
+
];
|
| 248 |
+
|
| 249 |
+
counters.forEach(counter => {
|
| 250 |
+
if (!counter.element) return;
|
| 251 |
+
let current = 0;
|
| 252 |
+
const increment = counter.target / 50;
|
| 253 |
+
const interval = setInterval(() => {
|
| 254 |
+
current += increment;
|
| 255 |
+
if (current >= counter.target) {
|
| 256 |
+
if (counter.decimal) {
|
| 257 |
+
counter.element.textContent = counter.target + counter.suffix;
|
| 258 |
+
} else {
|
| 259 |
+
counter.element.textContent = Math.floor(counter.target) + counter.suffix;
|
| 260 |
+
}
|
| 261 |
+
clearInterval(interval);
|
| 262 |
+
} else {
|
| 263 |
+
if (counter.decimal) {
|
| 264 |
+
counter.element.textContent = current.toFixed(1) + counter.suffix;
|
| 265 |
+
} else {
|
| 266 |
+
counter.element.textContent = Math.floor(current) + counter.suffix;
|
| 267 |
+
}
|
| 268 |
+
}
|
| 269 |
+
}, 30);
|
| 270 |
+
});
|
| 271 |
+
}
|
| 272 |
+
|
| 273 |
+
// ==================== FOOTER HTML ====================
|
| 274 |
+
const footerHTML = `
|
| 275 |
+
<footer class="footer">
|
| 276 |
+
<div class="footer-content">
|
| 277 |
+
<div class="footer-column"><h4>All File Converter</h4><p style="margin-bottom:15px;">Professional file conversion software trusted by 50,000+ users worldwide.</p><div class="social-links"><a data-page="home"><i class="fab fa-twitter"></i></a><a data-page="home"><i class="fab fa-linkedin"></i></a><a data-page="home"><i class="fab fa-github"></i></a><a data-page="home"><i class="fab fa-youtube"></i></a></div></div>
|
| 278 |
+
<div class="footer-column"><h4>Product</h4><a data-page="home">Home</a><a data-page="features">Features</a><a data-page="pricing">Pricing</a><a data-page="installation">Download</a></div>
|
| 279 |
+
<div class="footer-column"><h4>Resources</h4><a data-page="installation">Documentation</a><a data-page="faq-page">FAQ</a><a data-page="blog">Blog</a><a data-page="changelog">Changelog</a></div>
|
| 280 |
+
<div class="footer-column"><h4>Support</h4><a data-page="contact">Contact Us</a><a href="mailto:${YOUR_EMAIL}">Email Support</a><a href="https://wa.me/${WHATSAPP_NUMBER}" target="_blank">WhatsApp</a></div>
|
| 281 |
+
</div>
|
| 282 |
+
<div class="copyright">Β© 2026 All File Converter. All Rights Reserved to <strong>BahadurAli's Team</strong>.</div>
|
| 283 |
+
</footer>
|
| 284 |
+
`;
|
| 285 |
+
|
| 286 |
+
// ==================== ALL PAGE CONTENT ====================
|
| 287 |
+
const pages = {
|
| 288 |
+
home: `
|
| 289 |
+
<div class="page-container">
|
| 290 |
+
<div class="hero"><span class="badge"><i class="fas fa-star"></i> Professional Grade Software</span><h1>All File Converter</h1><div class="subhead">One tool for every format. Convert images, documents, video, and audio β completely offline, fast, and secure.</div><button class="download-btn" id="heroDownloadBtn"><i class="fab fa-windows"></i> Download for Windows</button><div class="version">Version 3.1.0 β’ 98 MB β’ Windows 10/11</div></div>
|
| 291 |
+
<div class="stats"><div class="stat-item"><div class="stat-number" id="counterFormats">0</div><div class="stat-label">File Formats</div></div><div class="stat-item"><div class="stat-number" id="counterUsers">0</div><div class="stat-label">Active Users</div></div><div class="stat-item"><div class="stat-number" id="counterSuccess">0</div><div class="stat-label">Success Rate</div></div><div class="stat-item"><div class="stat-number" id="counterSupport">0</div><div class="stat-label">Support</div></div></div>
|
| 292 |
+
<div class="section-title">Powerful Features</div>
|
| 293 |
+
<div class="features-grid"><div class="feature-card"><i class="fas fa-infinity"></i><h3>200+ Formats</h3><p>Images, PDF, Office, video, audio, archives and more</p></div><div class="feature-card"><i class="fas fa-tachometer-alt"></i><h3>Batch Processing</h3><p>Convert thousands of files in one click</p></div><div class="feature-card"><i class="fas fa-lock"></i><h3>100% Offline</h3><p>No uploads. Your data stays completely local</p></div><div class="feature-card"><i class="fas fa-bolt"></i><h3>GPU Accelerated</h3><p>Lightning fast conversions with hardware acceleration</p></div><div class="feature-card"><i class="fas fa-drag-drop"></i><h3>Drag & Drop</h3><p>Intuitive interface, just drag files and convert</p></div><div class="feature-card"><i class="fas fa-robot"></i><h3>Smart AI Enhance</h3><p>Auto-optimize quality and compression</p></div></div>
|
| 294 |
+
${footerHTML}
|
| 295 |
+
</div>
|
| 296 |
+
`,
|
| 297 |
+
|
| 298 |
+
features: `<div class="page-container"><div class="section-title">β¨ All Features</div><div class="features-grid"><div class="feature-card"><i class="fas fa-file-image"></i><h3>Image Conversion</h3><p>JPG, PNG, WEBP, HEIC, GIF, BMP, TIFF, SVG</p></div><div class="feature-card"><i class="fas fa-file-pdf"></i><h3>Document Conversion</h3><p>PDF, DOCX, XLSX, PPTX, TXT, RTF, HTML</p></div><div class="feature-card"><i class="fas fa-video"></i><h3>Video Conversion</h3><p>MP4, AVI, MKV, MOV, WEBM, FLV, 3GP</p></div><div class="feature-card"><i class="fas fa-headphones"></i><h3>Audio Conversion</h3><p>MP3, WAV, FLAC, AAC, OGG, M4A, WMA</p></div><div class="feature-card"><i class="fas fa-compress"></i><h3>Compression</h3><p>Reduce file size while maintaining quality</p></div><div class="feature-card"><i class="fas fa-crop"></i><h3>Resize & Crop</h3><p>Adjust dimensions, aspect ratio, and rotation</p></div></div>${footerHTML}</div>`,
|
| 299 |
+
|
| 300 |
+
testimonials: `<div class="page-container"><div class="section-title">π¬ What Our Users Say</div><div class="testimonial-grid"><div class="testimonial-card"><i class="fas fa-quote-left"></i><p>"Best file converter I've ever used! Batch processing saved me hours of work. Highly recommended!"</p><div class="testimonial-author"><div class="avatar"><i class="fas fa-user"></i></div><div><h4>Ahmed Raza</h4><p>Software Engineer</p></div></div></div><div class="testimonial-card"><i class="fas fa-quote-left"></i><p>"Fast, reliable, and completely offline. Perfect for sensitive documents. The AI enhancement is incredible!"</p><div class="testimonial-author"><div class="avatar"><i class="fas fa-user"></i></div><div><h4>Sana Mirza</h4><p>Graphic Designer</p></div></div></div><div class="testimonial-card"><i class="fas fa-quote-left"></i><p>"The batch processing feature alone is worth it. Converted 500+ images in minutes. Five stars!"</p><div class="testimonial-author"><div class="avatar"><i class="fas fa-user"></i></div><div><h4>Bilal Khan</h4><p>Video Editor</p></div></div></div></div>${footerHTML}</div>`,
|
| 301 |
+
|
| 302 |
+
pricing: `<div class="page-container"><div class="section-title">π° Simple Pricing</div><div class="pricing-grid"><div class="pricing-card"><h3>Free</h3><div class="price">$0<span>/forever</span></div><ul><li><i class="fas fa-check"></i> All basic conversions</li><li><i class="fas fa-check"></i> 200+ formats supported</li><li><i class="fas fa-check"></i> Batch processing (up to 50 files)</li><li><i class="fas fa-times"></i> No AI enhancement</li><li><i class="fas fa-times"></i> Priority support</li></ul><button class="pricing-btn download-trigger">Download Free</button></div><div class="pricing-card popular"><div class="popular-badge">Most Popular</div><h3>Pro</h3><div class="price">$29<span>/one-time</span></div><ul><li><i class="fas fa-check"></i> Everything in Free</li><li><i class="fas fa-check"></i> Unlimited batch processing</li><li><i class="fas fa-check"></i> AI enhancement & OCR</li><li><i class="fas fa-check"></i> GPU acceleration</li><li><i class="fas fa-check"></i> Priority support 24/7</li></ul><button class="pricing-btn download-trigger">Buy Now</button></div><div class="pricing-card"><h3>Enterprise</h3><div class="price">Custom</div><ul><li><i class="fas fa-check"></i> Everything in Pro</li><li><i class="fas fa-check"></i> Dedicated account manager</li><li><i class="fas fa-check"></i> Custom integrations</li><li><i class="fas fa-check"></i> SLA guarantee</li><li><i class="fas fa-check"></i> On-premise deployment</li></ul><button class="pricing-btn">Contact Sales</button></div></div>${footerHTML}</div>`,
|
| 303 |
+
|
| 304 |
+
contact: `<div class="page-container"><div class="contact-section"><h2 style="text-align:center; margin-bottom:30px;">π§ Get in Touch</h2><div class="contact-form"><form id="contactForm"><div class="form-group"><label>Full Name *</label><input type="text" id="contactName" required></div><div class="form-group"><label>Email Address *</label><input type="email" id="contactEmail" required></div><div class="form-group"><label>Subject *</label><select id="contactSubject"><option>Software Support</option><option>Bug Report</option><option>Feature Request</option><option>Business Inquiry</option></select></div><div class="form-group"><label>Message *</label><textarea id="contactMessage" rows="5" required></textarea></div><button type="submit" class="submit-btn"><i class="fas fa-paper-plane"></i> Send Message</button><div id="formResponse" class="form-message"></div></form></div></div>${footerHTML}</div>`,
|
| 305 |
+
|
| 306 |
+
installation: `<div class="page-container"><div class="section-title">π₯ Installation Guide</div><div class="features-grid"><div class="feature-card"><i class="fas fa-download"></i><h3>Step 1: Download</h3><p>Click the Download button on any page</p></div><div class="feature-card"><i class="fas fa-play-circle"></i><h3>Step 2: Run Installer</h3><p>Double-click the downloaded .exe file</p></div><div class="feature-card"><i class="fas fa-check-circle"></i><h3>Step 3: Follow Wizard</h3><p>Choose installation directory and click Install</p></div><div class="feature-card"><i class="fas fa-rocket"></i><h3>Step 4: Launch</h3><p>Find in Start Menu or Desktop shortcut</p></div></div>${footerHTML}</div>`,
|
| 307 |
+
|
| 308 |
+
requirements: `<div class="page-container"><div class="section-title">βοΈ System Requirements</div><div class="features-grid"><div class="feature-card"><i class="fas fa-desktop"></i><h3>Minimum Requirements</h3><p>Windows 10/11 (64-bit)<br>Intel Core i3<br>4GB RAM<br>500MB storage</p></div><div class="feature-card"><i class="fas fa-microchip"></i><h3>Recommended Requirements</h3><p>Intel Core i7 / AMD Ryzen 7<br>8GB+ RAM<br>NVIDIA GPU (for acceleration)<br>SSD storage</p></div></div>${footerHTML}</div>`,
|
| 309 |
+
|
| 310 |
+
quickstart: `<div class="page-container"><div class="section-title">π Quick Start Guide</div><div class="features-grid"><div class="feature-card"><i class="fas fa-mouse-pointer"></i><h3>1. Drag & Drop</h3><p>Simply drag any file onto the application window</p></div><div class="feature-card"><i class="fas fa-list"></i><h3>2. Select Format</h3><p>Choose your desired output format from dropdown</p></div><div class="feature-card"><i class="fas fa-play"></i><h3>3. Click Convert</h3><p>Your file converts in seconds with high quality</p></div></div>${footerHTML}</div>`,
|
| 311 |
+
|
| 312 |
+
images: `<div class="page-container"><div class="section-title">πΌοΈ Image Conversion Guide</div><div class="features-grid"><div class="feature-card"><h3>π₯ Input Formats</h3><p>JPG, PNG, GIF, BMP, WEBP, HEIC, TIFF, SVG, RAW</p></div><div class="feature-card"><h3>π€ Output Formats</h3><p>JPG, PNG, WEBP, BMP, TIFF, PDF, ICO</p></div><div class="feature-card"><h3>βοΈ Quality Settings</h3><p>Lossless β’ High β’ Medium β’ Low<br>Adjustable compression ratio</p></div></div>${footerHTML}</div>`,
|
| 313 |
+
|
| 314 |
+
documents: `<div class="page-container"><div class="section-title">π Document Conversion</div><div class="features-grid"><div class="feature-card"><h3>Supported Formats</h3><p>PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT, RTF, ODT, HTML</p></div><div class="feature-card"><h3>PDF Features</h3><p>Merge multiple PDFs β’ Split by pages β’ Extract text β’ OCR support</p></div></div>${footerHTML}</div>`,
|
| 315 |
+
|
| 316 |
+
video: `<div class="page-container"><div class="section-title">π¬ Video & Audio Conversion</div><div class="features-grid"><div class="feature-card"><h3>Video Formats</h3><p>MP4, AVI, MKV, MOV, WMV, FLV, WEBM, M4V, 3GP</p></div><div class="feature-card"><h3>Audio Formats</h3><p>MP3, WAV, FLAC, AAC, OGG, M4A, WMA</p></div><div class="feature-card"><h3>Video Settings</h3><p>Resolution: 480p, 720p, 1080p, 4K<br>Bitrate, Codec, Frame rate adjustable</p></div></div>${footerHTML}</div>`,
|
| 317 |
+
|
| 318 |
+
batch: `<div class="page-container"><div class="section-title">π¦ Batch Processing</div><div class="features-grid"><div class="feature-card"><h3>Features</h3><p>β’ Convert multiple files at once<br>β’ Add entire folders recursively<br>β’ Parallel processing for speed<br>β’ Queue management system</p></div><div class="feature-card"><h3>Batch Settings</h3><p>β’ Uniform output format<br>β’ Preserve folder structure<br>β’ Auto-rename conflicts<br>β’ Email notification on completion</p></div></div>${footerHTML}</div>`,
|
| 319 |
+
|
| 320 |
+
"faq-page": `<div class="page-container"><div class="section-title">β Frequently Asked Questions</div><div class="faq-grid"><div class="faq-item"><div class="faq-question">Is All File Converter really free? <i class="fas fa-chevron-down"></i></div><div class="faq-answer">Yes! The free version includes all basic conversions with 200+ formats support. No watermarks, no limitations on file size.</div></div><div class="faq-item"><div class="faq-question">Does it work offline? <i class="fas fa-chevron-down"></i></div><div class="faq-answer">Absolutely! No internet connection required after installation. All processing happens locally on your computer.</div></div><div class="faq-item"><div class="faq-question">What file formats are supported? <i class="fas fa-chevron-down"></i></div><div class="faq-answer">Over 200 formats including images (JPG, PNG, HEIC), documents (PDF, DOCX), video (MP4, AVI), and audio (MP3, WAV).</div></div><div class="faq-item"><div class="faq-question">Is there a file size limit? <i class="fas fa-chevron-down"></i></div><div class="faq-answer">No limits! Convert files of any size. The software is optimized for large files.</div></div><div class="faq-item"><div class="faq-question">How do I get support? <i class="fas fa-chevron-down"></i></div><div class="faq-answer">Contact us via the contact form, email, or WhatsApp. Response within 24 hours for free users, priority for Pro users.</div></div></div>${footerHTML}</div>`,
|
| 321 |
+
|
| 322 |
+
blog: `<div class="page-container"><div class="section-title">π Latest News & Updates</div><div class="blog-grid"><div class="blog-card"><div class="blog-image"><i class="fas fa-rocket"></i></div><div class="blog-content"><h3>Version 3.1 Released</h3><p>HEIC/HEIF support added, 40% faster batch processing, dark mode interface, and improved OCR accuracy.</p><span class="read-more">Read more β</span></div></div><div class="blog-card"><div class="blog-image"><i class="fas fa-chart-line"></i></div><div class="blog-content"><h3>Performance Benchmarks 2026</h3><p>See how All File Converter compares with other tools in speed, quality, and resource usage.</p><span class="read-more">Read more β</span></div></div><div class="blog-card"><div class="blog-image"><i class="fas fa-shield-alt"></i></div><div class="blog-content"><h3>Security Update: Code Signing</h3><p>Our software is now digitally signed with Extended Validation certificate for Windows trust.</p><span class="read-more">Read more β</span></div></div></div>${footerHTML}</div>`,
|
| 323 |
+
|
| 324 |
+
changelog: `<div class="page-container"><div class="section-title">π Version History</div><div class="features-grid"><div class="feature-card"><i class="fas fa-gem"></i><h3>v3.1.0 (April 2026)</h3><p>β’ HEIC/HEIF image support<br>β’ 40% faster batch processing<br>β’ Dark mode interface<br>β’ Improved OCR accuracy</p></div><div class="feature-card"><i class="fas fa-star"></i><h3>v3.0.0 (January 2026)</h3><p>β’ Complete UI redesign<br>β’ GPU acceleration support<br>β’ CLI mode added<br>β’ 50+ new formats</p></div><div class="feature-card"><i class="fas fa-chart-line"></i><h3>v2.5.0 (October 2025)</h3><p>β’ Batch queue improvements<br>β’ Drag & drop enhanced<br>β’ Memory optimization</p></div></div>${footerHTML}</div>`
|
| 325 |
+
};
|
| 326 |
+
|
| 327 |
+
// ==================== NAVIGATION ====================
|
| 328 |
+
function renderPage(pageId) {
|
| 329 |
+
const content = pages[pageId];
|
| 330 |
+
if (content) {
|
| 331 |
+
document.getElementById('mainContent').innerHTML = content;
|
| 332 |
+
window.scrollTo({ top: 0, behavior: 'smooth' });
|
| 333 |
+
closeSidebar();
|
| 334 |
+
attachEventListeners();
|
| 335 |
+
|
| 336 |
+
if (pageId === 'home') {
|
| 337 |
+
setTimeout(() => startCounters(), 100);
|
| 338 |
+
}
|
| 339 |
+
|
| 340 |
+
if (pageId === 'faq-page') {
|
| 341 |
+
setTimeout(() => {
|
| 342 |
+
document.querySelectorAll('.faq-item').forEach(item => {
|
| 343 |
+
item.addEventListener('click', function() {
|
| 344 |
+
this.querySelector('.faq-answer').classList.toggle('show');
|
| 345 |
+
const icon = this.querySelector('.faq-question i');
|
| 346 |
+
if (icon) icon.style.transform = this.querySelector('.faq-answer').classList.contains('show') ? 'rotate(180deg)' : 'rotate(0)';
|
| 347 |
+
});
|
| 348 |
+
});
|
| 349 |
+
}, 50);
|
| 350 |
+
}
|
| 351 |
+
}
|
| 352 |
+
}
|
| 353 |
+
|
| 354 |
+
function attachEventListeners() {
|
| 355 |
+
document.querySelectorAll('.download-btn, .download-trigger, #heroDownloadBtn, #headerDownloadBtn').forEach(btn => {
|
| 356 |
+
btn?.addEventListener('click', () => {
|
| 357 |
+
if (EXE_URL === "./AllFileConverter_Setup.exe") {
|
| 358 |
+
alert("π¦ Download Setup:\n\nPlace your .exe file in the same folder as this HTML file,\nor update EXE_URL with your actual download link.");
|
| 359 |
+
} else {
|
| 360 |
+
window.location.href = EXE_URL;
|
| 361 |
+
}
|
| 362 |
+
});
|
| 363 |
+
});
|
| 364 |
+
|
| 365 |
+
const contactForm = document.getElementById('contactForm');
|
| 366 |
+
if (contactForm) {
|
| 367 |
+
contactForm.addEventListener('submit', async (e) => {
|
| 368 |
+
e.preventDefault();
|
| 369 |
+
const name = document.getElementById('contactName').value;
|
| 370 |
+
const email = document.getElementById('contactEmail').value;
|
| 371 |
+
const subject = document.getElementById('contactSubject').value;
|
| 372 |
+
const message = document.getElementById('contactMessage').value;
|
| 373 |
+
const responseDiv = document.getElementById('formResponse');
|
| 374 |
+
|
| 375 |
+
responseDiv.className = 'form-message';
|
| 376 |
+
responseDiv.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Sending message...';
|
| 377 |
+
responseDiv.style.display = 'block';
|
| 378 |
+
|
| 379 |
+
try {
|
| 380 |
+
await sendEmailNotification(name, email, subject, message);
|
| 381 |
+
responseDiv.className = 'form-message form-success';
|
| 382 |
+
responseDiv.innerHTML = 'β Message sent successfully! Our team will respond within 24 hours.';
|
| 383 |
+
contactForm.reset();
|
| 384 |
+
setTimeout(() => responseDiv.style.display = 'none', 5000);
|
| 385 |
+
} catch(error) {
|
| 386 |
+
responseDiv.className = 'form-message form-error';
|
| 387 |
+
responseDiv.innerHTML = 'β Failed to send. Please email us directly at ' + YOUR_EMAIL;
|
| 388 |
+
}
|
| 389 |
+
});
|
| 390 |
+
}
|
| 391 |
+
}
|
| 392 |
+
|
| 393 |
+
// ==================== SIDEBAR CONTROLS ====================
|
| 394 |
+
function openSidebar() {
|
| 395 |
+
sidebar.classList.add('open');
|
| 396 |
+
overlay.classList.add('active');
|
| 397 |
+
document.body.style.overflow = 'hidden';
|
| 398 |
+
}
|
| 399 |
+
function closeSidebar() {
|
| 400 |
+
sidebar.classList.remove('open');
|
| 401 |
+
overlay.classList.remove('active');
|
| 402 |
+
document.body.style.overflow = '';
|
| 403 |
+
}
|
| 404 |
+
|
| 405 |
+
window.navigateTo = renderPage;
|
| 406 |
+
|
| 407 |
+
const menuBtn = document.getElementById('menuBtn');
|
| 408 |
+
const sidebar = document.getElementById('sidebar');
|
| 409 |
+
const overlay = document.getElementById('overlay');
|
| 410 |
+
const closeSidebarBtn = document.getElementById('closeSidebarBtn');
|
| 411 |
+
|
| 412 |
+
menuBtn.addEventListener('click', openSidebar);
|
| 413 |
+
closeSidebarBtn.addEventListener('click', closeSidebar);
|
| 414 |
+
overlay.addEventListener('click', closeSidebar);
|
| 415 |
+
|
| 416 |
+
document.querySelectorAll('[data-page]').forEach(item => {
|
| 417 |
+
item.addEventListener('click', (e) => {
|
| 418 |
+
const page = item.getAttribute('data-page');
|
| 419 |
+
if (page) renderPage(page);
|
| 420 |
+
});
|
| 421 |
+
});
|
| 422 |
+
|
| 423 |
+
document.getElementById('headerDownloadBtn')?.addEventListener('click', () => {
|
| 424 |
+
if (EXE_URL === "./AllFileConverter_Setup.exe") {
|
| 425 |
+
alert("π¦ Place your .exe file in the same folder as this HTML file.");
|
| 426 |
+
} else {
|
| 427 |
+
window.location.href = EXE_URL;
|
| 428 |
+
}
|
| 429 |
+
});
|
| 430 |
+
|
| 431 |
+
renderPage('home');
|
| 432 |
+
</script>
|
| 433 |
+
</body>
|
| 434 |
+
</html>
|