Add Comedy to Discover list
This commit is contained in:
parent
f45ad6b1e3
commit
8fa03958e5
2 changed files with 47 additions and 0 deletions
|
@ -31,5 +31,19 @@
|
|||
{"Id": "UCgyqtNWZmIxTx3b6OxTSALw"},
|
||||
{"Id": "UChIZGfcnjHI0DG4nweWEduw"},
|
||||
{"Id": "UC0vBXGSyV14uvJ4hECDOl0Q"}
|
||||
],
|
||||
"Comedy": [
|
||||
{"Id": "UCY30JRSgfhYXA6i6xX1erWg"},
|
||||
{"Id": "UCPDXXXJj9nax0fr0Wfc048g"},
|
||||
{"Id": "UCywhnhPP3dAw7huG_y0hdEg"},
|
||||
{"Id": "UC91V6D3nkhP89wUb9f_h17g"},
|
||||
{"Id": "UCxSz6JVYmzVhtkraHWZC7HQ"},
|
||||
{"Id": "UC4PooiX37Pld1T8J5SYT-SQ"},
|
||||
{"Id": "UCdN4aXTrHAtfgbVG9HjBmxQ"},
|
||||
{"Id": "UCpIafFPGutTAKOBHMtGen7g"},
|
||||
{"Id": "UCVIFCOJwv3emlVmBbPCZrvw"},
|
||||
{"Id": "UCCgK6peZI5-FKDCWzMIFk2A"},
|
||||
{"Id": "UCPD_bxCRGpmmeQcbe2kpPaA"},
|
||||
{"Id": "UCOYWgypDktXdb-HfZnSMK6A"}
|
||||
]
|
||||
}
|
33
src/pages/discover/comedy.astro
Normal file
33
src/pages/discover/comedy.astro
Normal file
|
@ -0,0 +1,33 @@
|
|||
---
|
||||
// Layout
|
||||
import Base from "@layouts/Default.astro";
|
||||
|
||||
// Properties
|
||||
const { FetchData, CategoryName, CategoryDescription } = Astro.props;
|
||||
|
||||
// Components
|
||||
import DiscoverChannel from '@components/DiscoverChannel.astro'
|
||||
|
||||
// Configuration
|
||||
import { DEFAULT_MEDIA_DATA_PROXY, DEFAULT_IMAGE_PROXY } from '@utils/GetConfig'
|
||||
|
||||
// Discover Data
|
||||
import DiscoverData from "../../data/discover.json";
|
||||
|
||||
|
||||
---
|
||||
|
||||
<Base>
|
||||
<div class="video-grid">
|
||||
{DiscoverData.Comedy.map((channel) =>
|
||||
<DiscoverChannel ChannelId={channel.Id}/>
|
||||
)}
|
||||
</div>
|
||||
<hr/>
|
||||
<div style="max-width: 1000px; margin: auto; text-align: center;">
|
||||
<p>This is a curated list for all MinPluto users.</p>
|
||||
<p>Is there a channel missing here that you think should be added? You can either <a href="https://ark.sudovanilla.org/MinPluto/MinPluto/src/branch/main/src/data/discover.json">edit our list here</a> or you can <a href="https://community.minpluto.org/">submit a request</a>.</p>
|
||||
</div>
|
||||
</Base>
|
||||
|
||||
<style is:inline>a[href="/discover/tech"] {background: rgb(255 255 255 / 25%) !important;border: 2px rgba(255, 255, 255, 0.25) solid !important;}</style>
|
Reference in a new issue