feat: logs

This commit is contained in:
TrèsAbhi committed 2024-06-05 14:05:13 -05:00
1 parent 64c9e2f64d
commit 6fac144005
3 files changed
+54 -8

No files matched your search

+2 -2
View File
@@ -2,8 +2,8 @@ name: CD Averages
on:
workflow_dispatch:
schedule:
- cron: '0 12 * * 0'
# schedule:
# - cron: '0 12 * * 0'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
+48
View File
@@ -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
View File
@@ -4,6 +4,7 @@ import Link from 'next/link';
import { usePathname } from 'next/navigation';
import { ReactNode } from 'react';
import { TOOLS } from '../../constants/tools';
import { ImgurSize, imgur } from '../../core/blitzkit/imgur';
import { theme } from '../../stitches.config';
interface ToolsLayoutProps {
@@ -24,10 +25,7 @@ export default function ToolsLayout({ children }: ToolsLayoutProps) {
{isToolRoot && (
<>
<title>{tool.title}</title>
<meta
property="og:image"
content={`/assets/banners/${toolId}.webp`}
/>
<meta property="og:image" content={imgur(tool.image)} />
{tool.pageDescription !== undefined && (
<>
@@ -59,7 +57,7 @@ export default function ToolsLayout({ children }: ToolsLayoutProps) {
<div
style={{
position: 'absolute',
backgroundImage: `url(/assets/banners/${toolId}.webp)`,
backgroundImage: `url(${imgur(tool!.image, { format: 'jpeg', size: ImgurSize.HugeThumbnail })})`,
backgroundSize: 'cover',
backgroundPosition: 'center',
width: '100%',
@@ -67,7 +65,7 @@ export default function ToolsLayout({ children }: ToolsLayoutProps) {
top: 0,
left: 0,
zIndex: -1,
filter: 'blur(4px)',
// filter: 'blur(4px)',
transform: 'scale(calc((128 + 8) / 128))',
}}
/>