-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
075992e
commit ec0f783
Showing
9 changed files
with
111 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -220,6 +220,8 @@ | |
} | ||
|
||
#understand-income-gap { | ||
margin-bottom: 100px; | ||
|
||
.header-wrapper { | ||
.title { | ||
color: #01625f; | ||
|
30 changes: 30 additions & 0 deletions
30
frontend/src/pages/cases/visuals/ChartIncomeDriverAcrossSegments.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import React from "react"; | ||
import { Card, Col, Row, Space } from "antd"; | ||
import { VisualCardWrapper } from "../components"; | ||
|
||
const ChartIncomeDriverAcrossSegments = () => { | ||
return ( | ||
<Card className="card-visual-wrapper"> | ||
<Row gutter={[20, 20]} align="middle"> | ||
<Col span={16}> | ||
<VisualCardWrapper title="Income drivers across segments" bordered> | ||
Chart | ||
</VisualCardWrapper> | ||
</Col> | ||
<Col span={8}> | ||
<Space direction="vertical"> | ||
<div className="section-title">Explore your income drivers</div> | ||
<div className="section-description"> | ||
This graph lets you explore and compare income drivers across | ||
segments, showing their current values and the gaps to feasible | ||
levels. It helps you spot differences and identify where progress | ||
is possible. | ||
</div> | ||
</Space> | ||
</Col> | ||
</Row> | ||
</Card> | ||
); | ||
}; | ||
|
||
export default ChartIncomeDriverAcrossSegments; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from "react"; | ||
import { Card, Col, Row, Space } from "antd"; | ||
import { VisualCardWrapper } from "../components"; | ||
|
||
const ChartIncomeGap = () => { | ||
return ( | ||
<Card className="card-visual-wrapper"> | ||
<Row gutter={[20, 20]} align="middle"> | ||
<Col span={16}> | ||
<VisualCardWrapper title="Income gap" bordered> | ||
Chart | ||
</VisualCardWrapper> | ||
</Col> | ||
<Col span={8}> | ||
<Space direction="vertical"> | ||
<div className="section-title"> | ||
What is the current income of the farmers and their income gap? | ||
</div> | ||
<div className="section-description"> | ||
This graph helps you explore the composition of household income | ||
and identify the gap between current income and the income target. | ||
Use it to uncover variations across segments and consider where | ||
tailored strategies might be needed. | ||
</div> | ||
</Space> | ||
</Col> | ||
</Row> | ||
</Card> | ||
); | ||
}; | ||
|
||
export default ChartIncomeGap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import React from "react"; | ||
import { Card, Col, Row, Space, Table } from "antd"; | ||
|
||
const CompareIncomeGap = () => { | ||
return ( | ||
<Card className="card-visual-wrapper"> | ||
<Row gutter={[20, 20]} align="middle"> | ||
<Col span={8}> | ||
<Space direction="vertical"> | ||
<div className="section-title"> | ||
Compare the income gap per segment with the number of farmers each | ||
segment represents. | ||
</div> | ||
<div className="section-description"> | ||
This table gives an overview of the number of farmers in each | ||
segment, and the income gap at current and feasible levels. Use it | ||
to determine focus segments. | ||
</div> | ||
</Space> | ||
</Col> | ||
<Col span={16}> | ||
<Table columns={[]} dataSource={[]} /> | ||
</Col> | ||
</Row> | ||
</Card> | ||
); | ||
}; | ||
|
||
export default CompareIncomeGap; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export { default as EnterIncomeDataVisual } from "./EnterIncomeDataVisual"; | ||
export { default as ChartIncomeGap } from "./ChartIncomeGap"; | ||
export { default as CompareIncomeGap } from "./CompareIncomeGap"; | ||
export { default as ChartIncomeDriverAcrossSegments } from "./ChartIncomeDriverAcrossSegments"; |