feat: kit 3

This commit is contained in:
TrèsAbhi committed 2024-04-23 10:19:32 -05:00
1 parent e53bdd8e19
commit 051997d2d3
21 files changed
+105 -96

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
# Blitzrinth Regular Tank Stats
# BlitzKit Regular Tank Stats
A straightforward way of storing the entire World of Tanks Blitz tank statistics for players to disk.
+4 -8
View File
@@ -1,22 +1,18 @@
# Blitzrinth Privacy Policy
# BlitzKit Privacy Policy
Blitzrinth collects little to no data. Regardless, here is an exhaustive list of Blitzrinth's data collection practices.
BlitzKit collects little to no data. Regardless, here is an exhaustive list of BlitzKit's data collection practices.
## Logs
All Blitzrinth logs are available to the public as an effort for open source transparency. A history of all logs [can be found on GitHub](https://github.com/tresabhi/blitzkit/actions/workflows/host.yml). All logs expire automatically and are permanently deleted after 30 days. However, anyone may chose to save a local copy of the logs which is not tracked by GitHub.
All BlitzKit logs are available to the public as an effort for open source transparency. A history of all logs [can be found on GitHub](https://github.com/tresabhi/blitzkit/actions/workflows/host.yml). All logs expire automatically and are permanently deleted after 30 days. However, anyone may chose to save a local copy of the logs which is not tracked by GitHub.
## Commands
Everytime a command a command is used, the command name and parameters provided is logged. Any identifying information like manually provided in-game usernames are also recorded.
## Errors
Everytime an error occurs, a detailed stack trace, scope of the error, and the error message is logged both in the GitHub logs and in the public channel [#🔲︱blitzrinth-logs](https://discord.com/channels/734786591205359697/880650462540476416) in [the official Discord server](https://discord.gg/nDt7AjGJQH).
## Databases
No databases are used by Blitzrinth meaning that no data is collected outside of what has already been mentioned above. This is no permanent state.
No databases are used by BlitzKit meaning that no data is collected outside of what has already been mentioned above. This is no permanent state.
## 3rd Party
+3 -3
View File
@@ -1,12 +1,12 @@
# Blitzrinth Terms of Service
# BlitzKit Terms of Service
## About
Blitzrinth is a multi-function Discord bot that serves users with needs specific to the game World of Tanks Blitz.
BlitzKit is a multi-function Discord bot that serves users with needs specific to the game World of Tanks Blitz.
## License
Blitzrinth is licensed under the MIT License.
BlitzKit is licensed under the MIT License.
## 3rd Party
+3 -3
View File
@@ -1,7 +1,7 @@
User-agent: *
Allow: /
Host: https://blitzrinth.vercel.app
Host: https://blitzkit.vercel.app
Sitemap: https://blitzrinth.vercel.app/sitemap.txt
Sitemap: https://blitzrinth.vercel.app/sitemap.xml
Sitemap: https://blitzkit.vercel.app/sitemap.txt
Sitemap: https://blitzkit.vercel.app/sitemap.xml
+2 -2
View File
@@ -325,7 +325,7 @@ type ConsumablesVehicleFilter =
| { name: string }
| { extendedTags: string };
const blitzShellKindToBlitzrinth: Record<ShellKind, ShellType> = {
const blitzShellKindToBlitzkit: Record<ShellKind, ShellType> = {
ARMOR_PIERCING: 'ap',
ARMOR_PIERCING_CR: 'ap_cr',
HIGH_EXPLOSIVE: 'he',
@@ -852,7 +852,7 @@ export async function definitions(production: boolean) {
caliber: shell.caliber,
normalization: shell.normalizationAngle,
ricochet: shell.ricochetAngle,
type: blitzShellKindToBlitzrinth[shell.kind],
type: blitzShellKindToBlitzkit[shell.kind],
explosionRadius:
shell.kind === 'HIGH_EXPLOSIVE'
? shell.explosionRadius ?? 0
+2 -2
View File
@@ -8,14 +8,14 @@ console.log('Building sitemap...');
const awaitedTankDefinitions = await tankDefinitions;
const values = Object.values(awaitedTankDefinitions);
const txt = values
.map((tank) => `https://blitzrinth.vercel.app/tools/tankopedia/${tank.id}/`)
.map((tank) => `https://blitzkit.vercel.app/tools/tankopedia/${tank.id}/`)
.join('\n');
const xml = `<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
${values
.map(
(tank) =>
`<url><loc>https://blitzrinth.vercel.app/tools/tankopedia/${tank.id}/</loc></url>`,
`<url><loc>https://blitzkit.vercel.app/tools/tankopedia/${tank.id}/</loc></url>`,
)
.join('\n')}
</urlset>`;
+3 -3
View File
@@ -50,14 +50,14 @@ export default function RootLayout({ children }: RootLayoutProps) {
<head>
{isRoot && (
<>
<title>Blitzrinth</title>
<title>BlitzKit</title>
<meta
name="description"
content="🎉 Tools for everything World of Tanks Blitz"
/>
</>
)}
<meta property="og:site_name" content="Blitzrinth" />
<meta property="og:site_name" content="BlitzKit" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<Party3 />
@@ -90,7 +90,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
the official Discord server
</a>
. Also consider using{' '}
<a href="https://blitzrinth.vercel.app/">
<a href="https://blitzkit.vercel.app/">
the more stable release version
</a>
. You will be asked again in 8 days.
+2 -2
View File
@@ -47,7 +47,7 @@ import {
} from '../../../core/blitzkit/tankDefinitions';
import { tankIcon } from '../../../core/blitzkit/tankIcon';
import { tankToCompareMember } from '../../../core/blitzkit/tankToCompareMember';
import { BlitzrinthButtonWatermark } from '../../../icons/BlitzrinthButtonWatermark';
import { BlitzkitButtonWatermark } from '../../../icons/BlitzkitButtonWatermark';
import { theme } from '../../../stitches.config';
import {
DeltaMode,
@@ -648,7 +648,7 @@ export default function Page() {
align="center"
justify="center"
>
<BlitzrinthButtonWatermark width={64} height={64} />
<BlitzkitButtonWatermark width={64} height={64} />
<InsertionMarker index={0} />
</Flex>
</Table.ColumnHeaderCell>
@@ -14,7 +14,7 @@ import { tankIcon } from '../../../../../../core/blitzkit/tankIcon';
import { useEquipment } from '../../../../../../hooks/useEquipment';
import { useFullScreen } from '../../../../../../hooks/useFullScreen';
import { useWideFormat } from '../../../../../../hooks/useWideFormat';
import { BlitzrinthWide } from '../../../../../../icons/BlitzrinthWide';
import { BlitzkitWide } from '../../../../../../icons/BlitzkitWide';
import { mutateDuel, useDuel } from '../../../../../../stores/duel';
import mutateTankopediaPersistent, {
TankopediaMode,
@@ -186,7 +186,7 @@ export function TankSandbox() {
top: 16,
}}
>
<BlitzrinthWide height={32} />
<BlitzkitWide height={32} />
</Text>
)}
+1 -1
View File
@@ -84,7 +84,7 @@
// embedWarning(
// 'This is an approximation!',
// "Wargaming provides very little information about platoons publicly. Caveats:\n- Players in two different clans platooning artificially inflates the total count\n- Game-mode battles aren't counted since Wargaming doesn't publicly share that data\n- This command is also subject to Blitzrinth's reset times (use `/about timezones` for more info)",
// "Wargaming provides very little information about platoons publicly. Caveats:\n- Players in two different clans platooning artificially inflates the total count\n- Game-mode battles aren't counted since Wargaming doesn't publicly share that data\n- This command is also subject to Blitzkit's reset times (use `/about timezones` for more info)",
// ),
// ];
// },
+2 -2
View File
@@ -9,7 +9,7 @@ export const pingCommand = new Promise<CommandRegistry>((resolve) => {
handlesInteraction: true,
command: createLocalizedCommand('ping', [
{ subcommand: 'blitzrinth' },
{ subcommand: 'blitzkit' },
{ subcommand: 'wotb' },
]),
@@ -18,7 +18,7 @@ export const pingCommand = new Promise<CommandRegistry>((resolve) => {
const subcommand = interaction.options.getSubcommand();
const executionStart = Date.now();
if (subcommand === 'blitzrinth') {
if (subcommand === 'blitzkit') {
await interaction.editReply(t`bot.commands.ping.body.pong`);
} else {
await fetch('https://api.wotblitz.com/');
+1 -1
View File
@@ -23,7 +23,7 @@ export function Footer() {
>
<Flex gap="1" justify="center" align="center">
<Text color="gray" size="2">
Blitzrinth
BlitzKit
</Text>
<Code color="gray" size="2">
+2 -2
View File
@@ -14,7 +14,7 @@ import Link from 'next/link';
import { TOOLS } from '../../constants/tools';
import { useFullScreen } from '../../hooks/useFullScreen';
import { useWideFormat } from '../../hooks/useWideFormat';
import { BlitzrinthWide } from '../../icons/BlitzrinthWide';
import { BlitzkitWide } from '../../icons/BlitzkitWide';
import { PatreonIcon } from '../../icons/Patreon';
import { theme } from '../../stitches.config';
@@ -101,7 +101,7 @@ export default function Navbar() {
justifyContent: 'center',
}}
>
<BlitzrinthWide />
<BlitzkitWide />
</Link>
<div style={{ flex: 1 }} />
+1 -1
View File
@@ -1 +1 @@
export const ASSETS_REPO = 'blitzrinth-assets';
export const ASSETS_REPO = 'blitzkit-assets';
+2 -2
View File
@@ -3,7 +3,7 @@ import { IndividualTankStats } from '../../types/tanksStats';
import { AllStats } from '../blitz/getAccountInfo';
import { ReadStream, WriteStream } from './buffer';
export interface BlitzrinthTankStats extends AllStats {
export interface BlitzkitTankStats extends AllStats {
id: number;
battle_life_time: number;
last_battle_time: number;
@@ -123,7 +123,7 @@ export class RtscReadStream extends ReadStream {
win_and_survived: this.uint32(),
wins: this.uint32(),
xp: this.uint32(),
} satisfies BlitzrinthTankStats;
} satisfies BlitzkitTankStats;
}
}
+5 -5
View File
@@ -16,10 +16,10 @@ interface PolygonGroupRaw {
vertices: ArrayBuffer;
}
type BlitzrinthVertex = { attribute: VertexAttribute; value: number[] }[];
type BlitzkitVertex = { attribute: VertexAttribute; value: number[] }[];
interface BlitzrinthPolygonGroup {
vertices: BlitzrinthVertex[];
interface BlitzkitPolygonGroup {
vertices: BlitzkitVertex[];
indices: number[];
}
@@ -63,7 +63,7 @@ export class ScgReadStream extends ScpgReadStream {
scg() {
const header = this.header();
const polygonGroupsRaw: PolygonGroupRaw[] = [];
const polygonGroups = new Map<bigint, BlitzrinthPolygonGroup>();
const polygonGroups = new Map<bigint, BlitzkitPolygonGroup>();
for (let index = 0; index < header.nodeCount; index++) {
const polygonGroupRaw = this.ka() as PolygonGroupRaw;
@@ -83,7 +83,7 @@ export class ScgReadStream extends ScpgReadStream {
}
const verticesStream = new ScpgReadStream(polygonGroupRaw.vertices);
const vertices: BlitzrinthVertex[] = [];
const vertices: BlitzkitVertex[] = [];
const { format, stride } = ScgReadStream.parseVertexFormat(
polygonGroupRaw.vertexFormat,
);
+44
View File
@@ -0,0 +1,44 @@
import { ComponentProps } from 'react';
export function BlitzkitButtonWatermark(props: ComponentProps<'svg'>) {
return (
<svg
width="426"
height="426"
viewBox="0 0 426 426"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g opacity="0.1" clip-path="url(#clip0_513_262)">
<path
d="M416.628 244.997L235.625 372.974C223.13 381.809 202.87 381.809 190.375 372.974L9.37173 244.997C3.1239 240.58 -3.95076e-06 234.79 0 229V196.6L213 54.5L426 196.6V229C426 234.79 422.876 240.58 416.628 244.997Z"
fill="#8D8D8D"
/>
<path
d="M197.392 97.0371C194.907 95.398 192.778 94.4555 191.007 94.2094C188.967 93.9067 187.181 94.302 185.649 95.3953C184.212 96.4202 183.623 97.5038 183.883 98.6459C184.157 99.7783 185.218 101.003 187.066 102.321C188.804 103.561 190.494 104.279 192.136 104.474C193.779 104.669 195.325 104.25 196.776 103.215C198.158 102.229 198.815 101.077 198.746 99.7593C198.687 98.8011 198.235 97.8936 197.392 97.0371Z"
fill="white"
/>
<path
d="M220.559 280.9L243.11 264.885C249.975 260.009 253.298 255.223 253.077 250.527C252.857 245.747 249.802 241.265 243.911 237.081C238.079 232.94 231.827 230.812 225.155 230.697C218.483 230.498 211.715 232.837 204.849 237.713L182.299 253.728L220.559 280.9Z"
fill="white"
/>
<path
d="M164.361 240.989L184.426 226.74C191.232 221.906 194.672 217.371 194.745 213.135C194.759 208.858 192.086 204.816 186.726 201.009C181.424 197.244 175.821 195.408 169.915 195.502C164.01 195.596 157.655 198.059 150.848 202.893L130.784 217.143L164.361 240.989Z"
fill="white"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M416.628 180.603L235.625 52.6262C223.13 43.7913 202.87 43.7913 190.375 52.6262L9.37172 180.603C-3.12391 189.438 -3.12391 203.762 9.37173 212.597L190.375 340.574C202.87 349.409 223.13 349.409 235.625 340.574L416.628 212.597C429.124 203.762 429.124 189.438 416.628 180.603ZM214.47 76.4488L228.267 101.781L235 96.9786L220.094 71.0312L215.844 68L194.721 83.0665L199.957 86.8006L214.47 76.4488ZM176 99.6413C176.042 102.326 177.602 104.766 180.681 106.963C183.679 109.101 186.888 110.238 190.31 110.375C193.731 110.512 196.852 109.575 199.671 107.564C202.38 105.631 203.434 103.493 202.832 101.151C202.794 101.004 202.753 100.859 202.707 100.715C204.879 102.845 205.886 104.918 205.727 106.934C205.494 109.697 203.537 112.391 199.856 115.017L199.24 115.456L204.208 119L204.886 118.517C210.606 114.3 213.459 110.059 213.445 105.793C213.431 101.507 210.92 97.578 205.91 94.005L205.11 93.4339C200.484 90.1343 196.097 88.5088 191.95 88.5574C187.804 88.606 184.143 89.7627 180.968 92.0273C177.629 94.409 175.973 96.947 176 99.6413ZM314.916 235.433L217 168.61L238.183 153.593L289.031 187.048L287.043 151.614L310.477 135L312.251 176.987L386.628 184.595L361.645 202.306L313.099 197.085L313.405 204.328L336.099 220.416L314.916 235.433ZM84 222.631L212.655 314L263.704 277.746C277.613 267.868 285.559 257.622 287.543 247.01C289.586 236.355 284.776 226.886 273.112 218.602C264.688 212.62 255.931 209.217 246.841 208.393C237.809 207.528 229.48 208.59 221.853 211.58L221.5 211.329C224.585 206.711 225.488 201.636 224.207 196.102C222.927 190.485 218.723 185.146 211.595 180.084C200.108 171.926 187.601 168.718 174.073 170.46C160.546 172.202 146.709 178.096 132.563 188.142L84 222.631Z"
fill="white"
/>
</g>
<defs>
<clipPath id="clip0_513_262">
<rect width="426" height="426" fill="white" />
</clipPath>
</defs>
</svg>
);
}
+19
View File
@@ -0,0 +1,19 @@
import { ComponentProps } from 'react';
export function BlitzkitWide(props: ComponentProps<'svg'>) {
return (
<svg
width="60"
height="15"
viewBox="0 0 60 15"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
d="M0.204102 14V1.20312H5.45996C6.9541 1.20312 8.11719 1.48145 8.94922 2.03809C9.78125 2.59473 10.1973 3.43848 10.1973 4.56934C10.1973 5.27246 10.0449 5.85547 9.74023 6.31836C9.43555 6.78125 9.06055 7.0918 8.61523 7.25V7.28516C9.16602 7.44336 9.62891 7.77734 10.0039 8.28711C10.3848 8.79688 10.5752 9.47656 10.5752 10.3262C10.5752 11.4863 10.127 12.3887 9.23047 13.0332C8.33398 13.6777 7.15625 14 5.69727 14H0.204102ZM3.64062 11.6973H5.48633C6.03711 11.6973 6.44141 11.5508 6.69922 11.2578C6.96289 10.9648 7.09473 10.5664 7.09473 10.0625C7.09473 9.57031 6.96289 9.17773 6.69922 8.88477C6.44141 8.5918 6.03711 8.44531 5.48633 8.44531H3.64062V11.6973ZM3.64062 6.35352H5.2666C5.80566 6.35352 6.19238 6.23047 6.42676 5.98438C6.66699 5.73828 6.78711 5.39258 6.78711 4.94727C6.78711 4.50195 6.66699 4.15625 6.42676 3.91016C6.19238 3.66406 5.80566 3.54102 5.2666 3.54102H3.64062V6.35352ZM12.1924 14V0.631836H15.5674V14H12.1924ZM17.5449 14V4.82422H20.9375V14H17.5449ZM17.3164 2.37207C17.3164 1.88574 17.4834 1.47852 17.8174 1.15039C18.1514 0.816406 18.626 0.649414 19.2412 0.649414C19.8623 0.649414 20.3369 0.816406 20.665 1.15039C20.999 1.47852 21.166 1.88574 21.166 2.37207C21.166 2.86426 20.999 3.27734 20.665 3.61133C20.3311 3.94531 19.8535 4.1123 19.2324 4.1123C18.6172 4.1123 18.1426 3.94531 17.8086 3.61133C17.4805 3.27734 17.3164 2.86426 17.3164 2.37207ZM21.9395 7.22363V4.82422H28.0215V7.22363H21.9395ZM23.126 10.9502V5.89648L23.1523 5.65918V2.67969H26.4746V10.7568C26.4746 11.1904 26.5479 11.4834 26.6943 11.6357C26.8467 11.7822 27.04 11.8555 27.2744 11.8555C27.3916 11.8555 27.5117 11.8408 27.6348 11.8115C27.7578 11.7822 27.8691 11.7441 27.9688 11.6973V13.9736C27.8398 14.0439 27.6406 14.1055 27.3711 14.1582C27.1016 14.2168 26.7998 14.2461 26.4658 14.2461C25.458 14.2461 24.6494 13.9824 24.04 13.4551C23.4307 12.9219 23.126 12.0869 23.126 10.9502ZM28.8125 14V11.9609L32.4688 7.29395H28.8916V4.82422H36.9424V6.81934L33.2334 11.5566H37.2324V14H28.8125ZM38.5947 14V0.631836H41.9521V7.44336L44.3428 4.81543H48.0254L41.9521 11.3105V14H38.5947ZM44.4219 14L41.5654 10.0449L43.71 7.64551L48.377 14H44.4219ZM49.0449 14V4.82422H52.4375V14H49.0449ZM48.8164 2.37207C48.8164 1.88574 48.9834 1.47852 49.3174 1.15039C49.6514 0.816406 50.126 0.649414 50.7412 0.649414C51.3623 0.649414 51.8369 0.816406 52.165 1.15039C52.499 1.47852 52.666 1.88574 52.666 2.37207C52.666 2.86426 52.499 3.27734 52.165 3.61133C51.8311 3.94531 51.3535 4.1123 50.7324 4.1123C50.1172 4.1123 49.6426 3.94531 49.3086 3.61133C48.9805 3.27734 48.8164 2.86426 48.8164 2.37207ZM53.4395 7.22363V4.82422H59.5215V7.22363H53.4395ZM54.626 10.9502V5.89648L54.6523 5.65918V2.67969H57.9746V10.7568C57.9746 11.1904 58.0479 11.4834 58.1943 11.6357C58.3467 11.7822 58.54 11.8555 58.7744 11.8555C58.8916 11.8555 59.0117 11.8408 59.1348 11.8115C59.2578 11.7822 59.3691 11.7441 59.4688 11.6973V13.9736C59.3398 14.0439 59.1406 14.1055 58.8711 14.1582C58.6016 14.2168 58.2998 14.2461 57.9658 14.2461C56.958 14.2461 56.1494 13.9824 55.54 13.4551C54.9307 12.9219 54.626 12.0869 54.626 10.9502Z"
fill="currentColor"
/>
</svg>
);
}
-32
View File
@@ -1,32 +0,0 @@
import { ComponentProps } from 'react';
export function BlitzrinthButtonWatermark(props: ComponentProps<'svg'>) {
return (
<svg
width="426"
height="426"
viewBox="0 0 426 426"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g opacity="0.1" clip-path="url(#clip0_501_247)">
<path
d="M416.628 244.997L235.625 372.974C223.13 381.809 202.87 381.809 190.375 372.974L9.37173 244.997C3.1239 240.58 -3.95076e-06 234.79 0 229V196.6L213 60.5L426 196.6V229C426 234.79 422.876 240.58 416.628 244.997Z"
fill="#8D8D8D"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M235.625 52.6262L416.628 180.603C429.124 189.438 429.124 203.762 416.628 212.597L235.625 340.574C223.13 349.409 202.87 349.409 190.375 340.574L9.37173 212.597C-3.12391 203.762 -3.12391 189.438 9.37173 180.603L190.375 52.6262C202.87 43.7913 223.13 43.7913 235.625 52.6262ZM217.384 100.748L217.914 101.121C220.527 102.958 223.606 103.812 227.151 103.683C230.696 103.534 234.256 102.203 237.829 99.6906C241.332 97.2277 243.055 94.6357 242.999 91.9146C242.942 89.1936 241.261 86.6711 237.956 84.3472C234.75 82.0929 231.36 80.9906 227.787 81.0402C224.199 81.08 221.007 82.083 218.211 84.0493C217.095 84.8339 216.261 85.6284 215.711 86.4328C215.146 87.2272 214.778 87.9721 214.609 88.6672L208.507 83.3641L220.944 74.6794L215.711 71L198.084 83.3939L211.961 95.3856L219.609 93.2256C219.468 92.3516 219.545 91.5125 219.842 90.7081C220.124 89.8937 220.781 89.1241 221.812 88.3991C223.154 87.4557 224.658 87.0336 226.325 87.1329C227.992 87.2322 229.75 87.9323 231.6 89.2333C233.451 90.5343 234.489 91.7806 234.715 92.9723C234.941 94.164 234.34 95.2614 232.914 96.2644C231.544 97.2277 230.124 97.7293 228.655 97.769C227.172 97.7988 225.781 97.3569 224.482 96.4432L223.994 96.1006L217.384 100.748ZM193.105 118.267L192.533 117.864L199.1 113.246L199.609 113.604C200.979 114.567 202.413 115.059 203.91 115.079C205.407 115.079 206.855 114.587 208.253 113.604C209.665 112.611 210.365 111.583 210.35 110.52C210.322 109.448 209.496 108.341 207.872 107.198C206.318 106.106 204.722 105.59 203.084 105.649C201.445 105.709 199.8 106.32 198.147 107.482L195.329 109.463L190.69 106.2L193.317 104.353C194.729 103.36 195.435 102.347 195.435 101.314C195.435 100.262 194.743 99.2487 193.359 98.2755C192.06 97.3619 190.774 96.8852 189.503 96.8455C188.232 96.8057 187.01 97.198 185.838 98.0223C184.623 98.8764 184.044 99.7602 184.101 100.674C184.157 101.568 184.821 102.461 186.092 103.355L186.473 103.623L179.948 108.211L179.567 107.943C177.081 106.196 175.894 104.09 176.007 101.627C176.134 99.1544 177.829 96.771 181.092 94.4769C184.454 92.1133 187.766 90.8869 191.029 90.7975C194.277 90.6982 197.003 91.4231 199.206 92.9724C200.887 94.1541 201.975 95.465 202.469 96.905C202.949 98.3351 202.681 99.8446 201.664 101.434L201.749 101.493C203.91 100.55 206.163 100.167 208.507 100.346C210.838 100.515 212.971 101.28 214.906 102.64C217.787 104.666 219.086 106.96 218.804 109.522C218.521 112.085 216.607 114.612 213.062 117.105C209.531 119.587 206.007 120.883 202.49 120.993C198.959 121.092 195.831 120.183 193.105 118.267ZM229.079 165.103L317.32 227.441L343 209.299L286.601 169.456C284.456 165.945 283.809 162.294 284.658 158.504C285.451 154.673 287.769 151.401 291.611 148.686C293.023 147.689 294.379 146.85 295.679 146.172C296.978 145.413 298.25 144.794 299.492 144.315L277.813 129C277.079 129.2 275.949 129.639 274.424 130.318C272.955 130.956 271.599 131.715 270.356 132.593C266.401 135.387 264.027 138.779 263.234 142.77C262.384 146.72 262.721 150.51 264.244 154.141L263.82 154.44L253.488 147.86L229.079 165.103ZM89 212.895L212.3 300L261.033 265.573C274.311 256.192 281.884 246.455 283.754 236.36C285.68 226.224 281.054 217.209 269.876 209.312C261.803 203.608 253.417 200.359 244.72 199.563C236.079 198.728 228.115 199.728 220.828 202.563L220.489 202.324C223.428 197.934 224.278 193.106 223.039 187.839C221.8 182.493 217.764 177.407 210.933 172.581C199.924 164.804 187.952 161.735 175.018 163.375C162.083 165.014 148.864 170.604 135.36 180.144L89 212.895ZM241.3 253.309L219.773 268.517L183.105 242.613L204.632 227.405C211.186 222.775 217.655 220.558 224.037 220.756C230.419 220.874 236.404 222.907 241.993 226.856C247.639 230.844 250.573 235.112 250.797 239.661C251.02 244.129 247.855 248.679 241.3 253.309ZM185.068 216.937L165.914 230.468L133.734 207.735L152.888 194.203C159.386 189.613 165.459 187.277 171.107 187.196C176.755 187.114 182.119 188.868 187.2 192.458C192.338 196.087 194.905 199.937 194.903 204.007C194.844 208.037 191.566 212.347 185.068 216.937Z"
fill="white"
/>
</g>
<defs>
<clipPath id="clip0_501_247">
<rect width="426" height="426" fill="white" />
</clipPath>
</defs>
</svg>
);
}
-18
View File
@@ -1,18 +0,0 @@
import { ComponentProps } from 'react';
export function BlitzrinthWide(props: ComponentProps<'svg'>) {
return (
<svg
width="78"
height="15"
viewBox="0 0 78 15"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M0.204102 14V1.20312H5.45996C6.9541 1.20312 8.11719 1.48145 8.94922 2.03809C9.78125 2.59473 10.1973 3.43848 10.1973 4.56934C10.1973 5.27246 10.0449 5.85547 9.74023 6.31836C9.43555 6.78125 9.06055 7.0918 8.61523 7.25V7.28516C9.16602 7.44336 9.62891 7.77734 10.0039 8.28711C10.3848 8.79688 10.5752 9.47656 10.5752 10.3262C10.5752 11.4863 10.127 12.3887 9.23047 13.0332C8.33398 13.6777 7.15625 14 5.69727 14H0.204102ZM3.64062 11.6973H5.48633C6.03711 11.6973 6.44141 11.5508 6.69922 11.2578C6.96289 10.9648 7.09473 10.5664 7.09473 10.0625C7.09473 9.57031 6.96289 9.17773 6.69922 8.88477C6.44141 8.5918 6.03711 8.44531 5.48633 8.44531H3.64062V11.6973ZM3.64062 6.35352H5.2666C5.80566 6.35352 6.19238 6.23047 6.42676 5.98438C6.66699 5.73828 6.78711 5.39258 6.78711 4.94727C6.78711 4.50195 6.66699 4.15625 6.42676 3.91016C6.19238 3.66406 5.80566 3.54102 5.2666 3.54102H3.64062V6.35352ZM12.1924 14V0.631836H15.5674V14H12.1924ZM17.5449 14V4.82422H20.9375V14H17.5449ZM17.3164 2.37207C17.3164 1.88574 17.4834 1.47852 17.8174 1.15039C18.1514 0.816406 18.626 0.649414 19.2412 0.649414C19.8623 0.649414 20.3369 0.816406 20.665 1.15039C20.999 1.47852 21.166 1.88574 21.166 2.37207C21.166 2.86426 20.999 3.27734 20.665 3.61133C20.3311 3.94531 19.8535 4.1123 19.2324 4.1123C18.6172 4.1123 18.1426 3.94531 17.8086 3.61133C17.4805 3.27734 17.3164 2.86426 17.3164 2.37207ZM21.9395 7.22363V4.82422H28.0215V7.22363H21.9395ZM23.126 10.9502V5.89648L23.1523 5.65918V2.67969H26.4746V10.7568C26.4746 11.1904 26.5479 11.4834 26.6943 11.6357C26.8467 11.7822 27.04 11.8555 27.2744 11.8555C27.3916 11.8555 27.5117 11.8408 27.6348 11.8115C27.7578 11.7822 27.8691 11.7441 27.9688 11.6973V13.9736C27.8398 14.0439 27.6406 14.1055 27.3711 14.1582C27.1016 14.2168 26.7998 14.2461 26.4658 14.2461C25.458 14.2461 24.6494 13.9824 24.04 13.4551C23.4307 12.9219 23.126 12.0869 23.126 10.9502ZM28.8125 14V11.9609L32.4688 7.29395H28.8916V4.82422H36.9424V6.81934L33.2334 11.5566H37.2324V14H28.8125ZM38.5947 14V4.82422H41.8643L41.9082 5.73828H41.9521C42.1045 5.41602 42.3301 5.14355 42.6289 4.9209C42.9336 4.69824 43.2559 4.58691 43.5957 4.58691C43.7188 4.58691 43.8389 4.60156 43.9561 4.63086C44.0791 4.66016 44.1641 4.68652 44.2109 4.70996V7.4873C44.1172 7.45801 44.0117 7.4375 43.8945 7.42578C43.7832 7.4082 43.6602 7.39941 43.5254 7.39941C43.2031 7.39941 42.8955 7.50488 42.6025 7.71582C42.3154 7.92676 42.1045 8.20215 41.9697 8.54199V14H38.5947ZM45.4941 14V4.82422H48.8867V14H45.4941ZM45.2656 2.37207C45.2656 1.88574 45.4326 1.47852 45.7666 1.15039C46.1006 0.816406 46.5752 0.649414 47.1904 0.649414C47.8115 0.649414 48.2861 0.816406 48.6143 1.15039C48.9482 1.47852 49.1152 1.88574 49.1152 2.37207C49.1152 2.86426 48.9482 3.27734 48.6143 3.61133C48.2803 3.94531 47.8027 4.1123 47.1816 4.1123C46.5664 4.1123 46.0918 3.94531 45.7578 3.61133C45.4297 3.27734 45.2656 2.86426 45.2656 2.37207ZM50.8643 14V4.82422H54.1162L54.1602 5.78223H54.2041C54.3799 5.45996 54.6992 5.1875 55.1621 4.96484C55.625 4.73633 56.1436 4.62207 56.7178 4.62207C57.6787 4.62207 58.4727 4.8916 59.0996 5.43066C59.7266 5.96973 60.04 6.93945 60.04 8.33984V14H56.6738V8.30469C56.6738 7.85352 56.5801 7.54297 56.3926 7.37305C56.2051 7.20312 55.9414 7.11816 55.6016 7.11816C55.332 7.11816 55.0654 7.2002 54.8018 7.36426C54.5381 7.52832 54.3447 7.77734 54.2217 8.11133V14H50.8643ZM60.9629 7.22363V4.82422H67.0449V7.22363H60.9629ZM62.1494 10.9502V5.89648L62.1758 5.65918V2.67969H65.498V10.7568C65.498 11.1904 65.5713 11.4834 65.7178 11.6357C65.8701 11.7822 66.0635 11.8555 66.2979 11.8555C66.415 11.8555 66.5352 11.8408 66.6582 11.8115C66.7812 11.7822 66.8926 11.7441 66.9922 11.6973V13.9736C66.8633 14.0439 66.6641 14.1055 66.3945 14.1582C66.125 14.2168 65.8232 14.2461 65.4893 14.2461C64.4814 14.2461 63.6729 13.9824 63.0635 13.4551C62.4541 12.9219 62.1494 12.0869 62.1494 10.9502ZM68.3545 14V0.631836H71.7031V6.08105C71.9375 5.66504 72.2686 5.31934 72.6963 5.04395C73.1299 4.76855 73.71 4.63086 74.4365 4.63086C75.3096 4.63086 76.0303 4.91211 76.5986 5.47461C77.1729 6.03125 77.46 6.92188 77.46 8.14648V14H74.0938V8.46289C74.0938 7.97656 73.9854 7.63086 73.7686 7.42578C73.5518 7.2207 73.2764 7.11816 72.9424 7.11816C72.626 7.11816 72.3652 7.20898 72.1602 7.39062C71.9609 7.57227 71.8115 7.85645 71.7119 8.24316V14H68.3545Z"
fill="currentColor"
/>
</svg>
);
}
+6 -6
View File
@@ -70,7 +70,7 @@
"tank_id_not_found": "# Tank not found\nCould not find tank by the ID \"%s\". Try typing the name of the tank instead of a number.",
"no_tank_stats": "# No tank stats available\nThis player doesn't have any stats available. This may not be the player you are looking for.",
"get_help": "Help Discord server",
"uncaught_error": "# Blitzrinth ran into an error!\nWe're so sorry about this. Feel free to [join the official Discord server](https://discord.gg/nDt7AjGJQH) to get help.",
"uncaught_error": "# BlitzKit ran into an error!\nWe're so sorry about this. Feel free to [join the official Discord server](https://discord.gg/nDt7AjGJQH) to get help.",
"preview": "# This command is in preview\n\nYou can only access this command in [the official Discord server](https://discord.gg/nDt7AjGJQH). The command will be generally available soon."
},
@@ -250,7 +250,7 @@
"commands": {
"$": "commands",
"description": "List of all commands and their descriptions",
"body": "# Commands\n\nBlitzrinth offers the following commands:\n\n"
"body": "# Commands\n\nBlitzKit offers the following commands:\n\n"
},
"embeds": {
"$": "embeds",
@@ -266,7 +266,7 @@
},
"timezones": {
"$": "timezones",
"description": "How Blitzrinth infers and uses your timezone"
"description": "How BlitzKit infers and uses your timezone"
},
"creators": {
"$": "creators",
@@ -515,9 +515,9 @@
},
"subcommands": {
"blitzrinth": {
"$": "blitzrinth",
"description": "Ping Blitzrinth"
"blitzkit": {
"$": "blitzkit",
"description": "Ping BlitzKit"
},
"wotb": {
"$": "wotb",