import React from 'react'
import styles from './index.module.scss'
import { useHistory } from 'react-router-dom'
import VerticalBanner from './components/banner'
function A4base({ show, setShow }: { show: boolean; setShow: (show: boolean) => void }) {
const history = useHistory()
const slides = [
{
id: 1,
background: require('./image/caro1/bg1.png'),
content: (
<>
>
)
},
{
id: 2,
background: require('./image/caro2/bg2.png'),
content: (
<>
>
)
},
{
id: 3,
background: require('./image/caro3/bg3.png'),
content: (
<>
>
)
},
{
id: 4,
background: require('./image/caro4/bg4.png'),
content: (
<>
>
)
},
{
id: 5,
background: require('./image/caro5/bg5.png'),
content: (
<>
>
)
},
{
id: 6,
background: require('./image/caro4/bg4.png'),
content: (
<>
>
)
},
{
id: 7,
background: require('./image/caro7/bg7.png'),
content: (
<>
{
setShow(false)
history.push('/home?m=SG-Hu9rVKJBQHt')
window.location.reload()
}}
alt=''
draggable='false'
/>
>
)
}
]
return (