Spaces:
Running
Running
| class CustomFooter extends HTMLElement { | |
| connectedCallback() { | |
| this.attachShadow({ mode: 'open' }); | |
| this.shadowRoot.innerHTML = ` | |
| <style> | |
| .footer { | |
| background-color: #1F2937; | |
| color: white; | |
| } | |
| .footer-link { | |
| transition: all 0.3s ease; | |
| } | |
| .footer-link:hover { | |
| color: #3B82F6; | |
| } | |
| .social-icon { | |
| transition: all 0.3s ease; | |
| } | |
| .social-icon:hover { | |
| transform: translateY(-3px); | |
| } | |
| </style> | |
| <footer class="footer py-12 px-6"> | |
| <div class="container mx-auto"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-4 flex items-center gap-2"> | |
| <i data-feather="cpu"></i> | |
| SmartApp AI | |
| </h3> | |
| <p class="text-gray-300"> | |
| منصة بناء التطبيقات بالذكاء الاصطناعي الأولى من نوعها في العالم العربي. | |
| </p> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">روابط سريعة</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="footer-link text-gray-300">الرئيسية</a></li> | |
| <li><a href="#" class="footer-link text-gray-300">الميزات</a></li> | |
| <li><a href="#" class="footer-link text-gray-300">التعريفات</a></li> | |
| <li><a href="#" class="footer-link text-gray-300">الأسئلة الشائعة</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">الموارد</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="footer-link text-gray-300">التوثيق</a></li> | |
| <li><a href="#" class="footer-link text-gray-300">المدونة</a></li> | |
| <li><a href="#" class="footer-link text-gray-300">حالات الاستخدام</a></li> | |
| <li><a href="#" class="footer-link text-gray-300">الدعم الفني</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold mb-4">تواصل معنا</h4> | |
| <div class="flex gap-4 mb-4"> | |
| <a href="#" class="social-icon text-gray-300"> | |
| <i data-feather="facebook"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-300"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-300"> | |
| <i data-feather="linkedin"></i> | |
| </a> | |
| <a href="#" class="social-icon text-gray-300"> | |
| <i data-feather="youtube"></i> | |
| </a> | |
| </div> | |
| <p class="text-gray-300"> | |
| البريد الإلكتروني: info@smartappai.com | |
| </p> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400"> | |
| <p>© 2023 SmartApp AI. جميع الحقوق محفوظة.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| `; | |
| } | |
| } | |
| customElements.define('custom-footer', CustomFooter); |