Skip to content

Commit

Permalink
Added moerdijk
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed May 7, 2024
1 parent 65b24f2 commit 49da9f8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/woo-page-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env: # Change these to your preferences any image url can also be a base encoded
SHOW_ORGANIZATION: "true"
FAVICON_URL: "data:image/svg+xml,%3Csvg id='Laag_1' data-name='Laag 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 259.81 300'%3E%3Cpath d='M129.9,0,0,75V225l129.9,75,129.91-75V75Zm96.8,205.89-96.8,55.88L33.1,205.89V94.11l96.8-55.89,96.8,55.89Z' style='fill:%234376fc'/%3E%3Cpolygon points='129.59 112.23 160.01 129.79 195.41 109.35 129.59 71.35 61.47 110.67 61.47 189.33 129.59 228.65 195.41 190.65 160.01 170.21 129.59 187.77 96.88 168.88 96.88 131.12 129.59 112.23' style='fill:%234376fc'/%3E%3C/svg%3E"
ORGANISATION_NAME: "Conduction"
JUMBOTRON_IMAGE_URL: "https://raw.githubusercontent.com/ConductionNL/${{github.event.repository.name}}/jumbotron.jpg"
JUMBOTRON_IMAGE_URL: "https://raw.githubusercontent.com/ConductionNL/${{github.event.repository.name}}/main/jumbotron.jpg"
FOOTER_LOGO_URL: "true"
FOOTER_LOGO_HREF: "https://conduction.nl/"
FOOTER_CONTENT: "https://raw.githubusercontent.com/ConductionNL/${{github.event.repository.name}}/main/FooterContent.json"
Expand Down
2 changes: 1 addition & 1 deletion pwa/src/layout/Head.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const Head: React.FC = () => {
frame-src 'self';
img-src 'self' data: https://raw.githubusercontent.com/ConductionNL/;
form-action 'self';
connect-src 'self' https://api.gateway.commonground.nu https://api.common-gateway.commonground.nu https://raw.githubusercontent.com/ConductionNL/ https://api.github.com;
connect-src 'self' https://api.gateway.commonground.nu https://api.common-gateway.commonground.nu https://raw.githubusercontent.com/ConductionNL/ https://api.github.com https://conductionnl.github.io;
style-src 'self' 'unsafe-inline';
font-src * data:;
${location.hostname === "localhost" && "script-src 'self' 'unsafe-eval';"}
Expand Down
8 changes: 8 additions & 0 deletions pwa/src/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import Gouda from "./../../static/configFiles/gouda.json";
import Zuiddrecht from "./../../static/configFiles/zuiddrecht.json";
import GooiseMeren from "./../../static/configFiles/gooise-meren.json";
import Roosendaal from "./../../static/configFiles/roosendaal.json";
import Moerdijk from "./../../static/configFiles/moerdijk.json";
import { TGroupedSelectOption } from "@conduction/components/lib/components/formFields/select/select";

export const getConfig = (themeOrDomainName: string): Record<string, any> | undefined => {
Expand Down Expand Up @@ -119,6 +120,13 @@ export const getConfig = (themeOrDomainName: string): Record<string, any> | unde
case "acceptatie-open.roosendaal.nl":
return Roosendaal;

case "moerdijk-theme":
case "open.moerdijk.nl":
case "moerdijk.openwoo.app":
case "moerdijk.koophulpje.nl":
case "acceptatie-open.moerdijk.nl":
return Moerdijk;

case "openwoo.app":
case "koophulpje.nl":
case "open-webconcept-theme":
Expand Down
16 changes: 16 additions & 0 deletions pwa/static/configFiles/moerdijk.json

Large diffs are not rendered by default.

0 comments on commit 49da9f8

Please sign in to comment.