Skip to content

Commit 2be33b3

Browse files
authored
Merge pull request #10120 from ethereum/update-energy-page
Update energy consumption page
2 parents 231bb66 + e0cc90a commit 2be33b3

File tree

4 files changed

+64
-65
lines changed

4 files changed

+64
-65
lines changed

src/components/EnergyConsumptionChart.tsx

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,25 @@ const EnergyConsumptionChart: React.FC = () => {
5555
const data = useBreakpointValue<Data>({
5656
base: [
5757
{
58-
name: t("energy-consumption-chart-youtube-label"),
59-
amount: 244,
58+
name: t("energy-consumption-chart-global-data-centers-label"),
59+
amount: 200,
6060
color: "#FF0000",
6161
},
6262
{
6363
name: t("energy-consumption-chart-btc-pow-label"),
64-
amount: 100,
64+
amount: 131,
6565
color: "#F2A900",
6666
},
6767
{
6868
name: t("energy-consumption-chart-eth-pow-label"),
6969
amount: 78,
7070
color: "#C1B6F5",
7171
},
72+
{
73+
name: t("energy-consumption-chart-gaming-us-label"),
74+
amount: 34,
75+
color: "#71BB8A",
76+
},
7277
{
7378
name: t("energy-consumption-chart-eth-pos-label"),
7479
amount: 0.0026,
@@ -77,29 +82,29 @@ const EnergyConsumptionChart: React.FC = () => {
7782
],
7883
sm: [
7984
{
80-
name: t("energy-consumption-chart-youtube-label"),
81-
amount: 244,
85+
name: t("energy-consumption-chart-global-data-centers-label"),
86+
amount: 200,
8287
color: "#FF0000",
8388
},
8489
{
85-
name: t("energy-consumption-chart-btc-pow-label"),
86-
amount: 100,
90+
name: t("energy-consumption-gold-mining-cbeci-label"),
91+
amount: 131,
8792
color: "#F2A900",
8893
},
8994
{
90-
name: t("energy-consumption-chart-netflix-label"),
91-
amount: 94,
92-
color: "#E50914",
95+
name: t("energy-consumption-chart-btc-pow-label"),
96+
amount: 131,
97+
color: "#D7B14A",
9398
},
9499
{
95100
name: t("energy-consumption-chart-eth-pow-label"),
96101
amount: 78,
97102
color: "#C1B6F5",
98103
},
99104
{
100-
name: t("energy-consumption-chart-paypal-label"),
101-
amount: 0.26,
102-
color: "#C1B6F5",
105+
name: t("energy-consumption-chart-netflix-label"),
106+
amount: 0.451,
107+
color: "#E50914",
103108
},
104109
{
105110
name: t("energy-consumption-chart-eth-pos-label"),
@@ -108,35 +113,20 @@ const EnergyConsumptionChart: React.FC = () => {
108113
},
109114
],
110115
md: [
111-
{
112-
name: t("energy-consumption-chart-youtube-label"),
113-
amount: 244,
114-
color: "#FF0000",
115-
},
116-
{
117-
name: t("energy-consumption-chart-gold-mining-galaxy-label"),
118-
amount: 240,
119-
color: "#D7B14A",
120-
},
121116
{
122117
name: t("energy-consumption-chart-global-data-centers-label"),
123118
amount: 200,
124-
color: "#D7B14A",
119+
color: "#FF0000",
125120
},
126121
{
127-
name: t("energy-consumption-chart-gold-mining-cbeci-label"),
128-
amount: 130,
122+
name: t("energy-consumption-gold-mining-cbeci-label"),
123+
amount: 131,
129124
color: "#D7B14A",
130125
},
131126
{
132127
name: t("energy-consumption-chart-btc-pow-label"),
133-
amount: 100,
134-
color: "#F2A900",
135-
},
136-
{
137-
name: t("energy-consumption-chart-netflix-label"),
138-
amount: 94,
139-
color: "#E50914",
128+
amount: 131,
129+
color: "#D7B14A",
140130
},
141131
{
142132
name: t("energy-consumption-chart-eth-pow-label"),
@@ -148,11 +138,21 @@ const EnergyConsumptionChart: React.FC = () => {
148138
amount: 34,
149139
color: "#71BB8A",
150140
},
141+
{
142+
name: t("energy-consumption-chart-netflix-label"),
143+
amount: 0.451,
144+
color: "#E50914",
145+
},
151146
{
152147
name: t("energy-consumption-chart-paypal-label"),
153148
amount: 0.26,
154149
color: "#C1B6F5",
155150
},
151+
{
152+
name: "AirBnB",
153+
amount: 0.02,
154+
color: "#E50914",
155+
},
156156
{
157157
name: t("energy-consumption-chart-eth-pos-label"),
158158
amount: 0.0026,

0 commit comments

Comments
 (0)