mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: logs
This commit is contained in:
1 parent
64c9e2f64d
commit
6fac144005
3 files changed
+54
-8
No files matched your search
@@ -2,8 +2,8 @@ name: CD Averages
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
# schedule:
|
||||||
- cron: '0 12 * * 0'
|
# - cron: '0 12 * * 0'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
# BlitzKit 1.20.2
|
||||||
|
|
||||||
|
Taming the homepage.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- All tools are now displayed directly on the navbar on wide screens
|
||||||
|
- On small screens, the tools are hidden within a hamburger menu displaying a list similar to the old homepage
|
||||||
|
- Added tiny hero image banner to the homepage
|
||||||
|
- The tools are now displayed in a more readable manner with the most important tool(s) shown twice as large as all others on wider screens
|
||||||
|
- The pitch and yaw inputs for tank turrets is now update live as the turret and gun is rotated
|
||||||
|
- Consumables are now displayed in a neater box
|
||||||
|
- Modules are now displayed in a more compact manner
|
||||||
|
- Added a privacy policy and terms of service agreement prompt
|
||||||
|
- The links also point to an on-site page
|
||||||
|
- Remade the navbar to include important information
|
||||||
|
- The about section offers credits, a link to Discord, and a link to the GitHub repository
|
||||||
|
- The legal section displays privacy policy, terms of service, and a link to Google's ad settings
|
||||||
|
- On the left side, the name of BlitzKit, version, and motto is displayed
|
||||||
|
- The armor sandbox breakdown has been rewritten from scratch to maintain full parity with the visual armor highlighter, especially for HE shells
|
||||||
|
- The tracer has also been made more visible by rendering it on top of the armor
|
||||||
|
- The tracer's penetration locations have also been simplified and no longer show the index
|
||||||
|
- The number of tanks per page is now reduced for smaller screen sizes
|
||||||
|
- Added a BlitzKit watermark to the tankopedia sandbox when in fullscreen
|
||||||
|
- The tool's backgrounds are no longer blurred on their dedicated page
|
||||||
|
- Added a plus button to add tanks to the right of the rightmost column in the compare tool
|
||||||
|
|
||||||
|
## Fixes
|
||||||
|
|
||||||
|
- The navbar blur effect now works on Safari too
|
||||||
|
- Switched buttons out for icon buttons for page turners
|
||||||
|
- Many hydration issues have been fixed allowing a few pages to load twice as fast
|
||||||
|
- The nationality of tanks in the title of the tab are now in adjective forms
|
||||||
|
- HEAT shells no longer ricochet
|
||||||
|
- Text on page won't be selected on accident when interacting with the tank sandbox
|
||||||
|
- The first shell is now equipped by default instead of the last one when switching guns/turrets
|
||||||
|
- Quite a few pages have been more responsive for smaller screens
|
||||||
|
- Camouflage bonuses are now multiplicative instead of additive
|
||||||
|
- Light tanks now have the same camouflage on move as when still
|
||||||
|
- The shot display is now discarded when the tank is swapped out
|
||||||
|
- Roboto Flex is now properly used instead of the default Radix UI font
|
||||||
|
- The website now uses Imgur to load images and scale them appropriately for better performance
|
||||||
|
- The compare headers no longer collapse on Firefox
|
||||||
|
- Turrets can now be rotated correctly in the Tankopedia on Apple devices
|
||||||
|
|
||||||
|
## Technical Changes
|
||||||
|
|
||||||
|
- Moved all technical documentations to the `technical` directory within `docs`
|
||||||
@@ -4,6 +4,7 @@ import Link from 'next/link';
|
|||||||
import { usePathname } from 'next/navigation';
|
import { usePathname } from 'next/navigation';
|
||||||
import { ReactNode } from 'react';
|
import { ReactNode } from 'react';
|
||||||
import { TOOLS } from '../../constants/tools';
|
import { TOOLS } from '../../constants/tools';
|
||||||
|
import { ImgurSize, imgur } from '../../core/blitzkit/imgur';
|
||||||
import { theme } from '../../stitches.config';
|
import { theme } from '../../stitches.config';
|
||||||
|
|
||||||
interface ToolsLayoutProps {
|
interface ToolsLayoutProps {
|
||||||
@@ -24,10 +25,7 @@ export default function ToolsLayout({ children }: ToolsLayoutProps) {
|
|||||||
{isToolRoot && (
|
{isToolRoot && (
|
||||||
<>
|
<>
|
||||||
<title>{tool.title}</title>
|
<title>{tool.title}</title>
|
||||||
<meta
|
<meta property="og:image" content={imgur(tool.image)} />
|
||||||
property="og:image"
|
|
||||||
content={`/assets/banners/${toolId}.webp`}
|
|
||||||
/>
|
|
||||||
|
|
||||||
{tool.pageDescription !== undefined && (
|
{tool.pageDescription !== undefined && (
|
||||||
<>
|
<>
|
||||||
@@ -59,7 +57,7 @@ export default function ToolsLayout({ children }: ToolsLayoutProps) {
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
position: 'absolute',
|
position: 'absolute',
|
||||||
backgroundImage: `url(/assets/banners/${toolId}.webp)`,
|
backgroundImage: `url(${imgur(tool!.image, { format: 'jpeg', size: ImgurSize.HugeThumbnail })})`,
|
||||||
backgroundSize: 'cover',
|
backgroundSize: 'cover',
|
||||||
backgroundPosition: 'center',
|
backgroundPosition: 'center',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
@@ -67,7 +65,7 @@ export default function ToolsLayout({ children }: ToolsLayoutProps) {
|
|||||||
top: 0,
|
top: 0,
|
||||||
left: 0,
|
left: 0,
|
||||||
zIndex: -1,
|
zIndex: -1,
|
||||||
filter: 'blur(4px)',
|
// filter: 'blur(4px)',
|
||||||
transform: 'scale(calc((128 + 8) / 128))',
|
transform: 'scale(calc((128 + 8) / 128))',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user