Skip to content

Commit 1548055

Browse files
committed
Links are updated.
1 parent b9fdb22 commit 1548055

File tree

3 files changed

+72
-40
lines changed

3 files changed

+72
-40
lines changed

links/index.html

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -89,76 +89,82 @@
8989

9090
<div class="container">
9191

92-
<header class="border-bottom lh-1 py-3">
93-
<div class="row flex-nowrap justify-content-between align-items-center">
94-
<div class="col-12 text-center">
95-
<a class="blog-header-logo text-body-emphasis text-decoration-none" href="#">
96-
<img alt="Mustafa Çiçek" width="300" src="./images/mstfcckofficial-vertical-light-transparent-1080.png">
97-
</img>
98-
</a>
92+
<header class="border-bottom">
93+
<div class="row">
94+
<div class="col text-center">
95+
<img alt="Mustafa Çiçek" width="350" src="./images/mstfcckofficial-vertical-light-transparent-1080.png"></img>
9996
</div>
10097
</div>
10198
</header>
10299

103100
<div class="container">
104-
<div class="row row-cols-4 row-cols-lg-5 g-2 g-lg-3 mt-1 justify-content-between align-items-center">
101+
102+
<div class="row row-cols-4 row-cols-lg-5 g-2 g-lg-3 mt-1 justify-content-between align-items-center text-center">
103+
105104
<div class="col">
106-
<div class="text-center">
107-
<a class="nav-item nav-link link-body-emphasis"
108-
href="https://www.youtube.com/@mstfcckofficial?sub_confirmation=1" target="_blank">
109-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-youtube"
105+
<a class="nav-item nav-link" href="https://www.youtube.com/@mstfcckofficial?sub_confirmation=1" target="_blank">
106+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-youtube"
110107
viewBox="0 0 16 16">
111108
<path
112109
d="M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z" />
113110
</svg>
114111
</a>
115-
</div>
116112
</div>
113+
117114
<div class="col">
118-
<div class="text-center">
119-
<a class="nav-item nav-link link-body-emphasis" href="https://www.instagram.com/mstfcckofficial"
115+
<a class="nav-item nav-link" href="https://www.instagram.com/mstfcckofficial"
120116
target="_blank">
121-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-instagram"
117+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-instagram"
122118
viewBox="0 0 16 16">
123119
<path
124120
d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.9 3.9 0 0 0-1.417.923A3.9 3.9 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.9 3.9 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.9 3.9 0 0 0-.923-1.417A3.9 3.9 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599s.453.546.598.92c.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.5 2.5 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.5 2.5 0 0 1-.92-.598 2.5 2.5 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233s.008-2.388.046-3.231c.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92s.546-.453.92-.598c.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92m-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217m0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334" />
125121
</svg>
126122
</a>
127-
</div>
128123
</div>
124+
129125
<div class="col">
130-
<div class="text-center">
131-
<a class="nav-item nav-link link-body-emphasis" href="https://www.tiktok.com/@mstfcckofficial"
126+
<a class="nav-item nav-link" href="https://www.tiktok.com/@mstfcckofficial"
132127
target="_blank">
133-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-tiktok"
128+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-tiktok"
134129
viewBox="0 0 16 16">
135130
<path
136131
d="M9 0h1.98c.144.715.54 1.617 1.235 2.512C12.895 3.389 13.797 4 15 4v2c-1.753 0-3.07-.814-4-1.829V11a5 5 0 1 1-5-5v2a3 3 0 1 0 3 3z" />
137132
</svg>
138133
</a>
139-
</div>
140134
</div>
135+
141136
<div class="col">
142-
<div class="text-center">
143-
<a class="nav-item nav-link link-body-emphasis" href="https://www.facebook.com/mstfcckofficial"
137+
<a class="nav-item nav-link" href="https://www.facebook.com/mstfcckofficial"
144138
target="_blank">
145-
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor" class="bi bi-facebook"
139+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="bi bi-facebook"
146140
viewBox="0 0 16 16">
147141
<path
148142
d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951" />
149143
</svg>
150144
</a>
151-
</div>
152145
</div>
146+
153147
</div>
148+
154149
</div>
155150

156151
<hr>
157152

158153
<main class="container">
159154

155+
<div class="p-4 p-md-5 mb-4 rounded text-body-emphasis bg-body-secondary">
156+
<div class="col">
157+
<h1 class="display-4">Hi there,</h1>
158+
<p class="lead my-3">I'm Mustafa Çiçek, hope the content I shared was useful.</p>
159+
<p class="lead my-3">In a moment, I will show you the link I used while preparing the content and <b>"which you clicked"</b>.</p>
160+
<p class="lead my-3">You will be able to access it from the link below <span class="text-decoration-underline">in a few seconds.</span></p>
161+
</div>
162+
</div>
163+
160164
<div class="col">
161-
<div class="countdown" id="countdown">5 second(s)</div>
165+
<a id="content-link" class="text-decoration-none" href="#" target="_blank">
166+
<div id="content-text" class="content-text">Please wait...</div>
167+
</a>
162168
</div>
163169

164170
</main>

links/script.js

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const urlMappings = new Map([
2+
["test", "#"],
23
["mstfcckofficial-youtube", "https://www.youtube.com/@mstfcckofficial"],
34
["mstfcckofficial-instagram", "https://www.instagram.com/mstfcckofficial"],
45
["mstfcckofficial-tiktok", "https://www.tiktok.com/@mstfcckofficial"],
@@ -23,7 +24,8 @@ const urlMappings = new Map([
2324

2425
const queryString = window.location.search;
2526
const urlParams = new URLSearchParams(queryString);
26-
const countdownElement = document.getElementById('countdown');
27+
const linkElement = document.getElementById('content-link');
28+
const linkTextElement = document.getElementById('content-text');
2729

2830
if (urlParams.has('go')) {
2931

@@ -33,22 +35,33 @@ if (urlParams.has('go')) {
3335

3436
const redirectTo = urlMappings.get(goValue);
3537

36-
let countdownValue = 5;
38+
let countdownValue = 10;
3739

3840
const countdownInterval = setInterval(() => {
39-
countdownElement.textContent = countdownValue + " second(s)" ;
41+
4042
countdownValue--;
41-
42-
if (countdownValue < 0) {
43+
44+
if (countdownValue <= 0) {
45+
4346
clearInterval(countdownInterval);
44-
window.location.replace(redirectTo)
47+
48+
linkElement.setAttribute("href", redirectTo);
49+
50+
linkTextElement.style.transform = 'scale(1)';
51+
linkTextElement.style.animation = 'gradient 5s infinite alternate';
52+
linkTextElement.style.backgroundImage = 'linear-gradient(45deg, #00d77d, #00c9ff, #00c9ff, #00d77d)';
53+
linkTextElement.textContent = 'Click here to go :)';
54+
4555
}
56+
4657
}, 1000);
47-
58+
4859
} else {
49-
countdownElement.textContent = "Wrong link!";
60+
linkTextElement.textContent = "Wrong link :(";
61+
linkTextElement.style.backgroundImage = 'linear-gradient(90deg, #ff0080, #ff5555, #ff8a00, #ff5555)';
5062
}
5163
}
5264
else {
53-
countdownElement.textContent = "Wrong link!";
54-
}
65+
linkTextElement.textContent = "Wrong link :(";
66+
linkTextElement.style.backgroundImage = 'linear-gradient(90deg, #ff0080, #ff5555, #ff8a00, #ff5555)';
67+
}

links/styles.css

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
2-
.countdown {
1+
.content-text {
32
font-size: 22px;
43
color: #fff;
5-
background-color: #1a1a1a;
64
padding: 20px;
75
margin: 10px;
86
border-radius: 10px;
9-
animation: pulse 1s infinite alternate;
107
text-align: center;
8+
animation: pulse 1s infinite alternate, gradient 3s infinite;
9+
background: linear-gradient(45deg, #ff8a00, #e52e71, #2962ff, #00c9ff);
10+
11+
background-size: 400% 400%;
1112
}
1213

1314
@keyframes pulse {
@@ -18,3 +19,15 @@
1819
transform: scale(1.1);
1920
}
2021
}
22+
23+
@keyframes gradient {
24+
0% {
25+
background-position: 0% 50%;
26+
}
27+
50% {
28+
background-position: 100% 50%;
29+
}
30+
100% {
31+
background-position: 0% 50%;
32+
}
33+
}

0 commit comments

Comments
 (0)