import 'react-multi-carousel/lib/styles.css' import { height } from 'components/OpenGraphImage' import Image from 'next/image' import Link from 'next/link' import React, { useEffect, useState } from 'react' // import Carousel from 'react-multi-carousel' import { Carousel } from '@material-tailwind/react' import Container from 'components/BlogContainer' export default function CardContentHistory({ props }) { let { title, subtitle, text, image, footer } = props return (

{title}

{subtitle}

{(function () { if (image != null) { return image.map((dat, i) => { //console.log(dat.url) return ( {dat.alt} ) }) } return
})()}
{/* {(function () { if (image != null) { return image.map((dat, i) => { return ( {dat.alt} ) }) } return
})()}
*/}
{text.map((content, i) => { return (

{content}

) })} {(function () { if (footer != null) { return (
{footer.title}
) } })()}
) } export {}