Add Gaming Discovery page
This commit is contained in:
parent
95a474ff8d
commit
b1e403e1ea
1 changed files with 33 additions and 0 deletions
33
src/pages/discover/gaming.astro
Normal file
33
src/pages/discover/gaming.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.Gamers.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/gaming"] {background: rgb(255 255 255 / 25%) !important;border: 2px rgba(255, 255, 255, 0.25) solid !important;}</style>
|
Reference in a new issue