Skip to content

Commit 716a355

Browse files
author
Salma Alam-Naylor
committed
Only show GA code on prod mode
1 parent 0010b9a commit 716a355

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

angular.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"builder": "@angular-devkit/build-angular:browser",
1717
"options": {
1818
"outputPath": "dist/fretonator-web/browser",
19-
"index": "apps/fretonator-web/src/index.html",
19+
"index": "apps/fretonator-web/src/index-dev.html",
2020
"main": "apps/fretonator-web/src/main.ts",
2121
"polyfills": "apps/fretonator-web/src/polyfills.ts",
2222
"tsConfig": "apps/fretonator-web/tsconfig.app.json",
@@ -44,6 +44,7 @@
4444
"with": "apps/fretonator-web/src/environments/environment.prod.ts"
4545
}
4646
],
47+
"index": "apps/fretonator-web/src/index.html",
4748
"optimization": true,
4849
"outputHashing": "all",
4950
"sourceMap": false,
@@ -204,4 +205,4 @@
204205
}
205206
},
206207
"defaultProject": "fretonator-web"
207-
}
208+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8"/>
5+
<meta name="viewport" content="width=device-width, initial-scale=1"/>
6+
<base href="/"/>
7+
<title>Fretonator - the ultimate interactive free guitar theory tool</title>
8+
<meta name="description" content="Choose a starting note, pick a mode, check out the fretboard and have a jam!">
9+
<meta property="og:type" content="website">
10+
<meta property="og:title" content="Fretonator - the ultimate free guitar theory tool"/>
11+
<meta property="og:description"
12+
content="Choose a starting note, pick a mode, check out the fretboard and have a jam!"/>
13+
<meta property="og:url" content="https://www.fretonator.com"/>
14+
<meta property="og:image" content="https://www.fretonator.com/assets/img/og_facebook.png"/>
15+
<meta property="og:image:alt" content="Fretonator - the ultimate free guitar theory tool"/>
16+
<meta property="og:image:width" content="1200"/>
17+
<meta property="og:image:height" content="630"/>
18+
<meta property="og:image:type" content="image/png"/>
19+
20+
<meta name="twitter:card" content="summary_large_image"/>
21+
<meta name="twitter:image" content="https://www.fretonator.com/assets/img/og_twitter.png"/>
22+
<meta name="twitter:image:alt" content="Fretonator - the ultimate free guitar theory tool"/>
23+
<meta name="twitter:description"
24+
content="Choose a starting note, pick a mode, check out the fretboard and have a jam!"/>
25+
26+
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
27+
<link rel="manifest" href="manifest.webmanifest">
28+
<meta name="theme-color" content="#1a1a1a">
29+
<meta name="msapplication-TileColor" content="#1a1a1a">
30+
31+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/icons/icon-180x180.png">
32+
33+
</head>
34+
<body>
35+
<app-root></app-root>
36+
<noscript>I know it sucks, but please enable JavaScript to continue using this application.</noscript>
37+
38+
</body>
39+
</html>

0 commit comments

Comments
 (0)