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 = {
|
export const PAGE_TITLE = {
|
||||||
// --- Categories ---
|
// --- Categories ---
|
||||||
[PAGES.BIG_HITS]: 'Big Hits',
|
|
||||||
[PAGES.CREATIVE_ARTS]: 'Creative Arts',
|
[PAGES.CREATIVE_ARTS]: 'Creative Arts',
|
||||||
[PAGES.DISCOVER]: 'Wild West',
|
[PAGES.DISCOVER]: 'Wild West',
|
||||||
[PAGES.EDUCATION]: 'Education',
|
[PAGES.EDUCATION]: 'Education',
|
||||||
|
@ -20,7 +19,6 @@ export const PAGE_TITLE = {
|
||||||
[PAGES.MUSIC]: 'Music',
|
[PAGES.MUSIC]: 'Music',
|
||||||
[PAGES.NEWS]: 'News & Politics',
|
[PAGES.NEWS]: 'News & Politics',
|
||||||
[PAGES.POP_CULTURE]: 'Pop Culture',
|
[PAGES.POP_CULTURE]: 'Pop Culture',
|
||||||
// [PAGES.RABBIT_HOLE]: 'The Rabbit Hole';
|
|
||||||
[PAGES.TECH]: 'Tech',
|
[PAGES.TECH]: 'Tech',
|
||||||
[PAGES.UNIVERSE]: 'The Universe',
|
[PAGES.UNIVERSE]: 'The Universe',
|
||||||
[PAGES.WILD_WEST]: 'Wild West',
|
[PAGES.WILD_WEST]: 'Wild West',
|
||||||
|
|
|
@ -3,25 +3,15 @@ const PAGES = require('../../ui/constants/pages');
|
||||||
// Uncomment as you add metadata
|
// Uncomment as you add metadata
|
||||||
|
|
||||||
module.exports.CATEGORY_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]: () => ({
|
// [PAGES.CREATIVE_ARTS]: () => ({
|
||||||
// title: 'Creative Arts',
|
// title: 'Creative Arts',
|
||||||
// description: '', <----- FILL IN PLEASE
|
// description: '', <----- FILL IN PLEASE
|
||||||
// image: '', <----- FILL IN PLEASE
|
// image: '', <----- FILL IN PLEASE
|
||||||
// }),
|
// }),
|
||||||
// [PAGES.ENLIGHTENMENT]: () => ({
|
// [PAGES.EDUCATION]: () => ({
|
||||||
// title: '',
|
// title: 'Education',
|
||||||
// description: '',
|
// description: '', <----- FILL IN PLEASE
|
||||||
// image: '',
|
// image: '', <----- FILL IN PLEASE
|
||||||
// }),
|
// }),
|
||||||
[PAGES.FINANCE]: () => ({
|
[PAGES.FINANCE]: () => ({
|
||||||
title: 'Finance 2.0',
|
title: 'Finance 2.0',
|
||||||
|
@ -58,6 +48,11 @@ module.exports.CATEGORY_METADATA = {
|
||||||
description: 'All the songs, reviews, covers, and how-tos you love on Odysee',
|
description: 'All the songs, reviews, covers, and how-tos you love on Odysee',
|
||||||
image: 'https://cdn.lbryplayer.xyz/speech/category-music:8.jpg',
|
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 = '' }) => {
|
[PAGES.SEARCH]: ({ q = '' }) => {
|
||||||
if (!q) {
|
if (!q) {
|
||||||
return {};
|
return {};
|
||||||
|
@ -74,9 +69,9 @@ module.exports.CATEGORY_METADATA = {
|
||||||
description: 'Hardware, software, startups, photography on Odysee',
|
description: 'Hardware, software, startups, photography on Odysee',
|
||||||
image: '',
|
image: '',
|
||||||
}),
|
}),
|
||||||
[PAGES.TECHNOLOGY]: () => ({
|
[PAGES.UNIVERSE]: () => ({
|
||||||
title: 'Tech',
|
title: 'The Universe',
|
||||||
description: 'Hardware, software, startups, photography on Odysee',
|
description: 'Podcasts, life, learning, and everything else on Odysee',
|
||||||
image: '',
|
image: '',
|
||||||
}),
|
}),
|
||||||
[PAGES.WILD_WEST]: () => ({
|
[PAGES.WILD_WEST]: () => ({
|
||||||
|
|
Loading…
Reference in a new issue