From 1c72c8be360c398679917ffa073437e202690464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Fri, 13 Nov 2026 20:48:58 -0600 Subject: [PATCH 1/3] Update countdown time and related text --- packages/website/src/components/Countdown.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/website/src/components/Countdown.tsx b/packages/website/src/components/Countdown.tsx index bfc878efe..9668ed2dc 100644 --- a/packages/website/src/components/Countdown.tsx +++ b/packages/website/src/components/Countdown.tsx @@ -3,7 +3,7 @@ import { useEffect, useState, type ReactNode } from "react"; import type { MaybeSkeletonComponentProps } from "../types/maybeSkeletonComponentProps"; import { InlineSkeleton } from "./InlineSkeleton"; -const TIME = 1793898000 * 1000; +const TIME = 1794675600 * 1000; const HREF = "https://preview.blitzkit.app/tanks"; export function Countdown({ skeleton }: MaybeSkeletonComponentProps) { @@ -76,11 +76,11 @@ export function Countdown({ skeleton }: MaybeSkeletonComponentProps) { - More Tier XIs {!skeleton && string}{" "} + All 9 Tier XIs {!skeleton && string}{" "} {skeleton && } - Catch the next 3 tanks on BlitzKit Preview + Catch all 9 tanks on BlitzKit Preview From f1be856f6458f5f39205862219301eb8c2ddf683 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Wed, 25 Nov 2026 11:31:19 -0600 Subject: [PATCH 2/3] hide glossary --- packages/core/src/blitz/fetchGlossary.ts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/core/src/blitz/fetchGlossary.ts b/packages/core/src/blitz/fetchGlossary.ts index 00309ea98..e418610b2 100644 --- a/packages/core/src/blitz/fetchGlossary.ts +++ b/packages/core/src/blitz/fetchGlossary.ts @@ -1,11 +1,12 @@ -import { assertSecret } from "../blitzkit"; -import type { BlitzGlossary } from "../types"; +import { BlitzGlossary } from "../types"; export async function fetchGlossary(locale: string) { - const response = await fetch( - `${assertSecret( - import.meta.env.WOTB_GLOSSARY_DOMAIN, - )}/${locale}${assertSecret(import.meta.env.WOTB_GLOSSARY_PATH)}`, - ); - return (await response.json()) as BlitzGlossary; + // const response = await fetch( + // `${assertSecret( + // import.meta.env.WOTB_GLOSSARY_DOMAIN, + // )}/${locale}${assertSecret(import.meta.env.WOTB_GLOSSARY_PATH)}`, + // ); + // return (await response.json()) as BlitzGlossary; + + return {} as BlitzGlossary; } From 63b9284947f17e27d8c8c7984833d75fae189ae3 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Wed, 25 Nov 2026 11:48:19 -0600 Subject: [PATCH 3/3] use common func --- .../[...chunk_api]/icons/currencies/[id].webp.ts | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/packages/website/src/pages/[...chunk_api]/icons/currencies/[id].webp.ts b/packages/website/src/pages/[...chunk_api]/icons/currencies/[id].webp.ts index f6581c798..6602595a4 100644 --- a/packages/website/src/pages/[...chunk_api]/icons/currencies/[id].webp.ts +++ b/packages/website/src/pages/[...chunk_api]/icons/currencies/[id].webp.ts @@ -1,4 +1,5 @@ -import { assertSecret, type BlitzGlossary } from "@blitzkit/core"; +import { fetchGlossary } from "@blitzkit/core"; +import locales from "@blitzkit/i18n/locales.json"; import type { APIContext, GetStaticPathsItem } from "astro"; import sharp from "sharp"; import { mixStaticPaths } from "../../../../core/blitzkit/mixStaticPaths"; @@ -30,13 +31,11 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, async () => { }); } - const glossary = await fetch(assertSecret(import.meta.env.WOTB_GLOSSARY)) - .then((response) => response.json() as Promise) - .then((glossary) => - Object.values(glossary) - .entries() - .filter(([key]) => /^prx_season_\d+$/.test(`${key}`)), - ); + const glossary = await fetchGlossary(locales.default).then((glossary) => + Object.values(glossary) + .entries() + .filter(([key]) => /^prx_season_\d+$/.test(`${key}`)), + ); for (const [id, item] of glossary) { if (!item.image_url) continue;