Skip to content

Commit

Permalink
added partial sloterburg theme
Browse files Browse the repository at this point in the history
  • Loading branch information
remko48 committed Dec 18, 2023
1 parent 3feca97 commit 26d53f8
Show file tree
Hide file tree
Showing 5 changed files with 28 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.41",
"@conduction/theme": "1.1.1",
"@conduction/theme": "1.1.2",
"@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
8 changes: 8 additions & 0 deletions pwa/src/services/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ 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 Sloterburg from "./../../static/configFiles/sloterburg.json";
import { TGroupedSelectOption } from "@conduction/components/lib/components/formFields/select/select";

export const getConfig = (themeOrDomainName: string): Record<string, any> | undefined => {
Expand Down Expand Up @@ -70,6 +71,12 @@ export const getConfig = (themeOrDomainName: string): Record<string, any> | unde
case "zutphen-theme":
return Zutphen;

case "open.sloterburg.nl":
case "sloterburg.koophulpje.nl":
case "sloterburg.openwoo.app":
case "sloterburg-theme":
return Sloterburg;

case "koophulpje.nl":
case "open-webconcept-theme":
case "openwoo.app":
Expand Down Expand Up @@ -154,6 +161,7 @@ export const availableThemes: TGroupedSelectOption[] = [
{ label: "Ridderkerk", value: "ridderkerk" },
{ label: "Rijssen-Holten", value: "rijssen-holten" },
{ label: "Rotterdam", value: "rotterdam-theme" },
{ label: "Sloterburg", value: "sloterburg-theme" },
{ label: "Stede Broec", value: "stedebroec" },
{ label: "Texel", value: "texel" },
{ label: "Tubbergen", value: "tubbergen-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 @@ -15,6 +15,7 @@
@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";
@import "../../node_modules/@conduction/theme/municipalities/sloterburg-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/sloterburg.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": "sloterburg-theme",
"GATSBY_FAVICON_URL": "https://cuatro.sim-cdn.nl/sloterburg/uploads/styles/favicon/media/favicon357500.png?cb=U6Ix86ic",
"GATSBY_ORGANISATION_NAME": "Gemeente Sloterburg",
"GATSBY_JUMBOTRON_IMAGE_URL": "https://cuatro.sim-cdn.nl/sloterburg/uploads/styles/large_5x2_2560x1024/media/kasteel.jpg?cb=RcxlJqfm",
"GATSBY_FOOTER_LOGO_HREF": "https://sloterburg.nl/",
"GATSBY_FOOTER_CONTENT": "https://raw.githubusercontent.com/ConductionNL/woo-website-template/main/docs/FooterContent.json",
"GATSBY_FOOTER_CONTENT_HEADER": "heading-2",
"GATSBY_OIDN_NUMBER": "",
"GATSBY_SHOW_CATEGORY": "true",
"GATSBY_SHOW_ORGANIZATION": "true"
}

0 comments on commit 26d53f8

Please sign in to comment.