fix: encode uri

This commit is contained in:
Benno Tielen 2025-03-24 10:07:02 +01:00
parent 8589fa7926
commit 8898569e68

View file

@ -2,14 +2,13 @@
import { ImageCard } from '@/components/ImageCard/ImageCard' import { ImageCard } from '@/components/ImageCard/ImageCard'
import styles from "./styles.module.scss" import styles from "./styles.module.scss"
import { StaticImageData } from 'next/image'
import { Arrow } from '@/components/Arrow/Arrow' import { Arrow } from '@/components/Arrow/Arrow'
import { useEffect, useMemo, useState } from 'react' import { useEffect, useMemo, useState } from 'react'
import classNames from 'classnames' import classNames from 'classnames'
export type Slide = { export type Slide = {
id: string, id: string,
src: string | StaticImageData, src: string,
title: string, title: string,
href: string, href: string,
} }