From bea55f1b6cebfc0aad881deb00a1f8f4992139de Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:00:36 -0500 Subject: [PATCH 001/290] clean tools --- packages/website/astro.config.ts | 12 +++++----- packages/website/src/constants/tools.ts | 32 +------------------------ 2 files changed, 7 insertions(+), 37 deletions(-) diff --git a/packages/website/astro.config.ts b/packages/website/astro.config.ts index b38d10811..85797cede 100644 --- a/packages/website/astro.config.ts +++ b/packages/website/astro.config.ts @@ -35,11 +35,11 @@ export default defineConfig({ version: packageJSON.version, - shortcuts: Object.values(tools) - .filter((tool) => !tool.disabled && !tool.href) - .map((tool) => { + shortcuts: Object.entries(tools) + .filter(([, tool]) => !tool.href) + .map(([id, tool]) => { const stringId = (tool.strings ?? - tool.id) as keyof typeof strings.website.tools; + id) as keyof typeof strings.website.tools; return { name: strings.website.tools[stringId].name, @@ -54,8 +54,8 @@ export default defineConfig({ short_name_localized: wrapper( (strings) => strings.website.tools[stringId].name, ), - url: `/${tool.id}`, - icon: `public/assets/images/tools/${tool.id}.webp`, + url: `/${tool.path ?? id}`, + icon: `public/assets/images/tools/${tool.path}.webp`, }; }), diff --git a/packages/website/src/constants/tools.ts b/packages/website/src/constants/tools.ts index 100979a14..2ca6e02ea 100644 --- a/packages/website/src/constants/tools.ts +++ b/packages/website/src/constants/tools.ts @@ -1,76 +1,46 @@ import type { ButtonProps } from "@radix-ui/themes"; export interface Tool { - id: string; + path?: string; strings?: string; button: ButtonProps["color"]; - significant?: boolean; - disabled?: boolean; href?: string; } export const tools: Record = { tanks: { - id: "tanks", strings: "tankopedia", button: "purple", - significant: true, - }, - players: { - id: "players", - disabled: true, - button: "blue", }, compare: { - id: "compare", button: "crimson", }, performance: { - id: "performance", button: "jade", }, - charts: { - id: "charts", - disabled: true, - button: "bronze", - }, playlist: { - id: "playlist", button: "tomato", }, mixer: { - id: "mixer", button: "gray", }, guess: { - id: "guess", button: "cyan", }, gallery: { - id: "gallery", button: "gold", }, session: { - id: "session", button: "blue", }, tier_list: { - id: "tier-list", - strings: "tier_list", button: "orange", }, embed: { - id: "embed", button: "red", }, - api: { - id: "api", - disabled: true, - button: "bronze", - }, more: { - id: "more", href: "https://discord.gg/nDt7AjGJQH", button: "plum", }, From 35ed71665988bd7da004d210bf6d47bb30eee8f7 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:14:41 -0500 Subject: [PATCH 002/290] simplify config --- packages/website/astro.config.ts | 70 -------------------------------- 1 file changed, 70 deletions(-) diff --git a/packages/website/astro.config.ts b/packages/website/astro.config.ts index 85797cede..7e06c8bd1 100644 --- a/packages/website/astro.config.ts +++ b/packages/website/astro.config.ts @@ -1,13 +1,7 @@ import react from "@astrojs/react"; -import { wrapper } from "@blitzkit/i18n"; -import locales from "@blitzkit/i18n/locales.json"; import strings from "@blitzkit/i18n/strings/en.json"; -import { mauve, mauveDark } from "@radix-ui/colors"; -import AstroPWA from "@vite-pwa/astro"; import favicons from "astro-favicons"; import { defineConfig } from "astro/config"; -import packageJSON from "../../package.json"; -import { tools } from "./src/constants/tools"; export default defineConfig({ devToolbar: { enabled: false }, @@ -29,55 +23,6 @@ export default defineConfig({ name: strings.common.name, short_name: strings.common.name, - background: mauveDark.mauve1, - themes: [mauve.mauve1, mauveDark.mauve1], - appleStatusBarStyle: "black-translucent", - - version: packageJSON.version, - - shortcuts: Object.entries(tools) - .filter(([, tool]) => !tool.href) - .map(([id, tool]) => { - const stringId = (tool.strings ?? - id) as keyof typeof strings.website.tools; - - return { - name: strings.website.tools[stringId].name, - name_localized: wrapper( - (strings) => strings.website.tools[stringId].name, - ), - description: strings.website.tools[stringId].description, - description_localized: wrapper( - (strings) => strings.website.tools[stringId].description, - ), - short_name: strings.website.tools[stringId].name, - short_name_localized: wrapper( - (strings) => strings.website.tools[stringId].name, - ), - url: `/${tool.path ?? id}`, - icon: `public/assets/images/tools/${tool.path}.webp`, - }; - }), - - manifest: { - description: strings.website.home.seo_description, - description_localized: wrapper( - (strings) => strings.website.home.seo_description, - ), - - dir: "ltr", - categories: ["utilities", "games", "developer", "developer tools"], - - id: "com.tresabhi.blitzkit", - start_url: "/", - launch_handler: { client_mode: "navigate-new" }, - display: "fullscreen", - display_override: ["fullscreen", "standalone", "minimal-ui"], - - lang: locales.default, - orientation: "any", - }, - icons: { windows: true, android: true, @@ -88,21 +33,6 @@ export default defineConfig({ }, }), - AstroPWA({ - manifest: false, - devOptions: { enabled: true }, - workbox: { - globPatterns: ["**/*.{html,css,js,png,webp,svg,xml,json}"], - runtimeCaching: [ - { - urlPattern: ({ url }) => - url.href.startsWith(import.meta.env.PUBLIC_ASSET_BASE), - handler: "NetworkFirst", - }, - ], - }, - }), - react(), ], }); From 20cc6d32a4b9e7c85f37212df35c40da2691adac Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Tue, 18 Aug 2026 12:23:48 -0500 Subject: [PATCH 003/290] home page list --- packages/i18n/strings/en.json | 82 +++++++++---------- .../src/components/HomeCosmetics.astro | 19 +++++ .../website/src/components/HomeGames.astro | 19 +++++ .../website/src/components/HomeHero.astro | 4 + .../website/src/components/HomePlayers.astro | 20 +++++ .../website/src/components/HomeTanks.astro | 19 +++++ .../src/components/HomeTechnical.astro | 19 +++++ packages/website/src/components/Navbar.astro | 23 +++--- .../website/src/components/ToolCard.astro | 39 +++------ packages/website/src/constants/tools.ts | 44 ++++++---- packages/website/src/core/i18n/getStrings.ts | 3 +- .../{gallery => avatars}/_index.tsx | 0 .../[...locale]/avatars/index.astro | 16 ++++ .../[...locale]/gallery/index.astro | 11 +-- .../[...locale]/index.astro | 37 ++++----- 15 files changed, 220 insertions(+), 135 deletions(-) create mode 100644 packages/website/src/components/HomeCosmetics.astro create mode 100644 packages/website/src/components/HomeGames.astro create mode 100644 packages/website/src/components/HomePlayers.astro create mode 100644 packages/website/src/components/HomeTanks.astro create mode 100644 packages/website/src/components/HomeTechnical.astro rename packages/website/src/pages/[...chunk_default]/[...locale]/{gallery => avatars}/_index.tsx (100%) create mode 100644 packages/website/src/pages/[...chunk_default]/[...locale]/avatars/index.astro diff --git a/packages/i18n/strings/en.json b/packages/i18n/strings/en.json index 534e2fa8d..270fe382c 100644 --- a/packages/i18n/strings/en.json +++ b/packages/i18n/strings/en.json @@ -1,4 +1,12 @@ { + "home": { + "tanks": "Tanks", + "players": "Players", + "games": "Games", + "cosmetics": "Cosmetics", + "technical": "Technical" + }, + "test": { "default": "test", "long": "This is a long test string. You MUST NEVER see this in the UI. My favorite fruit is {fruit} because it has the color of {color}. I like it so much that I will say its name 3 times! {fruit}! {fruit}! {fruit}! Once again, it's {color}, not {not_color}.", @@ -337,6 +345,18 @@ }, "tools": { + "backgrounds": { + "name": "Backgrounds", + "description": "Profile backgrounds", + "seo_description": "World of Tanks Blitz player profile backgrounds" + }, + + "players": { + "name": "Players", + "description": "Player statistics", + "seo_description": "Player statistics in World of Tanks Blitz" + }, + "playlist": { "reset": "Reset", "shuffle": "Shuffle", @@ -370,22 +390,19 @@ "name": "Playlist", "description": "Tank playlist generator", "seo_description": "Don't know what to play in World of Tanks Blitz? Use BlitzKit Playlist to get suggestions!", - "button": "Generate", "pool_size": "{count} possible tanks" }, "mixer": { "name": "Mixer", - "button": "Mix and match", "description": "Mix tank modules", "seo_description": "Mix and match hulls, turrets, and guns of tanks in World of Tanks Blitz", "screenshot": "Screenshot", "randomize": "Randomize" }, - "guess": { + "guesser": { "name": "Guess", - "button": "What could it be?", "description": "Silhouette mini-game", "seo_description": "Play a tank guessing game with a silhouette in World of Tanks Blitz", "search": { @@ -411,7 +428,6 @@ "search": "Search a stat...", "name": "Tankopedia", - "button": "Find tanks", "description": "Blitz tank encyclopedia", "seo_description": "Statistics, armor, and more for all tanks in World of Tanks Blitz", "tank_seo_title": "{name} - Tier {tier} {nationality} {class} | {website} Tankopedia | World of Tanks Blitz (WoTB)", @@ -721,9 +737,9 @@ "title": "Survivability" } }, + "compare": { "name": "Compare", - "button": "Compare tanks", "description": "Compare tank statistics", "seo_description": "Compare tanks statistics and loadouts in World of Tanks Blitz", @@ -770,9 +786,9 @@ } } }, + "performance": { "name": "Performance", - "button": "View tanks", "description": "Tank performance statistics", "seo_description": "Best tanks and their performances in World of Tanks Blitz", "estimation": { @@ -805,9 +821,9 @@ } } }, - "gallery": { - "name": "Gallery", - "button": "Browse all", + + "avatars": { + "name": "Avatars", "description": "Blitz player avatars", "seo_description": "All World of Tanks Blitz player avatars", "last_updated": "Last updated on {time}", @@ -816,9 +832,9 @@ "results": "{count} avatars" } }, + "session": { "name": "Session", - "button": "Start tracking", "description": "Live session stats", "seo_description": "Track your stats in real time as you play World of Tanks Blitz", "search": { @@ -848,9 +864,9 @@ "remove": "Remove" } }, + "tier_list": { "name": "Tier list", - "button": "Rank tanks", "description": "Rank Blitz tanks", "seo_description": "Explore tier lists ranking tanks from best to worst, based on player ratings and statistical performance in World of Tanks Blitz", "buttons": { @@ -858,9 +874,9 @@ "share": "Share" } }, + "embed": { "name": "Embed", - "button": "Create now", "description": "Embeds for streaming", "seo_description": "Create embeds for streaming World of Tanks Blitz with extreme customization", "coming_soon": "More embeds coming soon.", @@ -941,47 +957,23 @@ } } }, - "charts": { - "name": "Charts", - "button": "Nerd out", - "description": "Lots of graphs", - "seo_description": "Charts and graphs on anything and everything about tanks, players, and events in World of Tanks Blitz" - }, - "rating": { - "name": "Rating", - "button": "View leaderboard", - "description": "Full rating leaderboard", - "seo_description": "Live and archived full rating leaderboard for World of Tanks Blitz" - }, - "discord": { - "name": "Discord bot", - "button": "Install now", - "description": "Stats right in Discord", - "seo_description": "Get stats right in Discord with BlitzKit's Discord bot" - }, + "more": { "name": "More coming soon", - "button": "Join Discord", "description": "What we're making", "seo_description": "What we're making with BlitzKit" }, - "players": { - "name": "Players", - "button": "Lookup player", - "description": "Periodical player statistics", - "seo_description": "Periodical player statistics in World of Tanks Blitz" - }, - "home": { - "name": "Home", - "button": "Get started", - "description": "Get started with BlitzKit", - "seo_description": "Get started with BlitzKit" - }, + "api": { "name": "API", - "button": "To the docs", "description": "BlitzKit hosted API", "seo_description": "BlitzKit hosted static API for World of Tanks Blitz" + }, + + "changelogs": { + "name": "Changelogs", + "description": "BlitzKit changelogs", + "seo_description": "Changelogs and patch notes for BlitzKit" } }, diff --git a/packages/website/src/components/HomeCosmetics.astro b/packages/website/src/components/HomeCosmetics.astro new file mode 100644 index 000000000..72439affb --- /dev/null +++ b/packages/website/src/components/HomeCosmetics.astro @@ -0,0 +1,19 @@ +--- +import { Heading } from "@radix-ui/themes"; +import { tools } from "../constants/tools"; +import { getStrings } from "../core/i18n/getStrings"; +import ToolCard from "./ToolCard.astro"; + +interface Props { + locale: string; +} + +const { locale } = Astro.props; + +const strings = await getStrings(locale); +--- + +{strings.home.cosmetics} + + + diff --git a/packages/website/src/components/HomeGames.astro b/packages/website/src/components/HomeGames.astro new file mode 100644 index 000000000..d9e0d51c0 --- /dev/null +++ b/packages/website/src/components/HomeGames.astro @@ -0,0 +1,19 @@ +--- +import { Heading } from "@radix-ui/themes"; +import { tools } from "../constants/tools"; +import { getStrings } from "../core/i18n/getStrings"; +import ToolCard from "./ToolCard.astro"; + +interface Props { + locale: string; +} + +const { locale } = Astro.props; + +const strings = getStrings(locale); +--- + +{strings.home.games} + + + diff --git a/packages/website/src/components/HomeHero.astro b/packages/website/src/components/HomeHero.astro index 9fe85224f..90fa4c38f 100644 --- a/packages/website/src/components/HomeHero.astro +++ b/packages/website/src/components/HomeHero.astro @@ -4,6 +4,10 @@ import { resolveBranchName } from "../core/blitzkit/branches"; import { getStrings } from "../core/i18n/getStrings"; import { literals } from "@blitzkit/i18n/src/literals"; +interface Props { + locale: string; +} + const { locale } = Astro.props; const branchName = resolveBranchName(locale); const isBranchNamed = branchName !== undefined; diff --git a/packages/website/src/components/HomePlayers.astro b/packages/website/src/components/HomePlayers.astro new file mode 100644 index 000000000..894f6e925 --- /dev/null +++ b/packages/website/src/components/HomePlayers.astro @@ -0,0 +1,20 @@ +--- +import { Heading } from "@radix-ui/themes"; +import { tools } from "../constants/tools"; +import { getStrings } from "../core/i18n/getStrings"; +import ToolCard from "./ToolCard.astro"; + +interface Props { + locale: string; +} + +const { locale } = Astro.props; + +const strings = getStrings(locale); +--- + +{strings.home.players} + + + + diff --git a/packages/website/src/components/HomeTanks.astro b/packages/website/src/components/HomeTanks.astro new file mode 100644 index 000000000..ee91463a1 --- /dev/null +++ b/packages/website/src/components/HomeTanks.astro @@ -0,0 +1,19 @@ +--- +import { Heading } from "@radix-ui/themes"; +import { tools } from "../constants/tools"; +import { getStrings } from "../core/i18n/getStrings"; +import ToolCard from "./ToolCard.astro"; + +interface Props { + locale: string; +} + +const { locale } = Astro.props; +const strings = getStrings(locale); +--- + +{strings.home.tanks} + + + + diff --git a/packages/website/src/components/HomeTechnical.astro b/packages/website/src/components/HomeTechnical.astro new file mode 100644 index 000000000..7e5143111 --- /dev/null +++ b/packages/website/src/components/HomeTechnical.astro @@ -0,0 +1,19 @@ +--- +import { Heading } from "@radix-ui/themes"; +import { tools } from "../constants/tools"; +import { getStrings } from "../core/i18n/getStrings"; +import ToolCard from "./ToolCard.astro"; + +interface Props { + locale: string; +} + +const { locale } = Astro.props; + +const strings = getStrings(locale); +--- + +{strings.home.technical} + + + diff --git a/packages/website/src/components/Navbar.astro b/packages/website/src/components/Navbar.astro index b67d5d10a..5ef876793 100644 --- a/packages/website/src/components/Navbar.astro +++ b/packages/website/src/components/Navbar.astro @@ -19,9 +19,7 @@ export interface Props { } const { integrated = false } = Astro.props; -const toolsFiltered = Object.values(tools).filter( - (tool) => !tool.href && !tool.disabled -); +const toolsFiltered = Object.entries(tools).filter(([, tool]) => !tool.href); const { locale } = Astro.props; const branchName = resolveBranchName(locale); const isBranchNamed = branchName !== undefined; @@ -141,12 +139,13 @@ const strings = getStrings(locale); className="tools" > { - toolsFiltered.map((tool) => { - const selected = Astro.url.pathname.includes(`/${tool.id}`); + toolsFiltered.map(([id, tool]) => { + const selected = Astro.url.pathname.includes( + `/${tool.path ?? id}`, + ); const toolStrings = strings.website.tools[ - (tool.strings ?? - tool.id) as keyof typeof strings.website.tools + (tool.strings ?? id) as keyof typeof strings.website.tools ]; return ( @@ -156,7 +155,7 @@ const strings = getStrings(locale); color="gray" highContrast={selected} size={{ initial: "1", md: "2" }} - href={`/${tool.id}`} + href={`/${tool.path ?? id}`} underline="hover" > {toolStrings.name} @@ -207,10 +206,10 @@ const strings = getStrings(locale); display={{ initial: "flex", sm: "none" }} > { - toolsFiltered.map((tool) => { + toolsFiltered.map(([id, tool]) => { const toolStrings = strings.website.tools[ - (tool.strings ?? tool.id) as keyof typeof strings.website.tools + (tool.strings ?? id) as keyof typeof strings.website.tools ]; return ( @@ -218,12 +217,12 @@ const strings = getStrings(locale); color="gray" highContrast style={{ display: "contents" }} - href={`/${tool.id}`} + href={`/${tool.path ?? id}`} > {toolStrings.name} {toolStrings.description} - - diff --git a/packages/website/src/constants/tools.ts b/packages/website/src/constants/tools.ts index 2ca6e02ea..b51b2911b 100644 --- a/packages/website/src/constants/tools.ts +++ b/packages/website/src/constants/tools.ts @@ -1,47 +1,59 @@ -import type { ButtonProps } from "@radix-ui/themes"; - export interface Tool { + id: string; + path?: string; strings?: string; - button: ButtonProps["color"]; href?: string; } export const tools: Record = { tanks: { + id: "tanks", strings: "tankopedia", - button: "purple", + }, + players: { + id: "players", + strings: "players", }, compare: { - button: "crimson", + id: "compare", }, performance: { - button: "jade", + id: "performance", }, playlist: { - button: "tomato", + id: "playlist", }, mixer: { - button: "gray", + id: "mixer", }, - guess: { - button: "cyan", + guesser: { + id: "guesser", }, - gallery: { - button: "gold", + avatars: { + id: "avatars", + }, + backgrounds: { + id: "backgrounds", }, session: { - button: "blue", + id: "session", }, tier_list: { - button: "orange", + id: "tier_list", }, embed: { - button: "red", + id: "embed", }, more: { + id: "more", href: "https://discord.gg/nDt7AjGJQH", - button: "plum", + }, + api: { + id: "api", + }, + changelogs: { + id: "changelogs", }, }; diff --git a/packages/website/src/core/i18n/getStrings.ts b/packages/website/src/core/i18n/getStrings.ts index 85f30f873..b787fea5a 100644 --- a/packages/website/src/core/i18n/getStrings.ts +++ b/packages/website/src/core/i18n/getStrings.ts @@ -1,7 +1,6 @@ import { STRINGS } from "@blitzkit/i18n"; -import locales from "@blitzkit/i18n/locales.json"; -export function getStrings(locale: string = locales.default) { +export function getStrings(locale: string) { if (locale in STRINGS) return STRINGS[locale]; throw new Error(`Unsupported locale: ${locale}`); } diff --git a/packages/website/src/pages/[...chunk_default]/[...locale]/gallery/_index.tsx b/packages/website/src/pages/[...chunk_default]/[...locale]/avatars/_index.tsx similarity index 100% rename from packages/website/src/pages/[...chunk_default]/[...locale]/gallery/_index.tsx rename to packages/website/src/pages/[...chunk_default]/[...locale]/avatars/_index.tsx diff --git a/packages/website/src/pages/[...chunk_default]/[...locale]/avatars/index.astro b/packages/website/src/pages/[...chunk_default]/[...locale]/avatars/index.astro new file mode 100644 index 000000000..c5e321f5f --- /dev/null +++ b/packages/website/src/pages/[...chunk_default]/[...locale]/avatars/index.astro @@ -0,0 +1,16 @@ +--- +import { tools } from "../../../../constants/tools"; +import ToolLayout from "../../../../layouts/ToolLayout.astro"; +import type { getStaticPaths } from "../index.astro"; +import { Page } from "./_index"; + +export { getStaticPaths } from "../index.astro"; + +const { locale } = Astro.props; +--- + + + + + + diff --git a/packages/website/src/pages/[...chunk_default]/[...locale]/gallery/index.astro b/packages/website/src/pages/[...chunk_default]/[...locale]/gallery/index.astro index c5e321f5f..c553778e4 100644 --- a/packages/website/src/pages/[...chunk_default]/[...locale]/gallery/index.astro +++ b/packages/website/src/pages/[...chunk_default]/[...locale]/gallery/index.astro @@ -1,16 +1,9 @@ --- -import { tools } from "../../../../constants/tools"; -import ToolLayout from "../../../../layouts/ToolLayout.astro"; -import type { getStaticPaths } from "../index.astro"; -import { Page } from "./_index"; +import LegacyRedirect from "../../../../layouts/LegacyRedirect.astro"; export { getStaticPaths } from "../index.astro"; const { locale } = Astro.props; --- - - - - - + diff --git a/packages/website/src/pages/[...chunk_default]/[...locale]/index.astro b/packages/website/src/pages/[...chunk_default]/[...locale]/index.astro index 1f43e7990..5f876c60e 100644 --- a/packages/website/src/pages/[...chunk_default]/[...locale]/index.astro +++ b/packages/website/src/pages/[...chunk_default]/[...locale]/index.astro @@ -3,11 +3,16 @@ import { AstroSeo } from "@astrolib/seo"; import { assertSecret } from "@blitzkit/core"; import locales from "@blitzkit/i18n/locales.json"; import { literals } from "@blitzkit/i18n/src/literals"; -import { Box, Flex, Link } from "@radix-ui/themes"; +import { Flex, Link } from "@radix-ui/themes"; import { AesonPlug } from "../../../components/AesonPlug"; +import HomeCosmetics from "../../../components/HomeCosmetics.astro"; +import HomeGames from "../../../components/HomeGames.astro"; import HomeHero from "../../../components/HomeHero.astro"; +import HomePlayers from "../../../components/HomePlayers.astro"; +import HomeTanks from "../../../components/HomeTanks.astro"; +import HomeTechnical from "../../../components/HomeTechnical.astro"; +import { PageWrapper } from "../../../components/PageWrapper"; import { Plugs } from "../../../components/Plugs"; -import ToolCard from "../../../components/ToolCard.astro"; import { tools, type Tool } from "../../../constants/tools"; import { mixStaticPaths } from "../../../core/blitzkit/mixStaticPaths"; import { getStrings } from "../../../core/i18n/getStrings"; @@ -63,7 +68,7 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, () => { /> - + { locale !== locales.default && ( @@ -95,23 +100,11 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, () => { ) } - - - { - rows.map((row) => ( - - {row.map((tool) => ( - - ))} - {row.length < MAX_TOOLS_PER_ROW && - !("significant" in row[0] && row[0].significant) && ( - - )} - - )) - } - - - -
+ + + + + + +
From f3c362dfcef16816bb9a3539fbe30badd2b33c0a Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Tue, 18 Aug 2026 12:34:27 -0500 Subject: [PATCH 004/290] home page grouping --- .../src/components/HomeCosmetics.astro | 17 +++++++++--- .../website/src/components/HomeGames.astro | 13 ++++++++-- .../website/src/components/HomePlayers.astro | 15 ++++++++--- .../website/src/components/HomeTanks.astro | 15 ++++++++--- .../src/components/HomeTechnical.astro | 15 ++++++++--- .../website/src/components/ToolCard.astro | 4 +-- .../src/components/ToolCardLayoutColumn.astro | 26 +++++++++++++++++++ .../src/components/ToolCardLayoutRoot.astro | 25 ++++++++++++++++++ 8 files changed, 113 insertions(+), 17 deletions(-) create mode 100644 packages/website/src/components/ToolCardLayoutColumn.astro create mode 100644 packages/website/src/components/ToolCardLayoutRoot.astro diff --git a/packages/website/src/components/HomeCosmetics.astro b/packages/website/src/components/HomeCosmetics.astro index 72439affb..df2ffbd59 100644 --- a/packages/website/src/components/HomeCosmetics.astro +++ b/packages/website/src/components/HomeCosmetics.astro @@ -3,6 +3,8 @@ import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; import ToolCard from "./ToolCard.astro"; +import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; +import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; interface Props { locale: string; @@ -10,10 +12,17 @@ interface Props { const { locale } = Astro.props; -const strings = await getStrings(locale); +const strings = getStrings(locale); --- -{strings.home.cosmetics} +{strings.home.cosmetics} - - + + + + + + + + + diff --git a/packages/website/src/components/HomeGames.astro b/packages/website/src/components/HomeGames.astro index d9e0d51c0..56ca357ee 100644 --- a/packages/website/src/components/HomeGames.astro +++ b/packages/website/src/components/HomeGames.astro @@ -3,6 +3,8 @@ import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; import ToolCard from "./ToolCard.astro"; +import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; +import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; interface Props { locale: string; @@ -15,5 +17,12 @@ const strings = getStrings(locale); {strings.home.games} - - + + + + + + + + + diff --git a/packages/website/src/components/HomePlayers.astro b/packages/website/src/components/HomePlayers.astro index 894f6e925..06cb5c0bb 100644 --- a/packages/website/src/components/HomePlayers.astro +++ b/packages/website/src/components/HomePlayers.astro @@ -3,6 +3,8 @@ import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; import ToolCard from "./ToolCard.astro"; +import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; +import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; interface Props { locale: string; @@ -15,6 +17,13 @@ const strings = getStrings(locale); {strings.home.players} - - - + + + + + + + + + + diff --git a/packages/website/src/components/HomeTanks.astro b/packages/website/src/components/HomeTanks.astro index ee91463a1..8a69a1c1e 100644 --- a/packages/website/src/components/HomeTanks.astro +++ b/packages/website/src/components/HomeTanks.astro @@ -3,6 +3,8 @@ import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; import ToolCard from "./ToolCard.astro"; +import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; +import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; interface Props { locale: string; @@ -14,6 +16,13 @@ const strings = getStrings(locale); {strings.home.tanks} - - - + + + + + + + + + + diff --git a/packages/website/src/components/HomeTechnical.astro b/packages/website/src/components/HomeTechnical.astro index 7e5143111..488774a63 100644 --- a/packages/website/src/components/HomeTechnical.astro +++ b/packages/website/src/components/HomeTechnical.astro @@ -3,6 +3,8 @@ import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; import ToolCard from "./ToolCard.astro"; +import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; +import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; interface Props { locale: string; @@ -13,7 +15,14 @@ const { locale } = Astro.props; const strings = getStrings(locale); --- -{strings.home.technical} +{strings.home.technical} - - + + + + + + + + + diff --git a/packages/website/src/components/ToolCard.astro b/packages/website/src/components/ToolCard.astro index eba3da48a..c2446e187 100644 --- a/packages/website/src/components/ToolCard.astro +++ b/packages/website/src/components/ToolCard.astro @@ -20,7 +20,7 @@ const toolStrings = + +
+ +
diff --git a/packages/website/src/components/ToolCardLayoutRoot.astro b/packages/website/src/components/ToolCardLayoutRoot.astro new file mode 100644 index 000000000..c4b9c821e --- /dev/null +++ b/packages/website/src/components/ToolCardLayoutRoot.astro @@ -0,0 +1,25 @@ +--- +interface Props { + minor?: boolean; +} + +const { minor } = Astro.props; +--- + + + +
+ +
From c63734359364c2ce3c2c2af6c7e4d71882cd0253 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Tue, 18 Aug 2026 12:40:46 -0500 Subject: [PATCH 005/290] ugh, imma remove radix --- packages/website/src/components/PageWrapper.tsx | 2 +- packages/website/src/layouts/BaseLayout.astro | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/website/src/components/PageWrapper.tsx b/packages/website/src/components/PageWrapper.tsx index 8933a7795..3f3193b54 100644 --- a/packages/website/src/components/PageWrapper.tsx +++ b/packages/website/src/components/PageWrapper.tsx @@ -36,7 +36,7 @@ export function PageWrapper({ > - - {servicing ? : } From 9839d4eef55823ca8767d06d6b335e5053081920 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Tue, 18 Aug 2026 12:49:14 -0500 Subject: [PATCH 006/290] migrate 1 --- bun.lock | 151 ------------------ packages/website/package.json | 1 - .../src/components/AesonPlug/index.module.css | 12 ++ .../{AesonPlug.tsx => AesonPlug/index.tsx} | 24 +-- .../src/components/Heading/index.module.css | 25 +++ .../website/src/components/Heading/index.tsx | 23 +++ .../src/components/HelpTranslate.astro | 41 +++++ .../src/components/Link/index.module.css | 23 +++ .../website/src/components/Link/index.tsx | 32 ++++ .../src/components/Text/index.module.css | 33 ++++ .../website/src/components/Text/index.tsx | 45 ++++++ .../[...locale]/index.astro | 23 +-- packages/website/src/ui/classNames.ts | 3 + packages/website/src/ui/color.ts | 10 ++ 14 files changed, 263 insertions(+), 183 deletions(-) create mode 100644 packages/website/src/components/AesonPlug/index.module.css rename packages/website/src/components/{AesonPlug.tsx => AesonPlug/index.tsx} (50%) create mode 100644 packages/website/src/components/Heading/index.module.css create mode 100644 packages/website/src/components/Heading/index.tsx create mode 100644 packages/website/src/components/HelpTranslate.astro create mode 100644 packages/website/src/components/Link/index.module.css create mode 100644 packages/website/src/components/Link/index.tsx create mode 100644 packages/website/src/components/Text/index.module.css create mode 100644 packages/website/src/components/Text/index.tsx create mode 100644 packages/website/src/ui/classNames.ts create mode 100644 packages/website/src/ui/color.ts diff --git a/bun.lock b/bun.lock index 22cfe2bfd..dda906038 100644 --- a/bun.lock +++ b/bun.lock @@ -112,7 +112,6 @@ "@gltf-transform/functions": "^4.4.2", "@radix-ui/colors": "^3.0.0", "@radix-ui/react-icons": "^1.3.2", - "@radix-ui/themes": "^3.2.1", "@react-three/drei": "^10.7.6", "@react-three/fiber": "^9.4.0", "@types/lodash-es": "^4.17.12", @@ -481,14 +480,6 @@ "@esbuild/win32-x64": ["@esbuild/win32-x64@0.25.10", "", { "os": "win32", "cpu": "x64" }, "sha512-9KpxSVFCu0iK1owoez6aC/s/EdUQLDN3adTxGCqxMVhrPDj6bt5dbrHDXUuq+Bs2vATFBBrQS5vdQ/Ed2P+nbw=="], - "@floating-ui/core": ["@floating-ui/core@1.7.3", "", { "dependencies": { "@floating-ui/utils": "^0.2.10" } }, "sha512-sGnvb5dmrJaKEZ+LDIpguvdX3bDlEllmv4/ClQ9awcmCZrlx5jQyyMWFM5kBI+EyNOCDDiKk8il0zeuX3Zlg/w=="], - - "@floating-ui/dom": ["@floating-ui/dom@1.7.4", "", { "dependencies": { "@floating-ui/core": "^1.7.3", "@floating-ui/utils": "^0.2.10" } }, "sha512-OOchDgh4F2CchOX94cRVqhvy7b3AFb+/rQXyswmzmGakRfkMgoWVjfnLWkRirfLEfuD4ysVW16eXzwt3jHIzKA=="], - - "@floating-ui/react-dom": ["@floating-ui/react-dom@2.1.6", "", { "dependencies": { "@floating-ui/dom": "^1.7.4" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" } }, "sha512-4JX6rEatQEvlmgU80wZyq9RT96HZJa88q8hp0pBd+LrczeDI4o6uA2M+uvxngVHo4Ihr8uibXxH6+70zhAFrVw=="], - - "@floating-ui/utils": ["@floating-ui/utils@0.2.10", "", {}, "sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ=="], - "@fontsource/inter": ["@fontsource/inter@5.2.8", "", {}, "sha512-P6r5WnJoKiNVV+zvW2xM13gNdFhAEpQ9dQJHt3naLvfg+LkF2ldgSLiF4T41lf1SQCM9QmkqPTn4TH568IRagg=="], "@gltf-transform/core": ["@gltf-transform/core@4.4.2", "", { "dependencies": { "property-graph": "^4.1.0" } }, "sha512-qsWKwNSwK+2s834Mt4xbYcyHqCrgNFP7hIv5s487JxebngRfDgelpghNF+kSswGb2/NuapasfK3UViFoSJJoMg=="], @@ -677,130 +668,8 @@ "@radix-ui/colors": ["@radix-ui/colors@3.0.0", "", {}, "sha512-FUOsGBkHrYJwCSEtWRCIfQbZG7q1e6DgxCIOe1SUQzDe/7rXXeA47s8yCn6fuTNQAj1Zq4oTFi9Yjp3wzElcxg=="], - "@radix-ui/number": ["@radix-ui/number@1.1.1", "", {}, "sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g=="], - - "@radix-ui/primitive": ["@radix-ui/primitive@1.1.3", "", {}, "sha512-JTF99U/6XIjCBo0wqkU5sK10glYe27MRRsfwoiq5zzOEZLHU3A3KCMa5X/azekYRCJ0HlwI0crAXS/5dEHTzDg=="], - - "@radix-ui/react-accessible-icon": ["@radix-ui/react-accessible-icon@1.1.7", "", { "dependencies": { "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-XM+E4WXl0OqUJFovy6GjmxxFyx9opfCAIUku4dlKRd5YEPqt4kALOkQOp0Of6reHuUkJuiPBEc5k0o4z4lTC8A=="], - - "@radix-ui/react-accordion": ["@radix-ui/react-accordion@1.2.12", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collapsible": "1.1.12", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA=="], - - "@radix-ui/react-alert-dialog": ["@radix-ui/react-alert-dialog@1.1.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dialog": "1.1.15", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-oTVLkEw5GpdRe29BqJ0LSDFWI3qu0vR1M0mUkOQWDIUnY/QIkLpgDMWuKxP94c2NAC2LGcgVhG1ImF3jkZ5wXw=="], - - "@radix-ui/react-arrow": ["@radix-ui/react-arrow@1.1.7", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-F+M1tLhO+mlQaOWspE8Wstg+z6PwxwRd8oQ8IXceWz92kfAmalTRf0EjrouQeo7QssEPfCn05B4Ihs1K9WQ/7w=="], - - "@radix-ui/react-aspect-ratio": ["@radix-ui/react-aspect-ratio@1.1.7", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-Yq6lvO9HQyPwev1onK1daHCHqXVLzPhSVjmsNjCa2Zcxy2f7uJD2itDtxknv6FzAKCwD1qQkeVDmX/cev13n/g=="], - - "@radix-ui/react-avatar": ["@radix-ui/react-avatar@1.1.10", "", { "dependencies": { "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-is-hydrated": "0.1.0", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-V8piFfWapM5OmNCXTzVQY+E1rDa53zY+MQ4Y7356v4fFz6vqCyUtIz2rUD44ZEdwg78/jKmMJHj07+C/Z/rcog=="], - - "@radix-ui/react-checkbox": ["@radix-ui/react-checkbox@1.3.3", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-wBbpv+NQftHDdG86Qc0pIyXk5IR3tM8Vd0nWLKDcX8nNn4nXFOFwsKuqw2okA/1D/mpaAkmuyndrPJTYDNZtFw=="], - - "@radix-ui/react-collapsible": ["@radix-ui/react-collapsible@1.1.12", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA=="], - - "@radix-ui/react-collection": ["@radix-ui/react-collection@1.1.7", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw=="], - - "@radix-ui/react-compose-refs": ["@radix-ui/react-compose-refs@1.1.2", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg=="], - - "@radix-ui/react-context": ["@radix-ui/react-context@1.1.2", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-jCi/QKUM2r1Ju5a3J64TH2A5SpKAgh0LpknyqdQ4m6DCV0xJ2HG1xARRwNGPQfi1SLdLWZ1OJz6F4OMBBNiGJA=="], - - "@radix-ui/react-context-menu": ["@radix-ui/react-context-menu@2.2.16", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-menu": "2.1.16", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-O8morBEW+HsVG28gYDZPTrT9UUovQUlJue5YO836tiTJhuIWBm/zQHc7j388sHWtdH/xUZurK9olD2+pcqx5ww=="], - - "@radix-ui/react-dialog": ["@radix-ui/react-dialog@1.1.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-focus-guards": "1.1.3", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-controllable-state": "1.2.2", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw=="], - - "@radix-ui/react-direction": ["@radix-ui/react-direction@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-1UEWRX6jnOA2y4H5WczZ44gOOjTEmlqv1uNW4GAJEO5+bauCBhv8snY65Iw5/VOS/ghKN9gr2KjnLKxrsvoMVw=="], - - "@radix-ui/react-dismissable-layer": ["@radix-ui/react-dismissable-layer@1.1.11", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-escape-keydown": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg=="], - - "@radix-ui/react-dropdown-menu": ["@radix-ui/react-dropdown-menu@2.1.16", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-menu": "2.1.16", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-1PLGQEynI/3OX/ftV54COn+3Sud/Mn8vALg2rWnBLnRaGtJDduNW/22XjlGgPdpcIbiQxjKtb7BkcjP00nqfJw=="], - - "@radix-ui/react-focus-guards": ["@radix-ui/react-focus-guards@1.1.3", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw=="], - - "@radix-ui/react-focus-scope": ["@radix-ui/react-focus-scope@1.1.7", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-t2ODlkXBQyn7jkl6TNaw/MtVEVvIGelJDCG41Okq/KwUsJBwQ4XVZsHAVUkK4mBv3ewiAS3PGuUWuY2BoK4ZUw=="], - - "@radix-ui/react-form": ["@radix-ui/react-form@0.1.8", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-label": "2.1.7", "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-QM70k4Zwjttifr5a4sZFts9fn8FzHYvQ5PiB19O2HsYibaHSVt9fH9rzB0XZo/YcM+b7t/p7lYCT/F5eOeF5yQ=="], - - "@radix-ui/react-hover-card": ["@radix-ui/react-hover-card@1.1.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-popper": "1.2.8", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg=="], - "@radix-ui/react-icons": ["@radix-ui/react-icons@1.3.2", "", { "peerDependencies": { "react": "^16.x || ^17.x || ^18.x || ^19.0.0 || ^19.0.0-rc" } }, "sha512-fyQIhGDhzfc9pK2kH6Pl9c4BDJGfMkPqkyIgYDthyNYoNg3wVhoJMMh19WS4Up/1KMPFVpNsT2q3WmXn2N1m6g=="], - "@radix-ui/react-id": ["@radix-ui/react-id@1.1.1", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg=="], - - "@radix-ui/react-label": ["@radix-ui/react-label@2.1.7", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-YT1GqPSL8kJn20djelMX7/cTRp/Y9w5IZHvfxQTVHrOqa2yMl7i/UfMqKRU5V7mEyKTrUVgJXhNQPVCG8PBLoQ=="], - - "@radix-ui/react-menu": ["@radix-ui/react-menu@2.1.16", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-focus-guards": "1.1.3", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-popper": "1.2.8", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-callback-ref": "1.1.1", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg=="], - - "@radix-ui/react-menubar": ["@radix-ui/react-menubar@1.1.16", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-menu": "2.1.16", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-EB1FktTz5xRRi2Er974AUQZWg2yVBb1yjip38/lgwtCVRd3a+maUoGHN/xs9Yv8SY8QwbSEb+YrxGadVWbEutA=="], - - "@radix-ui/react-navigation-menu": ["@radix-ui/react-navigation-menu@1.2.14", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w=="], - - "@radix-ui/react-one-time-password-field": ["@radix-ui/react-one-time-password-field@0.1.8", "", { "dependencies": { "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-effect-event": "0.0.2", "@radix-ui/react-use-is-hydrated": "0.1.0", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-ycS4rbwURavDPVjCb5iS3aG4lURFDILi6sKI/WITUMZ13gMmn/xGjpLoqBAalhJaDk8I3UbCM5GzKHrnzwHbvg=="], - - "@radix-ui/react-password-toggle-field": ["@radix-ui/react-password-toggle-field@0.1.3", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-effect-event": "0.0.2", "@radix-ui/react-use-is-hydrated": "0.1.0" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-/UuCrDBWravcaMix4TdT+qlNdVwOM1Nck9kWx/vafXsdfj1ChfhOdfi3cy9SGBpWgTXwYCuboT/oYpJy3clqfw=="], - - "@radix-ui/react-popover": ["@radix-ui/react-popover@1.1.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-focus-guards": "1.1.3", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-popper": "1.2.8", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-controllable-state": "1.2.2", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA=="], - - "@radix-ui/react-popper": ["@radix-ui/react-popper@1.2.8", "", { "dependencies": { "@floating-ui/react-dom": "^2.0.0", "@radix-ui/react-arrow": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-rect": "1.1.1", "@radix-ui/react-use-size": "1.1.1", "@radix-ui/rect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw=="], - - "@radix-ui/react-portal": ["@radix-ui/react-portal@1.1.9", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-bpIxvq03if6UNwXZ+HTK71JLh4APvnXntDc6XOX8UVq4XQOVl7lwok0AvIl+b8zgCw3fSaVTZMpAPPagXbKmHQ=="], - - "@radix-ui/react-presence": ["@radix-ui/react-presence@1.1.5", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ=="], - - "@radix-ui/react-primitive": ["@radix-ui/react-primitive@2.1.3", "", { "dependencies": { "@radix-ui/react-slot": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-m9gTwRkhy2lvCPe6QJp4d3G1TYEUHn/FzJUtq9MjH46an1wJU+GdoGC5VLof8RX8Ft/DlpshApkhswDLZzHIcQ=="], - - "@radix-ui/react-progress": ["@radix-ui/react-progress@1.1.7", "", { "dependencies": { "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-vPdg/tF6YC/ynuBIJlk1mm7Le0VgW6ub6J2UWnTQ7/D23KXcPI1qy+0vBkgKgd38RCMJavBXpB83HPNFMTb0Fg=="], - - "@radix-ui/react-radio-group": ["@radix-ui/react-radio-group@1.3.8", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-VBKYIYImA5zsxACdisNQ3BjCBfmbGH3kQlnFVqlWU4tXwjy7cGX8ta80BcrO+WJXIn5iBylEH3K6ZTlee//lgQ=="], - - "@radix-ui/react-roving-focus": ["@radix-ui/react-roving-focus@1.1.11", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA=="], - - "@radix-ui/react-scroll-area": ["@radix-ui/react-scroll-area@1.2.10", "", { "dependencies": { "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A=="], - - "@radix-ui/react-select": ["@radix-ui/react-select@2.2.6", "", { "dependencies": { "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-focus-guards": "1.1.3", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-popper": "1.2.8", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-visually-hidden": "1.2.3", "aria-hidden": "^1.2.4", "react-remove-scroll": "^2.6.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-I30RydO+bnn2PQztvo25tswPH+wFBjehVGtmagkU78yMdwTwVf12wnAOF+AeP8S2N8xD+5UPbGhkUfPyvT+mwQ=="], - - "@radix-ui/react-separator": ["@radix-ui/react-separator@1.1.7", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA=="], - - "@radix-ui/react-slider": ["@radix-ui/react-slider@1.3.6", "", { "dependencies": { "@radix-ui/number": "1.1.1", "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-JPYb1GuM1bxfjMRlNLE+BcmBC8onfCi60Blk7OBqi2MLTFdS+8401U4uFjnwkOr49BLmXxLC6JHkvAsx5OJvHw=="], - - "@radix-ui/react-slot": ["@radix-ui/react-slot@1.2.3", "", { "dependencies": { "@radix-ui/react-compose-refs": "1.1.2" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-aeNmHnBxbi2St0au6VBVC7JXFlhLlOnvIIlePNniyUNAClzmtAUEY8/pBiK3iHjufOlwA+c20/8jngo7xcrg8A=="], - - "@radix-ui/react-switch": ["@radix-ui/react-switch@1.2.6", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-previous": "1.1.1", "@radix-ui/react-use-size": "1.1.1" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-bByzr1+ep1zk4VubeEVViV592vu2lHE2BZY5OnzehZqOOgogN80+mNtCqPkhn2gklJqOpxWgPoYTSnhBCqpOXQ=="], - - "@radix-ui/react-tabs": ["@radix-ui/react-tabs@1.1.13", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A=="], - - "@radix-ui/react-toast": ["@radix-ui/react-toast@1.2.15", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-3OSz3TacUWy4WtOXV38DggwxoqJK4+eDkNMl5Z/MJZaoUPaP4/9lf81xXMe1I2ReTAptverZUpbPY4wWwWyL5g=="], - - "@radix-ui/react-toggle": ["@radix-ui/react-toggle@1.1.10", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-lS1odchhFTeZv3xwHH31YPObmJn8gOg7Lq12inrr0+BH/l3Tsq32VfjqH1oh80ARM3mlkfMic15n0kg4sD1poQ=="], - - "@radix-ui/react-toggle-group": ["@radix-ui/react-toggle-group@1.1.11", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-toggle": "1.1.10", "@radix-ui/react-use-controllable-state": "1.2.2" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-5umnS0T8JQzQT6HbPyO7Hh9dgd82NmS36DQr+X/YJ9ctFNCiiQd6IJAYYZ33LUwm8M+taCz5t2ui29fHZc4Y6Q=="], - - "@radix-ui/react-toolbar": ["@radix-ui/react-toolbar@1.1.11", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-separator": "1.1.7", "@radix-ui/react-toggle-group": "1.1.11" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-4ol06/1bLoFu1nwUqzdD4Y5RZ9oDdKeiHIsntug54Hcr1pgaHiPqHFEaXI1IFP/EsOfROQZ8Mig9VTIRza6Tjg=="], - - "@radix-ui/react-tooltip": ["@radix-ui/react-tooltip@1.2.8", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-id": "1.1.1", "@radix-ui/react-popper": "1.2.8", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-tY7sVt1yL9ozIxvmbtN5qtmH2krXcBCfjEiCgKGLqunJHvgvZG2Pcl2oQ3kbcZARb1BGEHdkLzcYGO8ynVlieg=="], - - "@radix-ui/react-use-callback-ref": ["@radix-ui/react-use-callback-ref@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg=="], - - "@radix-ui/react-use-controllable-state": ["@radix-ui/react-use-controllable-state@1.2.2", "", { "dependencies": { "@radix-ui/react-use-effect-event": "0.0.2", "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg=="], - - "@radix-ui/react-use-effect-event": ["@radix-ui/react-use-effect-event@0.0.2", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA=="], - - "@radix-ui/react-use-escape-keydown": ["@radix-ui/react-use-escape-keydown@1.1.1", "", { "dependencies": { "@radix-ui/react-use-callback-ref": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g=="], - - "@radix-ui/react-use-is-hydrated": ["@radix-ui/react-use-is-hydrated@0.1.0", "", { "dependencies": { "use-sync-external-store": "^1.5.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA=="], - - "@radix-ui/react-use-layout-effect": ["@radix-ui/react-use-layout-effect@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ=="], - - "@radix-ui/react-use-previous": ["@radix-ui/react-use-previous@1.1.1", "", { "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-2dHfToCj/pzca2Ck724OZ5L0EVrr3eHRNsG/b3xQJLA2hZpVCS99bLAX+hm1IHXDEnzU6by5z/5MIY794/a8NQ=="], - - "@radix-ui/react-use-rect": ["@radix-ui/react-use-rect@1.1.1", "", { "dependencies": { "@radix-ui/rect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-QTYuDesS0VtuHNNvMh+CjlKJ4LJickCMUAqjlE3+j8w+RlRpwyX3apEQKGFzbZGdo7XNG1tXa+bQqIE7HIXT2w=="], - - "@radix-ui/react-use-size": ["@radix-ui/react-use-size@1.1.1", "", { "dependencies": { "@radix-ui/react-use-layout-effect": "1.1.1" }, "peerDependencies": { "@types/react": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-ewrXRDTAqAXlkl6t/fkXWNAhFX9I+CkKlw6zjEwk86RSPKwZr3xpBRso655aqYafwtnbpHLj6toFzmd6xdVptQ=="], - - "@radix-ui/react-visually-hidden": ["@radix-ui/react-visually-hidden@1.2.3", "", { "dependencies": { "@radix-ui/react-primitive": "2.1.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-pzJq12tEaaIhqjbzpCuv/OypJY/BPavOofm+dbab+MHLajy277+1lLm6JFcGgF5eskJ6mquGirhXY2GD/8u8Ug=="], - - "@radix-ui/rect": ["@radix-ui/rect@1.1.1", "", {}, "sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw=="], - - "@radix-ui/themes": ["@radix-ui/themes@3.3.0", "", { "dependencies": { "@radix-ui/colors": "^3.0.0", "classnames": "^2.3.2", "radix-ui": "^1.1.3", "react-remove-scroll-bar": "^2.3.8" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-I0/h2CRNTpYNB7Mi3xFIvSsQq5a108d7kK8dTO5zp5b9HR5QJXKag6B8tjpz2ITkVYkFdkGk45doNkSr7OxwNw=="], - "@react-three/drei": ["@react-three/drei@10.7.6", "", { "dependencies": { "@babel/runtime": "^7.26.0", "@mediapipe/tasks-vision": "0.10.17", "@monogrid/gainmap-js": "^3.0.6", "@use-gesture/react": "^10.3.1", "camera-controls": "^3.1.0", "cross-env": "^7.0.3", "detect-gpu": "^5.0.56", "glsl-noise": "^0.0.0", "hls.js": "^1.5.17", "maath": "^0.10.8", "meshline": "^3.3.1", "stats-gl": "^2.2.8", "stats.js": "^0.17.0", "suspend-react": "^0.1.3", "three-mesh-bvh": "^0.8.3", "three-stdlib": "^2.35.6", "troika-three-text": "^0.52.4", "tunnel-rat": "^0.1.2", "use-sync-external-store": "^1.4.0", "utility-types": "^3.11.0", "zustand": "^5.0.1" }, "peerDependencies": { "@react-three/fiber": "^9.0.0", "react": "^19", "react-dom": "^19", "three": ">=0.159" }, "optionalPeers": ["react-dom"] }, "sha512-ZSFwRlRaa4zjtB7yHO6Q9xQGuyDCzE7whXBhum92JslcMRC3aouivp0rAzszcVymIoJx6PXmibyP+xr+zKdwLg=="], "@react-three/fiber": ["@react-three/fiber@9.4.0", "", { "dependencies": { "@babel/runtime": "^7.17.8", "@types/react-reconciler": "^0.32.0", "@types/webxr": "*", "base64-js": "^1.5.1", "buffer": "^6.0.3", "its-fine": "^2.0.0", "react-reconciler": "^0.31.0", "react-use-measure": "^2.1.7", "scheduler": "^0.25.0", "suspend-react": "^0.1.3", "use-sync-external-store": "^1.4.0", "zustand": "^5.0.3" }, "peerDependencies": { "expo": ">=43.0", "expo-asset": ">=8.4", "expo-file-system": ">=11.0", "expo-gl": ">=11.0", "react": "^19.0.0", "react-dom": "^19.0.0", "react-native": ">=0.78", "three": ">=0.156" }, "optionalPeers": ["expo", "expo-asset", "expo-file-system", "expo-gl", "react-dom", "react-native"] }, "sha512-k4iu1R6e5D54918V4sqmISUkI5OgTw3v7/sDRKEC632Wd5g2WBtUS5gyG63X0GJO/HZUj1tsjSXfyzwrUHZl1g=="], @@ -1011,8 +880,6 @@ "argparse": ["argparse@2.0.1", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="], - "aria-hidden": ["aria-hidden@1.2.6", "", { "dependencies": { "tslib": "^2.0.0" } }, "sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA=="], - "aria-query": ["aria-query@5.3.2", "", {}, "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw=="], "array-buffer-byte-length": ["array-buffer-byte-length@1.0.2", "", { "dependencies": { "call-bound": "^1.0.3", "is-array-buffer": "^3.0.5" } }, "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw=="], @@ -1151,8 +1018,6 @@ "ci-info": ["ci-info@4.3.0", "", {}, "sha512-l+2bNRMiQgcfILUi33labAZYIWlH1kWDp+ecNo5iisRKrbm0xcRyCww71/YU0Fkw0mAFpz9bJayXPjey6vkmaQ=="], - "classnames": ["classnames@2.5.1", "", {}, "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow=="], - "cli-boxes": ["cli-boxes@3.0.0", "", {}, "sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g=="], "cliui": ["cliui@8.0.1", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="], @@ -1261,8 +1126,6 @@ "detect-libc": ["detect-libc@2.1.2", "", {}, "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ=="], - "detect-node-es": ["detect-node-es@1.1.0", "", {}, "sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ=="], - "deterministic-object-hash": ["deterministic-object-hash@2.0.2", "", { "dependencies": { "base-64": "^1.0.0" } }, "sha512-KxektNH63SrbfUyDiwXqRb1rLwKt33AmMv+5Nhsw1kqZ13SJBRTgZHtGbE+hH3a1mVW1cz+4pqSWVPAtLVXTzQ=="], "devalue": ["devalue@5.3.2", "", {}, "sha512-UDsjUbpQn9kvm68slnrs+mfxwFkIflOhkanmyabZ8zOYk8SMEIbJ3TK+88g70hSIeytu4y18f0z/hYHMTrXIWw=="], @@ -1441,8 +1304,6 @@ "get-intrinsic": ["get-intrinsic@1.3.0", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="], - "get-nonce": ["get-nonce@1.0.1", "", {}, "sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q=="], - "get-own-enumerable-property-symbols": ["get-own-enumerable-property-symbols@3.0.2", "", {}, "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g=="], "get-proto": ["get-proto@1.0.1", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="], @@ -1995,8 +1856,6 @@ "quicklime": ["quicklime@1.2.0", "", { "peerDependencies": { "typescript": "^5" } }, "sha512-uPFHeb+1L4o0D5V4TtLfvoMtLbv2dUq7d9dco47khUZilsdS0ugBD1RfhvdsdpMr4UWbOUkJOUCetUrMIDST1A=="], - "radix-ui": ["radix-ui@1.4.3", "", { "dependencies": { "@radix-ui/primitive": "1.1.3", "@radix-ui/react-accessible-icon": "1.1.7", "@radix-ui/react-accordion": "1.2.12", "@radix-ui/react-alert-dialog": "1.1.15", "@radix-ui/react-arrow": "1.1.7", "@radix-ui/react-aspect-ratio": "1.1.7", "@radix-ui/react-avatar": "1.1.10", "@radix-ui/react-checkbox": "1.3.3", "@radix-ui/react-collapsible": "1.1.12", "@radix-ui/react-collection": "1.1.7", "@radix-ui/react-compose-refs": "1.1.2", "@radix-ui/react-context": "1.1.2", "@radix-ui/react-context-menu": "2.2.16", "@radix-ui/react-dialog": "1.1.15", "@radix-ui/react-direction": "1.1.1", "@radix-ui/react-dismissable-layer": "1.1.11", "@radix-ui/react-dropdown-menu": "2.1.16", "@radix-ui/react-focus-guards": "1.1.3", "@radix-ui/react-focus-scope": "1.1.7", "@radix-ui/react-form": "0.1.8", "@radix-ui/react-hover-card": "1.1.15", "@radix-ui/react-label": "2.1.7", "@radix-ui/react-menu": "2.1.16", "@radix-ui/react-menubar": "1.1.16", "@radix-ui/react-navigation-menu": "1.2.14", "@radix-ui/react-one-time-password-field": "0.1.8", "@radix-ui/react-password-toggle-field": "0.1.3", "@radix-ui/react-popover": "1.1.15", "@radix-ui/react-popper": "1.2.8", "@radix-ui/react-portal": "1.1.9", "@radix-ui/react-presence": "1.1.5", "@radix-ui/react-primitive": "2.1.3", "@radix-ui/react-progress": "1.1.7", "@radix-ui/react-radio-group": "1.3.8", "@radix-ui/react-roving-focus": "1.1.11", "@radix-ui/react-scroll-area": "1.2.10", "@radix-ui/react-select": "2.2.6", "@radix-ui/react-separator": "1.1.7", "@radix-ui/react-slider": "1.3.6", "@radix-ui/react-slot": "1.2.3", "@radix-ui/react-switch": "1.2.6", "@radix-ui/react-tabs": "1.1.13", "@radix-ui/react-toast": "1.2.15", "@radix-ui/react-toggle": "1.1.10", "@radix-ui/react-toggle-group": "1.1.11", "@radix-ui/react-toolbar": "1.1.11", "@radix-ui/react-tooltip": "1.2.8", "@radix-ui/react-use-callback-ref": "1.1.1", "@radix-ui/react-use-controllable-state": "1.2.2", "@radix-ui/react-use-effect-event": "0.0.2", "@radix-ui/react-use-escape-keydown": "1.1.1", "@radix-ui/react-use-is-hydrated": "0.1.0", "@radix-ui/react-use-layout-effect": "1.1.1", "@radix-ui/react-use-size": "1.1.1", "@radix-ui/react-visually-hidden": "1.2.3" }, "peerDependencies": { "@types/react": "*", "@types/react-dom": "*", "react": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc", "react-dom": "^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-aWizCQiyeAenIdUbqEpXgRA1ya65P13NKn/W8rWkcN0OPkRDxdBVLWnIEDsS2RpwCK2nobI7oMUSmexzTDyAmA=="], - "radix3": ["radix3@1.1.2", "", {}, "sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA=="], "randombytes": ["randombytes@2.1.0", "", { "dependencies": { "safe-buffer": "^5.1.0" } }, "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ=="], @@ -2013,12 +1872,6 @@ "react-refresh": ["react-refresh@0.17.0", "", {}, "sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ=="], - "react-remove-scroll": ["react-remove-scroll@2.7.1", "", { "dependencies": { "react-remove-scroll-bar": "^2.3.7", "react-style-singleton": "^2.2.3", "tslib": "^2.1.0", "use-callback-ref": "^1.3.3", "use-sidecar": "^1.1.3" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-HpMh8+oahmIdOuS5aFKKY6Pyog+FNaZV/XyJOq7b4YFwsFHe5yYfdbIalI4k3vU2nSDql7YskmUseHsRrJqIPA=="], - - "react-remove-scroll-bar": ["react-remove-scroll-bar@2.3.8", "", { "dependencies": { "react-style-singleton": "^2.2.2", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "optionalPeers": ["@types/react"] }, "sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q=="], - - "react-style-singleton": ["react-style-singleton@2.2.3", "", { "dependencies": { "get-nonce": "^1.0.0", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ=="], - "react-use-measure": ["react-use-measure@2.1.7", "", { "peerDependencies": { "react": ">=16.13", "react-dom": ">=16.13" }, "optionalPeers": ["react-dom"] }, "sha512-KrvcAo13I/60HpwGO5jpW7E9DfusKyLPLvuHlUyP5zqnmAPhNc6qTRjUQrdTADl0lpPpDVU2/Gg51UlOGHXbdg=="], "readable-stream": ["readable-stream@2.3.8", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="], @@ -2367,10 +2220,6 @@ "urlon": ["urlon@3.1.0", "", {}, "sha512-fA/NRmwCLhek9+F2Jgk/OMdOQTzaHIrA4K9pNblSKbbsDR/ZgiwM0hNnz7k9BDmtlUzreIoddBg4ZQkVwdNYcQ=="], - "use-callback-ref": ["use-callback-ref@1.3.3", "", { "dependencies": { "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg=="], - - "use-sidecar": ["use-sidecar@1.1.3", "", { "dependencies": { "detect-node-es": "^1.1.0", "tslib": "^2.0.0" }, "peerDependencies": { "@types/react": "*", "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc" }, "optionalPeers": ["@types/react"] }, "sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ=="], - "use-sync-external-store": ["use-sync-external-store@1.5.0", "", { "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A=="], "utif2": ["utif2@4.1.0", "", { "dependencies": { "pako": "^1.0.11" } }, "sha512-+oknB9FHrJ7oW7A2WZYajOcv4FcDR4CfoGB0dPNfxbi4GO05RRnFmt5oa23+9w32EanrYcSJWspUiJkLMs+37w=="], diff --git a/packages/website/package.json b/packages/website/package.json index 0beb690f9..ab97027b5 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -20,7 +20,6 @@ "@gltf-transform/functions": "^4.4.2", "@radix-ui/colors": "^3.0.0", "@radix-ui/react-icons": "^1.3.2", - "@radix-ui/themes": "^3.2.1", "@react-three/drei": "^10.7.6", "@react-three/fiber": "^9.4.0", "@types/lodash-es": "^4.17.12", diff --git a/packages/website/src/components/AesonPlug/index.module.css b/packages/website/src/components/AesonPlug/index.module.css new file mode 100644 index 000000000..51e8cd0ed --- /dev/null +++ b/packages/website/src/components/AesonPlug/index.module.css @@ -0,0 +1,12 @@ +.plug { + display: flex; + + .content { + display: flex; + flex-direction: column; + + justify-content: center; + + padding: var(--space-3) var(--space-5); + } +} diff --git a/packages/website/src/components/AesonPlug.tsx b/packages/website/src/components/AesonPlug/index.tsx similarity index 50% rename from packages/website/src/components/AesonPlug.tsx rename to packages/website/src/components/AesonPlug/index.tsx index ad7f8bda9..714586995 100644 --- a/packages/website/src/components/AesonPlug.tsx +++ b/packages/website/src/components/AesonPlug/index.tsx @@ -1,5 +1,8 @@ -import { Flex, Heading, Link, Text } from '@radix-ui/themes'; -import { Var } from '../core/radix/var'; +import { Var } from "../../core/radix/var"; +import { Heading } from "../Heading"; +import { Link } from "../Link"; +import { Text } from "../Text"; +import styles from "./index.module.css"; export function AesonPlug() { return ( @@ -9,25 +12,26 @@ export function AesonPlug() { href="https://discord.gg/WHdER7ZPAD" underline="hover" > - - +
Preview brought to you by WoT Blitz News Join the Discord for the absolute latest news - - +
+ ); } diff --git a/packages/website/src/components/Heading/index.module.css b/packages/website/src/components/Heading/index.module.css new file mode 100644 index 000000000..07d170a0d --- /dev/null +++ b/packages/website/src/components/Heading/index.module.css @@ -0,0 +1,25 @@ +.heading { + &[data-size="1"] { + font-size: var(--font-size-heading-1); + } + + &[data-size="2"] { + font-size: var(--font-size-heading-2); + } + + &[data-size="3"] { + font-size: var(--font-size-heading-3); + } + + &[data-size="4"] { + font-size: var(--font-size-heading-4); + } + + &[data-size="5"] { + font-size: var(--font-size-heading-5); + } + + &[data-size="6"] { + font-size: var(--font-size-heading-6); + } +} diff --git a/packages/website/src/components/Heading/index.tsx b/packages/website/src/components/Heading/index.tsx new file mode 100644 index 000000000..4a13adf3d --- /dev/null +++ b/packages/website/src/components/Heading/index.tsx @@ -0,0 +1,23 @@ +import { classNames } from "../../ui/classNames"; +import { Text, type TextProps } from "../Text"; +import styles from "./index.module.css"; + +export interface HeadingProps extends Omit { + size?: `${1 | 2 | 3 | 4 | 5 | 6}`; +} + +export function Heading({ + className, + weight, + size = "1", + ...props +}: HeadingProps) { + return ( + + ); +} diff --git a/packages/website/src/components/HelpTranslate.astro b/packages/website/src/components/HelpTranslate.astro new file mode 100644 index 000000000..f3798a0b2 --- /dev/null +++ b/packages/website/src/components/HelpTranslate.astro @@ -0,0 +1,41 @@ +--- +import { literals } from "@blitzkit/i18n"; +import locales from "@blitzkit/i18n/locales.json"; +import { getStrings } from "../core/i18n/getStrings"; +import { Link } from "./Link"; + +interface Props { + locale: string; +} + +const { locale } = Astro.props; + +const strings = getStrings(locale) +--- + + + +{ + locale !== locales.default && ( +
+ + {literals(strings.website.home.help_translate, { + name: "BlitzKit", + language: + strings.common.locales[ + locale as keyof typeof strings.common.locales + ], + })} + +
+ ) +} diff --git a/packages/website/src/components/Link/index.module.css b/packages/website/src/components/Link/index.module.css new file mode 100644 index 000000000..1923d98f1 --- /dev/null +++ b/packages/website/src/components/Link/index.module.css @@ -0,0 +1,23 @@ +.link { + text-decoration-color: currentColor; + cursor: pointer; + + display: inline; + align-items: center; + gap: var(--space-3); + + &[data-underline="hover"], + &[data-underline="never"] { + text-decoration: none; + } + + &[data-underline="hover"]:hover, + &[data-underline="hover"]:focus { + text-decoration: underline; + } + + svg { + width: 1.25em; + height: 1.25em; + } +} diff --git a/packages/website/src/components/Link/index.tsx b/packages/website/src/components/Link/index.tsx new file mode 100644 index 000000000..78961cc0e --- /dev/null +++ b/packages/website/src/components/Link/index.tsx @@ -0,0 +1,32 @@ +import type { ComponentProps } from "react"; +import { classNames } from "../../ui/classNames"; +import type { Color } from "../../ui/color"; +import styles from "./index.module.css"; + +export interface LinkProps extends ComponentProps<"a"> { + underline?: "always" | "hover" | "never"; + highContrast?: boolean; + color?: Color | "accent"; +} + +export function Link({ + highContrast, + className, + underline = "always", + color = "accent", + style, + ...props +}: LinkProps) { + return ( + + ); +} diff --git a/packages/website/src/components/Text/index.module.css b/packages/website/src/components/Text/index.module.css new file mode 100644 index 000000000..b716e926b --- /dev/null +++ b/packages/website/src/components/Text/index.module.css @@ -0,0 +1,33 @@ +.text { + font-size: var(--font-size-regular); + + &[data-size="minor"] { + font-size: var(--font-size-minor); + } + &[data-size="major"] { + font-size: var(--font-size-major); + } + + &[data-weight="light"] { + font-weight: var(--weight-light); + } + &[data-weight="regular"] { + font-weight: var(--weight-regular); + } + &[data-weight="medium"] { + font-weight: var(--weight-medium); + } + &[data-weight="bold"] { + font-weight: var(--weight-bold); + } + &[data-weight="black"] { + font-weight: var(--weight-black); + } + + &[data-align="center"] { + text-align: center; + } + &[data-align="right"] { + text-align: right; + } +} diff --git a/packages/website/src/components/Text/index.tsx b/packages/website/src/components/Text/index.tsx new file mode 100644 index 000000000..6adeefc03 --- /dev/null +++ b/packages/website/src/components/Text/index.tsx @@ -0,0 +1,45 @@ +import type { ComponentProps } from "react"; +import { classNames } from "../../ui/classNames"; +import type { ColorWithBW } from "../../ui/color"; +import styles from "./index.module.css"; + +export interface TextProps extends ComponentProps<"span"> { + weight?: "light" | "regular" | "medium" | "bold" | "black"; + lowContrast?: boolean; + size?: "regular" | "minor" | "major"; + align?: "left" | "center" | "right"; + color?: ColorWithBW; +} + +export function Text({ + lowContrast, + className, + size = "regular", + weight, + style, + align, + color = "gray", + ...props +}: TextProps) { + const scale = color === "gray" && lowContrast ? "white" : color; + const isBW = color === "black" || color === "white"; + let power: string | number = isBW ? "a12" : 12; + + if (lowContrast) { + power = color === "gray" ? "a9" : isBW ? "a11" : 11; + } + + return ( + + ); +} diff --git a/packages/website/src/pages/[...chunk_default]/[...locale]/index.astro b/packages/website/src/pages/[...chunk_default]/[...locale]/index.astro index 5f876c60e..80a86b4a9 100644 --- a/packages/website/src/pages/[...chunk_default]/[...locale]/index.astro +++ b/packages/website/src/pages/[...chunk_default]/[...locale]/index.astro @@ -2,9 +2,8 @@ import { AstroSeo } from "@astrolib/seo"; import { assertSecret } from "@blitzkit/core"; import locales from "@blitzkit/i18n/locales.json"; -import { literals } from "@blitzkit/i18n/src/literals"; -import { Flex, Link } from "@radix-ui/themes"; import { AesonPlug } from "../../../components/AesonPlug"; +import HelpTranslate from "../../../components/HelpTranslate.astro"; import HomeCosmetics from "../../../components/HomeCosmetics.astro"; import HomeGames from "../../../components/HomeGames.astro"; import HomeHero from "../../../components/HomeHero.astro"; @@ -70,25 +69,7 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, () => { - { - locale !== locales.default && ( - - - {literals(strings.website.home.help_translate, { - name: "BlitzKit", - language: - strings.common.locales[ - locale as keyof typeof strings.common.locales - ], - })} - - - ) - } + diff --git a/packages/website/src/ui/classNames.ts b/packages/website/src/ui/classNames.ts new file mode 100644 index 000000000..33ae9b6a8 --- /dev/null +++ b/packages/website/src/ui/classNames.ts @@ -0,0 +1,3 @@ +export function classNames(...classes: (string | undefined)[]) { + return classes.filter(Boolean).join(" "); +} diff --git a/packages/website/src/ui/color.ts b/packages/website/src/ui/color.ts new file mode 100644 index 000000000..b40d389f2 --- /dev/null +++ b/packages/website/src/ui/color.ts @@ -0,0 +1,10 @@ +import type * as colors from "@radix-ui/colors"; + +const ignoreEndings = ["A", "P3", "Dark", "DarkA", "DarkP3"] as const; + +export type Color = Exclude< + keyof typeof colors, + `${string}${(typeof ignoreEndings)[number]}` | "__esModule" +>; + +export type ColorWithBW = Color | "black" | "white"; From cfc0ebb8e5a1f9401bdac8dbfd411a592b48de65 Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Tue, 18 Aug 2026 13:02:59 -0500 Subject: [PATCH 007/290] migrate 2 --- bun.lock | 6 + packages/website/package.json | 2 + .../components/{Meta.astro => BaseMeta.astro} | 0 .../website/src/components/BaseStyles.astro | 113 ++++++++++++++++++ .../website/src/components/ColorAlias.astro | 33 +++++ .../website/src/components/ColorScale.astro | 54 +++++++++ .../src/components/HomeCosmetics.astro | 4 +- .../website/src/components/HomeGames.astro | 4 +- .../website/src/components/HomePlayers.astro | 4 +- .../website/src/components/HomeTanks.astro | 4 +- .../src/components/HomeTechnical.astro | 4 +- packages/website/src/components/LinkI18n.tsx | 17 +-- .../website/src/components/PageWrapper.tsx | 55 --------- packages/website/src/components/Plugs.tsx | 41 ------- .../website/src/components/ToolCard.astro | 100 ++++++++-------- packages/website/src/layouts/BaseLayout.astro | 97 ++++++++++----- packages/website/src/layouts/ToolLayout.astro | 47 -------- .../[...locale]/index.astro | 29 ++--- 18 files changed, 348 insertions(+), 266 deletions(-) rename packages/website/src/components/{Meta.astro => BaseMeta.astro} (100%) create mode 100644 packages/website/src/components/BaseStyles.astro create mode 100644 packages/website/src/components/ColorAlias.astro create mode 100644 packages/website/src/components/ColorScale.astro delete mode 100644 packages/website/src/components/PageWrapper.tsx delete mode 100644 packages/website/src/components/Plugs.tsx delete mode 100644 packages/website/src/layouts/ToolLayout.astro diff --git a/bun.lock b/bun.lock index dda906038..e1e87173b 100644 --- a/bun.lock +++ b/bun.lock @@ -107,6 +107,8 @@ "@astrolib/seo": "^1.0.0-beta.8", "@blitzkit/core": "workspace:*", "@blitzkit/i18n": "workspace:*", + "@fontsource-variable/jetbrains-mono": "^5.3.0", + "@fontsource-variable/roboto-flex": "^5.3.0", "@fontsource/inter": "^5.2.8", "@gltf-transform/core": "^4.4.2", "@gltf-transform/functions": "^4.4.2", @@ -480,6 +482,10 @@ "@esbuild/win32-x64": ["@esbuild/win32-x64@0.25.10", "", { "os": "win32", "cpu": "x64" }, "sha512-9KpxSVFCu0iK1owoez6aC/s/EdUQLDN3adTxGCqxMVhrPDj6bt5dbrHDXUuq+Bs2vATFBBrQS5vdQ/Ed2P+nbw=="], + "@fontsource-variable/jetbrains-mono": ["@fontsource-variable/jetbrains-mono@5.3.0", "", {}, "sha512-F32xpS2NsGYoQi2ADSkKTgpJj7ozajsGgDJ8woTnqjmIB+dxDIqImjl4pXZVEExu8UFZ2ndhmX18EBS/hdz3Lw=="], + + "@fontsource-variable/roboto-flex": ["@fontsource-variable/roboto-flex@5.3.0", "", {}, "sha512-bOxckUy0qXNRjhV6e4pcHGSvptix4ZRD1uaj5Za8h+p3qrb2GL4U4TQdpVmPSy0SmqwldfD+JJqEKdF68EyiAw=="], + "@fontsource/inter": ["@fontsource/inter@5.2.8", "", {}, "sha512-P6r5WnJoKiNVV+zvW2xM13gNdFhAEpQ9dQJHt3naLvfg+LkF2ldgSLiF4T41lf1SQCM9QmkqPTn4TH568IRagg=="], "@gltf-transform/core": ["@gltf-transform/core@4.4.2", "", { "dependencies": { "property-graph": "^4.1.0" } }, "sha512-qsWKwNSwK+2s834Mt4xbYcyHqCrgNFP7hIv5s487JxebngRfDgelpghNF+kSswGb2/NuapasfK3UViFoSJJoMg=="], diff --git a/packages/website/package.json b/packages/website/package.json index ab97027b5..46ff2b77c 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -15,6 +15,8 @@ "@astrolib/seo": "^1.0.0-beta.8", "@blitzkit/core": "workspace:*", "@blitzkit/i18n": "workspace:*", + "@fontsource-variable/jetbrains-mono": "^5.3.0", + "@fontsource-variable/roboto-flex": "^5.3.0", "@fontsource/inter": "^5.2.8", "@gltf-transform/core": "^4.4.2", "@gltf-transform/functions": "^4.4.2", diff --git a/packages/website/src/components/Meta.astro b/packages/website/src/components/BaseMeta.astro similarity index 100% rename from packages/website/src/components/Meta.astro rename to packages/website/src/components/BaseMeta.astro diff --git a/packages/website/src/components/BaseStyles.astro b/packages/website/src/components/BaseStyles.astro new file mode 100644 index 000000000..445cc011a --- /dev/null +++ b/packages/website/src/components/BaseStyles.astro @@ -0,0 +1,113 @@ +--- +import "@fontsource-variable/jetbrains-mono"; +import "@fontsource-variable/roboto-flex"; +--- + + + + diff --git a/packages/website/src/components/ColorAlias.astro b/packages/website/src/components/ColorAlias.astro new file mode 100644 index 000000000..fd73eb69e --- /dev/null +++ b/packages/website/src/components/ColorAlias.astro @@ -0,0 +1,33 @@ +--- +import type { Color } from "../ui/color"; + +interface Props { + color: Color; + alias: string; + alpha?: boolean; +} + +const { color, alias, alpha } = Astro.props; + +let styles = ""; + +styles += ":root{"; + +for (let i = 0; i < 12; i++) { + const n = i + 1; + styles += `--${alias}-${alpha ? "a" : ""}${n}:var(--${color}-${alpha ? "a" : ""}${n});`; +} + +styles += "}"; + +styles += `*[data-accent='${alias}']{`; + +for (let i = 0; i < 12; i++) { + const n = i + 1; + styles += `--accent-${alpha ? "a" : ""}${n}:var(--${alias}-${alpha ? "a" : ""}${n});`; +} + +styles += "}"; +--- + + diff --git a/packages/website/src/components/ColorScale.astro b/packages/website/src/components/ColorScale.astro new file mode 100644 index 000000000..0e9833191 --- /dev/null +++ b/packages/website/src/components/ColorScale.astro @@ -0,0 +1,54 @@ +--- +import * as colors from "@radix-ui/colors"; +import type { Color } from "../ui/color"; + +interface Props { + color: Color | AlphaOnlyColor; + alpha?: boolean; +} + +const ALPHA_ONLY_COLORS = ["black", "white"] as const; +type AlphaOnlyColor = (typeof ALPHA_ONLY_COLORS)[number]; + +const { color, alpha } = Astro.props; +const nameLight = `${color}${alpha ? "A" : ""}`; +const nameDark = `${color}${ + ALPHA_ONLY_COLORS.includes(color as AlphaOnlyColor) ? "" : "Dark" +}${alpha ? "A" : ""}`; +const scaleLight = colors[nameLight as keyof typeof colors]; +const scaleDark = colors[nameDark as keyof typeof colors]; + +let styles = ""; + +styles += ":root.dark{"; + +for (let i = 0; i < 12; i++) { + const n = i + 1; + const value = + scaleDark[`${color}${alpha ? "A" : ""}${n}` as keyof typeof scaleDark]; + styles += `--${color}-${alpha ? "a" : ""}${n}:${value};`; +} + +styles += "}"; +styles += ":root.light{"; + +for (let i = 0; i < 12; i++) { + const n = i + 1; + const value = + scaleLight[`${color}${alpha ? "A" : ""}${n}` as keyof typeof scaleLight]; + styles += `--${color}-${alpha ? "a" : ""}${n}:${value};`; +} + +styles += "}"; + +styles += `*[data-accent='${color}']{`; + +for (let i = 0; i < 12; i++) { + const n = i + 1; + styles += `--accent-${alpha ? "a" : ""}${n}:var(--${color}-${alpha ? "a" : ""}${n});`; +} + +styles += "}"; +--- + + diff --git a/packages/website/src/components/HomeCosmetics.astro b/packages/website/src/components/HomeCosmetics.astro index df2ffbd59..138a2fcc3 100644 --- a/packages/website/src/components/HomeCosmetics.astro +++ b/packages/website/src/components/HomeCosmetics.astro @@ -1,7 +1,7 @@ --- -import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; +import { Heading } from "./Heading"; import ToolCard from "./ToolCard.astro"; import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; @@ -15,7 +15,7 @@ const { locale } = Astro.props; const strings = getStrings(locale); --- -{strings.home.cosmetics} +{strings.home.cosmetics} diff --git a/packages/website/src/components/HomeGames.astro b/packages/website/src/components/HomeGames.astro index 56ca357ee..72121b9ed 100644 --- a/packages/website/src/components/HomeGames.astro +++ b/packages/website/src/components/HomeGames.astro @@ -1,7 +1,7 @@ --- -import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; +import { Heading } from "./Heading"; import ToolCard from "./ToolCard.astro"; import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; @@ -15,7 +15,7 @@ const { locale } = Astro.props; const strings = getStrings(locale); --- -{strings.home.games} +{strings.home.games} diff --git a/packages/website/src/components/HomePlayers.astro b/packages/website/src/components/HomePlayers.astro index 06cb5c0bb..b0dc1e301 100644 --- a/packages/website/src/components/HomePlayers.astro +++ b/packages/website/src/components/HomePlayers.astro @@ -1,7 +1,7 @@ --- -import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; +import { Heading } from "./Heading"; import ToolCard from "./ToolCard.astro"; import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; @@ -15,7 +15,7 @@ const { locale } = Astro.props; const strings = getStrings(locale); --- -{strings.home.players} +{strings.home.players} diff --git a/packages/website/src/components/HomeTanks.astro b/packages/website/src/components/HomeTanks.astro index 8a69a1c1e..d13e57201 100644 --- a/packages/website/src/components/HomeTanks.astro +++ b/packages/website/src/components/HomeTanks.astro @@ -1,7 +1,7 @@ --- -import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; +import { Heading } from "./Heading"; import ToolCard from "./ToolCard.astro"; import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; @@ -14,7 +14,7 @@ const { locale } = Astro.props; const strings = getStrings(locale); --- -{strings.home.tanks} +{strings.home.tanks} diff --git a/packages/website/src/components/HomeTechnical.astro b/packages/website/src/components/HomeTechnical.astro index 488774a63..62008ee39 100644 --- a/packages/website/src/components/HomeTechnical.astro +++ b/packages/website/src/components/HomeTechnical.astro @@ -1,7 +1,7 @@ --- -import { Heading } from "@radix-ui/themes"; import { tools } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; +import { Heading } from "./Heading"; import ToolCard from "./ToolCard.astro"; import ToolCardLayoutColumn from "./ToolCardLayoutColumn.astro"; import ToolCardLayoutRoot from "./ToolCardLayoutRoot.astro"; @@ -15,7 +15,7 @@ const { locale } = Astro.props; const strings = getStrings(locale); --- -{strings.home.technical} +{strings.home.technical} diff --git a/packages/website/src/components/LinkI18n.tsx b/packages/website/src/components/LinkI18n.tsx index f076de7c9..0efce7170 100644 --- a/packages/website/src/components/LinkI18n.tsx +++ b/packages/website/src/components/LinkI18n.tsx @@ -1,14 +1,15 @@ import locales from "@blitzkit/i18n/locales.json"; -import { Link, type LinkProps } from "@radix-ui/themes"; -import type { LocaleAcceptorProps } from "../hooks/useLocale"; +import { Link, type LinkProps } from "./Link"; -type LinkI18nProps = LinkProps & LocaleAcceptorProps; - -export function LinkI18n({ locale, href, ...props }: LinkI18nProps) { - const prefix = - locale === undefined || locale === locales.default ? "" : `/${locale}`; +export interface LinkI18n extends LinkProps { + locale: string; +} +export function LinkI18n({ locale, href, ...props }: LinkI18n) { return ( - + ); } diff --git a/packages/website/src/components/PageWrapper.tsx b/packages/website/src/components/PageWrapper.tsx deleted file mode 100644 index 3f3193b54..000000000 --- a/packages/website/src/components/PageWrapper.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import { Flex, type FlexProps, Theme } from "@radix-ui/themes"; -import type { ComponentProps } from "react"; -import { NAVBAR_HEIGHT } from "../constants/navbar"; -import type { RadixSize } from "../stores/embedState"; -import { BlitzKitTheme } from "./BlitzKitTheme"; - -type PageWrapperProps = FlexProps & { - color?: ComponentProps["accentColor"]; - containerProps?: ComponentProps; - noFlex1?: boolean; - padding?: RadixSize; - noMinHeight?: boolean; -}; - -export function PageWrapper({ - style, - color, - children, - noFlex1 = false, - containerProps, - noMinHeight = false, - padding = "4", - ...props -}: PageWrapperProps) { - return ( - - - {children} - - - ); -} diff --git a/packages/website/src/components/Plugs.tsx b/packages/website/src/components/Plugs.tsx deleted file mode 100644 index 9322fcc6b..000000000 --- a/packages/website/src/components/Plugs.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import { assertSecret } from "@blitzkit/core"; -import { ArrowRightIcon } from "@radix-ui/react-icons"; -import { Button, Code, Flex, Link, Text } from "@radix-ui/themes"; - -export function Plugs() { - const promoteOpentest = - assertSecret(import.meta.env.PUBLIC_PROMOTE_OPENTEST) === "true" && - assertSecret(import.meta.env.PUBLIC_ENVIRONMENT) !== "opentest"; - const promotions = [promoteOpentest]; - - if (promotions.every((promotion) => !promotion)) return null; - - return ( - - {promoteOpentest && ( - - - BlitzKit{" "} - - opentest - {" "} - is available now{" "} - - - - - - - )} - - ); -} diff --git a/packages/website/src/components/ToolCard.astro b/packages/website/src/components/ToolCard.astro index c2446e187..91b86540a 100644 --- a/packages/website/src/components/ToolCard.astro +++ b/packages/website/src/components/ToolCard.astro @@ -1,16 +1,16 @@ --- -import { Box, Flex, Heading, Text } from "@radix-ui/themes"; import type { Tool } from "../constants/tools"; import { getStrings } from "../core/i18n/getStrings"; +import { Heading } from "./Heading"; import { LinkI18n } from "./LinkI18n"; +import { Text } from "./Text"; interface Props { tool: Tool; locale: string; - significant?: boolean; } -const { locale, tool, significant } = Astro.props; +const { locale, tool } = Astro.props; const strings = getStrings(locale); const toolStrings = strings.website.tools[ @@ -20,19 +20,19 @@ const toolStrings = - - +
+
- - - +
+ {toolStrings.name} - + + {toolStrings.description} - - +
+
-
+ diff --git a/packages/website/src/layouts/BaseLayout.astro b/packages/website/src/layouts/BaseLayout.astro index 7f216c3de..331cf7eb2 100644 --- a/packages/website/src/layouts/BaseLayout.astro +++ b/packages/website/src/layouts/BaseLayout.astro @@ -1,48 +1,81 @@ --- -import strings from "@blitzkit/i18n/strings/en.json"; -import { Flex } from "@radix-ui/themes"; -import Analytics from "../components/Analytics.astro"; -import { BlitzKitTheme } from "../components/BlitzKitTheme"; -import { Checks } from "../components/Checks"; -import EasterEggs from "../components/EasterEggs.astro"; -import Footer from "../components/Footer.astro"; -import LocaleRedirector from "../components/LocaleRedirector.astro"; -import Meta from "../components/Meta.astro"; -import Servicing from "../components/Servicing.astro"; -import "./base.css"; +import BaseMeta from "../components/BaseMeta.astro"; +import BaseStyles from "../components/BaseStyles.astro"; +import ColorAlias from "../components/ColorAlias.astro"; +import ColorScale from "../components/ColorScale.astro"; +import type { Color } from "../ui/color"; -export interface Props { - noFooter?: boolean; - noNavbar?: boolean; - integrated?: boolean; +interface Props { locale: string; + accent: Color; } -const servicing = import.meta.env.SERVICING; -const { noFooter, noNavbar, integrated, locale } = Astro.props; +const { accent, locale } = Astro.props; --- - + - + - - - - + + + + + + + + + + + + + + + + + + - - - - + + - {servicing ? : } +
+ +
- {!noFooter &&