Adjust and add constants files

This commit is contained in:
Wolfgang Huß 2022-10-22 20:05:29 +02:00
parent 4dca4269cb
commit b0ff413d83
3 changed files with 18 additions and 4 deletions

View File

@ -0,0 +1,5 @@
// 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

View File

@ -1,12 +1,12 @@
export default {
MENU: [
// {
// name: 'Beiträge',
// path: '/#',
// nameIdent: 'nameIdent',
// path: '/',
// },
// {
// name: 'Über Yunite',
// url: 'https://yunite.org',
// nameIdent: 'nameIdent',
// url: 'https://ocelot.social',
// },
],
}

View File

@ -3,6 +3,15 @@
export default {
LOGO_HEADER_PATH: '/img/custom/logo-horizontal.svg',
LOGO_HEADER_WIDTH: '130px',
LOGO_HEADER_CLICK: {
externalLink: null,
internalPath: {
to: {
name: 'index',
},
scrollTo: '.main-navigation',
},
},
LOGO_SIGNUP_PATH: '/img/custom/logo-squared.svg',
LOGO_WELCOME_PATH: '/img/custom/logo-squared.svg',
LOGO_LOGOUT_PATH: '/img/custom/logo-squared.svg',