feat: add new items to nes page
This commit is contained in:
@@ -21,7 +21,7 @@ import {
|
||||
} from 'mdb-react-ui-kit'
|
||||
import Image from 'next/image'
|
||||
import { AppFile, AppUrl } from '../../../lib/api'
|
||||
import { Box, SimpleGrid } from '@chakra-ui/react'
|
||||
import { Tag, TagLabel, HStack } from '@chakra-ui/react'
|
||||
|
||||
const moment = require('moment-jalaali')
|
||||
|
||||
@@ -74,24 +74,41 @@ const News = ({ post }) => {
|
||||
<MDBCardBody>
|
||||
<MDBCardTitle className={'flex align-items-center justify-content-between'}>
|
||||
<div>{post.title}</div>
|
||||
|
||||
</MDBCardTitle>
|
||||
<hr />
|
||||
<br />
|
||||
<MDBCardText className='text-right news-content right right-align' style={{ direction: 'rtl' }}>
|
||||
{parse(post.text)}
|
||||
<MDBCardText
|
||||
className='text-right news-content right !bk-light right-align'
|
||||
style={{ direction: 'rtl', lineHeight: '2.3' }}
|
||||
>
|
||||
{parse(post.text.replace('/n', ' '))}
|
||||
<hr />
|
||||
<HStack spacing={4}>
|
||||
<Tag size='md' className='flex gap-x-10' borderRadius='full'>
|
||||
<TagLabel className='text-sm p-2'>سرمایه گذاری</TagLabel>
|
||||
</Tag>
|
||||
<Tag size='md' className='flex gap-x-10' borderRadius='full'>
|
||||
<TagLabel className='text-sm p-2'>بیمارستان پرند </TagLabel>
|
||||
</Tag>
|
||||
<Tag size='md' className='flex gap-x-10' borderRadius='full'>
|
||||
<TagLabel className='text-sm p-2'>شهر پرند </TagLabel>
|
||||
</Tag>
|
||||
<Tag size='md' className='flex gap-x-10' borderRadius='full'>
|
||||
<TagLabel className='text-sm p-2'>سرمایه گذاری در بخش درمان </TagLabel>
|
||||
</Tag>
|
||||
</HStack>
|
||||
</MDBCardText>
|
||||
</MDBCardBody>
|
||||
</MDBCard>
|
||||
</MDBCol>
|
||||
<MDBCol xs={12} md={12} lg={3}>
|
||||
{/* <Link href={'https://panel.mehriranianco.ir/welcome'}>
|
||||
<Link href={'https://panel.mehriranianco.ir/welcome'}>
|
||||
<MDBCardImage
|
||||
className={'rounded-6 cursor-pointer'}
|
||||
style={{ width: 512, height: 275 }}
|
||||
src={'/resource/images/animation.gif.gif'}
|
||||
src={'/resource/images/price-anim.gif'}
|
||||
/>
|
||||
</Link> */}
|
||||
</Link>
|
||||
<Link href={'https://panel.mehriranianco.ir/welcome'}>
|
||||
<MDBCardImage
|
||||
className={'rounded-6 cursor-pointer mt-3'}
|
||||
@@ -104,7 +121,7 @@ const News = ({ post }) => {
|
||||
<MDBCardTitle>مطالب اخیر </MDBCardTitle>
|
||||
<hr />
|
||||
<MDBCardText className={'mt-4'}>
|
||||
<Link href={'/page/news/36'}>
|
||||
<Link href={'https://panel.mehriranianco.ir/welcome'}>
|
||||
<MDBListGroupItem style={{ cursor: 'pointer' }} className={'border-none bk-light p-1'}>
|
||||
<FiChevronLeft />
|
||||
خرید سهام
|
||||
@@ -145,7 +162,7 @@ const News = ({ post }) => {
|
||||
</MDBRow>
|
||||
<br />
|
||||
<hr />
|
||||
<MDBTypography>
|
||||
<MDBTypography className='dana font-light'>
|
||||
تاریخ انتشار :{moment(post.created_at, 'YYYY-M-D HH:mm:ss').format('HH:mm - jYYYY/jM/jD')}
|
||||
</MDBTypography>
|
||||
</div>
|
||||
|
||||
@@ -3,6 +3,7 @@ import AppContainer from '../appContainer'
|
||||
import Image from 'next/image'
|
||||
import { MDBContainer } from 'mdb-react-ui-kit'
|
||||
import CollapseItem from './Collapse'
|
||||
import { Stock_price } from '../../src/vat'
|
||||
|
||||
const QuestionAndAnswer = () => {
|
||||
const Parallax = ({ quality }) => {
|
||||
@@ -12,7 +13,7 @@ const QuestionAndAnswer = () => {
|
||||
{
|
||||
id: 1,
|
||||
title: ' قیمت سهام ',
|
||||
text: ' (بروزرسانی : 30 اسفند 1401) فروش سهام با تعداد محدود و مدت محدود با قيمت 100,000,000 تومان'
|
||||
text: ` (بروزرسانی : خرداد 1401 ) فروش سهام با تعداد محدود و مدت محدود با ${Stock_price} قيمت تومان`
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
|
||||
@@ -33,8 +33,8 @@ const Recruitment = jobs => {
|
||||
<div className={'flex flex-column'}>
|
||||
<div className={'mb-5'}>
|
||||
<h2 className={'center-align bk-med text-white header_back service-text dana font-weight-bold'}>
|
||||
{' '}
|
||||
فرصت های شغلی بیمارستان مهر ایرانیان پرند{' '}
|
||||
|
||||
فرصت های شغلی بیمارستان مهر ایرانیان
|
||||
</h2>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
@@ -14,6 +14,7 @@ import {AiOutlinePhone} from "react-icons/ai";
|
||||
import {HandlePage} from "../../../lib/HnadelPagge";
|
||||
import NumberFormat from "react-number-format";
|
||||
import IMGAE from '../../../public/resource/Smart/coins-outline.gif'
|
||||
import { Stock_price } from '../../../src/vat';
|
||||
|
||||
function MDBRadio(props) {
|
||||
return null;
|
||||
@@ -36,7 +37,7 @@ const StepThree = () => {
|
||||
</p>
|
||||
<div className={'dana flex align-items-center text-sm'}>
|
||||
<MDBCardImage className={'ml-2'} src={IMGAE} width={50} height={50} />
|
||||
قیمت پایه هر سهم : 100.000.000
|
||||
{Stock_price}
|
||||
تومان
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 529 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 479 KiB |
@@ -57,13 +57,14 @@ const StockPriceChart = () => {
|
||||
>
|
||||
<div className='flex bg-white px-4 md:flex-col sm:flex-col lg:flex-row py-3 items-center rounded-lg'>
|
||||
<div className='mt-2 flex md:flex-col md:items-center sm:items-center sm:flex-col lg:flex-row'>
|
||||
<div className='flex justify-center'>
|
||||
<div className='flex items-center justify-center'>
|
||||
<span className='blob mb-3 mt-2 ml-3' />
|
||||
</div>
|
||||
<h3 className='text-success bk-med'>قیمت روز سهام : </h3>
|
||||
<h3 className='text-success mr-2'>
|
||||
<CountUp start={0} end={150000000} separator=',' />
|
||||
</h3>
|
||||
<p className='flex items-center mr-2' style={{ fontSize: 12 }}>تومان</p>
|
||||
<p
|
||||
style={{ fontSize: 15, backgroundColor: '#2dd4bf' }}
|
||||
className=' text-white p-1 rounded-full flex justify-center items-center mr-2 mt-1'
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export const Stock_price = '150,000,000'
|
||||
Reference in New Issue
Block a user