File size: 8,013 Bytes
ac6ce90
 
 
 
 
c8a3bb1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ac6ce90
c8a3bb1
ac6ce90
 
c8a3bb1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ac6ce90
c8a3bb1
 
ac6ce90
 
 
 
b9b4565
 
ac6ce90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
class CustomFooter extends HTMLElement {
    connectedCallback() {
        this.attachShadow({ mode: 'open' });
        this.shadowRoot.innerHTML = `
            <style>
                :host {
                    --footer-bg: var(--color-dark);
                    --footer-accent: var(--color-accent);
                }

                footer {
                    background: var(--footer-bg);
                    color: white;
                    padding: 6rem 0 4rem;
                    position: relative;
                    overflow: hidden;
                }

                .footer-container {
                    max-width: 1440px;
                    margin: 0 auto;
                    padding: 0 2rem;
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                    gap: 3rem;
                }

                .footer-logo {
                    display: flex;
                    align-items: center;
                    gap: 0.75rem;
                    font-size: 1.5rem;
                    font-weight: 700;
                    margin-bottom: 1.5rem;
                }

                .footer-logo-icon {
                    width: 2.5rem;
                    height: 2.5rem;
                    background: var(--color-accent);
                    border-radius: 0.5rem;
                    display: grid;
                    place-items: center;
                }

                .footer-heading {
                    font-size: 1.25rem;
                    font-weight: 600;
                    margin-bottom: 1.5rem;
                    color: var(--footer-accent);
                }

                .footer-links {
                    display: flex;
                    flex-direction: column;
                    gap: 0.75rem;
                }

                .footer-link {
                    color: rgba(255, 255, 255, 0.7);
                    transition: color 0.2s ease;
                }

                .footer-link:hover {
                    color: white;
                }

                .contact-item {
                    display: flex;
                    align-items: center;
                    gap: 0.75rem;
                    margin-bottom: 1rem;
                }

                .social-links {
                    display: flex;
                    gap: 1rem;
                    margin-top: 1.5rem;
                }

                .social-icon {
                    width: 2.5rem;
                    height: 2.5rem;
                    border-radius: 50%;
                    background: rgba(255, 255, 255, 0.1);
                    display: grid;
                    place-items: center;
                    transition: all 0.2s ease;
                }

                .social-icon:hover {
                    background: var(--footer-accent);
                    transform: translateY(-3px);
                }

                .footer-bottom {
                    margin-top: 4rem;
                    padding-top: 2rem;
                    border-top: 1px solid rgba(255, 255, 255, 0.1);
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 1rem;
                    text-align: center;
                }

                .legal-links {
                    display: flex;
                    gap: 1.5rem;
                }

                .legal-link {
                    color: rgba(255, 255, 255, 0.5);
                    font-size: 0.875rem;
                }

                .copyright {
                    color: rgba(255, 255, 255, 0.5);
                    font-size: 0.875rem;
                }

                @media (max-width: 768px) {
                    .footer-container {
                        grid-template-columns: 1fr;
                    }
                }
            </style>
            <footer>
<div class="container mx-auto px-4">
                    <div class="grid md:grid-cols-4 gap-8">
                        <div class="md:col-span-2">
                            <div class="flex items-center mb-4">
                                <div class="w-10 h-10 bg-blue-600 rounded-lg flex items-center justify-center mr-2">
                                <img src="/static/msc-logo.svg" alt="MSC Logo" class="w-6 h-6" />
</div>
                                <span class="text-xl font-bold text-white">MSC CodeHive</span>
                            </div>
                            <p class="text-gray-400">Transformando novos talentos em desenvolvedores excepcionais desde 2023.</p>
                        </div>
                        
                        <div>
                            <h4 class="text-lg font-semibold text-white mb-4">Links Rápidos</h4>
                            <ul class="space-y-2">
                                <li><a href="#cursos" class="text-gray-400 hover:text-white transition-colors">Cursos</a></li>
                                <li><a href="#sobre" class="text-gray-400 hover:text-white transition-colors">Sobre Nós</a></li>
                                <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Mentores</a></li>
                                <li><a href="#" class="text-gray-400 hover:text-white transition-colors">Depoimentos</a></li>
                            </ul>
                        </div>
                        
                        <div>
                            <h4 class="text-lg font-semibold text-white mb-4">Contato</h4>
                            <ul class="space-y-2">
                                <li class="flex items-center">
                                    <i data-feather="mail" class="w-4 h-4 mr-2"></i>
                                    <span class="text-gray-400">contato@msccodehive.com</span>
                                </li>
                                <li class="flex items-center">
                                    <i data-feather="phone" class="w-4 h-4 mr-2"></i>
                                    <span class="text-gray-400">+55 (11) 98765-4321</span>
                                </li>
                            </ul>
                            <div class="flex space-x-4 mt-6">
                                <a href="#" class="social-icon">
                                    <i data-feather="linkedin" class="w-5 h-5 text-gray-400 hover:text-blue-400"></i>
                                </a>
                                <a href="#" class="social-icon">
                                    <i data-feather="github" class="w-5 h-5 text-gray-400 hover:text-white"></i>
                                </a>
                                <a href="#" class="social-icon">
                                    <i data-feather="twitter" class="w-5 h-5 text-gray-400 hover:text-blue-400"></i>
                                </a>
                                <a href="#" class="social-icon">
                                    <i data-feather="instagram" class="w-5 h-5 text-gray-400 hover:text-pink-500"></i>
                                </a>
                            </div>
                        </div>
                    </div>
                    
                    <div class="border-t border-gray-700 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
                        <p class="text-gray-400 text-sm">© 2023 MSC CodeHive Academy. Todos os direitos reservados.</p>
                        <div class="flex space-x-6 mt-4 md:mt-0">
                            <a href="#" class="text-gray-400 hover:text-white text-sm">Termos de Uso</a>
                            <a href="#" class="text-gray-400 hover:text-white text-sm">Política de Privacidade</a>
                        </div>
                    </div>
                </div>
            </footer>
        `;
    }
}

customElements.define('custom-footer', CustomFooter);