added vercel analytics

This commit is contained in:
liyunze 2023-06-18 13:53:18 +08:00
parent 3a9b3c1c92
commit b2cfe786a2
3 changed files with 10 additions and 1 deletions

9
package-lock.json generated
View file

@ -1,13 +1,15 @@
{ {
"name": "coworking-overlay-website", "name": "coworking-guide",
"version": "0.0.1", "version": "0.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coworking-guide",
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"@astrojs/tailwind": "^3.1.3", "@astrojs/tailwind": "^3.1.3",
"@vercel/analytics": "^1.0.1",
"astro": "^2.6.2", "astro": "^2.6.2",
"tailwindcss": "^3.3.2" "tailwindcss": "^3.3.2"
} }
@ -1047,6 +1049,11 @@
"resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz",
"integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==" "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA=="
}, },
"node_modules/@vercel/analytics": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@vercel/analytics/-/analytics-1.0.1.tgz",
"integrity": "sha512-Ux0c9qUfkcPqng3vrR0GTrlQdqNJ2JREn/2ydrVuKwM3RtMfF2mWX31Ijqo1opSjNAq6rK76PwtANw6kl6TAow=="
},
"node_modules/@vscode/emmet-helper": { "node_modules/@vscode/emmet-helper": {
"version": "2.8.9", "version": "2.8.9",
"resolved": "https://registry.npmjs.org/@vscode/emmet-helper/-/emmet-helper-2.8.9.tgz", "resolved": "https://registry.npmjs.org/@vscode/emmet-helper/-/emmet-helper-2.8.9.tgz",

View file

@ -11,6 +11,7 @@
}, },
"dependencies": { "dependencies": {
"@astrojs/tailwind": "^3.1.3", "@astrojs/tailwind": "^3.1.3",
"@vercel/analytics": "^1.0.1",
"astro": "^2.6.2", "astro": "^2.6.2",
"tailwindcss": "^3.3.2" "tailwindcss": "^3.3.2"
} }

View file

@ -34,6 +34,7 @@ const { title } = Astro.props;
href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300;500;700&display=swap" href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300;500;700&display=swap"
rel="stylesheet" rel="stylesheet"
/> />
<script defer src="/_vercel/insights/script.js"></script>
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />
<title>{title}</title> <title>{title}</title>
</head> </head>