File size: 2,592 Bytes
4e5d406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
class CustomFooter extends HTMLElement {
  connectedCallback() {
    this.attachShadow({ mode: 'open' });
    this.shadowRoot.innerHTML = `
      <style>
        footer a:hover {
          color: #a78bfa;
        }
      </style>
      <footer class="bg-gray-800 border-t border-gray-700 py-12 mt-12">
        <div class="container mx-auto px-4">
          <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
            <div>
              <h3 class="text-lg font-bold mb-4">ByteBrew</h3>
              <p class="text-gray-400 mb-4">The ultimate playground for running and experimenting with local language models.</p>
              <div class="flex gap-4">
                <a href="#" class="text-gray-400 hover:text-purple-400 transition-colors">
                  <i data-feather="github" class="w-5 h-5"></i>
                </a>
                <a href="#" class="text-gray-400 hover:text-purple-400 transition-colors">
                  <i data-feather="twitter" class="w-5 h-5"></i>
                </a>
                <a href="#" class="text-gray-400 hover:text-purple-400 transition-colors">
                  <i data-feather="discord" class="w-5 h-5"></i>
                </a>
              </div>
            </div>
            <div>
              <h3 class="text-lg font-bold mb-4">Resources</h3>
              <ul class="space-y-2">
                <li><a href="#" class="text-gray-400 transition-colors">Documentation</a></li>
                <li><a href="#" class="text-gray-400 transition-colors">Model Zoo</a></li>
                <li><a href="#" class="text-gray-400 transition-colors">Benchmarks</a></li>
                <li><a href="#" class="text-gray-400 transition-colors">Hardware Guide</a></li>
              </ul>
            </div>
            <div>
              <h3 class="text-lg font-bold mb-4">Community</h3>
              <ul class="space-y-2">
                <li><a href="#" class="text-gray-400 transition-colors">Forums</a></li>
                <li><a href="#" class="text-gray-400 transition-colors">Contribute</a></li>
                <li><a href="#" class="text-gray-400 transition-colors">Roadmap</a></li>
                <li><a href="#" class="text-gray-400 transition-colors">Blog</a></li>
              </ul>
            </div>
          </div>
          <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-500 text-sm">
            <p>© 2023 ByteBrew. All rights reserved. Running AI locally since yesterday.</p>
          </div>
        </div>
      </footer>
    `;
  }
}
customElements.define('custom-footer', CustomFooter);