diff --git a/pages/mon-compte.html b/pages/mon-compte.html new file mode 100644 index 0000000..c731090 --- /dev/null +++ b/pages/mon-compte.html @@ -0,0 +1,89 @@ + + + + + Dashboard Client - E-commerce + + + + + +
+ +
+

Résumé du compte

+

Date de création : 15 Janvier 2022

+

Nombre Total de commandes : 56

+
+ + +
+

Points de fidélité

+

Total points : 520

+

Récompenses disponibles : 2 bons d’achat

+
+ + +
+

Historique des commandes

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Code CommandeDateStatutMontantActions
A2025-00101/09/2025Livrée$230Détails | Télécharger facture
A2025-00215/09/2025Livrée$120Détails | Télécharger facture
A2025-00328/09/2025En attente$86Détails | Télécharger facture
+ +
+ + +
+

Retours & Réclamations

+

Aucun retour en cours.

+
+ + +
+

Produits consultés récemment

+ +
+
+ + diff --git a/styles/mon-compte.css b/styles/mon-compte.css new file mode 100644 index 0000000..baa8d53 --- /dev/null +++ b/styles/mon-compte.css @@ -0,0 +1,111 @@ +/* Reset */ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +/* Couleurs principales */ +:root { + --primary: #776f73; + --secondary: #8f253c; + --light: #cccccc; + --white: #fff; +} + +/* Global */ +body { + font-family: Arial, sans-serif; + display: flex; + background-color: var(--light); +} + +/* Header */ +header { + position: fixed; + top: 0; + left: 200px; + right: 0; + background: var(--primary); + color: var(--white); + padding: 1rem; + text-align: center; + z-index: 10; +} + +/* Sidebar */ +.sidebar { + width: 200px; + background: var(--secondary); + min-height: 100vh; + position: fixed; + top: 0; + left: 0; + padding-top: 5rem; +} + +.sidebar ul { + list-style: none; +} + +.sidebar li { + margin: 1rem 0; +} + +.sidebar a { + color: var(--white); + text-decoration: none; + padding: 0.5rem 1rem; + display: block; +} + +.sidebar a:hover { + background: var(--primary); +} + +/* Main */ +main { + margin-left: 200px; + padding: 7rem 2rem 2rem 2rem; + width: 100%; +} + +.card { + background: var(--white); + padding: 1.5rem; + margin-bottom: 1.5rem; + border-radius: 8px; + box-shadow: 0 2px 5px rgba(0,0,0,0.1); +} + +.card h2 { + margin-bottom: 1rem; + color: var(--secondary); +} + +/* Table */ +table { + width: 100%; + border-collapse: collapse; + margin-top: 1rem; +} + +table th, table td { + padding: 0.8rem; + border: 1px solid var(--light); + text-align: left; +} + +table th { + background: var(--primary); + color: var(--white); +} + +/* Footer */ +footer { + background: var(--primary); + color: var(--white); + text-align: center; + padding: 1rem; + margin-left: 200px; +}