lbry-desktop/web/src/category-metadata.js

88 lines
2.8 KiB
JavaScript
Raw Normal View History

2021-04-13 14:22:14 -04:00
const PAGES = require('../../ui/constants/pages');
2021-03-19 10:53:11 -04:00
// Uncomment as you add metadata
module.exports.CATEGORY_METADATA = {
// [PAGES.CREATIVE_ARTS]: () => ({
// title: 'Creative Arts',
// description: '', <----- FILL IN PLEASE
// image: '', <----- FILL IN PLEASE
// }),
// [PAGES.EDUCATION]: () => ({
// title: 'Education',
// description: '', <----- FILL IN PLEASE
// image: '', <----- FILL IN PLEASE
// }),
2022-02-03 11:19:33 +08:00
// [PAGES.FEATURED]: () => ({
// title: 'Featured',
// description: '', <----- FILL IN PLEASE
// image: '', <----- FILL IN PLEASE
// }),
[PAGES.FINANCE]: () => ({
2021-04-13 14:22:14 -04:00
title: 'Finance 2.0',
description: 'Crypto, Money, Economics, Markets on Odysee ',
2021-11-29 19:31:23 -05:00
image: 'https://cdn.lbryplayer.xyz/speech/category-finance:c.jpg',
}),
[PAGES.GAMING]: () => ({
2021-04-13 14:22:14 -04:00
title: 'Gaming',
description: 'Pew pew bzzz gaming on Odysee',
2021-11-29 19:31:23 -05:00
image: 'https://cdn.lbryplayer.xyz/speech/category-gaming:5.jpg',
}),
[PAGES.GENERAL]: () => ({
2021-05-27 13:18:23 -04:00
title: 'Cheese',
description: 'Cheese is the answer to life, the universe, and everything. We have primo cheese on Odysee',
2021-11-29 19:31:23 -05:00
image: 'https://cdn.lbryplayer.xyz/speech/category-primary1:5.jpg',
}),
[PAGES.LAB]: () => ({
2021-04-13 14:22:14 -04:00
title: 'Lab',
description: 'Science - the real kind, on Odysee',
image: '',
}),
[PAGES.NEWS]: () => ({
2021-04-13 14:22:14 -04:00
title: 'News & Politics',
description: `Stay up to date with all that's happening around the world on Odysee`,
image: '',
}),
[PAGES.MOVIES]: () => ({
2021-05-27 13:18:23 -04:00
title: 'Movies',
description: `Do you love B rated movies? We've got you covered on Odysee`,
2021-11-29 19:31:23 -05:00
image: 'https://cdn.lbryplayer.xyz/speech/category-movies:2.jpg',
}),
[PAGES.MUSIC]: () => ({
2021-07-23 11:49:44 -04:00
title: 'Music',
description: 'All the songs, reviews, covers, and how-tos you love on Odysee',
2021-11-29 19:31:23 -05:00
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 {};
}
return {
title: `"${q}" Search Results`,
description: `Find the best "${q}" content on Odysee`,
urlQueryString: `q=${q}`,
};
2021-07-23 11:49:44 -04:00
},
[PAGES.TECH]: () => ({
title: 'Tech',
description: 'Hardware, software, startups, photography on Odysee',
image: '',
}),
[PAGES.UNIVERSE]: () => ({
title: 'The Universe',
description: 'Podcasts, life, learning, and everything else on Odysee',
2021-04-13 14:22:14 -04:00
image: '',
}),
[PAGES.WILD_WEST]: () => ({
2021-04-13 14:22:14 -04:00
title: 'Wild West',
description: 'Boosted by user credits, this is what the community promotes on Odysee',
2021-11-29 19:31:23 -05:00
image: 'https://cdn.lbryplayer.xyz/speech/category-wildwest:1.jpg',
}),
};