Skip to content

Commit 994d87b

Browse files
idormencoion.dormenco
andauthored
change gtm , add new link in the nav (#167)
Co-authored-by: ion.dormenco <ion.dormenco@wearetribus.com>
1 parent 655bdc7 commit 994d87b

2 files changed

Lines changed: 3 additions & 15 deletions

File tree

client/index.html

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,10 @@
1010
<link rel="shortcut icon" href="/favicon.ico" />
1111
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
1212
<link rel="manifest" href="/site.webmanifest" />
13-
<!-- Google Tag Manager -->
14-
<script>(function (w, d, s, l, i) {
15-
w[l] = w[l] || []; w[l].push({
16-
'gtm.start':
17-
new Date().getTime(), event: 'gtm.js'
18-
}); var f = d.getElementsByTagName(s)[0],
19-
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
20-
'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
21-
})(window, document, 'script', 'dataLayer', 'GTM-KD6SS83N');</script>
22-
<!-- End Google Tag Manager -->
13+
<script defer src="https://api.pirsch.io/pa.js" id="pianjs" data-code="68RcFCV7lsOCmwIxY5lTTlBUsOWVmxmu"></script>
2314
</head>
2415

2516
<body>
26-
<!-- Google Tag Manager (noscript) -->
27-
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KD6SS83N" height="0" width="0"
28-
style="display:none;visibility:hidden"></iframe></noscript>
29-
<!-- End Google Tag Manager (noscript) -->
3017
<div id="root"></div>
3118
<div id="fb-root"></div>
3219
<script type="module" src="/src/index.tsx"></script>

client/src/components/Navbar/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const MENU = {
2323
{ text: "Despre", link: "https://crestem.ong/ro/despre-proiect" },
2424
{ text: "Evaluare ONG", link: "/" },
2525
{ text: "Bibliotecă", link: "https://crestem.ong/ro/biblioteca" },
26+
{ text: "LegiXplore", link: "https://crestem.ong/ro/legixplore" },
2627
{
2728
text: "Programele noastre",
2829
link: "https://crestem.ong/ro/programele-noastre",
@@ -125,7 +126,7 @@ export const Menu = () => {
125126
href={menuItem.link}
126127
target="_blank"
127128
rel="noopener noreferrer"
128-
// className="flex flex-wrap border-b-2 px-3 py-2 font-medium items-center text-gray-900 hover:bg-gray-50"
129+
// className="flex flex-wrap border-b-2 px-3 py-2 font-medium items-center text-gray-900 hover:bg-gray-50"
129130
>
130131
{menuItem.text}
131132
</a>

0 commit comments

Comments
 (0)