import React from 'react'
import { Swiper, SwiperSlide } from 'swiper/react'
import SwiperCore, { Autoplay } from 'swiper'
import Link from 'next/link'
import {
MDBCard,
MDBCardBody,
MDBCardTitle,
MDBCardText,
MDBCardHeader,
MDBCardFooter,
MDBBtn,
MDBTypography,
MDBContainer,
MDBRow,
MDBCol
} from 'mdb-react-ui-kit'
import { useRouter } from 'next/router'
import AppContainer from '../appContainer'
import Image from 'next/image'
import { Button, Center, Flex, Heading, Input, InputGroup, InputLeftAddon, InputRightAddon } from '@chakra-ui/react'
import { Step, Steps, useSteps } from 'chakra-ui-steps'
SwiperCore.use([Autoplay])
// Import Swiper styles
const Parallax = ({ quality }) => {
return `https://image.freepik.com/free-photo/blur-hospital_1203-7957.jpg`
}
const dataServiceList = (
<>
کلینیک ها و بخش ها
برای رزرو وقت روی هر کلینیک کلیک کنید
بخش گوارش
داشتن بخش های تخصصی و فوق تخصصی
بخش قلب و عروق
داشتن بخش های تخصصی و فوق تخصصی
بخش مغز و اعصاب
داشتن بخش های تخصصی و فوق تخصصی
بخش دندان پزشکی
داشتن بخش های تخصصی و فوق تخصصی
بخش کلیه و مجاری ادارای
داشتن بخش های تخصصی و فوق تخصصی
>
)
const steps = [
{ label: 'Step 1', description: 'Step 1 description' },
{ label: 'Step 2', description: 'Step 2 description' },
{ label: 'Step 3', description: 'Step 3 description' },
{ label: 'Step 3', description: 'Step 3 description' },
{ label: 'Step 3', description: 'Step 3 description' },
{ label: 'Step 3', description: 'Step 3 description' },
{ label: 'Step 3', description: 'Step 3 description' },
{ label: 'Step 3', description: 'Step 3 description' }
]
const Service = () => {
const router = useRouter()
const dataMipService = [
{ id: 1, title: 'بخش اورژانس', icon: './resource/icons/hospital-c.png', description: 'اورژانس' },
{ id: 2, title: 'درمانگاه', icon: './resource/icons/hospital.png', description: 'درمانگاه تخصصی' },
{ id: 3, title: 'بخش بستری داخلی', icon: './resource/icons/hospital-bed.png', description: 'بستری داخلی' },
{ id: 4, title: 'بخش اسکوپی', icon: './resource/icons/scope.png', description: 'اسکوپی' },
{ id: 5, title: 'بخش پوست', icon: './resource/icons/dermis.png', description: 'زیبایی و لیزر' },
{ id: 6, title: 'بخش جراحی', icon: './resource/icons/surgery.png', description: 'تخصصی و زیبایی' },
{ id: 7, title: 'بخش اتاق عمل', icon: './resource/icons/operating-room.png', description: 'اتاق عمل' },
{ id: 8, title: 'بخش مراقبت های ویژه ICU', icon: './resource/icons/ICU.png', description: 'ICU' },
{ id: 9, title: 'بخش مراقبت های ویژه قلب CCU', icon: './resource/icons/CCU.png', description: 'CCU' },
{ id: 10, title: 'بخش مراقبت های ویژه نوزدان NICU', icon: './resource/icons/NICU.png', description: 'NICU' },
{ id: 11, title: 'بخش زایمان LDR', icon: './resource/icons/baby.png', description: 'LDR' },
{ id: 12, title: 'بخش تصویر برداری', icon: './resource/icons/x-rays.png', description: 'سونوگرافی و ...' },
{ id: 13, title: 'بخش آزمایشگاه', icon: './resource/icons/test-tubes.png', description: 'تخصصی ، سلامت سنجی' },
{ id: 14, title: 'بخش فیزیوتراپی', icon: './resource/icons/spinal-cord.png', description: 'تست قلب و ...' }
]
const { nextStep, prevStep, reset, activeStep } = useSteps({
initialStep: 0
})
return (
<>
{router.pathname === '/' ? (
کلینیک و بخش ها{' '}
console.log('slide change')}
// onSwiper={(swiper) => console.log(swiper)}
autoplay={{
delay: 2500,
disableOnInteraction: false
}}
breakpoints={{
640: {
slidesPerView: 2,
spaceBetween: 20
},
360: {
slidesPerView: 1,
spaceBetween: 20
},
320: {
slidesPerView: 1,
spaceBetween: 20
},
596: {
width: 1080,
slidesPerView: 2,
spaceBetween: 20
},
526: {
slidesPerView: 1,
spaceBetween: 2
},
996: {
slidesPerView: 2,
spaceBetween: 40
},
860: {
slidesPerView: 2,
spaceBetween: 40
},
768: {
slidesPerView: 3,
spaceBetween: 40
},
972: {
slidesPerView: 3,
spaceBetween: 40
},
1024: {
slidesPerView: 5,
spaceBetween: 50
}
}}
>
{dataMipService.map((item, index) => {
return (
{item.title}
{item.description}
)
})}
بیشتر ...
{' '}
) : (
کلینیک ها و بخش ها
برای رزرو وقت روی هر کلینیک کلیک کنید
{dataMipService.map((item, index) => {
return (
{item.title}
{item.description}
)
})}
)}
>
)
}
export default Service