diff --git a/src/components/_shared/Slider.tsx b/src/components/_shared/Slider.tsx index 049bb3b2..6b2a737e 100644 --- a/src/components/_shared/Slider.tsx +++ b/src/components/_shared/Slider.tsx @@ -4,13 +4,11 @@ import 'swiper/scss' import 'swiper/scss/navigation' import 'swiper/scss/pagination' import './Slider.scss' -import type { Shout } from '../../graphql/types.gen' import { createEffect, createMemo, createSignal, Show, For, JSX } from 'solid-js' import { Icon } from './Icon' interface SliderProps { title?: string - articles?: Shout[] slidesPerView?: number isCardsWithCover?: boolean children?: JSX.Element @@ -57,25 +55,22 @@ export default (props: SliderProps) => { }, 500) } }) - const articles = createMemo(() => props.articles) return (

{props.title}

- -
-
{props.children}
-
swiper()?.slideNext()}> - -
-
swiper()?.slidePrev()}> - -
-
+
+
{props.children}
+
swiper()?.slideNext()}> +
- +
swiper()?.slidePrev()}> + +
+
+