add slide

This commit is contained in:
reza karimi
2024-09-13 20:05:25 +03:30
parent 3e9d936fca
commit 872c2c7939
2 changed files with 17 additions and 16 deletions
+4
View File
@@ -28,6 +28,9 @@ const Footer = () => {
</h5> </h5>
<ul style={{ lineHeight: 2 }} className='list-unstyled mb-0 bk '> <ul style={{ lineHeight: 2 }} className='list-unstyled mb-0 bk '>
<li>
<a href='https://club.mehriranianco.ir/' target='_blank' style={{ color: 'white' }}> باشگاه سهامداران </a>
</li>
<li> <li>
<Link href={{ pathname: '/News', query: { list: 'list' } }}> <Link href={{ pathname: '/News', query: { list: 'list' } }}>
<a href='#!' className='text-white'> <a href='#!' className='text-white'>
@@ -46,6 +49,7 @@ const Footer = () => {
<a style={{ color: 'white' }}> تماس با ما</a> <a style={{ color: 'white' }}> تماس با ما</a>
</Link> </Link>
</li> </li>
</ul> </ul>
</MDBCol> </MDBCol>
+13 -16
View File
@@ -67,21 +67,23 @@ const News = ({ post }) => {
`} `}
</style> </style>
<MDBRow className='row-cols-1 row-cols-sm-1 row-cols-md-2 row-cols-lg-4 g-4'> <MDBRow className='row-cols-1 row-cols-sm-1 row-cols-md-2 row-cols-lg-4 g-4'>
<MDBCol xs={12} md={12} lg={9}> <MDBCol className='shadow-md' xs={12} md={12} lg={9}>
<MDBCard style={{ borderTop: '4px solid #39a2a5', borderRadius: 0 }}> <div style={{ borderTop: '4px solid #39a2a5', borderRadius: 0 }}>
<MDBCardBody> <div>
<MDBCardTitle className={'flex align-items-center justify-content-between'}> <MDBCardTitle className={'flex align-items-center m-3 justify-content-between'}>
<div>{post.title}</div> <div>{post.title}</div>
</MDBCardTitle> </MDBCardTitle>
<hr /> <hr />
<br /> <br />
<MDBCardText <div
className='text-right news-content right !bk-light right-align' className='text-right text-base news-content right !bk-light '
style={{ direction: 'rtl', lineHeight: '2.3' }} style={{ direction: 'rtl', lineHeight: '2.3' }}
> >
<div className='text-justify sm:ml-5'>
{parse(post.text.replace('/n', ' '))} {parse(post.text.replace('/n', ' '))}
</div>
<hr /> <hr />
<HStack className='flex sm:flex-col' spacing={4}> <HStack className='flex sm:flex-col mb-3' spacing={4}>
<Tag size='md' className='flex gap-x-10' borderRadius='full'> <Tag size='md' className='flex gap-x-10' borderRadius='full'>
<TagLabel className='text-sm p-2'>سرمایه گذاری</TagLabel> <TagLabel className='text-sm p-2'>سرمایه گذاری</TagLabel>
</Tag> </Tag>
@@ -93,9 +95,9 @@ const News = ({ post }) => {
</Tag> </Tag>
</HStack> </HStack>
</MDBCardText> </div>
</MDBCardBody> </div>
</MDBCard> </div>
</MDBCol> </MDBCol>
<MDBCol xs={12} md={12} lg={3}> <MDBCol xs={12} md={12} lg={3}>
{/* <Link href={'https://panel.mehriranianco.ir/welcome'}> {/* <Link href={'https://panel.mehriranianco.ir/welcome'}>
@@ -129,12 +131,7 @@ const News = ({ post }) => {
انتقال سهام انتقال سهام
</MDBListGroupItem> </MDBListGroupItem>
</Link> </Link>
{/* <Link href={'/page/news/29'}>
<MDBListGroupItem className={'border-none bk-light p-1'}>
<FiChevronLeft />
سرمایه گذاری بدون ریسک
</MDBListGroupItem>
</Link> */}
<MDBListGroupItem className={'border-none bk-light p-1'}> <MDBListGroupItem className={'border-none bk-light p-1'}>
<FiChevronLeft /> <FiChevronLeft />
<a className={'bk-light text-black'} download href={'./take-stock.pdf'}> <a className={'bk-light text-black'} download href={'./take-stock.pdf'}>