import { Image, isWeb } from '@my/ui'
import { getBaseUrl } from 'app/utils/getBaseUrl'

export const CameraDemo = () => {
  const baseUrl = getBaseUrl()

  let imageUri = `${baseUrl}/camera-demo.webp`

  if (!isWeb) {
    imageUri = require('./camera-demo.webp')
  }

  return (
    <Image
      source={{
        uri: imageUri,
      }}
      width="100%"
      aspectRatio={664 / 1440}
    />
  )
}
