diff --git a/.gitignore b/.gitignore index f780ba0..f3f3780 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.DS_Store *.yaml SECRET .env diff --git a/branding/config-all/.gitkeep b/branding/config-all/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/branding/config-all/groupsBranding.ts b/branding/config-all/groupsBranding.ts new file mode 100644 index 0000000..c43b7c3 --- /dev/null +++ b/branding/config-all/groupsBranding.ts @@ -0,0 +1,6 @@ +// this file is duplicated in backend/src/branding/groupsBranding' and 'webapp/branding/groupsBranding' +// configurable values see: 'backend/src/constants/groupsDefault', 'webapp/constants/groupsDefault' +// configurable values see: 'backend/src/constants/groups', 'webapp/constants/groups' + +// export const DUMMY = '' // to avoid import error ts(2306): File X is not a module. +export const DESCRIPTION_WITHOUT_HTML_LENGTH_MIN = 3 // with removed HTML tags diff --git a/branding/config-backend/.gitkeep b/branding/config-backend/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/branding/config-webapp/.gitkeep b/branding/config-webapp/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/branding/constants/groups.ts b/branding/constants/groups.ts deleted file mode 100644 index 1c49d3f..0000000 --- a/branding/constants/groups.ts +++ /dev/null @@ -1,5 +0,0 @@ -// this file is duplicated in `backend/src/constants/group.js` and `webapp/constants/group.js` -export const NAME_LENGTH_MIN = 3 -export const NAME_LENGTH_MAX = 50 -export const DESCRIPTION_WITHOUT_HTML_LENGTH_MIN = 100 // with removed HTML tags -export const SHOW_GROUP_BUTTON_IN_HEADER = true diff --git a/branding/constants/links.ts b/branding/constants/links.ts index c62c846..1750c09 100644 --- a/branding/constants/links.ts +++ b/branding/constants/links.ts @@ -22,7 +22,6 @@ const ORGANIZATION = defaultPageParamsPages.ORGANIZATION.overwrite({ const DONATE = defaultPageParamsPages.DONATE.overwrite({ // if defined it's dominating externalLink: { - // we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly url: 'https://busfaktor.org/en/spenden', target: '_blank', }, @@ -40,7 +39,6 @@ const DONATE = defaultPageParamsPages.DONATE.overwrite({ const IMPRINT = defaultPageParamsPages.IMPRINT.overwrite({ // if defined it's dominating externalLink: { - // we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly url: 'http://ocelot.social/en/impressum', target: '_blank', },