Category-metadata: add stub for Education + cleanup old categories (#735)
This commit is contained in:
parent
18c7469d25
commit
adc9575504
2 changed files with 13 additions and 20 deletions
|
@ -7,7 +7,6 @@ import * as PAGES from 'constants/pages';
|
|||
|
||||
export const PAGE_TITLE = {
|
||||
// --- Categories ---
|
||||
[PAGES.BIG_HITS]: 'Big Hits',
|
||||
[PAGES.CREATIVE_ARTS]: 'Creative Arts',
|
||||
[PAGES.DISCOVER]: 'Wild West',
|
||||
[PAGES.EDUCATION]: 'Education',
|
||||
|
@ -20,7 +19,6 @@ export const PAGE_TITLE = {
|
|||
[PAGES.MUSIC]: 'Music',
|
||||
[PAGES.NEWS]: 'News & Politics',
|
||||
[PAGES.POP_CULTURE]: 'Pop Culture',
|
||||
// [PAGES.RABBIT_HOLE]: 'The Rabbit Hole';
|
||||
[PAGES.TECH]: 'Tech',
|
||||
[PAGES.UNIVERSE]: 'The Universe',
|
||||
[PAGES.WILD_WEST]: 'Wild West',
|
||||
|
|
|
@ -3,26 +3,16 @@ const PAGES = require('../../ui/constants/pages');
|
|||
// Uncomment as you add metadata
|
||||
|
||||
module.exports.CATEGORY_METADATA = {
|
||||
[PAGES.BIG_HITS]: () => ({
|
||||
title: 'Big Hits',
|
||||
description: 'Animation, pop culture, comedy, and all the other weird on Odysee',
|
||||
image: '',
|
||||
}),
|
||||
[PAGES.COMMUNITY]: () => ({
|
||||
title: 'The Universe',
|
||||
description: 'Podcasts, life, learning, and everything else on Odysee',
|
||||
image: '',
|
||||
}),
|
||||
// [PAGES.CREATIVE_ARTS]: () => ({
|
||||
// title: 'Creative Arts',
|
||||
// description: '', <----- FILL IN PLEASE
|
||||
// image: '', <----- FILL IN PLEASE
|
||||
// }),
|
||||
// [PAGES.ENLIGHTENMENT]: () => ({
|
||||
// title: '',
|
||||
// description: '',
|
||||
// image: '',
|
||||
// }),
|
||||
// [PAGES.EDUCATION]: () => ({
|
||||
// title: 'Education',
|
||||
// description: '', <----- FILL IN PLEASE
|
||||
// image: '', <----- FILL IN PLEASE
|
||||
// }),
|
||||
[PAGES.FINANCE]: () => ({
|
||||
title: 'Finance 2.0',
|
||||
description: 'Crypto, Money, Economics, Markets on Odysee ',
|
||||
|
@ -58,6 +48,11 @@ module.exports.CATEGORY_METADATA = {
|
|||
description: 'All the songs, reviews, covers, and how-tos you love on Odysee',
|
||||
image: 'https://cdn.lbryplayer.xyz/speech/category-music:8.jpg',
|
||||
}),
|
||||
[PAGES.POP_CULTURE]: () => ({
|
||||
title: 'Big Hits',
|
||||
description: 'Animation, pop culture, comedy, and all the other weird on Odysee',
|
||||
image: '',
|
||||
}),
|
||||
[PAGES.SEARCH]: ({ q = '' }) => {
|
||||
if (!q) {
|
||||
return {};
|
||||
|
@ -74,9 +69,9 @@ module.exports.CATEGORY_METADATA = {
|
|||
description: 'Hardware, software, startups, photography on Odysee',
|
||||
image: '',
|
||||
}),
|
||||
[PAGES.TECHNOLOGY]: () => ({
|
||||
title: 'Tech',
|
||||
description: 'Hardware, software, startups, photography on Odysee',
|
||||
[PAGES.UNIVERSE]: () => ({
|
||||
title: 'The Universe',
|
||||
description: 'Podcasts, life, learning, and everything else on Odysee',
|
||||
image: '',
|
||||
}),
|
||||
[PAGES.WILD_WEST]: () => ({
|
||||
|
|
Loading…
Reference in a new issue