Skip to content

Commit db3add5

Browse files
Merge remote-tracking branch 'origin/dev' into style/tag-theme-close-button-hover
2 parents 351af03 + e80543d commit db3add5

File tree

18 files changed

+3346
-1607
lines changed

18 files changed

+3346
-1607
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12204,6 +12204,15 @@
1220412204
"contributions": [
1220512205
"ideas"
1220612206
]
12207+
},
12208+
{
12209+
"login": "Khemmie-Ray",
12210+
"name": "Atoyebi Oluwakemi",
12211+
"avatar_url": "https://avatars.githubusercontent.com/u/89976006?v=4",
12212+
"profile": "https://github.com/Khemmie-Ray",
12213+
"contributions": [
12214+
"maintenance"
12215+
]
1220712216
}
1220812217
],
1220912218
"contributorsPerLine": 7,

.storybook/i18next.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const ns = [
1919
"page-learn",
2020
"page-upgrades",
2121
"page-developers-index",
22+
"page-what-is-ethereum",
2223
] as const
2324
const supportedLngs = Object.keys(baseLocales)
2425

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,6 +1867,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
18671867
<td align="center" valign="top" width="14.28%"><a href="https://github.com/cd-sigma"><img src="https://avatars.githubusercontent.com/u/119534349?v=4?s=100" width="100px;" alt="ciphernova"/><br /><sub><b>ciphernova</b></sub></a><br /><a href="#content-cd-sigma" title="Content">🖋</a></td>
18681868
<td align="center" valign="top" width="14.28%"><a href="https://github.com/CodeMongerrr"><img src="https://avatars.githubusercontent.com/u/99281767?v=4?s=100" width="100px;" alt="Aditya Joshi"/><br /><sub><b>Aditya Joshi</b></sub></a><br /><a href="#ideas-CodeMongerrr" title="Ideas, Planning, & Feedback">🤔</a></td>
18691869
</tr>
1870+
<tr>
1871+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Khemmie-Ray"><img src="https://avatars.githubusercontent.com/u/89976006?v=4?s=100" width="100px;" alt="Atoyebi Oluwakemi"/><br /><sub><b>Atoyebi Oluwakemi</b></sub></a><br /><a href="#maintenance-Khemmie-Ray" title="Maintenance">🚧</a></td>
1872+
</tr>
18701873
</tbody>
18711874
</table>
18721875

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"@emotion/styled": "^11.11.0",
3535
"@radix-ui/react-navigation-menu": "^1.1.4",
3636
"@socialgouv/matomo-next": "^1.8.0",
37+
"chart.js": "^4.4.2",
38+
"chartjs-plugin-datalabels": "^2.2.0",
3739
"embla-carousel-react": "^7.0.0",
3840
"ethereum-blockies-base64": "^1.0.2",
3941
"framer-motion": "^10.13.0",
@@ -50,14 +52,14 @@
5052
"prism-react-renderer": "1.1.0",
5153
"prismjs": "^1.27.0",
5254
"react": "^18.2.0",
55+
"react-chartjs-2": "^5.2.0",
5356
"react-dom": "^18.2.0",
5457
"react-emoji-render": "^2.0.1",
5558
"react-i18next": "^13.3.1",
5659
"react-icons": "^4.10.1",
5760
"react-lite-youtube-embed": "^2.4.0",
5861
"react-select": "5.8.0",
5962
"reading-time": "^1.5.0",
60-
"recharts": "^2.7.3",
6163
"remark-gfm": "^3.0.1",
6264
"yaml-loader": "^0.8.0"
6365
},

src/components/EnergyConsumptionChart.tsx

Lines changed: 0 additions & 244 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { Meta, StoryObj } from "@storybook/react"
2+
3+
import ChartComponent from "."
4+
5+
const meta = {
6+
title: "Molecules / Display Content / Charts / Energy Consumption",
7+
component: ChartComponent,
8+
} satisfies Meta<typeof ChartComponent>
9+
10+
export default meta
11+
12+
const data = {}
13+
14+
export const Basic: StoryObj<typeof meta> = {
15+
args: {
16+
data,
17+
},
18+
}

0 commit comments

Comments
 (0)