File size: 6,580 Bytes
3003df9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Catalogue - ÉlecPeinture Distribution</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <link rel="stylesheet" href="style.css">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#1E3A8A',
                        secondary: '#F97316',
                        accent: '#64748B'
                    }
                }
            }
        }
    </script>
</head>
<body class="bg-gray-50">
    <custom-header></custom-header>
    
    <main class="min-h-screen">
        <div class="container mx-auto px-4 py-8">
            <!-- Breadcrumb -->
            <nav class="mb-6">
                <div class="flex items-center space-x-2 text-sm text-gray-600">
                    <a href="/" class="hover:text-primary transition-colors duration-300">Accueil</a>
                    <span>></span>
                    <span class="text-primary font-medium">Catalogue</span>
                </div>
            </nav>

            <!-- Page Header -->
            <div class="mb-8">
                <h1 class="text-3xl md:text-4xl font-bold text-gray-800">Notre Catalogue Complet</h1>
                <p class="text-gray-600 mt-2">Découvrez notre sélection de produits professionnels</p>
            </div>

            <div class="grid grid-cols-1 lg:grid-cols-4 gap-8">
                <!-- Sidebar Filters -->
                <aside class="lg:col-span-1">
                    <div class="bg-white rounded-xl shadow-lg p-6">
                        <h3 class="font-semibold text-lg mb-4">Filtrer par</h3>
                        
                        <!-- Categories -->
                        <div class="mb-6">
                    <h4 class="font-medium mb-3">Catégories</h4>
                    <div class="space-y-2">
                        <label class="flex items-center">
                            <input type="checkbox" class="rounded text-primary focus:ring-primary">
                            Électricité
                        </label>
                        <label class="flex items-center">
                            <input type="checkbox" class="rounded text-primary focus:ring-primary">
                            Peinture
                        </label>
                        <label class="flex items-center">
                            <input type="checkbox" class="rounded text-primary focus:ring-primary">
                            Outillage
                        </label>
                        <label class="flex items-center">
                            <input type="checkbox" class="rounded text-primary focus:ring-primary">
                            Préparation
                        </label>
                    </div>
                </div>

                <!-- Brands -->
                <div class="mb-6">
                    <h4 class="font-medium mb-3">Marques</h4>
                    <div class="space-y-2">
                            <label class="flex items-center">
                                <input type="checkbox" class="rounded text-primary focus:ring-primary">
                            Legrand
                        </label>
                        <label class="flex items-center">
                            <input type="checkbox" class="rounded text-primary focus:ring-primary">
                            Schneider
                        </label>
                        <label class="flex items-center">
                            <input type="checkbox" class="rounded text-primary focus:ring-primary">
                            Gewiss
                        </label>
                        <label class="flex items-center">
                            <input type="checkbox" class="rounded text-primary focus:ring-primary">
                            Guittet
                        </label>
                    </div>
                </div>

                <!-- Price Range -->
                <div class="mb-6">
                    <h4 class="font-medium mb-3">Prix</h4>
                    <div class="space-y-2">
                                <input type="range" min="0" max="1000" class="w-full">
                                <div class="flex justify-between text-sm text-gray-600">
                                    <span>0€</span>
                                    <span>1000€</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </aside>

                <!-- Products Grid -->
                <section class="lg:col-span-3">
                    <div class="mb-6">
                        <div class="flex flex-col sm:flex-row justify-between items-start sm:items-center gap-4">
                            <p class="text-gray-600">Affichage de <span class="font-semibold">12</span> produits</p>
                        <select class="border border-gray-300 rounded-lg px-3 py-2 focus:outline-none focus:ring-2 focus:ring-primary">
                            <option>Trier par : Pertinence</option>
                            <option>Prix croissant</option>
                            <option>Prix décroissant</option>
                        </select>
                    </div>

                    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
                        <!-- Product cards will be dynamically loaded -->
                        <div id="products-grid" class="col-span-full">
                            <div class="text-center py-12">
                                <i data-feather="package" class="w-12 h-12 text-gray-400 mx-auto mb-4"></i>
                                <p class="text-gray-600">Chargement des produits...</p>
                            </div>
                        </div>
                    </div>
                </section>
            </div>
        </div>
    </main>

    <custom-footer></custom-footer>

    <script src="components/header.js"></script>
    <script src="components/footer.js"></script>
    <script src="script.js"></script>
    <script>feather.replace();</script>
</body>
</html>