Skip to content

Commit 12e1e5a

Browse files
authored
Merge branch 'dev' into docsNavBug
2 parents 51741a2 + 453e847 commit 12e1e5a

File tree

20 files changed

+92
-508
lines changed

20 files changed

+92
-508
lines changed

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
# GOOGLE_API_KEY=
1717
# GOOGLE_CALENDAR_ID=
1818

19+
# Matomo environment (URL and site ID required for analytics)
20+
NEXT_PUBLIC_MATOMO_URL=
21+
NEXT_PUBLIC_MATOMO_SITE_ID=
22+
1923
# Used to avoid loading Matomo in our preview deploys
2024
IS_PREVIEW_DEPLOY=false
2125

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@docsearch/react": "^3.5.2",
2222
"@emotion/react": "^11.11.1",
2323
"@emotion/styled": "^11.11.0",
24+
"@socialgouv/matomo-next": "^1.8.0",
2425
"clipboard": "^2.0.11",
2526
"embla-carousel-react": "^7.0.0",
2627
"ethereum-blockies-base64": "^1.0.2",

public/_redirects

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/en/ / 301!
2+
13
/discord https://discord.gg/ethereum-org 301!
24

35
/*/discord https://discord.gg/ethereum-org 301!

src/components/BaseStories/Heading.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const Heading: Story = {
8585
textAlign="end"
8686
size={obj.size}
8787
>
88-
{obj.size || "xl"}
88+
{obj.size as string|| "xl"}
8989
</HeadingComponent>
9090
<HeadingComponent flex="3" {...obj}>
9191
{args.children}

src/components/BaseStories/Text.stories.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ import {
1010
} from "@chakra-ui/react"
1111
import { Meta, StoryObj } from "@storybook/react"
1212

13-
import components from "../../@chakra-ui/gatsby-plugin/components"
13+
import components from "@/@chakra-ui/components"
14+
1415
import Translation from "../Translation"
1516

1617
type TextType = typeof Text

src/components/BugBountyPoints.tsx

Lines changed: 0 additions & 203 deletions
This file was deleted.

src/components/ImageCard.tsx

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)