-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ajout de la fiche bks esthetique, price non obligatoire ajout du bout…
…on affiliation non obligatoire
- Loading branch information
Showing
8 changed files
with
76 additions
and
20 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
export const getCurrentEsthe = (esthetique: string | number) => configurations[esthetique] || configurations["bks"]; | ||
const imagePrefix = "/images"; | ||
|
||
// Fonction de création de configuration | ||
const createConfig = (title: string, logo: string, alt: string, description: string, link: string, images: any[]) => ({ | ||
title, | ||
logo, | ||
alt, | ||
description, | ||
link, | ||
images: images.map((image: any) => `${imagePrefix}/${image}`), | ||
}); | ||
|
||
const configurations = { | ||
"bks": createConfig( | ||
"Bikes sellier", | ||
`${imagePrefix}/bks.png`, | ||
"housse de selle", | ||
` | ||
<b>Fabriquant français de housses de selles personnalisées</b> <br> pour motos 50cc (Derbi, Rieju, Beta, Yamaha, MBK, Sherco, Aprilia, Honda...), kits déco, caches allumages et pièces imprimés en 3D. <br>Votre spécialiste de housse de selle 50cc totalement personnalisable et sur mesure, mousse de guidon personnalisées ainsi que des poignées personnalisable. | ||
`, | ||
"https://bikesellier.fr/", | ||
["selle.png", "poignee.png"], | ||
), | ||
"test": createConfig( | ||
"test", | ||
`${imagePrefix}/bks.png`, | ||
"housse de selle", | ||
` | ||
<b>Fabriquant français de housses de selles personnalisées</b> <br> pour motos 50cc (Derbi, Rieju, Beta, Yamaha, MBK, Sherco, Aprilia, Honda...), kits déco, caches allumages et pièces imprimés en 3D. <br>Votre spécialiste de housse de selle 50cc totalement personnalisable et sur mesure, mousse de guidon personnalisées ainsi que des poignées personnalisable. | ||
`, | ||
"https://bikesellier.fr/", | ||
["selle.png", "poignee.png"], | ||
), | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters