diff --git a/packages/website/src/components/Tankopedia/HeroSection/index.tsx b/packages/website/src/components/Tankopedia/HeroSection/index.tsx index 616398f4f..97e8dc089 100644 --- a/packages/website/src/components/Tankopedia/HeroSection/index.tsx +++ b/packages/website/src/components/Tankopedia/HeroSection/index.tsx @@ -5,7 +5,7 @@ import { Suspense, useEffect, useMemo, useRef, useState } from 'react'; import { awaitableModelDefinitions } from '../../../core/awaitables/modelDefinitions'; import { awaitableProvisionDefinitions } from '../../../core/awaitables/provisionDefinitions'; import { awaitableTankDefinitions } from '../../../core/awaitables/tankDefinitions'; -import { Var, type VarName } from '../../../core/radix/var'; +import { Var } from '../../../core/radix/var'; import { useFullScreen } from '../../../hooks/useFullScreen'; import { useLocale } from '../../../hooks/useLocale'; import { Duel } from '../../../stores/duel'; @@ -97,6 +97,7 @@ export function HeroSection({ skeleton }: MaybeSkeletonComponentProps) { return ( - Var( - `${color}-${Math.round(3 * (1 - index / nationColors.background.length))}` as VarName, - ), - ) + .map((color) => Var(`${color}-2`)) .join(',')})`, transitionDuration: '1s', }} @@ -162,27 +159,13 @@ export function HeroSection({ skeleton }: MaybeSkeletonComponentProps) { transitionDuration: '1s', }} > - {/* {!revealed && ( - - )} */} - - {/* {skeleton && } */} -