Skip to content

Commit

Permalink
Merge pull request #345 from ConductionNL/feature/HofvanTwente-theme
Browse files Browse the repository at this point in the history
feature/HofvanTwente-theme
  • Loading branch information
remko48 authored Sep 18, 2024
2 parents f0837a5 + da91394 commit cec2a1c
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Bronnen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/Componenten.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/OverigFlow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/PublicatiePlatformen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/VerzoekFlow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/components.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions pwa/src/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import Gouda from "./../../static/configFiles/municipalities/gouda/gouda.json";
import GoudaAccept from "./../../static/configFiles/municipalities/gouda/gouda-accept.json";
import HoekscheWaard from "./../../static/configFiles/municipalities/hoeksche-waard/hoeksche-waard.json";
import HoekscheWaardAccept from "./../../static/configFiles/municipalities/hoeksche-waard/hoeksche-waard-accept.json";
import HofvanTwente from "./../../static/configFiles/municipalities/hof-van-twente/hof-van-twente.json";
import HofvanTwenteAccept from "./../../static/configFiles/municipalities/hof-van-twente/hof-van-twente-accept.json";
import Lansingerland from "./../../static/configFiles/municipalities/lansingerland/lansingerland.json";
import LansingerlandAccept from "./../../static/configFiles/municipalities/lansingerland/lansingerland-accept.json";
import Leiden from "./../../static/configFiles/municipalities/leiden/leiden.json";
Expand Down Expand Up @@ -134,6 +136,15 @@ export const getConfig = (themeOrDomainName: string): Record<string, any> | unde
case "gemeentehw.accept.openwoo.app":
return HoekscheWaardAccept;

case "hof-van-twente-theme":
case "open.hofvantwente.nl":
case "hofvantwente.openwoo.app":
case "hofvantwente.koophulpje.nl":
return HofvanTwente;
case "acceptatie-open.hofvantwente.nl":
case "hofvantwente.accept.openwoo.app":
return HofvanTwenteAccept;

case "lansingerland":
case "open.lansingerland.nl":
case "lansingerland.openwoo.app":
Expand Down Expand Up @@ -329,6 +340,7 @@ export const availableThemes: TGroupedSelectOption[] = [
{ label: "Gooise Meren", value: "gooise-meren-theme" },
{ label: "Gouda", value: "gouda-theme" },
{ label: "Hoeksche Waard", value: "hoeksche-waard" },
{ label: "Hof van Twente", value: "open-webconcept-theme" },
{ label: "Lansingerland", value: "lansingerland" },
{ label: "Leiden", value: "leiden-theme" },
{ label: "Moerdijk", value: "moerdijk-theme" },
Expand Down

0 comments on commit cec2a1c

Please sign in to comment.