Skip to content

Commit

Permalink
feat: new analytics enabled (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
keriat authored Nov 15, 2022
1 parent 03a4372 commit 324a71b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 92 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"semantic-release": "semantic-release"
},
"dependencies": {
"@vercel/analytics": "^0.1.5",
"aos": "3.0.0-beta.6",
"axios": "1.1.3",
"lite-youtube-embed": "0.2.0",
Expand Down
4 changes: 3 additions & 1 deletion src/components/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default function About() {
data-aos="fade-left"
>
<ExportedImage
unoptimized={true}
src="images/superCharged.svg"
layout="raw"
width={823}
Expand Down Expand Up @@ -74,6 +75,7 @@ export default function About() {
className="w-full rounded-lg border border-pink-100 shadow-lg 2xl:h-full 2xl:w-auto"
alt="WHAT IS ERC-4626?"
loading="lazy"
unoptimized={true}
/>
</div>
<div
Expand Down Expand Up @@ -104,4 +106,4 @@ export default function About() {
</div>
</div>
);
}
}
4 changes: 3 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import "/styles/globals.scss";
import { Analytics } from "@vercel/analytics/react";
import AOS from "aos";
import { NextGtag } from "next-gtag";
import type { AppProps } from "next/app";
Expand Down Expand Up @@ -29,7 +30,8 @@ const App = ({ Component, pageProps }: AppProps) => {
<>
<NextGtag trackingId={process.env.NEXT_PUBLIC_GA_ID || ""} />
<Component {...pageProps} />
<Analytics />
</>
);
};
export default App;
export default App;
106 changes: 16 additions & 90 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ __metadata:
"@types/react": 18.0.21
"@types/react-dom": latest
"@types/react-scroll": 1.8.4
"@vercel/analytics": ^0.1.5
aos: 3.0.0-beta.6
autoprefixer: 10.4.12
axios: 1.1.3
Expand Down Expand Up @@ -1157,18 +1158,7 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:*":
version: 18.0.18
resolution: "@types/react@npm:18.0.18"
dependencies:
"@types/prop-types": "*"
"@types/scheduler": "*"
csstype: ^3.0.2
checksum: 6d72d35ab3eecf382a5e0f225923f5a2c753045fce02e4e29713f36c99a24f0f770666a49dde96167f37c86271f93339d1b7e2b8969d011b137a9ebd24ee6806
languageName: node
linkType: hard

"@types/react@npm:18.0.21":
"@types/react@npm:*, @types/react@npm:18.0.21":
version: 18.0.21
resolution: "@types/react@npm:18.0.21"
dependencies:
Expand Down Expand Up @@ -1264,6 +1254,15 @@ __metadata:
languageName: node
linkType: hard

"@vercel/analytics@npm:^0.1.5":
version: 0.1.5
resolution: "@vercel/analytics@npm:0.1.5"
peerDependencies:
react: ^16.8||^17||^18
checksum: ebade083273b093db3f0b98fc88013d787da7ad57635329b128eaee23a47ac541bbcf1d2257f56bb440afb6b872addfccae0bea0ab0962ffa2a7661e08b78760
languageName: node
linkType: hard

"JSONStream@npm:^1.0.4":
version: 1.3.5
resolution: "JSONStream@npm:1.3.5"
Expand Down Expand Up @@ -2207,21 +2206,7 @@ __metadata:
languageName: node
linkType: hard

"browserslist@npm:^4.0.0, browserslist@npm:^4.16.6, browserslist@npm:^4.20.3":
version: 4.21.3
resolution: "browserslist@npm:4.21.3"
dependencies:
caniuse-lite: ^1.0.30001370
electron-to-chromium: ^1.4.202
node-releases: ^2.0.6
update-browserslist-db: ^1.0.5
bin:
browserslist: cli.js
checksum: ff512a7bcca1c530e2854bbdfc7be2791d0fb524097a6340e56e1d5924164c7e4e0a9b070de04cdc4c149d15cb4d4275cb7c626ebbce954278a2823aaad2452a
languageName: node
linkType: hard

"browserslist@npm:^4.21.4":
"browserslist@npm:^4.0.0, browserslist@npm:^4.16.6, browserslist@npm:^4.20.3, browserslist@npm:^4.21.4":
version: 4.21.4
resolution: "browserslist@npm:4.21.4"
dependencies:
Expand Down Expand Up @@ -2384,14 +2369,7 @@ __metadata:
languageName: node
linkType: hard

"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001332, caniuse-lite@npm:^1.0.30001370":
version: 1.0.30001385
resolution: "caniuse-lite@npm:1.0.30001385"
checksum: fc526aa2a8070f7b77e7128567cb7e599ae7b1a172bef965f60345b7a327daa5029e984b42819e5c0a6de4282c9e932f58978cf36f58cc381d5128a940485d96
languageName: node
linkType: hard

"caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001407":
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001332, caniuse-lite@npm:^1.0.30001400, caniuse-lite@npm:^1.0.30001407":
version: 1.0.30001414
resolution: "caniuse-lite@npm:1.0.30001414"
checksum: 97210cfd15ded093b20c33d35bef9711a88402c3345411dad420c991a41a3e38ad17fd66721e8334c86e9b2e4aa2c1851d3631f1441afb73b92d93b2b8ca890d
Expand Down Expand Up @@ -3560,13 +3538,6 @@ __metadata:
languageName: node
linkType: hard

"electron-to-chromium@npm:^1.4.202":
version: 1.4.237
resolution: "electron-to-chromium@npm:1.4.237"
checksum: 5f95ada8864dfa423e5fdc3ba69ee81d8229a6934079849b33125081d58f4d6243cc627bbfba8faea08fad2ed3e625cd6bcfcdfcbe6e984796e2bf9ca3ca2227
languageName: node
linkType: hard

"electron-to-chromium@npm:^1.4.251":
version: 1.4.270
resolution: "electron-to-chromium@npm:1.4.270"
Expand Down Expand Up @@ -8513,7 +8484,7 @@ __metadata:
languageName: node
linkType: hard

"postcss@npm:8.4.18":
"postcss@npm:8.4.18, postcss@npm:^8.4.14":
version: 8.4.18
resolution: "postcss@npm:8.4.18"
dependencies:
Expand All @@ -8535,17 +8506,6 @@ __metadata:
languageName: node
linkType: hard

"postcss@npm:^8.4.14":
version: 8.4.16
resolution: "postcss@npm:8.4.16"
dependencies:
nanoid: ^3.3.4
picocolors: ^1.0.0
source-map-js: ^1.0.2
checksum: 10eee25efd77868036403858577da0cefaf2e0905feeaba5770d5438ccdddba3d01cba8063e96b8aac4c6daa0ed413dd5ae0554a433a3c4db38df1d134cffc1f
languageName: node
linkType: hard

"prebuild-install@npm:^7.1.1":
version: 7.1.1
resolution: "prebuild-install@npm:7.1.1"
Expand Down Expand Up @@ -10681,7 +10641,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:4.8.4":
"typescript@npm:4.8.4, typescript@npm:^4.6.4, typescript@npm:^4.7.2":
version: 4.8.4
resolution: "typescript@npm:4.8.4"
bin:
Expand All @@ -10691,17 +10651,7 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:^4.6.4, typescript@npm:^4.7.2":
version: 4.8.2
resolution: "typescript@npm:4.8.2"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 7f5b81d0d558c9067f952c7af52ab7f19c2e70a916817929e4a5b256c93990bf3178eccb1ac8a850bc75df35f6781b6f4cb3370ce20d8b1ded92ed462348f628
languageName: node
linkType: hard

"typescript@patch:typescript@4.8.4#~builtin<compat/typescript>":
"typescript@patch:typescript@4.8.4#~builtin<compat/typescript>, typescript@patch:typescript@^4.6.4#~builtin<compat/typescript>, typescript@patch:typescript@^4.7.2#~builtin<compat/typescript>":
version: 4.8.4
resolution: "typescript@patch:typescript@npm%3A4.8.4#~builtin<compat/typescript>::version=4.8.4&hash=a1c5e5"
bin:
Expand All @@ -10711,16 +10661,6 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@^4.6.4#~builtin<compat/typescript>, typescript@patch:typescript@^4.7.2#~builtin<compat/typescript>":
version: 4.8.2
resolution: "typescript@patch:typescript@npm%3A4.8.2#~builtin<compat/typescript>::version=4.8.2&hash=a1c5e5"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 5cb0f02f414f5405f4b0e7ee1fd7fa9177b6a8783c9017b6cad85f56ce4c4f93e0e6f2ce37e863cb597d44227cd009474c9fbd85bf7a50004e5557426cb58079
languageName: node
linkType: hard

"uglify-js@npm:^3.1.4":
version: 3.16.0
resolution: "uglify-js@npm:3.16.0"
Expand Down Expand Up @@ -10805,20 +10745,6 @@ __metadata:
languageName: node
linkType: hard

"update-browserslist-db@npm:^1.0.5":
version: 1.0.5
resolution: "update-browserslist-db@npm:1.0.5"
dependencies:
escalade: ^3.1.1
picocolors: ^1.0.0
peerDependencies:
browserslist: ">= 4.21.0"
bin:
browserslist-lint: cli.js
checksum: 7e425fe5dbbebdccf72a84ce70ec47fc74dce561d28f47bc2b84a1c2b84179a862c2261b18ab66a5e73e261c7e2ef9e11c6129112989d4d52e8f75a56bb923f8
languageName: node
linkType: hard

"update-browserslist-db@npm:^1.0.9":
version: 1.0.9
resolution: "update-browserslist-db@npm:1.0.9"
Expand Down

1 comment on commit 324a71b

@vercel
Copy link

@vercel vercel bot commented on 324a71b Nov 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sup-web-4626 – ./

*.eip4626.com
eip4626.com
erc4626.info
sup-web-4626-git-main.superform.tech
sup-web-4626.superform.tech

Please sign in to comment.