Skip to content

Commit

Permalink
enabled analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
htadg committed Mar 23, 2024
1 parent 6622c10 commit 1f3d308
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 52 deletions.
25 changes: 10 additions & 15 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,30 +20,25 @@
<meta rel="apple-touch-icon" sizes="180x180" href="/asset/img/apple-touch-icon.png">
<meta rel="icon" type="image/png" sizes="32x32" href="/asset/img/favicon-32x32.png">
<meta rel="icon" type="image/png" sizes="16x16" href="/asset/img/favicon-16x16.png">
<meta rel="shortcut icon" type="image/ico" href="/favicon.ico">
<meta rel="shortcut icon" type="image/ico" href="/favicon.ico"><!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-MMKB9DZDTF"></script>
<script>
//- (function(i, s, o, g, r, a, m) {
//- i['GoogleAnalyticsObject'] = r;
//- i[r] = i[r] || function() {
//- (i[r].q = i[r].q || []).push(arguments)
//- }, i[r].l = 1 * new Date();
//- a = s.createElement(o),
//- m = s.getElementsByTagName(o)[0];
//- a.async = 1;
//- a.src = g;
//- m.parentNode.insertBefore(a, m)
//- })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
window.dataLayer = window.dataLayer || [];

//- ga('create', 'UA-75024902-1', 'auto');
//- ga('send', 'pageview');
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());

gtag('config', 'G-MMKB9DZDTF');
</script>
</head>
<body>
<div class="main_container">
<div class="header">
<div class="left">
<div class="name"> <span class="bold first">HITEN</span><span>SHARMA</span></div>
<div class="roles"> <code>Blockchain Consultant</code><code>Web Developer</code><code>Mentor</code></div>
<div class="roles"> <code>Web3 Enthusiast</code><code>Developer</code><code>Mentor</code></div>
<div class="resume"><a class="text bold" target="_blank" href="/HitenSharma_Resume.pdf">Download Resume</a>
</div>
</div>
Expand Down
45 changes: 8 additions & 37 deletions src/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -20,53 +20,24 @@ html
meta(rel="icon" type="image/png" sizes="32x32" href=require("./favicon-32x32.png"))
meta(rel="icon" type="image/png" sizes="16x16" href=require("./favicon-16x16.png"))
meta(rel="shortcut icon" type="image/ico" href=require("./favicon.ico"))
<!-- Google tag (gtag.js) -->
script(async src="https://www.googletagmanager.com/gtag/js?id=G-MMKB9DZDTF")
script.
//- (function(i, s, o, g, r, a, m) {
//- i['GoogleAnalyticsObject'] = r;
//- i[r] = i[r] || function() {
//- (i[r].q = i[r].q || []).push(arguments)
//- }, i[r].l = 1 * new Date();
//- a = s.createElement(o),
//- m = s.getElementsByTagName(o)[0];
//- a.async = 1;
//- a.src = g;
//- m.parentNode.insertBefore(a, m)
//- })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

//- ga('create', 'UA-75024902-1', 'auto');
//- ga('send', 'pageview');
gtag('config', 'G-MMKB9DZDTF');
body
//- .main_container
//- .left_panel
//- h1.name Hiten Sharma
//- .line.center
//- .designation
//- div.area
//- ul.list
//- li.item WEB DEVELOPER
//- li.item JAVA DEVELOPER
//- li.item PYTHON DEVELOPER
//- li.item BLOCKCHAIN DEVELOPER
//- li.item WEB3 ENTHUSIAST
//- li.item SYSTEM ENGINEER
//- .line.center
//- .links
//- ul
//- li Homes
//- li About
//- li Contact
//- .right_panel
//- h1 Details
.main_container
.header
.left
.name
span.bold.first HITEN
span SHARMA
.roles
code Blockchain Consultant
code Web Developer
code Web3 Enthusiast
code Developer
code Mentor
.resume
a(target="_blank" href=require("./HitenSharma_Resume.pdf")).text.bold Download Resume
Expand Down

0 comments on commit 1f3d308

Please sign in to comment.