mirror of
https://github.com/Ocelot-Social-Community/stage.ocelot.social.git
synced 2025-12-12 23:35:59 +00:00
Refactor branding JS files, first test
This commit is contained in:
parent
3d5d678dd1
commit
17d5ab7788
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.DS_Store
|
||||
*.yaml
|
||||
SECRET
|
||||
.env
|
||||
|
||||
0
branding/config-all/.gitkeep
Normal file
0
branding/config-all/.gitkeep
Normal file
6
branding/config-all/groupsBranding.ts
Normal file
6
branding/config-all/groupsBranding.ts
Normal file
@ -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
|
||||
0
branding/config-backend/.gitkeep
Normal file
0
branding/config-backend/.gitkeep
Normal file
0
branding/config-webapp/.gitkeep
Normal file
0
branding/config-webapp/.gitkeep
Normal file
@ -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
|
||||
@ -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',
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user