From 267b06418ed3363ae495f8a6cb7d6af74784e7b8 Mon Sep 17 00:00:00 2001 From: Kakabay Date: Thu, 23 Mar 2023 18:50:25 +0500 Subject: [PATCH] commit --- src/components/news/NewsArticleImg.tsx | 2 +- src/components/news/NewsArticleSlider.tsx | 19 +++++++++---------- src/types/data.types.ts | 1 + 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/news/NewsArticleImg.tsx b/src/components/news/NewsArticleImg.tsx index fb4da35..73ad6ff 100644 --- a/src/components/news/NewsArticleImg.tsx +++ b/src/components/news/NewsArticleImg.tsx @@ -21,7 +21,7 @@ const NewsArticleImg = ({ img, video }: IProps) => { return (
{video && video.length > 53 ? ( - + ) : ( { @@ -27,10 +27,9 @@ const NewsArticleSlider = ({ images, video }: IProps) => { }} modules={[Navigation, Pagination, Autoplay]} pagination={{ - type: "bullets", + type: 'bullets', clickable: true, - }} - > + }}> {images.map((img) => ( diff --git a/src/types/data.types.ts b/src/types/data.types.ts index fe6d9ce..619bb03 100644 --- a/src/types/data.types.ts +++ b/src/types/data.types.ts @@ -37,6 +37,7 @@ export interface IPostsData { title: string; slug: string; awtor: string; + placeholder: string; views: number; excerpt: string; published_at: string;