2021-07-29 16:54:20 +02:00

136 lines
5.5 KiB
JavaScript

// this file is duplicated in `backend/src/config/links.js` and `webapp/constants/links.js` and replaced on rebranding by https://github.com/Ocelot-Social-Community/Ocelot-Social-Deploy-Rebranding/tree/master/branding/constants/
const ORGANIZATION = {
name: 'organization',
// Wolle externalLink: 'https://ocelot.social',
externalLink: null, // if string is defined and not empty it's dominating
// in case internal page content is here 'webapp/locales/html/'
internalLink: '/organization', // static, don't change! internal page in case no external is defined
internalPage: {
footerIdent: 'site.made', // localized string identifier
// Wolle headlineIdent: null, // on null default is used, on empty string it's hidden
headlineIdent: '', // localized string identifier. on null default is used, on empty string it's hidden
hasBaseCard: true,
hasLoginInHeader: true,
},
}
const DONATE = {
name: 'donate',
// Wolle externalLink: 'https://ocelot-social.herokuapp.com/donations', // we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly
externalLink: '', // if string is defined and not empty it's dominating
// in case internal page content is here 'webapp/locales/html/'
internalLink: '/donate', // static, don't change! internal page in case no external is defined
internalPage: {
footerIdent: 'site.donate', // localized string identifier
headlineIdent: null, // localized string identifier. on null default is used, on empty string it's hidden
hasBaseCard: true,
hasLoginInHeader: true,
},
}
const IMPRINT = {
name: 'imprint',
// Wolle externalLink: 'https://ocelot-social.herokuapp.com/imprint', // we use 'ocelot-social.herokuapp.com' at the moment, because redirections of 'ocelot.social' subpages are not working correctly
externalLink: '', // if string is defined and not empty it's dominating
// in case internal page content is here 'webapp/locales/html/'
internalLink: '/imprint', // static, don't change! internal page in case no external is defined
internalPage: {
footerIdent: 'site.imprint', // localized string identifier
headlineIdent: null, // localized string identifier. on null default is used, on empty string it's hidden
hasBaseCard: true,
hasLoginInHeader: true,
},
}
const TERMS_AND_CONDITIONS = {
name: 'terms-and-conditions',
externalLink: null, // if string is defined and not empty it's dominating
// in case internal page content is here 'webapp/locales/html/'
internalLink: '/terms-and-conditions', // static, don't change! internal page in case no external is defined
internalPage: {
footerIdent: 'site.termsAndConditions', // localized string identifier
headlineIdent: null, // localized string identifier. on null default is used, on empty string it's hidden
hasBaseCard: true,
hasLoginInHeader: true,
},
}
const CODE_OF_CONDUCT = {
name: 'code-of-conduct',
externalLink: null, // if string is defined and not empty it's dominating
// in case internal page content is here 'webapp/locales/html/'
internalLink: '/code-of-conduct', // static, don't change! internal page in case no external is defined
internalPage: {
footerIdent: 'site.code-of-conduct', // localized string identifier
headlineIdent: null, // localized string identifier. on null default is used, on empty string it's hidden
hasBaseCard: true,
hasLoginInHeader: true,
},
}
const DATA_PRIVACY = {
name: 'data-privacy',
externalLink: null, // if string is defined and not empty it's dominating
// in case internal page content is here 'webapp/locales/html/'
internalLink: '/data-privacy', // static, don't change! internal page in case no external is defined
internalPage: {
footerIdent: 'site.data-privacy', // localized string identifier
headlineIdent: null, // localized string identifier. on null default is used, on empty string it's hidden
hasBaseCard: true,
hasLoginInHeader: true,
},
}
const FAQ = {
name: 'faq',
// Wolle externalLink: 'https://ocelot.social',
externalLink: null, // if string is defined and not empty it's dominating
// in case internal page content is here 'webapp/locales/html/'
internalLink: '/faq', // static, don't change! internal page in case no external is defined
internalPage: {
footerIdent: 'site.faq', // localized string identifier
// Wolle headlineIdent: null, // on null default is used, on empty string it's hidden
headlineIdent: null, // localized string identifier. on null default is used, on empty string it's hidden
hasBaseCard: true,
hasLoginInHeader: true,
},
}
export default {
// Wolle LANDING_PAGE: '/login', // examples: '/login', '/registration', '/organization', or external 'https://ocelot.social'
LANDING_PAGE: '/organization', // examples: '/login', '/registration', '/organization', or external 'https://ocelot.social'
// you can find and store templates for 👇🏼 at https://github.com/Ocelot-Social-Community/Ocelot-Social-Deploy-Rebranding/tree/master/branding/templates/
SUPPORT: 'https://ocelot.social', // example for internal support page: 'https://staging.ocelot.social/support'. set a full URL please, because it is used in e-mails as well!
ORGANIZATION,
DONATE,
IMPRINT,
TERMS_AND_CONDITIONS,
CODE_OF_CONDUCT,
DATA_PRIVACY,
FAQ,
FOOTER_LINK_LIST: [
ORGANIZATION,
TERMS_AND_CONDITIONS,
CODE_OF_CONDUCT,
DATA_PRIVACY,
FAQ,
// DONATE,
// Wolle
DONATE,
IMPRINT,
],
}