Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(analytics): add GA #338

Merged
merged 4 commits into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
uses: actions/checkout@v2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install yarn
run: npm i -g yarn
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.1.8",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"serve": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"build": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
"lint": "export NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service lint"
},
"gitHooks": {
"pre-commit": "vue-cli-service lint && git add -A",
Expand All @@ -23,8 +23,8 @@
"core-js": "^3.6.4",
"lodash": "^4.17.19",
"moment": "^2.26.0",
"node-sass": "^4.14.1",
"raw-loader": "^4.0.1",
"sass": "^1.69.7",
"sass-loader": "^8.0.2",
"semver": "^7.3.2",
"vue": "^2.6.11",
Expand Down
11 changes: 4 additions & 7 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,13 @@
<!-- Dynamic favicon support -->
<script src="https://unpkg.com/favicon-switcher@1.2.2/dist/index.js" crossorigin="anonymous"
type="application/javascript"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-168010978-1"></script>
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-G7YZQRVMW2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
function gtag(){dataLayer.push(arguments);}
gtag("js", new Date());

gtag("config", "UA-168010978-1");
gtag("config", "G-G7YZQRVMW2");
</script>
<script type="module">
import init, { tree } from "https://raw.githack.com/nestdotland/analyzer/master/analyzer_wasm/pkg/nest_analyzer_wasm.js";
Expand Down
5 changes: 1 addition & 4 deletions src/views/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,7 @@
</div>
<p class="subtitle">
Trying to add a module? See the
<a
id="docs-link"
href="https://docs.nest.land/eggs"
>
<a id="docs-link" href="https://docs.nest.land/eggs">
documentation</a
>.
</p>
Expand Down
6 changes: 3 additions & 3 deletions src/views/Pst.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ export default {
<style lang="sass" scoped>
@font-face
font-family: 'JetBrainsMono'
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2') format('woff2'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff'),
url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf') format('truetype')
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff2/JetBrainsMono-Regular.woff2') format('woff2')
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/web/woff/JetBrainsMono-Regular.woff') format('woff')
src: url('https://cdn.jsdelivr.net/gh/JetBrains/JetBrainsMono/ttf/JetBrainsMono-Regular.ttf') format('truetype')
font-weight: 400
font-style: normal

Expand Down
Loading
Loading