File size: 3,102 Bytes
0fd8c45
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
class CustomFooter extends HTMLElement {
  connectedCallback() {
    this.attachShadow({ mode: 'open' });
    this.shadowRoot.innerHTML = `
      <style>
        footer {
          background: #111827;
          color: rgba(255, 255, 255, 0.7);
          padding: 2rem;
          text-align: center;
          border-top: 1px solid rgba(255, 255, 255, 0.1);
          margin-top: auto;
        }
        .footer-content {
          max-width: 1200px;
          margin: 0 auto;
          display: grid;
          grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
          gap: 2rem;
          text-align: left;
        }
        .footer-section h3 {
          color: white;
          margin-bottom: 1rem;
          font-size: 1.125rem;
        }
        .footer-links {
          list-style: none;
          padding: 0;
          margin: 0;
        }
        .footer-links li {
          margin-bottom: 0.5rem;
        }
        .footer-links a {
          color: rgba(255, 255, 255, 0.7);
          text-decoration: none;
          transition: color 0.3s;
          display: flex;
          align-items: center;
          gap: 0.5rem;
        }
        .footer-links a:hover {
          color: white;
        }
        .footer-links i {
          width: 16px;
          height: 16px;
        }
        .copyright {
          margin-top: 2rem;
          padding-top: 1.5rem;
          border-top: 1px solid rgba(255, 255, 255, 0.1);
          font-size: 0.875rem;
        }
        @media (max-width: 768px) {
          .footer-content {
            grid-template-columns: 1fr;
          }
        }
      </style>
      <footer>
        <div class="footer-content">
          <div class="footer-section">
            <h3>Product</h3>
            <ul class="footer-links">
              <li><a href="/"><i data-feather="home"></i> Home</a></li>
              <li><a href="/features.html"><i data-feather="zap"></i> Features</a></li>
              <li><a href="/pricing.html"><i data-feather="dollar-sign"></i> Pricing</a></li>
            </ul>
          </div>
          <div class="footer-section">
            <h3>Resources</h3>
            <ul class="footer-links">
              <li><a href="/docs.html"><i data-feather="book"></i> Documentation</a></li>
              <li><a href="/tutorials.html"><i data-feather="video"></i> Tutorials</a></li>
              <li><a href="/blog.html"><i data-feather="edit-2"></i> Blog</a></li>
            </ul>
          </div>
          <div class="footer-section">
            <h3>Company</h3>
            <ul class="footer-links">
              <li><a href="/about.html"><i data-feather="info"></i> About</a></li>
              <li><a href="/contact.html"><i data-feather="mail"></i> Contact</a></li>
              <li><a href="/careers.html"><i data-feather="users"></i> Careers</a></li>
            </ul>
          </div>
        </div>
        <div class="copyright">
          &copy; ${new Date().getFullYear()} DoclingRag. All rights reserved.
        </div>
      </footer>
    `;
  }
}
customElements.define('custom-footer', CustomFooter);