diff --git a/content/settings.json b/content/settings.json index 74b91bd..7783792 100644 --- a/content/settings.json +++ b/content/settings.json @@ -69,18 +69,15 @@ }, "atriumWidgets": { - "register": false, - "twitter": false, "login": true, - "siteVisitors": true, - "spatialChat": false, - "slack": false, + "siteVisitors": false, + "discord": true, "familyResources": false, "mozfestBook": true, - "linkedin": false, + "linkedin": true, + "mastodon": true, "submissions": false, - "calendarHelp": true, - "hubs": true + "calendarHelp": false }, "content": { diff --git a/server/src/lib/structs.ts b/server/src/lib/structs.ts index 343c44e..ea58ecf 100644 --- a/server/src/lib/structs.ts +++ b/server/src/lib/structs.ts @@ -12,6 +12,7 @@ import { enums, coerce, defaulted, + record, } from 'superstruct' export const localised = () => object({ en: string(), es: string() }) @@ -55,20 +56,7 @@ export const ConferenceConfigStruct = object({ showRegister: boolean(), }), - atriumWidgets: object({ - siteVisitors: boolean(), - twitter: boolean(), - login: boolean(), - register: boolean(), - spatialChat: boolean(), - slack: boolean(), - familyResources: boolean(), - mozfestBook: boolean(), - linkedin: boolean(), - submissions: boolean(), - calendarHelp: boolean(), - hubs: defaulted(boolean(), false), - }), + atriumWidgets: record(string(), boolean()), content: object({ atriumVideo: string(),