embedingHF commited on
Commit
ec9731c
·
verified ·
1 Parent(s): 4539606

Update homepage.html

Browse files
Files changed (1) hide show
  1. homepage.html +14 -13
homepage.html CHANGED
@@ -135,8 +135,10 @@
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) {
@@ -208,6 +210,13 @@
208
  const WHATSAPP_NUMBER = "923034572298";
209
  const EXE_URL = "https://huggingface.co/embedingHF/AFC/resolve/main/AllFileConverter_Setup.exe";
210
 
 
 
 
 
 
 
 
211
  function sendEmailNotification(name, email, subject, message) {
212
  const formData = new FormData();
213
  formData.append('name', name);
@@ -274,7 +283,7 @@
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>
@@ -354,11 +363,7 @@
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
 
@@ -421,11 +426,7 @@
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');
 
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: 20px; margin-top: 20px; }
139
+ .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; transition: 0.2s; text-decoration: none; color: #9ca3af; font-size: 1.2rem; }
140
+ .social-links a:hover { background: rgba(255,255,255,0.2); color: white; transform: translateY(-3px); }
141
+ .social-links .hf-icon { font-weight: 700; font-size: 1rem; }
142
  .copyright { text-align: center; padding-top: 40px; margin-top: 40px; border-top: 1px solid #1f2937; font-size: 0.8rem; }
143
 
144
  @media (max-width: 768px) {
 
210
  const WHATSAPP_NUMBER = "923034572298";
211
  const EXE_URL = "https://huggingface.co/embedingHF/AFC/resolve/main/AllFileConverter_Setup.exe";
212
 
213
+ // Social Media Links
214
+ const SOCIAL_LINKS = {
215
+ huggingface: "https://huggingface.co/embedingHF",
216
+ github: "https://github.com/bahaduralihashmi",
217
+ linkedin: "https://www.linkedin.com/in/generatewithali"
218
+ };
219
+
220
  function sendEmailNotification(name, email, subject, message) {
221
  const formData = new FormData();
222
  formData.append('name', name);
 
283
  const footerHTML = `
284
  <footer class="footer">
285
  <div class="footer-content">
286
+ <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 href="${SOCIAL_LINKS.huggingface}" target="_blank" title="Hugging Face"><span class="hf-icon">🤗</span></a><a href="${SOCIAL_LINKS.github}" target="_blank" title="GitHub"><i class="fab fa-github"></i></a><a href="${SOCIAL_LINKS.linkedin}" target="_blank" title="LinkedIn"><i class="fab fa-linkedin-in"></i></a></div></div>
287
  <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>
288
  <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>
289
  <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>
 
363
  function attachEventListeners() {
364
  document.querySelectorAll('.download-btn, .download-trigger, #heroDownloadBtn, #headerDownloadBtn').forEach(btn => {
365
  btn?.addEventListener('click', () => {
366
+ window.location.href = EXE_URL;
 
 
 
 
367
  });
368
  });
369
 
 
426
  });
427
 
428
  document.getElementById('headerDownloadBtn')?.addEventListener('click', () => {
429
+ window.location.href = EXE_URL;
 
 
 
 
430
  });
431
 
432
  renderPage('home');