Use sloth instead of owl

This commit is contained in:
Jackson Harper 2023-09-05 09:59:13 +08:00
parent 9e78976bf0
commit 62cf59dd57
2 changed files with 3 additions and 8 deletions

View file

@ -2,7 +2,7 @@ import { HStack, SpanBox, VStack } from './LayoutPrimitives'
import { theme } from '../tokens/stitches.config'
import { Button } from './Button'
import { CloseIcon } from './icons/CloseIcon'
import { HelpfulOwlImage } from './images/HelpfulOwlImage'
import { HelpfulSlothImage } from './images/HelpfulSlothImage'
import { ArrowSquareOut } from 'phosphor-react'
import { useEffect, useState } from 'react'
@ -57,7 +57,7 @@ export const FeatureHelpBox = (props: FeatureHelpBoxProps) => {
'@smDown': { display: 'none' },
}}
>
<HelpfulOwlImage width={254} height={333} />
<HelpfulSlothImage />
</SpanBox>
<HelpSection {...props} />
</HStack>

View file

@ -1,11 +1,6 @@
import Image from 'next/image'
type HelpfulOwlImageProps = {
width: number
height: number
}
export const HelpfulOwlImage = (props: HelpfulOwlImageProps) => {
export const HelpfulOwlImage = () => {
return (
<Image
src="/static/images/helpful-owl@2x.png"