Skip to content

Commit

Permalink
Clean up Stormgate Open
Browse files Browse the repository at this point in the history
  • Loading branch information
robertvanhoesel committed Feb 20, 2024
1 parent d8f3f55 commit 9ecc7c4
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 29 deletions.
5 changes: 4 additions & 1 deletion src/content/badges/2024-eso.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Qualified for EGCTV Stormgate Open
name: EGCTV Stormgate Open Play-offs
icon: ./2024-eso.png
playerIds:
- S3g5b0 # LucifroN
Expand All @@ -14,4 +14,7 @@ playerIds:
- ln82Ix # And It went like | Moon / KroLu
- KexkOv # HOT_NightPhoenix
- u7LAHj # Snoxtar
- KLjiZU # Clem
- 9rfbaE # Probe
- GSHdDE # Elazer
---
6 changes: 6 additions & 0 deletions src/content/players/9qgUTN-VortiX.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
playerId: 9qgUTN
name: VortiX
country: es
liquipediaUrl: https://liquipedia.net/stormgate/VortiX
---
6 changes: 6 additions & 0 deletions src/content/players/GSHdDE-elazer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
playerId: GSHdDE
name: Elazer
country: pl
liquipediaUrl: https://liquipedia.net/stormgate/Elazer
---
1 change: 1 addition & 0 deletions src/content/players/S3g5b0-LucifroN7.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
playerId: S3g5b0
name: LucifroN
country: es
liquipediaUrl: https://liquipedia.net/stormgate/LucifroN
---
6 changes: 6 additions & 0 deletions src/content/players/gOIX3u-Kiwian.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
playerId: gOIX3u
name: Kiwian
country: kr
liquipediaUrl: https://liquipedia.net/stormgate/Kiwian
---
6 changes: 6 additions & 0 deletions src/content/players/mmXmQA-Erik.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
playerId: mmXmQA
name: Erik
country: br
liquipediaUrl: https://liquipedia.net/stormgate/Erik
---
26 changes: 0 additions & 26 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import NewsMeta from "../components/sources/NewsMeta.astro"
import { Image } from "astro:assets"
import { Leaderboard } from "../components/widgets/Leaderboard"
import { styles } from "../lib/theme"
import EsoPromo from "../components/promos/EsoPromo.astro"
export const prerender = false
Expand All @@ -32,30 +31,6 @@ const news = (await newsRequest).sort((a, b) => {
</div>

<section class="relative mx-auto max-w-screen-2xl px-4">
{
/* <div id="twitch-wrapper">
<!-- Add a placeholder for the Twitch embed -->
<h2 class="my-6 mt-12 text-center text-xl font-black text-white/90 md:text-2xl">
Now Streaming EGCTV Stormgate Open Live on Twitch
</h2>
<div id="twitch-embed" class="relative aspect-video w-full"></div>
<!-- Load the Twitch embed script -->
<script src="https://player.twitch.tv/js/embed/v1.js" is:inline></script>
<!-- Create a Twitch.Player object. This will render within the placeholder div -->
<script type="text/javascript" is:inline>
const player = new Twitch.Player("twitch-embed", {
channel: "egctv",
width: "100%",
height: "100%",
})
if (player.getEnded()) {
window.document.getElementById("twitch-wrapper").remove()
}
</script>
</div> */
}
<main>
<div class="px-2 pb-6 pt-12">
<Image src={logoWhite} alt="Stormgate Logo" class="-ml-2 h-16 w-auto" />
Expand All @@ -69,7 +44,6 @@ const news = (await newsRequest).sort((a, b) => {

<div class="my-8 flex flex-col gap-8 lg:flex-row">
<div class="flex-auto space-y-6">
<EsoPromo />
<Box title={"Latest News"}>
<div class="space-y-6">
{
Expand Down
2 changes: 0 additions & 2 deletions src/pages/leaderboards/[mode].astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import hero from "../../assets/game/vanguard-base-hero.jpg"
import { Image } from "astro:assets"
import { Leaderboard } from "../../components/widgets/Leaderboard.tsx"
import type { LeaderboardOrder, Race } from "../../lib/api"
import EsoPromo from "../../components/promos/EsoPromo.astro"
import { getCollection } from "astro:content"
const mode = Astro.params.mode
// todo, mode as query param
Expand All @@ -29,6 +28,5 @@ const badges = (await getCollection("badges")).map((b) => ({ ...b.data, icon: b.
badges={badges}
client:load
/>
<EsoPromo />
</section>
</Layout>

0 comments on commit 9ecc7c4

Please sign in to comment.