File size: 9,585 Bytes
fc287fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
class BloomFooter extends HTMLElement {
    connectedCallback() {
        this.attachShadow({ mode: 'open' });
        this.shadowRoot.innerHTML = `
            <style>
                :host {
                    display: block;
                    background: linear-gradient(to top, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
                    border-top: 1px solid rgba(244, 114, 182, 0.1);
                    padding: 3rem 0 2rem;
                    margin-top: 4rem;
                }
                
                .footer-container {
                    max-width: 1280px;
                    margin: 0 auto;
                    padding: 0 1rem;
                }
                
                .footer-content {
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    gap: 3rem;
                    margin-bottom: 2.5rem;
                }
                
                .footer-section {
                    display: flex;
                    flex-direction: column;
                    gap: 1.25rem;
                }
                
                .footer-heading {
                    font-size: 1.125rem;
                    font-weight: 700;
                    color: #ec4899;
                    margin-bottom: 0.5rem;
                }
                
                .footer-links {
                    display: flex;
                    flex-direction: column;
                    gap: 0.75rem;
                }
                
                .footer-link {
                    display: inline-flex;
                    align-items: center;
                    gap: 0.5rem;
                    color: #4b5563;
                    text-decoration: none;
                    font-weight: 500;
                    transition: color 0.3s ease;
                }
                
                .footer-link:hover {
                    color: #ec4899;
                }
                
                .footer-text {
                    color: #6b7280;
                    font-size: 0.875rem;
                    line-height: 1.5;
                }
                
                .footer-bottom {
                    border-top: 1px solid rgba(244, 114, 182, 0.1);
                    padding-top: 1.5rem;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }
                
                .footer-social {
                    display: flex;
                    align-items: center;
                    gap: 1rem;
                }
                
                .social-icon {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    width: 2.5rem;
                    height: 2.5rem;
                    border-radius: 0.75rem;
                    background: rgba(244, 114, 182, 0.08);
                    color: #ec4899;
                    text-decoration: none;
                    transition: all 0.3s ease;
                }
                
                .social-icon:hover {
                    background: rgba(244, 114, 182, 0.15);
                    transform: translateY(-2px);
                }
                
                @media (max-width: 1024px) {
                    .footer-content {
                        grid-template-columns: repeat(2, 1fr);
                        gap: 2rem;
                    }
                }
                
                @media (max-width: 640px) {
                    .footer-content {
                        grid-template-columns: 1fr;
                        gap: 2rem;
                    }
                    
                    .footer-bottom {
                        flex-direction: column;
                        gap: 1rem;
                        text-align: center;
                    }
                }
            </style>
            
            <footer class="footer-container">
                <div class="footer-content">
                    <div class="footer-section">
                        <h3 class="footer-heading">CodeBloom 🌹</h3>
                        <p class="footer-text">
                            Transform your coding experience with our beautiful rose-themed development platform. Where elegance meets functionality.
                        </p>
                    </div>
                    
                    <div class="footer-section">
                        <h3 class="footer-heading">Produits</h3>
                        <div class="footer-links">
                            <a href="ide.html" class="footer-link">
                                <i data-feather="code" class="w-4 h-4"></i>
                                Éditeur Intelligent
                            </a>
                            <a href="collaboration.html" class="footer-link">
                                <i data-feather="users" class="w-4 h-4"></i>
                                Collaboration
                            </a>
                            <a href="ai-assistant.html" class="footer-link">
                                <i data-feather="cpu" class="w-4 h-4"></i>
                                Assistant IA
                            </a>
                            <a href="deployment.html" class="footer-link">
                                <i data-feather="cloud" class="w-4 h-4"></i>
                                Déploiement
                            </a>
                        </div>
                    </div>
                    
                    <div class="footer-section">
                        <h3 class="footer-heading">Ressources</h3>
                        <div class="footer-links">
                            <a href="docs.html" class="footer-link">
                                <i data-feather="book" class="w-4 h-4"></i>
                                Documentation
                            </a>
                            <a href="tutorials.html" class="footer-link">
                                <i data-feather="video" class="w-4 h-4"></i>
                                Tutoriels
                            </a>
                            <a href="blog.html" class="footer-link">
                                <i data-feather="edit-3" class="w-4 h-4"></i>
                                Blog
                            </a>
                            <a href="support.html" class="footer-link">
                                <i data-feather="message-circle" class="w-4 h-4"></i>
                                Support
                            </a>
                        </div>
                    </div>
                    
                    <div class="footer-section">
                        <h3 class="footer-heading">Société</h3>
                        <div class="footer-links">
                            <a href="about.html" class="footer-link">
                                <i data-feather="info" class="w-4 h-4"></i>
                                À propos
                            </a>
                            <a href="careers.html" class="footer-link">
                                <i data-feather="briefcase" class="w-4 h-4"></i>
                                Carrières
                            </a>
                            <a href="contact.html" class="footer-link">
                                <i data-feather="mail" class="w-4 h-4"></i>
                                Contact
                            </a>
                            <a href="privacy.html" class="footer-link">
                                <i data-feather="shield" class="w-4 h-4"></i>
                                Confidentialité
                            </a>
                        </div>
                    </div>
                </div>
                
                <div class="footer-bottom">
                    <p class="footer-text">© 2025 CodeBloom Rose Petals. Made with ❤️ and ☕ by developers, for developers.</p>
                    
                    <div class="footer-social">
                        <a href="https://twitter.com/codebloom" class="social-icon" target="_blank" rel="noopener noreferrer">
                            <i data-feather="twitter" class="w-5 h-5"></i>
                        </a>
                        <a href="https://github.com/codebloom" class="social-icon" target="_blank" rel="noopener noreferrer">
                            <i data-feather="github" class="w-5 h-5"></i>
                        </a>
                        <a href="https://discord.gg/codebloom" class="social-icon" target="_blank" rel="noopener noreferrer">
                            <i data-feather="message-circle" class="w-5 h-5"></i>
                        </a>
                        <a href="https://youtube.com/codebloom" class="social-icon" target="_blank" rel="noopener noreferrer">
                            <i data-feather="youtube" class="w-5 h-5"></i>
                        </a>
                    </div>
                </div>
            </footer>
        `;
        
        // Initialize icons after rendering
        setTimeout(() => {
            if (typeof feather !== 'undefined') {
                this.shadowRoot.querySelectorAll('[data-feather]').forEach(el => {
                    feather.replace();
                });
            }
        }, 100);
    }
}

customElements.define('bloom-footer', BloomFooter);