warimark73 commited on
Commit
a7ba792
·
verified ·
1 Parent(s): 74b8018

Créer moi une application mobile pour le site suivant: https://trubuild.io - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +229 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Building
3
- emoji: 📊
4
- colorFrom: purple
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: building
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,229 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Trubuild - Mobile App</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ /* Custom scrollbar */
11
+ ::-webkit-scrollbar {
12
+ width: 6px;
13
+ }
14
+ ::-webkit-scrollbar-track {
15
+ background: #f1f1f1;
16
+ }
17
+ ::-webkit-scrollbar-thumb {
18
+ background: #888;
19
+ border-radius: 3px;
20
+ }
21
+ ::-webkit-scrollbar-thumb:hover {
22
+ background: #555;
23
+ }
24
+
25
+ /* Animation for buttons */
26
+ @keyframes pulse {
27
+ 0% { transform: scale(1); }
28
+ 50% { transform: scale(1.05); }
29
+ 100% { transform: scale(1); }
30
+ }
31
+ .pulse:hover {
32
+ animation: pulse 1.5s infinite;
33
+ }
34
+
35
+ /* Custom transition */
36
+ .transition-slow {
37
+ transition: all 0.5s ease;
38
+ }
39
+ </style>
40
+ </head>
41
+ <body class="bg-gray-100 font-sans">
42
+ <!-- Mobile App Container -->
43
+ <div class="max-w-md mx-auto bg-white shadow-lg rounded-lg overflow-hidden min-h-screen flex flex-col">
44
+ <!-- Header -->
45
+ <header class="bg-blue-600 text-white p-4 shadow-md">
46
+ <div class="flex justify-between items-center">
47
+ <div class="flex items-center space-x-2">
48
+ <i class="fas fa-home text-2xl"></i>
49
+ <h1 class="text-xl font-bold">Trubuild</h1>
50
+ </div>
51
+ <div class="flex space-x-3">
52
+ <button class="text-white">
53
+ <i class="fas fa-search"></i>
54
+ </button>
55
+ <button class="text-white">
56
+ <i class="fas fa-bell"></i>
57
+ </button>
58
+ <button class="text-white">
59
+ <i class="fas fa-user-circle"></i>
60
+ </button>
61
+ </div>
62
+ </div>
63
+ </header>
64
+
65
+ <!-- Main Content -->
66
+ <main class="flex-1 overflow-y-auto p-4">
67
+ <!-- Hero Section -->
68
+ <section class="bg-gradient-to-r from-blue-500 to-blue-700 text-white rounded-xl p-6 mb-6 shadow-lg">
69
+ <h2 class="text-2xl font-bold mb-2">Construisons ensemble</h2>
70
+ <p class="mb-4">Votre partenaire pour des projets de construction réussis</p>
71
+ <button class="bg-white text-blue-600 font-bold py-2 px-4 rounded-full pulse transition-slow hover:bg-blue-100">
72
+ Démarrer un projet
73
+ </button>
74
+ </section>
75
+
76
+ <!-- Services Section -->
77
+ <section class="mb-6">
78
+ <h3 class="text-lg font-semibold mb-3 text-gray-800">Nos Services</h3>
79
+ <div class="grid grid-cols-2 gap-3">
80
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200 flex flex-col items-center">
81
+ <div class="bg-blue-100 p-3 rounded-full mb-2">
82
+ <i class="fas fa-drafting-compass text-blue-600 text-xl"></i>
83
+ </div>
84
+ <span class="text-sm font-medium text-center">Conception</span>
85
+ </div>
86
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200 flex flex-col items-center">
87
+ <div class="bg-green-100 p-3 rounded-full mb-2">
88
+ <i class="fas fa-hard-hat text-green-600 text-xl"></i>
89
+ </div>
90
+ <span class="text-sm font-medium text-center">Construction</span>
91
+ </div>
92
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200 flex flex-col items-center">
93
+ <div class="bg-purple-100 p-3 rounded-full mb-2">
94
+ <i class="fas fa-tools text-purple-600 text-xl"></i>
95
+ </div>
96
+ <span class="text-sm font-medium text-center">Rénovation</span>
97
+ </div>
98
+ <div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200 flex flex-col items-center">
99
+ <div class="bg-orange-100 p-3 rounded-full mb-2">
100
+ <i class="fas fa-home text-orange-600 text-xl"></i>
101
+ </div>
102
+ <span class="text-sm font-medium text-center">Aménagement</span>
103
+ </div>
104
+ </div>
105
+ </section>
106
+
107
+ <!-- Projects Section -->
108
+ <section class="mb-6">
109
+ <div class="flex justify-between items-center mb-3">
110
+ <h3 class="text-lg font-semibold text-gray-800">Nos Réalisations</h3>
111
+ <a href="#" class="text-blue-600 text-sm">Voir tout</a>
112
+ </div>
113
+ <div class="space-y-3">
114
+ <div class="relative rounded-xl overflow-hidden shadow-md h-40">
115
+ <img src="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80"
116
+ alt="Projet moderne" class="w-full h-full object-cover">
117
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-4">
118
+ <h4 class="text-white font-medium">Maison contemporaine</h4>
119
+ <p class="text-white/80 text-sm">Paris, France</p>
120
+ </div>
121
+ </div>
122
+ <div class="relative rounded-xl overflow-hidden shadow-md h-40">
123
+ <img src="https://images.unsplash.com/photo-1605276374104-dee2a0ed3cd6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80"
124
+ alt="Projet rénovation" class="w-full h-full object-cover">
125
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-4">
126
+ <h4 class="text-white font-medium">Rénovation complète</h4>
127
+ <p class="text-white/80 text-sm">Lyon, France</p>
128
+ </div>
129
+ </div>
130
+ </div>
131
+ </section>
132
+
133
+ <!-- Testimonials -->
134
+ <section class="mb-6">
135
+ <h3 class="text-lg font-semibold mb-3 text-gray-800">Témoignages</h3>
136
+ <div class="bg-white p-4 rounded-xl shadow-sm">
137
+ <div class="flex items-center mb-3">
138
+ <div class="w-10 h-10 rounded-full bg-gray-300 mr-3 overflow-hidden">
139
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Client" class="w-full h-full object-cover">
140
+ </div>
141
+ <div>
142
+ <h4 class="font-medium">Sophie Martin</h4>
143
+ <div class="flex text-yellow-400 text-sm">
144
+ <i class="fas fa-star"></i>
145
+ <i class="fas fa-star"></i>
146
+ <i class="fas fa-star"></i>
147
+ <i class="fas fa-star"></i>
148
+ <i class="fas fa-star"></i>
149
+ </div>
150
+ </div>
151
+ </div>
152
+ <p class="text-gray-600 text-sm">"Trubuild a transformé notre vieille maison en un espace moderne et fonctionnel. Leur équipe était professionnelle et respectueuse des délais."</p>
153
+ </div>
154
+ </section>
155
+
156
+ <!-- Contact CTA -->
157
+ <section class="bg-gray-50 p-4 rounded-xl border border-gray-200">
158
+ <h3 class="text-lg font-semibold mb-2 text-gray-800">Prêt à commencer votre projet?</h3>
159
+ <p class="text-gray-600 text-sm mb-4">Contactez-nous pour un devis gratuit et personnalisé.</p>
160
+ <button class="bg-blue-600 text-white font-bold py-2 px-4 rounded-full w-full pulse transition-slow hover:bg-blue-700">
161
+ <i class="fas fa-phone-alt mr-2"></i> Nous contacter
162
+ </button>
163
+ </section>
164
+ </main>
165
+
166
+ <!-- Bottom Navigation -->
167
+ <nav class="bg-white border-t border-gray-200 p-2">
168
+ <div class="flex justify-around">
169
+ <a href="#" class="text-blue-600 flex flex-col items-center p-2">
170
+ <i class="fas fa-home text-lg"></i>
171
+ <span class="text-xs mt-1">Accueil</span>
172
+ </a>
173
+ <a href="#" class="text-gray-500 flex flex-col items-center p-2">
174
+ <i class="fas fa-project-diagram text-lg"></i>
175
+ <span class="text-xs mt-1">Projets</span>
176
+ </a>
177
+ <a href="#" class="text-gray-500 flex flex-col items-center p-2">
178
+ <i class="fas fa-envelope text-lg"></i>
179
+ <span class="text-xs mt-1">Messages</span>
180
+ </a>
181
+ <a href="#" class="text-gray-500 flex flex-col items-center p-2">
182
+ <i class="fas fa-cog text-lg"></i>
183
+ <span class="text-xs mt-1">Paramètres</span>
184
+ </a>
185
+ </div>
186
+ </nav>
187
+ </div>
188
+
189
+ <script>
190
+ // Simple interactive elements
191
+ document.addEventListener('DOMContentLoaded', function() {
192
+ // Add click effect to buttons
193
+ const buttons = document.querySelectorAll('button');
194
+ buttons.forEach(button => {
195
+ button.addEventListener('mousedown', function() {
196
+ this.classList.add('scale-95');
197
+ });
198
+ button.addEventListener('mouseup', function() {
199
+ this.classList.remove('scale-95');
200
+ });
201
+ button.addEventListener('mouseleave', function() {
202
+ this.classList.remove('scale-95');
203
+ });
204
+ });
205
+
206
+ // Notification badge for demo
207
+ const bellBtn = document.querySelector('.fa-bell').parentNode;
208
+ const badge = document.createElement('span');
209
+ badge.className = 'absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full h-4 w-4 flex items-center justify-center';
210
+ badge.textContent = '3';
211
+ bellBtn.classList.add('relative');
212
+ bellBtn.appendChild(badge);
213
+
214
+ // Simulate loading projects
215
+ setTimeout(() => {
216
+ const projectsSection = document.querySelector('section:nth-of-type(3)');
217
+ const loading = document.createElement('div');
218
+ loading.className = 'text-center py-4 text-gray-500';
219
+ loading.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Chargement...';
220
+ projectsSection.appendChild(loading);
221
+
222
+ setTimeout(() => {
223
+ loading.remove();
224
+ }, 1500);
225
+ }, 1000);
226
+ });
227
+ </script>
228
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=warimark73/building" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
229
+ </html>