Skip to content

Commit

Permalink
feat: add qualibat, opqibi, qualifelec sources
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierJp committed Jun 13, 2024
1 parent b76913e commit d96caf7
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const OpqibiSection: React.FC<{
.
</>
}
sources={[EAdministration.DINUM]}
sources={[EAdministration.OPQIBI]}
data={opqibi}
>
{(opqibi) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const QualibatSection: React.FC<{ uniteLegale: IUniteLegale }> = ({
title="Certificat Qualibat"
id="qualibat"
isProtected
sources={[EAdministration.DINUM]}
sources={[EAdministration.QUALIBAT]}
notFoundInfo={
<>
Cette entreprise n’a pas de{' '}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function QualifelecSection({
.
</>
}
sources={[EAdministration.DINUM]}
sources={[EAdministration.QUALIFELEC]}
data={qualifelec}
>
{(qualifelec) => (
Expand Down
2 changes: 0 additions & 2 deletions components/map/map-etablissement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export function MapEtablissement({
minZoom: 3,
attributionControl: {
compact: true,
customAttribution:
'<a href="https://maplibre.org/" target="_blank">MapLibre</a> <a href="https://www.openmaptiles.org/" target="_blank">© OpenMapTiles</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">© Contributeurs OpenStreetMap</a>',
},
});

Expand Down
2 changes: 0 additions & 2 deletions components/map/map-results.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ export default function MapWithResults({
minZoom: 3,
attributionControl: {
compact: true,
customAttribution:
'<a href="https://maplibre.org/" target="_blank">MapLibre</a> <a href="https://www.openmaptiles.org/" target="_blank">© OpenMapTiles</a> <a href="https://www.openstreetmap.org/copyright" target="_blank">© Contributeurs OpenStreetMap</a>',
},
});

Expand Down
13 changes: 13 additions & 0 deletions data/administrations/opqibi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
slug: opqibi
short: OPBQIBI
long: Organisme de Qualification de l'Ingénierie
site: https://www.opqibi.com/
contact: https://www.opqibi.com/contact
estServicePublic: false
dataSources:
- label: Liste des entreprises certifiées OPQIBI
apiSlug: api-entreprise
data:
- label: Certification OPQIBI
description: |
OPQIBI est une association qui a pour mission la qualification des entreprises de l'ingénierie.
14 changes: 14 additions & 0 deletions data/administrations/qualibat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
slug: qualibat
short: QUALIBAT
long: QUALIBAT
site: https://www.qualibat.com/
contact: https://www.qualibat.com/contact/
estServicePublic: false
logoType: portrait
dataSources:
- label: Liste des entreprises QUALIBAT
apiSlug: api-entreprise
data:
- label: Certification QUALIBAT
description: |
QUALIBAT est une association qui a pour mission la qualification des professionnels de la construction.
13 changes: 13 additions & 0 deletions data/administrations/qualifelec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
slug: qualifelec
short: Qualifelec
long: Qualifelec
site: https://www.qualifelec.fr/
contact: https://www.qualifelec.fr/contact/
estServicePublic: false
dataSources:
- label: Liste des entreprises Qualifelec
apiSlug: api-entreprise
data:
- label: Certificat Qualifelec
description: |
Qualifelec est une association professionnelle qui a pour mission la qualification des entreprises du génie électrique, énergétique et numérique.
3 changes: 3 additions & 0 deletions models/administrations/EAdministration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ export enum EAdministration {
URSSAF = 'urssaf',
MSA = 'msa',
FNTP = 'fntp',
QUALIFELEC = 'qualifelec',
QUALIBAT = 'qualibat',
OPQIBI = 'opqibi',
}
1 change: 1 addition & 0 deletions public/images/logos/qualibat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d96caf7

Please sign in to comment.