mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
* Implement configurable custom button in header * Implement default values for 'headerMenu' --------- Co-authored-by: mahula <lenzmath@posteo.de>
28 lines
604 B
JavaScript
28 lines
604 B
JavaScript
import { merge } from 'lodash'
|
|
import headerMenu from '~/constants/headerMenu.js'
|
|
|
|
const defaultHeaderMenu = {
|
|
CUSTOM_BUTTON: {
|
|
// iconPath: '/img/custom/X',
|
|
// iconWidth: '28px',
|
|
// iconAltText: 'X',
|
|
// toolTipIdent: 'nameIdent',
|
|
// path: '/',
|
|
// url: 'https://ocelot.social/en/donate',
|
|
// target: '_blank',
|
|
},
|
|
MENU: [
|
|
// {
|
|
// nameIdent: 'nameIdent',
|
|
// path: '/',
|
|
// },
|
|
// {
|
|
// nameIdent: 'nameIdent',
|
|
// url: 'https://ocelot.social',
|
|
// target: '_blank',
|
|
// },
|
|
],
|
|
}
|
|
|
|
export default merge(defaultHeaderMenu, headerMenu)
|