mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 19:19:52 +02:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
19e535969e | ||
|
|
eebc373b46 | ||
|
|
ecb1a7c21e | ||
|
|
625d8d1595 | ||
|
|
fc9050e7fe | ||
|
|
654887dd66 |
No files matched your search
@@ -139,13 +139,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Trigger deployment
|
- name: Trigger deployment
|
||||||
|
|
||||||
# Deploy if:
|
# workflow should trigger if:
|
||||||
# 1. Running cron from main using content from production to target production
|
# - is by cron and is on main: triggering to production
|
||||||
# 2. Running manually and targeting non-production
|
# - is by push and is on production: triggering to production
|
||||||
|
# - is by manual and is on anything: triggering to anything
|
||||||
if: >-
|
if: >-
|
||||||
${{
|
${{
|
||||||
github.ref == 'refs/heads/production' ||
|
(github.event_name == 'schedule' && github.ref == 'refs/heads/main')
|
||||||
(inputs.environment != '' && inputs.environment != 'production')
|
|| (github.event_name == 'push' && github.ref == 'refs/heads/production')
|
||||||
|
|| (github.event_name == 'workflow_dispatch')
|
||||||
}}
|
}}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "blitzkit",
|
"name": "blitzkit",
|
||||||
"version": "1.32.0",
|
"version": "1.33.0-beta.1",
|
||||||
"license": "BlitzKit License",
|
"license": "BlitzKit License",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
.outer {
|
||||||
|
padding: 0 var(--space-4);
|
||||||
|
margin-top: var(--space-3);
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 1.25em;
|
||||||
|
height: 1.25em;
|
||||||
|
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.center {
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
background: linear-gradient(var(--pink-3), var(--purple-2));
|
||||||
|
box-shadow: var(--shadow-3);
|
||||||
|
|
||||||
|
max-width: 40rem;
|
||||||
|
|
||||||
|
padding: var(--space-5);
|
||||||
|
border-radius: var(--radius-4);
|
||||||
|
|
||||||
|
.important {
|
||||||
|
position: absolute;
|
||||||
|
|
||||||
|
top: 0;
|
||||||
|
left: 50%;
|
||||||
|
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
|
||||||
|
background-color: inherit;
|
||||||
|
|
||||||
|
padding: var(--space-3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
import { Button, Em, Flex, Strong, Text } from "@radix-ui/themes";
|
||||||
|
import styles from "./index.module.css";
|
||||||
|
|
||||||
|
export function Beg() {
|
||||||
|
return (
|
||||||
|
<Flex align="center" gap="4" direction="column" className={styles.outer}>
|
||||||
|
<Text size="3" className={styles.important}>
|
||||||
|
<Flex gap="2" align="center">
|
||||||
|
<img src="https://github.com/tresabhi.png" />
|
||||||
|
<Em>We need your attention</Em>
|
||||||
|
</Flex>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Flex direction="column" className={styles.center} gap="4">
|
||||||
|
<Flex direction="column" gap="3">
|
||||||
|
<Text color="tomato">
|
||||||
|
We can no longer keep BlitzKit sustainable for <Strong>free</Strong>
|
||||||
|
.
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
We want to add tank modules, player statistics, rebalancing patch
|
||||||
|
notes, bring back the Discord bot, and more.
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
But paying out of pocket makes than impossible.{" "}
|
||||||
|
<Strong>We are a non-profit and don't run ads</Strong>, so consider
|
||||||
|
donating to make the above possible. 100% of your money goes back
|
||||||
|
into BlitzKit.
|
||||||
|
</Text>
|
||||||
|
</Flex>
|
||||||
|
|
||||||
|
<Flex gap="3">
|
||||||
|
<Button size="3" color="crimson">
|
||||||
|
$5
|
||||||
|
</Button>
|
||||||
|
<Button size="3" color="crimson">
|
||||||
|
$10
|
||||||
|
</Button>
|
||||||
|
<Button size="3" color="crimson">
|
||||||
|
$25
|
||||||
|
</Button>
|
||||||
|
<Button size="3" color="crimson">
|
||||||
|
Custom
|
||||||
|
</Button>
|
||||||
|
</Flex>
|
||||||
|
</Flex>
|
||||||
|
</Flex>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -16,12 +16,15 @@ import { ALL_EXTENSIONS } from "@gltf-transform/extensions";
|
|||||||
import { dedup, mergeDocuments, unpartition } from "@gltf-transform/functions";
|
import { dedup, mergeDocuments, unpartition } from "@gltf-transform/functions";
|
||||||
import type { APIContext } from "astro";
|
import type { APIContext } from "astro";
|
||||||
import type { Vector3Tuple, Vector4Tuple } from "three";
|
import type { Vector3Tuple, Vector4Tuple } from "three";
|
||||||
import { SKIN_NUMBER } from "../../../../constants/skinNumber";
|
import { SKIN_NUMBER } from "../../../../../constants/skinNumber";
|
||||||
import { api } from "../../../../core/blitzkit/api";
|
import { api } from "../../../../../core/blitzkit/api";
|
||||||
import { mixStaticPaths } from "../../../../core/blitzkit/mixStaticPaths";
|
import { mixStaticPaths } from "../../../../../core/blitzkit/mixStaticPaths";
|
||||||
import { vfs } from "../../../../core/blitzkit/vfs";
|
import { vfs } from "../../../../../core/blitzkit/vfs";
|
||||||
import { getStaticPaths as _getStaticPaths } from "../../../[...chunk_api]/_index";
|
import {
|
||||||
import { extractMaterials, extractModel } from "../model.glb";
|
extractMaterials,
|
||||||
|
extractModel,
|
||||||
|
} from "../../../../[...chunk_models_tanks]/[id]/model.glb";
|
||||||
|
import { getStaticPaths as _getStaticPaths } from "../_index";
|
||||||
|
|
||||||
const SKIN_NUMBER_SLOTS = 5;
|
const SKIN_NUMBER_SLOTS = 5;
|
||||||
const DIGIT_COLUMNS = 5;
|
const DIGIT_COLUMNS = 5;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import locales from "@blitzkit/i18n/locales.json";
|
|||||||
import { literals } from "@blitzkit/i18n/src/literals";
|
import { literals } from "@blitzkit/i18n/src/literals";
|
||||||
import { Box, Flex, Link } from "@radix-ui/themes";
|
import { Box, Flex, Link } from "@radix-ui/themes";
|
||||||
import { AesonPlug } from "../../../components/AesonPlug";
|
import { AesonPlug } from "../../../components/AesonPlug";
|
||||||
import { Countdown } from "../../../components/Countdown";
|
import { Beg } from "../../../components/Beg";
|
||||||
import HomeHero from "../../../components/HomeHero.astro";
|
import HomeHero from "../../../components/HomeHero.astro";
|
||||||
import { Plugs } from "../../../components/Plugs";
|
import { Plugs } from "../../../components/Plugs";
|
||||||
import ToolCard from "../../../components/ToolCard.astro";
|
import ToolCard from "../../../components/ToolCard.astro";
|
||||||
@@ -66,7 +66,7 @@ export const getStaticPaths = mixStaticPaths(_getStaticPaths, () => {
|
|||||||
<BaseLayout {locale}>
|
<BaseLayout {locale}>
|
||||||
<HomeHero />
|
<HomeHero />
|
||||||
|
|
||||||
<Countdown client:load />
|
<Beg />
|
||||||
|
|
||||||
{
|
{
|
||||||
locale !== locales.default && (
|
locale !== locales.default && (
|
||||||
|
|||||||
Reference in new issue
Block a user