File size: 1,123 Bytes
331435b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
194ea7c
331435b
 
39a81fd
331435b
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
class CustomFooter extends HTMLElement {
  connectedCallback() {
    this.attachShadow({ mode: 'open' });
    this.shadowRoot.innerHTML = `
      <style>
        :host {
          display: block;
          width: 100%;
        }
        footer {
          background: rgba(17, 24, 39, 0.8);
          backdrop-filter: blur(10px);
          border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        .footer-link {
          transition: color 0.2s ease;
        }
        .footer-link:hover {
          color: #818cf8;
        }
      </style>
      <footer class="py-8 px-6 mt-16">
        <div class="container mx-auto">
          <div class="flex flex-col md:flex-row justify-between items-center">
            <div class="mb-6 md:mb-0">
<p class="text-gray-400 mt-2 text-sm"><center>© ${new Date().getFullYear()} D3iu.ro<br> All rights reserved.</center></p>
            </div>
            <div class="flex flex-col md:flex-row md:space-x-8 space-y-4 md:space-y-0 text-center md:text-left">
</div>
          </div>
        </div>
      </footer>
    `;
  }
}
customElements.define('custom-footer', CustomFooter);