-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
524 lines (475 loc) · 18.8 KB
/
index.html
File metadata and controls
524 lines (475 loc) · 18.8 KB
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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
<!DOCTYPE html>
<html lang="fr">
<head>
<title>Diffusion Textile Internationale | Grossiste Textile au Maroc</title>
<meta charset="UTF-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<!-- Meta tags SEO principaux -->
<meta content="Leader dans la distribution textile au Maroc. Tissus d'habillement, d'ameublement et techniques en gros et détail. Cotton, polyester, lin, faux cuir et plus encore à Casablanca."
name="description">
<meta content="textile Maroc, tissus Casablanca, grossiste textile, tissus ameublement, tissus habillement, cotton, polyester, faux cuir, import textile, tissu en gros"
name="keywords">
<meta content="Diffusion Textile Internationale" name="author">
<!-- Open Graph / Facebook -->
<meta content="website" property="og:type">
<meta content="https://dti.afriat.info/" property="og:url">
<meta content="Diffusion Textile Internationale | Grossiste Textile au Maroc" property="og:title">
<meta content="Leader dans la distribution textile au Maroc. Large gamme de tissus pour l'habillement et l'ameublement."
property="og:description">
<meta content="https://dti.afriat.info/images/og-image.jpg" property="og:image">
<!-- Twitter -->
<meta content="summary_large_image" name="twitter:card">
<meta content="https://dti.afriat.info/" name="twitter:url">
<meta content="Diffusion Textile Internationale | Grossiste Textile au Maroc" name="twitter:title">
<meta content="Leader dans la distribution textile au Maroc. Large gamme de tissus pour l'habillement et l'ameublement."
name="twitter:description">
<meta content="https://dti.afriat.info/images/twitter-image.jpg" name="twitter:image">
<!-- Localisation -->
<meta content="MA-CAS" name="geo.region">
<meta content="Casablanca" name="geo.placename">
<meta content="33.5953;-7.6192" name="geo.position">
<meta content="33.5953, -7.6192" name="ICBM">
<!-- Autres meta tags importants -->
<meta content="index, follow" name="robots">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="telephone=no" name="format-detection">
<link href="https://dti.afriat.info/" rel="canonical">
<!-- Langues alternatives -->
<link href="https://dti.afriat.info/" hreflang="fr" rel="alternate">
<link href="https://dti.afriat.info/lang/en/" hreflang="en" rel="alternate">
<link href="https://dti.afriat.info/lang/cn/" hreflang="zh" rel="alternate">
<link href="https://dti.afriat.info/lang/ar/" hreflang="ar" rel="alternate">
<!-- Favicons -->
<link href="/apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180">
<link href="/favicon-32x32.png" rel="icon" sizes="32x32" type="image/png">
<link href="/favicon-16x16.png" rel="icon" sizes="16x16" type="image/png">
<link href="/site.webmanifest" rel="manifest">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">
<!-- Ressources CSS -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Schema.org markup -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "LocalBusiness",
"name": "Diffusion Textile Internationale",
"image": "https://dti.afriat.info/img/logo.jpg",
"description": "Leader dans la distribution textile au Maroc. Tissus d'habillement, d'ameublement et techniques en gros et détail.",
"address": {
"@type": "PostalAddress",
"streetAddress": "76-78, rue Mohamed Smiha",
"addressLocality": "Casablanca",
"postalCode": "20090",
"addressCountry": "MA"
},
"geo": {
"@type": "GeoCoordinates",
"latitude": 33.5953,
"longitude": -7.6192
},
"openingHoursSpecification": {
"@type": "OpeningHoursSpecification",
"dayOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"opens": "09:00",
"closes": "18:00"
},
"telephone": "+212522446190",
"url": "https://dti.afriat.info"
}
</script>
<style>
:root {
--primary-color: #2c3e50;
--secondary-color: #3498db;
--accent-color: #e74c3c;
}
body {
font-family: 'Poppins', sans-serif;
line-height: 1.6;
color: var(--primary-color);
}
.navbar {
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.hero-section {
background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
padding: 100px 0;
color: white;
text-align: center;
}
.hero-section h1 {
font-size: 3.5rem;
font-weight: 600;
margin-bottom: 1rem;
}
.product-card {
background: white;
border-radius: 10px;
padding: 2rem;
margin: 1rem 0;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.product-card:hover {
transform: translateY(-5px);
}
.contact-form {
background: white;
border-radius: 10px;
padding: 2rem;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.btn-primary {
background: var(--secondary-color);
border: none;
padding: 12px 30px;
border-radius: 30px;
font-weight: 600;
transition: all 0.3s ease;
}
.btn-primary:hover {
background: var(--primary-color);
transform: translateY(-2px);
}
.product-tag {
display: inline-block;
background: var(--secondary-color);
color: white;
padding: 5px 15px;
border-radius: 20px;
margin: 5px;
font-size: 0.9rem;
}
.footer {
background: var(--primary-color);
color: white;
padding: 3rem 0;
margin-top: 4rem;
}
.product-tags {
margin-top: 1.5rem;
}
.product-tag {
display: inline-block;
background: var(--secondary-color);
color: white;
padding: 8px 16px;
border-radius: 25px;
margin: 5px;
font-size: 0.9rem;
transition: all 0.3s ease;
}
.product-tag:hover {
background: var(--primary-color);
transform: translateY(-2px);
cursor: pointer;
}
.product-card h3 {
color: var(--primary-color);
border-bottom: 2px solid var(--secondary-color);
padding-bottom: 10px;
margin-bottom: 15px;
}
/* Animation pour les tags */
@keyframes tagAppear {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.product-tag {
animation: tagAppear 0.3s ease forwards;
}
/* Délai d'animation pour chaque tag */
.product-tag:nth-child(1) {
animation-delay: 0.1s;
}
.product-tag:nth-child(2) {
animation-delay: 0.2s;
}
.product-tag:nth-child(3) {
animation-delay: 0.3s;
}
.product-tag:nth-child(4) {
animation-delay: 0.4s;
}
.product-tag:nth-child(5) {
animation-delay: 0.5s;
}
/* Ajustement pour le menu mobile */
.navbar {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
/* Ajustement du padding du contenu principal pour éviter le chevauchement avec la navbar */
body {
padding-top: 80px;
}
/* Style pour le bouton toggle */
.navbar-toggler {
border: none;
padding: 0.25rem 0.75rem;
}
.navbar-toggler:focus {
box-shadow: none;
outline: none;
}
/* Ajustement pour la section hero en mobile */
@media (max-width: 991px) {
.hero-section {
padding-top: 60px;
}
.navbar-collapse {
background: rgba(255, 255, 255, 0.98);
padding: 1rem;
border-radius: 8px;
margin-top: 0.5rem;
}
}
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg fixed-top">
<div class="container">
<a class="navbar-brand" href="#">
<img src="/img/logo.png" alt="DTI Logo" width="100" height="50" class="d-inline-block align-text-top">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<div class="navbar-nav ms-auto">
<a class="nav-link active" href="#">Français</a>
<a class="nav-link" href="/lang/en/">English</a>
<a class="nav-link" href="/lang/cn/">中文</a>
<a class="nav-link" href="/lang/ar/">العربية</a>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-section">
<div class="container">
<h1>Diffusion Textile Internationale</h1>
<p class="lead">Leader dans la distribution textile au Maroc</p>
</div>
</section>
<!-- Services Section -->
<section class="container my-5">
<div class="row">
<div class="col-md-4">
<div class="product-card text-center">
<i class="fas fa-handshake fa-3x mb-3"></i>
<h3>Nos Services</h3>
<p>Une expertise à votre service pour trouver les meilleurs produits adaptés à vos besoins</p>
</div>
</div>
<div class="col-md-4">
<div class="product-card text-center">
<i class="fas fa-box fa-3x mb-3"></i>
<h3>Nos Produits</h3>
<p>Large gamme de textiles de haute qualité pour l'ameublement et l'habillement</p>
</div>
</div>
<div class="col-md-4">
<div class="product-card text-center">
<i class="fas fa-phone fa-3x mb-3"></i>
<h3>Contact</h3>
<p>Une équipe à votre écoute pour répondre à toutes vos demandes</p>
</div>
</div>
</div>
</section>
<!-- Section Produits -->
<section class="container my-5">
<h2 class="text-center mb-4">Nos Produits Textiles</h2>
<div class="row">
<div class="col-lg-6 mb-4">
<div class="product-card">
<h3>Tissus d'Habillement</h3>
<div class="product-tags">
<span class="product-tag">Cotton</span>
<span class="product-tag">Polyester</span>
<span class="product-tag">Lin</span>
<span class="product-tag">Mlifa</span>
<span class="product-tag">Rayon</span>
<span class="product-tag">Tissus chemise</span>
<span class="product-tag">Popeline lycra</span>
<span class="product-tag">Popeline 80/20</span>
</div>
</div>
</div>
<div class="col-lg-6 mb-4">
<div class="product-card">
<h3>Tissus d'Ameublement</h3>
<div class="product-tags">
<span class="product-tag">Suede</span>
<span class="product-tag">Dacron</span>
<span class="product-tag">PU faux cuir</span>
<span class="product-tag">Sofa</span>
<span class="product-tag">Draperie</span>
<span class="product-tag">Doublure satin</span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 mb-4">
<div class="product-card">
<h3>Tissus Techniques</h3>
<div class="product-tags">
<span class="product-tag">Polyester Viscose</span>
<span class="product-tag">Tissus de travail 80/20 185 gsm</span>
<span class="product-tag">Organza</span>
</div>
</div>
</div>
<div class="col-lg-6 mb-4">
<div class="product-card">
<h3>Caractéristiques Spéciales</h3>
<div class="product-tags">
<span class="product-tag">Toutes les couleurs</span>
<span class="product-tag">Import direct</span>
<span class="product-tag">Gros et détail</span>
<span class="product-tag">Qualité premium</span>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Form -->
<section class="container my-5">
<div class="contact-form">
<h2 class="text-center mb-4">Contactez-nous</h2>
<div class="alert alert-info" style="display: none">
<button class="close" data-dismiss="alert" type="button">×</button>
<strong>Message bien envoyé!</strong> Nous reviendrons vers-vous rapidement.
</div>
<form action="class/contact.php" id="contactForm" method="POST">
<div class="row">
<div class="col-md-6">
<div class="mb-3">
<input class="form-control" id="nom" name="nom" placeholder="Nom et Prénom" required
type="text">
</div>
<div class="mb-3">
<input class="form-control" id="email" name="email" placeholder="Email" required type="email">
</div>
<div class="mb-3">
<input class="form-control" id="tel" name="tel" placeholder="Téléphone" type="tel">
</div>
<div class="mb-3">
<input class="form-control" id="company" name="company" placeholder="Société" type="text">
</div>
</div>
<div class="col-md-6">
<div class="mb-3">
<textarea class="form-control" id="message" name="message" placeholder="Votre message" required
rows="6"></textarea>
</div>
</div>
</div>
<div class="text-center">
<button class="btn btn-primary" type="submit">Envoyer</button>
</div>
</form>
</div>
</section>
<!-- Footer -->
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-md-4">
<h4>Adresse</h4>
<p>76-78, rue Mohamed Smiha<br>
Quartier: Derb Omar<br>
20090 CASABLANCA</p>
</div>
<div class="col-md-4">
<h4>Contact</h4>
<p>Tél: <a href="tel:(+212) 05 22 44 61 90">(+212) 05 22 44 61 90</a><br>
Fax: (+212) 05 22 44 54 86<br>
Email: <a href="mailto:dti@afriat.info">dti@afriat.info</a></p>
</div>
<div class="col-md-4">
<h4>Horaires</h4>
<p>Lundi - Vendredi: 9h - 18h</p>
</div>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script crossorigin="anonymous" src="https://kit.fontawesome.com/d8e635d1ce.js"></script>
<!-- Ajoutez ce script JavaScript à la fin de votre page, juste avant </body> -->
<script>
$(document).ready(function () {
$('#contactForm').on('submit', function (e) {
e.preventDefault(); // Empêche la soumission normale du formulaire
var form = $(this);
var email = $('#email').val();
var message = $('#message').val();
if (email == '' || message == '') {
alert('Les champs doivent êtres remplis');
return false;
}
$.ajax({
url: form.attr('action'),
type: form.attr('method'),
data: form.serialize(),
dataType: 'json',
headers: {
'X-Requested-With': 'XMLHttpRequest'
},
beforeSend: function () {
// Désactiver le bouton d'envoi pendant la requête
form.find('button[type="submit"]').prop('disabled', true);
},
success: function (response) {
if (response.success) {
$('.alert-info').fadeIn();
form[0].reset();
// Scroll vers le message de succès
$('html, body').animate({
scrollTop: $('.alert-info').offset().top - 100
}, 500);
// Cacher le message après 5 secondes
setTimeout(function () {
$('.alert-info').fadeOut();
}, 5000);
} else {
alert('Erreur : ' + (response.message || 'Une erreur est survenue'));
}
},
error: function (xhr, status, error) {
alert('Une erreur est survenue. Veuillez réessayer plus tard.');
console.error('Erreur AJAX:', status, error);
},
complete: function () {
// Réactiver le bouton d'envoi
form.find('button[type="submit"]').prop('disabled', false);
}
});
return false; // Empêche la soumission du formulaire
});
// Gestion du bouton de fermeture de l'alerte
$('.alert .close').on('click', function () {
$(this).parent('.alert').fadeOut();
});
});
</script>
</body>
</html>