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>
<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>
<Link href={{ pathname: '/News', query: { list: 'list' } }}>
<a href='#!' className='text-white'>
@@ -46,6 +49,7 @@ const Footer = () => {
<a style={{ color: 'white' }}> تماس با ما</a>
</Link>
</li>
</ul>
</MDBCol>
+13 -16
View File
@@ -67,21 +67,23 @@ const News = ({ post }) => {
`}
</style>
<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}>
<MDBCard style={{ borderTop: '4px solid #39a2a5', borderRadius: 0 }}>
<MDBCardBody>
<MDBCardTitle className={'flex align-items-center justify-content-between'}>
<MDBCol className='shadow-md' xs={12} md={12} lg={9}>
<div style={{ borderTop: '4px solid #39a2a5', borderRadius: 0 }}>
<div>
<MDBCardTitle className={'flex align-items-center m-3 justify-content-between'}>
<div>{post.title}</div>
</MDBCardTitle>
<hr />
<br />
<MDBCardText
className='text-right news-content right !bk-light right-align'
<div
className='text-right text-base news-content right !bk-light '
style={{ direction: 'rtl', lineHeight: '2.3' }}
>
<div className='text-justify sm:ml-5'>
{parse(post.text.replace('/n', ' '))}
</div>
<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'>
<TagLabel className='text-sm p-2'>سرمایه گذاری</TagLabel>
</Tag>
@@ -93,9 +95,9 @@ const News = ({ post }) => {
</Tag>
</HStack>
</MDBCardText>
</MDBCardBody>
</MDBCard>
</div>
</div>
</div>
</MDBCol>
<MDBCol xs={12} md={12} lg={3}>
{/* <Link href={'https://panel.mehriranianco.ir/welcome'}>
@@ -129,12 +131,7 @@ const News = ({ post }) => {
انتقال سهام
</MDBListGroupItem>
</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'}>
<FiChevronLeft />
<a className={'bk-light text-black'} download href={'./take-stock.pdf'}>