Skip to content

Commit

Permalink
added Zutphen theme
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Dec 18, 2023
1 parent 3b3c8d0 commit 6f330f0
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
8 changes: 4 additions & 4 deletions pwa/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"@conduction/components": "2.2.36",
"@conduction/theme": "1.0.56",
"@conduction/theme": "1.1.1",
"@fortawesome/fontawesome-svg-core": "^6.5.0",
"@fortawesome/free-brands-svg-icons": "6.5.0",
"@fortawesome/free-regular-svg-icons": "6.5.0",
Expand Down
5 changes: 5 additions & 0 deletions pwa/src/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import Waddinxveen from "./../../static/configFiles/waddinxveen.json";
import RijssenHolten from "./../../static/configFiles/rijssen-holten.json";
import HoekscheWaard from "./../../static/configFiles/hoeksche-waard.json";
import Texel from "./../../static/configFiles/texel.json";
import Zutphen from "./../../static/configFiles/zutphen.json";
import { TGroupedSelectOption } from "@conduction/components/lib/components/formFields/select/select";

export const getConfig = (themeOrDomainName: string): Record<string, any> | undefined => {
Expand All @@ -42,6 +43,9 @@ export const getConfig = (themeOrDomainName: string): Record<string, any> | unde
case "open.xxllnc.nl":
case "xxllnc-theme":
return Xxllnc;
case "open.zutphen.nl":
case "zutphen-theme":
return Zutphen;
case "koophulpje.nl":
case "open-webconcept-theme":
// case "localhost": // development purposes
Expand Down Expand Up @@ -100,6 +104,7 @@ export const availableThemes: TGroupedSelectOption[] = [
{ label: "Texel", value: "texel" },
{ label: "Tubbergen", value: "tubbergen-theme" },
{ label: "Waddinxveen", value: "waddinxveen" },
{ label: "Zutphen", value: "zutphen-theme" },
],
},
{
Expand Down
1 change: 1 addition & 0 deletions pwa/src/styling/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
@import "../../node_modules/@conduction/theme/municipalities/open-webconcept-design-tokens/dist/index.css";
@import "../../node_modules/@conduction/theme/municipalities/dimpact-design-tokens/dist/index.css";
@import "../../node_modules/@conduction/theme/municipalities/commonground-design-tokens/dist/index.css";
@import "../../node_modules/@conduction/theme/municipalities/zutphen-design-tokens/dist/index.css";

/* Design Tokens maintained by Frameless */
@import "../../node_modules/@utrecht/design-tokens/dist/theme.css";
Expand Down
14 changes: 14 additions & 0 deletions pwa/static/configFiles/zutphen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"GATSBY_SHOW_THEME_SWITCHER": "false",
"GATSBY_API_BASE_URL": "https://api.common-gateway.commonground.nu/api",
"GATSBY_NL_DESIGN_THEME_CLASSNAME": "zutphen-theme",
"GATSBY_FAVICON_URL": "https://zutphen.nl/themes/zutphen/favicon.ico",
"GATSBY_ORGANISATION_NAME": "Gemeente Zutphen",
"GATSBY_JUMBOTRON_IMAGE_URL": "https://zutphen.nl/sites/default/files/2023-10/Bult-05020-pano-WebsiteKlein.jpg",
"GATSBY_FOOTER_LOGO_HREF": "https://zutphen.nl/",
"GATSBY_FOOTER_CONTENT": "https://raw.githubusercontent.com/ConductionNL/woo-website-template/main/docs/FooterContent.json",
"GATSBY_FOOTER_CONTENT_HEADER": "",
"GATSBY_OIDN_NUMBER": "",
"GATSBY_SHOW_CATEGORY": "true",
"GATSBY_SHOW_ORGANIZATION": "true"
}

0 comments on commit 6f330f0

Please sign in to comment.