Skip to content

Commit

Permalink
added ads 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthak-1998 committed Aug 6, 2021
1 parent 0ab6f2a commit fc79a3f
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 9 deletions.
22 changes: 19 additions & 3 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
<link rel="icon" type="image/png" href="./assets/WebLogo.png">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>

<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5739573321359675"
crossorigin="anonymous"></script> -->


</head>

Expand Down Expand Up @@ -152,7 +151,8 @@
</div>

<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<script src='https://cdn.3up.dk/in-view@0.6.1'></script><script src="https://www.sarthakj.me/script.js"></script>
<script src='https://cdn.3up.dk/in-view@0.6.1'></script>
<script src="https://www.sarthakj.me/script.js"></script>
<script src="https://www.sarthakj.me/main.js"></script>


Expand Down Expand Up @@ -202,6 +202,22 @@

</div>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6266944681296820"
crossorigin="anonymous"></script>

<!-- Display ad1 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-6266944681296820"
data-ad-slot="9886562602"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div id="amzn-assoc-ad-424dfdcb-ed25-46b2-bd18-5618e2b03adb"></div>
<script async src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=424dfdcb-ed25-46b2-bd18-5618e2b03adb"></script>

Expand Down
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ function ExpandShrink() {
dots.style.display = "none";
btnText.innerHTML = " Read less";
moreText.style.display = "inline";

window.open("https://amzn.to/3jujImr","_self");
window.open("https://www.sarthakj.me/#community", "_blank");
}
}

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sarthak_jain-portfolio",
"version": "1.2.9",
"version": "1.3.1",
"description": "My personal portfolio and resume webpage.",
"main": "/src/main.js",
"scripts": {
Expand Down
4 changes: 4 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ inView('#countUp').on('enter', function() {
$this.text(formatThousandsNoRounding(this.countNum));
}
});

});
hasRun = true;
}
});

// window.open("https://amzn.to/3jujImr","_self");
// window.open("https://www.sarthakj.me/#community", "_blank");

// This website is made by Sarthak Jain
22 changes: 19 additions & 3 deletions src/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
<link rel="icon" type="image/png" href="./assets/WebLogo.png">
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>

<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5739573321359675"
crossorigin="anonymous"></script> -->


</head>

Expand Down Expand Up @@ -152,7 +151,8 @@
</div>

<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js'></script>
<script src='https://cdn.3up.dk/in-view@0.6.1'></script><script src="https://www.sarthakj.me/script.js"></script>
<script src='https://cdn.3up.dk/in-view@0.6.1'></script>
<script src="https://www.sarthakj.me/script.js"></script>
<script src="https://www.sarthakj.me/main.js"></script>


Expand Down Expand Up @@ -202,6 +202,22 @@

</div>

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6266944681296820"
crossorigin="anonymous"></script>

<!-- Display ad1 -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-6266944681296820"
data-ad-slot="9886562602"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>



<div id="amzn-assoc-ad-424dfdcb-ed25-46b2-bd18-5618e2b03adb"></div>
<script async src="//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=424dfdcb-ed25-46b2-bd18-5618e2b03adb"></script>

Expand Down
3 changes: 3 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ function ExpandShrink() {
dots.style.display = "none";
btnText.innerHTML = " Read less";
moreText.style.display = "inline";

window.open("https://amzn.to/3jujImr","_self");
window.open("https://www.sarthakj.me/#community", "_blank");
}
}

Expand Down
4 changes: 4 additions & 0 deletions src/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ inView('#countUp').on('enter', function() {
$this.text(formatThousandsNoRounding(this.countNum));
}
});

});
hasRun = true;
}
});

// window.open("https://amzn.to/3jujImr","_self");
// window.open("https://www.sarthakj.me/#community", "_blank");

// This website is made by Sarthak Jain

0 comments on commit fc79a3f

Please sign in to comment.