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;