Skip to content

Commit

Permalink
feat: add alimentation infography
Browse files Browse the repository at this point in the history
  • Loading branch information
desoindx committed Dec 5, 2024
1 parent 17458c9 commit 06047a1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/components/outils/equivalents/infographies/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,20 @@ export const infographies: Record<string, string[]> = {
poeleagranule: ['chauffagegaz', 'poeleagranule', 'chauffageelectrique'],
poeleabois: ['poeleabois', 'poeleagranule', 'chauffageelectrique'],
reseaudechaleur: ['reseaudechaleur', 'poeleagranule', 'pompeachaleur'],
crevettes: ['crevettes', 'saumon', 'fromagedure', 'tofu'],
saumon: ['crevettes', 'saumon', 'fromagedure', 'tofu'],
fromagedure: ['crevettes', 'saumon', 'fromagedure', 'tofu'],
tofu: ['crevettes', 'saumon', 'fromagepatedure', 'tofu'],
boeuf: ['boeuf', 'porc', 'poulet', 'haricotsrouges', 'tofu'],
porc: ['boeuf', 'porc', 'poulet', 'haricotsrouges', 'tofu'],
poulet: ['boeuf', 'porc', 'poulet', 'haricotsrouges', 'tofu'],
haricotsrouges: ['boeuf', 'porc', 'poulet', 'haricotsrouges', 'tofu'],
cheeseburger: ['cheeseburger', 'burgerpoulet', 'burgervegetarien'],
burgerpoulet: ['cheeseburger', 'burgerpoulet', 'burgervegetarien'],
burgervegetarien: ['cheeseburger', 'burgerpoulet', 'burgervegetarien'],
beurre: ['beurre', 'matieregrasse'],
matieregrasse: ['beurre', 'matieregrasse'],
painauchocolat: ['painauchocolat', 'croissant', 'pomme'],
croissant: ['painauchocolat', 'croissant', 'pomme'],
pomme: ['painauchocolat', 'croissant', 'pomme'],
}
1 change: 1 addition & 0 deletions src/utils/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const getExamples = unstable_cache(
!result.properties.Nom.title[0] ||
!result.properties.Lien.rich_text[0] ||
!result.properties.Logo.files[0] ||
!result.properties.Logo.files[0].file ||
!result.properties.Secteur.select
) {
return
Expand Down

0 comments on commit 06047a1

Please sign in to comment.