Merge branch 'master' of github.com:kevindev-ni/mip-website-frontend

This commit is contained in:
rezakarimi
2023-05-11 09:31:07 +03:30
8 changed files with 155 additions and 125 deletions
+1
View File
@@ -1,4 +1,5 @@
{ {
"app": "mehrara-front",
"next": { "next": {
"modifyConfig": false "modifyConfig": false
} }
+13 -26
View File
@@ -1,7 +1,6 @@
import React from 'react'; import React from 'react'
import { MDBFooter, MDBContainer, MDBRow, MDBCol, MDBIcon } from 'mdb-react-ui-kit'; import { MDBFooter, MDBContainer, MDBRow, MDBCol, MDBIcon } from 'mdb-react-ui-kit'
import Link from "next/link"; import Link from 'next/link'
const Footer = () => { const Footer = () => {
return ( return (
@@ -12,13 +11,13 @@ const Footer = () => {
<MDBCol lg='6' md='12' className='mb-4 mb-md-0'> <MDBCol lg='6' md='12' className='mb-4 mb-md-0'>
<h5 className='text-uppercase text-white'> <h5 className='text-uppercase text-white'>
شرکت پزشکی مهر ایرانیان پرند شرکت پزشکی مهر ایرانیان پرند
<hr /> <hr />
</h5> </h5>
<p style={{ direction: 'rtl' }} className={'bk yekan-bakh-req text-white center-align'}> <p style={{ direction: 'rtl' }} className={'bk yekan-bakh-req text-white center-align'}>
بیمارستان تخصصی مهرایرانیان واقع در بر اتوبان چهاربانده اصلی داخلی شهر پرند در بهترین موقعیت مکانی و در دل مسکن مهر، با هدف تبدیل شدن به یکی از قطب های درمانی منطقه در حال احداث می باشد. این بیمارستان که تنها بیمارستان تخصصی در کنار بزرگترین فرودگاه کشور است بیمارستان تخصصی مهرایرانیان واقع در بر اتوبان چهاربانده اصلی داخلی شهر پرند در بهترین موقعیت مکانی و در
دل مسکن مهر، با هدف تبدیل شدن به یکی از قطب های درمانی منطقه در حال احداث می باشد. این بیمارستان که تنها
بیمارستان تخصصی در کنار بزرگترین فرودگاه کشور است
</p> </p>
</MDBCol> </MDBCol>
@@ -40,7 +39,6 @@ const Footer = () => {
<Link href='/page/about' className='text-white'> <Link href='/page/about' className='text-white'>
<a style={{ color: 'white' }}> درباره </a> <a style={{ color: 'white' }}> درباره </a>
</Link> </Link>
</li> </li>
<li> <li>
@@ -62,13 +60,8 @@ const Footer = () => {
{/* <a className='text-white dana' href="tel:02153457000">021 5345 7000 </a>*/} {/* <a className='text-white dana' href="tel:02153457000">021 5345 7000 </a>*/}
{/*</li>*/} {/*</li>*/}
<li> <li>
<a href='tel:+989367529435' className='text-white dana'> <a href='tel:02153457000' className='text-white dana'>
0912 967 6106 021-53457000
</a>
</li>
<li>
<a href='tel:+989367529435' className='text-white dana'>
0936 752 9435
</a> </a>
</li> </li>
<li> <li>
@@ -80,25 +73,19 @@ const Footer = () => {
<a href='#!' className='text-white center-align right'> <a href='#!' className='text-white center-align right'>
تهران ، شهر جدید پرند، بلوار شهیدقاسم سلیمانی، انتهای فاز 5 ،نبش بلوار رسول اکرم (ع) تهران ، شهر جدید پرند، بلوار شهیدقاسم سلیمانی، انتهای فاز 5 ،نبش بلوار رسول اکرم (ع)
</a> </a>
<MDBIcon className={'right right-align p-2 text-white'} fas icon="map-marker-alt" /> <MDBIcon className={'right right-align p-2 text-white'} fas icon='map-marker-alt' />
</li> </li>
</ul> </ul>
</MDBCol> </MDBCol>
</MDBRow> </MDBRow>
</MDBContainer> </MDBContainer>
<div className='text-center p-3' style={{ backgroundColor: 'rgba(0, 0, 0, 0.2)' }}> <div className='text-center p-3' style={{ backgroundColor: 'rgba(0, 0, 0, 0.2)' }}>
&copy; {new Date().getFullYear()}{' '} &copy; {new Date().getFullYear()} <a className='text-dark'>contact-us@miphospital.ir</a>
<a className='text-dark' >
contact-us@miphospital.ir
</a>
</div> </div>
</MDBFooter> </MDBFooter>
</> </>
)
}
); export default Footer
};
export default Footer;
+13 -15
View File
@@ -34,7 +34,7 @@ export default function App() {
return ( return (
<> <>
{/*<div style={{ backgroundColor: '#69c6c8' }}>*/} {/* <div style={{ backgroundColor: '#69c6c8' }}>*/}
{/* <div className={'flex h-5/12 justify-content-between'}>*/} {/* <div className={'flex h-5/12 justify-content-between'}>*/}
{/* <div className={'flex justify-content-center align-items-center'}>*/} {/* <div className={'flex justify-content-center align-items-center'}>*/}
{/* <div className={'flex w-30 justify-content-center align-items-center'}>*/} {/* <div className={'flex w-30 justify-content-center align-items-center'}>*/}
@@ -56,7 +56,7 @@ export default function App() {
{/* </div>*/} {/* </div>*/}
{/* </div>*/} {/* </div>*/}
{/*</div>*/} {/*</div> */}
{/* topheader */} {/* topheader */}
<div className='bg-[#57C5C6] headerTop'> <div className='bg-[#57C5C6] headerTop'>
<div className='flex sm:flex-col md:flex-row sm:mt-5 lg:flex-row justify-content-between items-center h-14 container-fluid m-auto '> <div className='flex sm:flex-col md:flex-row sm:mt-5 lg:flex-row justify-content-between items-center h-14 container-fluid m-auto '>
@@ -88,15 +88,15 @@ export default function App() {
<SiAparat /> <SiAparat />
</a> </a>
</div> </div>
{/*<div className='flex items-center justify-center'>*/} <div className='flex items-center justify-center'>
{/* <a*/} <a
{/* href={'tel:02153457000'}*/} href={'tel:02153457000'}
{/* className='rounded-full flex items-center p-[0.4rem] bg-[#39a2a5] text-[#fff] hover:bg-[#57c5c6] hover:text-[#fff] '*/} className='rounded-full flex items-center p-[0.4rem] bg-[#39a2a5] text-[#fff] hover:bg-[#57c5c6] hover:text-[#fff] '
{/* >*/} >
{/* <span className={'text-sm'}> 021-53457000</span>*/} <span className={'text-sm'}> 021-53457000</span>
{/* <span className={'text-sm ml-2'}>:خرید سهام</span>*/} <span className={'text-sm ml-2'}>:خرید سهام</span>
{/* </a>*/} </a>
{/*</div>*/} </div>
</div> </div>
<div className='show-addr col-span-2 flex items-center flex-row-reverse mr-4 meheAddress'> <div className='show-addr col-span-2 flex items-center flex-row-reverse mr-4 meheAddress'>
@@ -151,8 +151,7 @@ export default function App() {
درباره ما درباره ما
</MDBDropdownLink> </MDBDropdownLink>
</Link> </Link>
<MDBDropdownItem> <MDBDropdownItem></MDBDropdownItem>
</MDBDropdownItem>
<MDBDropdownItem> <MDBDropdownItem>
<Link href={'/page/docs'}> <Link href={'/page/docs'}>
<MDBDropdownLink style={{ cursor: 'pointer' }} className={'d-flex justify-content-end'}> <MDBDropdownLink style={{ cursor: 'pointer' }} className={'d-flex justify-content-end'}>
@@ -173,7 +172,6 @@ export default function App() {
</MDBDropdown> </MDBDropdown>
</MDBNavbar> </MDBNavbar>
<MDBNavbarNav className={'responsive-menu-mobile'}> <MDBNavbarNav className={'responsive-menu-mobile'}>
<MDBNavbarLink <MDBNavbarLink
className={ className={
router.pathname === '/page/contact-us' ? 'active-item text-white' : '' + 'text-white nav_item ' router.pathname === '/page/contact-us' ? 'active-item text-white' : '' + 'text-white nav_item '
@@ -219,7 +217,7 @@ export default function App() {
<MDBNavbarLink <MDBNavbarLink
className={router.pathname === '/stock-unit' ? 'active-item text-white' : '' + 'text-white nav_item '} className={router.pathname === '/stock-unit' ? 'active-item text-white' : '' + 'text-white nav_item '}
> >
<Link className={'text-white nav_item d-flex flex-row-reverse '} href="/stock-unit"> <Link className={'text-white nav_item d-flex flex-row-reverse '} href='/stock-unit'>
<div className={'pointer d-flex justify-content-end'}> <div className={'pointer d-flex justify-content-end'}>
<span style={{ cursor: 'pointer', fontSize: '15px' }}>واحد فروش سهام </span> <span style={{ cursor: 'pointer', fontSize: '15px' }}>واحد فروش سهام </span>
</div> </div>
+8
View File
@@ -2,7 +2,11 @@ import React from 'react'
import SliderOne from '../../public/resource/slider/slier-1(1).webp' import SliderOne from '../../public/resource/slider/slier-1(1).webp'
import sliderJob from '../../public/resource/slider/slider-2(1).webp' import sliderJob from '../../public/resource/slider/slider-2(1).webp'
import sliderBook from '../../public/resource/slider/slider_3.webp' import sliderBook from '../../public/resource/slider/slider_3.webp'
<<<<<<< HEAD
import SliderCallCenter from '../../public/resource/slider/call-center.webp' import SliderCallCenter from '../../public/resource/slider/call-center.webp'
=======
import sliderCallCenter from '../../public/resource/slider/call-center.webp'
>>>>>>> 52e41e92480a3325e23985d9ac6eee9fb9b9a42a
import Image from 'next/image' import Image from 'next/image'
import { Swiper, SwiperSlide } from 'swiper/react' import { Swiper, SwiperSlide } from 'swiper/react'
@@ -14,7 +18,11 @@ const Slider = () => {
<Swiper pagination={true} autoplay={true} loop={true} modules={[Pagination]} className='mySwiper'> <Swiper pagination={true} autoplay={true} loop={true} modules={[Pagination]} className='mySwiper'>
<SwiperSlide style={{ cursor: 'pointer' }} className='pointer'> <SwiperSlide style={{ cursor: 'pointer' }} className='pointer'>
<Link href='/stock-unit'> <Link href='/stock-unit'>
<<<<<<< HEAD
<img src={SliderCallCenter} /> <img src={SliderCallCenter} />
=======
<img src={sliderCallCenter} />
>>>>>>> 52e41e92480a3325e23985d9ac6eee9fb9b9a42a
</Link> </Link>
</SwiperSlide> </SwiperSlide>
<SwiperSlide style={{ cursor: 'pointer' }} className='pointer'> <SwiperSlide style={{ cursor: 'pointer' }} className='pointer'>
+4 -7
View File
@@ -43,7 +43,7 @@ const ContactUs = () => {
<MDBTypography style={{ borderLeft: 'none', borderRight: '6px solid ', backgroundColor: '#F0F0F0' }} note noteColor='dark' className='mb-0'> <MDBTypography style={{ borderLeft: 'none', borderRight: '6px solid ', backgroundColor: '#F0F0F0' }} note noteColor='dark' className='mb-0'>
<MDBRow> <MDBRow>
<MDBTypography className={'dana right-align'} > <MDBTypography className={'dana right-align'} >
تهران - شهر پرند - فاز 5 - بلوار شهید قاسم سلیمانی - بلوار انبیاء - بیمارستان مهر ایرانیان پرند تهران - شهر پرند - فاز 5 - بلوار شهید قاسم سلیمانی - بلوار رسوال اکرم - بیمارستان مهر ایرانیان پرند
</MDBTypography> </MDBTypography>
</MDBRow> </MDBRow>
</MDBTypography> </MDBTypography>
@@ -59,13 +59,10 @@ const ContactUs = () => {
{/* <MDBIcon style={{ paddingRight: 5 }} className='ms-1' icon='phone-alt' size='sm' />*/} {/* <MDBIcon style={{ paddingRight: 5 }} className='ms-1' icon='phone-alt' size='sm' />*/}
{/* <a style={{ color: 'black' }} href={'tel:02153457000'}>021 5345 7000 </a>*/} {/* <a style={{ color: 'black' }} href={'tel:02153457000'}>021 5345 7000 </a>*/}
{/*</MDBTypography>*/} {/*</MDBTypography>*/}
<MDBTypography className={'dana'} >
<MDBTypography className={'dana'} href={'tel:02153457000'}>
<MDBIcon style={{ paddingRight: 5 }} className='ms-1' icon='phone-alt' size='sm' /> <MDBIcon style={{ paddingRight: 5 }} className='ms-1' icon='phone-alt' size='sm' />
<a style={{ color: 'black' }} href={'tel:09367529435'}>0912 967 6106</a> <a style={{ color: 'black' }} href={'tel:02153457000'}>021-53457000</a>
</MDBTypography>
<MDBTypography className={'dana'} href={'tel:09367529435'}>
<MDBIcon style={{ paddingRight: 5 }} className='ms-1' icon='phone-alt' size='sm' />
<a style={{ color: 'black' }} href={'tel:09367529435'}>0936 752 9435</a>
</MDBTypography> </MDBTypography>
<MDBTypography className={'dana'} href={'tel:09367529435'}> <MDBTypography className={'dana'} href={'tel:09367529435'}>
<MDBIcon style={{ paddingRight: 5 }} className='ms-1' icon='envelope-square' size='sm' /> <MDBIcon style={{ paddingRight: 5 }} className='ms-1' icon='envelope-square' size='sm' />
+36
View File
@@ -120,6 +120,42 @@ const StockUnit = () => {
</Td> </Td>
<Td className='text-center'> خانم شیخی </Td> <Td className='text-center'> خانم شیخی </Td>
</Tr> </Tr>
<Tr>
<Td className='text-center'>
<a className='text-black' href='tel:02153457000'>
<MDBIcon className='mr-3' fas style={{ fontSize: '10px' }} icon='phone-alt' />
021-53457000 - 1023
</a>
</Td>
<Td className='text-center'> خانم باباگلی </Td>
</Tr>
<Tr>
<Td className='text-center'>
<a className='text-black' href='tel:02153457000'>
<MDBIcon className='mr-3' fas style={{ fontSize: '10px' }} icon='phone-alt' />
021-53457000 - 1024
</a>
</Td>
<Td className='text-center'> خانم طالبی </Td>
</Tr>
<Tr>
<Td className='text-center'>
<a className='text-black' href='tel:02153457000'>
<MDBIcon className='mr-3' fas style={{ fontSize: '10px' }} icon='phone-alt' />
021-53457000 - 1018
</a>
</Td>
<Td className='text-center'> خانم کهریزی </Td>
</Tr>
<Tr>
<Td className='text-center'>
<a className='text-black' href='tel:02153457000'>
<MDBIcon className='mr-3' fas style={{ fontSize: '10px' }} icon='phone-alt' />
021-53457000 - 1025
</a>
</Td>
<Td className='text-center'> خانم کاظمیان </Td>
</Tr>
</Tbody> </Tbody>
</Table> </Table>
</TableContainer> </TableContainer>
Binary file not shown.

After

Width:  |  Height:  |  Size: 219 KiB

+8 -5
View File
@@ -49,14 +49,18 @@ const data = [
{ {
name: 'اسفند 1401 ', name: 'اسفند 1401 ',
قیمت: 1000000000 قیمت: 1000000000
},
{
name: 'اردیبهشت 1402 ',
قیمت: 1300000000
} }
] ]
const StockNews = [ const StockNews = [
{ id: 1, title: 'شرایط انتقال سهام', url: '/page/news/34' }, { id: 1, title: 'شرایط انتقال سهام', url: '/page/news/34' },
{ id: 2, title: ' نحوه خرید آنلاین سهم', url: 'https://landing.miphospital.ir/' }, { id: 2, title: ' نحوه خرید آنلاین سهم', url: 'https://landing.miphospital.ir/' },
{ id: 3, title: 'چرا باید سهام بیمارستان بخریم؟ ', url: '/page/news/24' }, { id: 3, title: 'چرا باید سهام بیمارستان بخریم؟ ', url: '/page/news/24' }
{ id: 4, title: ' همکاری در فروش (کسب درآمد)', url: 'https://landing.miphospital.ir/' } // { id: 4, title: ' همکاری در فروش (کسب درآمد)', url: 'https://landing.miphospital.ir/' }
] ]
const StockPriceChart = () => { const StockPriceChart = () => {
return ( return (
@@ -76,8 +80,7 @@ const StockPriceChart = () => {
</div> </div>
<h3 className='text-success bk-med'>قیمت روز سهم : </h3> <h3 className='text-success bk-med'>قیمت روز سهم : </h3>
<h3 className='text-success mr-2'> <h3 className='text-success mr-2'>
<CountUp start={0} end={100000000} separator=',' /> <CountUp start={0} end={130000000} separator=',' />
</h3> </h3>
<p <p
style={{ fontSize: 15, backgroundColor: '#2dd4bf' }} style={{ fontSize: 15, backgroundColor: '#2dd4bf' }}
@@ -85,7 +88,7 @@ const StockPriceChart = () => {
> >
<FiArrowUp /> <FiArrowUp />
<span style={{ fontSize: 10 }} className='mt-1'> <span style={{ fontSize: 10 }} className='mt-1'>
25% 30%
</span> </span>
</p> </p>
</div> </div>