Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/HofvanTwente-theme #345

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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