{isNews ? getDescription(data) : data?.eventDesc}
+ {!reduced &&{isNews ? getDescription(data) : data?.eventDesc}
} {isNews ? 'READ ARTICLE' : 'LEARN MORE'} diff --git a/src/components/sections/about/related/index.tsx b/src/components/sections/about/related/index.tsx index 29db7f5..84c439e 100644 --- a/src/components/sections/about/related/index.tsx +++ b/src/components/sections/about/related/index.tsx @@ -14,21 +14,23 @@ import s from './related.module.scss' // TODO export interface Props { isInPost?: boolean + isFeatured?: boolean data: any } -const Related = ({ data, isInPost }: Props) => { +const Related = ({ data, isInPost, isFeatured }: Props) => { const [sliderRef] = useKeenSlider
+
+
+
+
+