Skip to content

Commit d03ef30

Browse files
committed
Added GA
1 parent de9a0e9 commit d03ef30

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

website/docusaurus.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ const config = {
4949
theme: {
5050
customCss: require.resolve('./src/css/custom.css'),
5151
},
52+
gtag: {
53+
trackingID: 'G-395083206',
54+
anonymizeIP: true,
55+
},
5256
}),
5357
]
5458
],

website/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"dependencies": {
1717
"@docusaurus/core": "2.4.1",
1818
"@docusaurus/plugin-client-redirects": "^2.4.1",
19+
"@docusaurus/plugin-google-gtag": "^2.4.1",
1920
"@docusaurus/preset-classic": "2.4.1",
2021
"@mdx-js/react": "^1.6.22",
2122
"clsx": "^1.2.1",

website/src/pages/index.module.css

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
justify-content: center;
2323
}
2424

25-
.heroTerminal {
26-
width: 50%;
27-
height: auto;
25+
@media screen and (min-width: 997px) {
26+
.heroTerminal {
27+
width: 50%;
28+
height: auto;
29+
}
2830
}

0 commit comments

Comments
 (0)