Skip to content

Commit 63433fc

Browse files
committed
Links are updated.
1 parent 1548055 commit 63433fc

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<!-- Required meta tags -->
66
<meta charset="utf-8">
77
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
8-
<meta name="google-adsense-account" content="ca-pub-9437347753647588">
98
<title>Mustafa Çiçek - Software Developer and Consultant</title>
109
<!-- Bootstrap CSS -->
1110
<link rel="stylesheet" href="css/bootstrap.css">

links/index.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,13 +162,27 @@ <h1 class="display-4">Hi there,</h1>
162162
</div>
163163

164164
<div class="col">
165-
<a id="content-link" class="text-decoration-none" href="#" target="_blank">
165+
<a id="content-link" class="text-decoration-none" target="_blank">
166166
<div id="content-text" class="content-text">Please wait...</div>
167167
</a>
168168
</div>
169169

170170
</main>
171171

172+
<div class="container">
173+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9437347753647588"
174+
crossorigin="anonymous"></script>
175+
<ins class="adsbygoogle"
176+
style="display:block; text-align:center;"
177+
data-ad-layout="in-article"
178+
data-ad-format="fluid"
179+
data-ad-client="ca-pub-9437347753647588"
180+
data-ad-slot="2099999788"></ins>
181+
<script>
182+
(adsbygoogle = window.adsbygoogle || []).push({});
183+
</script>
184+
</div>
185+
172186
<script src="../assets/dist/js/bootstrap.bundle.min.js"></script>
173187

174188
</body>

links/script.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,16 @@ if (urlParams.has('go')) {
5757
}, 1000);
5858

5959
} else {
60+
61+
linkElement.removeAttribute("href");
62+
6063
linkTextElement.textContent = "Wrong link :(";
6164
linkTextElement.style.backgroundImage = 'linear-gradient(90deg, #ff0080, #ff5555, #ff8a00, #ff5555)';
6265
}
6366
}
6467
else {
68+
linkElement.removeAttribute("href");
69+
6570
linkTextElement.textContent = "Wrong link :(";
6671
linkTextElement.style.backgroundImage = 'linear-gradient(90deg, #ff0080, #ff5555, #ff8a00, #ff5555)';
6772
}

0 commit comments

Comments
 (0)