From 1d41deefe036eccfacd722d82707034dd47438fc Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 20 Apr 2023 13:34:54 +0200 Subject: [PATCH] properly set constants --- branding/constants/groups.js | 5 +++++ branding/constants/logos.js | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 branding/constants/groups.js diff --git a/branding/constants/groups.js b/branding/constants/groups.js new file mode 100644 index 0000000..1c49d3f --- /dev/null +++ b/branding/constants/groups.js @@ -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 diff --git a/branding/constants/logos.js b/branding/constants/logos.js index 2bea199..714e78a 100644 --- a/branding/constants/logos.js +++ b/branding/constants/logos.js @@ -3,6 +3,19 @@ export default { LOGO_HEADER_PATH: '/img/custom/logo-horizontal.svg', LOGO_HEADER_WIDTH: '130px', + LOGO_HEADER_CLICK: { + // externalLink: { + // url: 'https://ocelot.social', + // target: '_blank', + // }, + 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',