mirror of
https://github.com/BlackWallTeam/frontend.git
synced 2024-11-22 00:36:34 +03:00
add bold
This commit is contained in:
parent
6f345babf6
commit
8a506da4ff
54
public/201.html
Normal file
54
public/201.html
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
<meta name="theme-color" content="#000000" />
|
||||||
|
<meta
|
||||||
|
name="description"
|
||||||
|
content="Web site created using create-react-app"
|
||||||
|
/>
|
||||||
|
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
||||||
|
<!--
|
||||||
|
manifest.json provides metadata used when your web app is installed on a
|
||||||
|
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||||
|
-->
|
||||||
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||||
|
<!--
|
||||||
|
Notice the use of %PUBLIC_URL% in the tags above.
|
||||||
|
It will be replaced with the URL of the `public` folder during the build.
|
||||||
|
Only files inside the `public` folder can be referenced from the HTML.
|
||||||
|
|
||||||
|
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||||
|
work correctly both with client-side routing and a non-root public URL.
|
||||||
|
Learn how to configure a non-root public URL by running `npm run build`.
|
||||||
|
-->
|
||||||
|
<title>React App</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
|
<div id="root"></div>
|
||||||
|
<style>
|
||||||
|
*::-webkit-scrollbar{
|
||||||
|
display: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
html, body {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<!--
|
||||||
|
This HTML file is a template.
|
||||||
|
If you open it directly in the browser, you will see an empty page.
|
||||||
|
|
||||||
|
You can add webfonts, meta tags, or analytics to this file.
|
||||||
|
The build step will place the bundled scripts into the <body> tag.
|
||||||
|
|
||||||
|
To begin the development, run `npm start` or `yarn start`.
|
||||||
|
To create a production bundle, use `npm run build` or `yarn build`.
|
||||||
|
-->
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -44,21 +44,23 @@ export const PrimaryCard: react.FC<IPrimaryCard> = (props) => {
|
||||||
<Checkbox checked={props.status == 'short'}/>
|
<Checkbox checked={props.status == 'short'}/>
|
||||||
<Typography.Text>Шорт</Typography.Text>
|
<Typography.Text>Шорт</Typography.Text>
|
||||||
</div>
|
</div>
|
||||||
|
<Typography.Text>
|
||||||
|
Рекомендация: <strong style={{color: deal_text(props.risk)?.color as any}}>
|
||||||
|
{deal_text(props.risk)?.status}
|
||||||
|
</strong>
|
||||||
|
</Typography.Text>
|
||||||
|
<Typography.Text>Предполагаемая прибыль <strong style={{fontWeight: 'bold'}}>{props.increase_procent}%</strong></Typography.Text>
|
||||||
|
<Typography.Text>Ждать прибыли: <strong style={{fontWeight: 'bold'}}>{props.days_for_increase} дней (дня)</strong></Typography.Text>
|
||||||
<Typography.Text>
|
<Typography.Text>
|
||||||
Застрощик: <strong>{props.developer}</strong>
|
Застрощик: <strong>{props.developer}</strong>
|
||||||
</Typography.Text>
|
</Typography.Text>
|
||||||
<Typography.Text>
|
<Typography.Text>
|
||||||
Дней до сдачи: <strong>{props.days_to_be_done}</strong>
|
Дней до сдачи: <strong>{props.days_to_be_done}</strong>
|
||||||
</Typography.Text>
|
</Typography.Text>
|
||||||
<Typography.Text>
|
|
||||||
Рекомендация: <strong style={{color: deal_text(props.risk)?.color as any}}>
|
|
||||||
{deal_text(props.risk)?.status}
|
|
||||||
</strong>
|
|
||||||
</Typography.Text>
|
|
||||||
<Typography.Text>Предполагаемая прибыль <strong>{props.increase_procent}%</strong></Typography.Text>
|
|
||||||
<Typography.Text>Этаж: <strong>{props.floor}</strong></Typography.Text>
|
<Typography.Text>Этаж: <strong>{props.floor}</strong></Typography.Text>
|
||||||
<Typography.Text>Площадь: <strong>{props.area} кв.м</strong></Typography.Text>
|
<Typography.Text>Площадь: <strong>{props.area} кв.м</strong></Typography.Text>
|
||||||
<Typography.Text>Ждать прибыли: <strong>{props.days_for_increase} дней (дня)</strong></Typography.Text>
|
|
||||||
<CardChart data={mapped_price} days={mapped_days}/>
|
<CardChart data={mapped_price} days={mapped_days}/>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
|
@ -28,6 +28,12 @@ export const SecondaryCard: react.FC<ISecondaryCard> = (props) => {
|
||||||
>Ссылка на квартиру
|
>Ссылка на квартиру
|
||||||
</Typography.Link>
|
</Typography.Link>
|
||||||
</div>
|
</div>
|
||||||
|
<Typography.Text>
|
||||||
|
Предсказанная цена: <strong style={{fontWeight: 'bold'}}>{props.pred_price.toFixed(0)} р</strong>
|
||||||
|
</Typography.Text>
|
||||||
|
<Typography.Text>
|
||||||
|
Процент отклонения: <strong style={{fontWeight: 'bold'}}>{(props.diff * -1).toFixed(1)}%</strong>
|
||||||
|
</Typography.Text>
|
||||||
<Typography.Text>
|
<Typography.Text>
|
||||||
Этаж: <strong>{props.floor}</strong>
|
Этаж: <strong>{props.floor}</strong>
|
||||||
</Typography.Text>
|
</Typography.Text>
|
||||||
|
@ -40,12 +46,8 @@ export const SecondaryCard: react.FC<ISecondaryCard> = (props) => {
|
||||||
<Typography.Text>
|
<Typography.Text>
|
||||||
Год постройки: <strong>{props.year_of_construction} г.</strong>
|
Год постройки: <strong>{props.year_of_construction} г.</strong>
|
||||||
</Typography.Text>
|
</Typography.Text>
|
||||||
<Typography.Text>
|
|
||||||
Предсказанная цена: <strong>{props.pred_price.toFixed(0)} р</strong>
|
|
||||||
</Typography.Text>
|
|
||||||
<Typography.Text>
|
|
||||||
Процент отклонения: <strong>{(props.diff * -1).toFixed(1)}%</strong>
|
|
||||||
</Typography.Text>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</Card>
|
</Card>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user