openvibers/openvibe.design Commits
Add visit history metadata (#242)
Changes
@@@ -63,7 +63,7 @@ function layout({ title, description, canonical, path, robots = 'index, follow',apiBase: NETWORK,links: NAV.map((l) => ({ ...l, active: l.href === active || (l.href !== '/' && String(active).startsWith(`${l.href}/`)) })),appBar: [{ label: 'Home', href: '/', icon: 'fa-house' }, { label: 'Create', href: '/create', icon: 'fa-wand-magic-sparkles' }, { label: 'Themes', href: '/themes', icon: 'fa-palette' }, { label: 'Arena', href: '/arena', icon: 'fa-crown' }, { label: 'System', href: '/system', icon: 'fa-layer-group' }],-- history: { type: 'page', title: title || NAME },++ history: { type: 'document', title: title || NAME, image_url: image || null },silentLogin: `${BASE}/auth/login?silent=1&next={url}`,sessionUrl: '/auth/me',tokenUrl: '/auth/navbar-token',
@@ -63,7 +63,7 @@ function layout({ title, description, canonical, path, robots = 'index, follow',
@@ -63,7 +63,7 @@ function layout({ title, description, canonical, path, robots = 'index, follow',
apiBase: NETWORK,
apiBase: NETWORK,
links: NAV.map((l) => ({ ...l, active: l.href === active || (l.href !== '/' && String(active).startsWith(`${l.href}/`)) })),
links: NAV.map((l) => ({ ...l, active: l.href === active || (l.href !== '/' && String(active).startsWith(`${l.href}/`)) })),
appBar: [{ label: 'Home', href: '/', icon: 'fa-house' }, { label: 'Create', href: '/create', icon: 'fa-wand-magic-sparkles' }, { label: 'Themes', href: '/themes', icon: 'fa-palette' }, { label: 'Arena', href: '/arena', icon: 'fa-crown' }, { label: 'System', href: '/system', icon: 'fa-layer-group' }],
appBar: [{ label: 'Home', href: '/', icon: 'fa-house' }, { label: 'Create', href: '/create', icon: 'fa-wand-magic-sparkles' }, { label: 'Themes', href: '/themes', icon: 'fa-palette' }, { label: 'Arena', href: '/arena', icon: 'fa-crown' }, { label: 'System', href: '/system', icon: 'fa-layer-group' }],
- history: { type: 'page', title: title || NAME },
+ history: { type: 'document', title: title || NAME, image_url: image || null },
silentLogin: `${BASE}/auth/login?silent=1&next={url}`,
silentLogin: `${BASE}/auth/login?silent=1&next={url}`,
sessionUrl: '/auth/me',
sessionUrl: '/auth/me',
tokenUrl: '/auth/navbar-token',
tokenUrl: '/auth/navbar-token',