File size: 491 Bytes
35b8cd4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class CustomFooter extends HTMLElement {
  connectedCallback() {
    this.attachShadow({ mode: 'open' });
    this.shadowRoot.innerHTML = `
      <style>
        footer {
          background: #16213E;
          padding: 1rem;
          color: #A0AEC0;
          text-align: center;
          margin-top: auto;
        }
      </style>
      <footer>
        <p>MCP Toolkit © ${new Date().getFullYear()}</p>
      </footer>
    `;
  }
}
customElements.define('custom-footer', CustomFooter);