fix image quality

This commit is contained in:
saml33 2024-03-15 21:06:09 +11:00
parent 27013aa7f8
commit 89574d5dd4
7 changed files with 6 additions and 7 deletions

View File

@ -24,8 +24,8 @@ const PageHeader = ({
const imageSrc = backgroundImageUrl
? backgroundImageUrl
: theme === 'Dark'
? '/images/new/cube-bg.webp'
: '/images/new/cube-bg-light.webp'
? '/images/new/cube-bg.png'
: '/images/new/cube-bg-light.png'
useEffect(() => {
setMounted(true)

View File

@ -1,3 +1,4 @@
'use client'
import { ReactNode } from 'react'
import Tooltip from '../../shared/Tooltip'

View File

@ -1,5 +1,3 @@
'use client'
import Link from 'next/link'
import { TokenPageWithData } from '../../../../contentful/tokenPage'
import {

View File

@ -46,8 +46,8 @@ export const BuildWrapper = forwardRef<HTMLDivElement, RefWrapperProps>(
<div
className={`${
theme === 'Dark'
? `bg-[url('/images/new/cube-bg.webp')]`
: `bg-[url('/images/new/cube-bg-light.webp')]`
? `bg-[url('/images/new/cube-bg.png')]`
: `bg-[url('/images/new/cube-bg-light.png')]`
} bg-repeat`}
ref={ref}
>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

File diff suppressed because one or more lines are too long