fix image quality
This commit is contained in:
parent
27013aa7f8
commit
89574d5dd4
|
@ -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)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
'use client'
|
||||
import { ReactNode } from 'react'
|
||||
import Tooltip from '../../shared/Tooltip'
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
'use client'
|
||||
|
||||
import Link from 'next/link'
|
||||
import { TokenPageWithData } from '../../../../contentful/tokenPage'
|
||||
import {
|
||||
|
|
|
@ -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
Loading…
Reference in New Issue