Manual changes saved
Browse files- components/footer.js +10 -5
components/footer.js
CHANGED
|
@@ -52,7 +52,7 @@ class CustomFooter extends HTMLElement {
|
|
| 52 |
width: 36px;
|
| 53 |
height: 36px;
|
| 54 |
border-radius: 50%;
|
| 55 |
-
background: rgba(255, 255, 255, 0.
|
| 56 |
display: flex;
|
| 57 |
align-items: center;
|
| 58 |
justify-content: center;
|
|
@@ -85,10 +85,9 @@ class CustomFooter extends HTMLElement {
|
|
| 85 |
</div>
|
| 86 |
<p class="text-gray-400">La plataforma IA que revoluciona la gestión de talleres de ciclismo.</p>
|
| 87 |
<div class="social-links">
|
| 88 |
-
<a href="https://www.instagram.com/bikeloapp" target="_blank"><
|
| 89 |
-
<a href="#demo" target=""><
|
| 90 |
-
<a href="#demo" target=""><
|
| 91 |
-
<a href="#"><i data-feather="twitter"></i></a>
|
| 92 |
</div>
|
| 93 |
</div>
|
| 94 |
<div>
|
|
@@ -108,6 +107,12 @@ class CustomFooter extends HTMLElement {
|
|
| 108 |
</div>
|
| 109 |
</footer>
|
| 110 |
`;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 111 |
}
|
| 112 |
}
|
| 113 |
customElements.define('custom-footer', CustomFooter);
|
|
|
|
| 52 |
width: 36px;
|
| 53 |
height: 36px;
|
| 54 |
border-radius: 50%;
|
| 55 |
+
background: rgba(255, 255, 255, 0.1);
|
| 56 |
display: flex;
|
| 57 |
align-items: center;
|
| 58 |
justify-content: center;
|
|
|
|
| 85 |
</div>
|
| 86 |
<p class="text-gray-400">La plataforma IA que revoluciona la gestión de talleres de ciclismo.</p>
|
| 87 |
<div class="social-links">
|
| 88 |
+
<a href="https://www.instagram.com/bikeloapp" target="_blank"><i data-feather="instagram"></i></a>
|
| 89 |
+
<a href="#demo" target=""><i data-feather="facebook"></i></a>
|
| 90 |
+
<a href="#demo" target=""><i data-feather="linkedin"></i></a>
|
|
|
|
| 91 |
</div>
|
| 92 |
</div>
|
| 93 |
<div>
|
|
|
|
| 107 |
</div>
|
| 108 |
</footer>
|
| 109 |
`;
|
| 110 |
+
// Reemplazar los iconos dentro del shadowRoot
|
| 111 |
+
this.shadowRoot.querySelectorAll('[data-feather]').forEach(icon => {
|
| 112 |
+
const name = icon.getAttribute('data-feather');
|
| 113 |
+
const svg = feather.icons[name]?.toSvg();
|
| 114 |
+
if (svg) icon.outerHTML = svg;
|
| 115 |
+
});
|
| 116 |
}
|
| 117 |
}
|
| 118 |
customElements.define('custom-footer', CustomFooter);
|