2020-12-17 11:06:16 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge" />
|
|
|
|
<title>Material Design for Bootstrap</title>
|
|
|
|
<!-- MDB icon -->
|
|
|
|
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
|
|
|
|
<!-- Font Awesome -->
|
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css" />
|
|
|
|
<!-- Google Fonts Roboto -->
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap"
|
|
|
|
/>
|
|
|
|
<!-- MDB -->
|
|
|
|
<link rel="stylesheet" href="css/mdb.min.css" />
|
|
|
|
<!-- Custom styles -->
|
2020-12-30 17:22:44 +03:00
|
|
|
<style></style>
|
2020-12-17 11:06:16 +03:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!-- Start your project here-->
|
2020-12-30 17:27:37 +03:00
|
|
|
<div class="container">
|
|
|
|
<div class="d-flex justify-content-center align-items-center" style="height: 100vh;">
|
|
|
|
<div class="text-center">
|
2020-12-30 17:35:18 +03:00
|
|
|
<!-- <i class="fas fa-ticket-alt fa-10x"></i> -->
|
2020-12-30 17:27:37 +03:00
|
|
|
<img
|
2020-12-30 17:35:18 +03:00
|
|
|
src="https://mdbootstrap.com/img/Marketing/other/mdb50off.png"
|
|
|
|
height="150px"
|
|
|
|
width="150px"
|
2020-12-30 17:27:37 +03:00
|
|
|
/>
|
2020-12-30 17:36:55 +03:00
|
|
|
<h5 class="mb-3">Release surprise! 50% OFF MDB 5 PRO</h5>
|
2020-12-30 17:35:18 +03:00
|
|
|
|
|
|
|
<p>
|
|
|
|
Use this coupon code before the next release to claim the reward.<br />Hurry up & don't
|
|
|
|
loose your chance.
|
|
|
|
</p>
|
2020-12-30 17:36:55 +03:00
|
|
|
|
2020-12-30 17:35:18 +03:00
|
|
|
<p>
|
|
|
|
<code class="text-uppercase h1 px-2 rounded bg-dark text-white">MB8XW23V</code>
|
|
|
|
</p>
|
2020-12-30 17:33:17 +03:00
|
|
|
<a
|
|
|
|
class="btn btn-primary btn-lg"
|
2020-12-30 17:35:18 +03:00
|
|
|
onclick="copy('MB8XW23V');toastr.info('Coupon code copied! Use it on the checkout.');"
|
|
|
|
target="_blank"
|
|
|
|
role="button"
|
2020-12-30 17:36:55 +03:00
|
|
|
id="code-button"
|
2020-12-30 17:35:18 +03:00
|
|
|
>CLAIM DISCOUNT</a
|
|
|
|
>
|
2020-12-30 17:36:55 +03:00
|
|
|
|
2020-12-30 17:35:18 +03:00
|
|
|
<a
|
|
|
|
class="btn btn-outline-primary btn-lg"
|
2020-12-30 17:33:17 +03:00
|
|
|
href="https://mdbootstrap.com/docs/standard/getting-started/"
|
|
|
|
target="_blank"
|
|
|
|
role="button"
|
2020-12-30 17:35:18 +03:00
|
|
|
>START TUTORIAL</a
|
2020-12-30 17:33:17 +03:00
|
|
|
>
|
2020-12-30 17:36:55 +03:00
|
|
|
<div class="my-2 alert alert-success" id="code-success" style="display: none;">
|
|
|
|
Copied
|
|
|
|
</div>
|
|
|
|
<p>See <a href="https://mdbootstrap.com/docs/standard/pro/">prices</a></p>
|
2020-12-30 17:35:18 +03:00
|
|
|
<h5 class="h1-responsive text-uppercase mt-3">
|
|
|
|
the code <span class="font-weight-bold"></span> expires in:<br />
|
|
|
|
<span class="font-weight-bold" id="time-counter"></span>
|
|
|
|
</h5>
|
2020-12-30 17:27:37 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-11 17:59:31 +03:00
|
|
|
</div>
|
2020-12-17 11:06:16 +03:00
|
|
|
<!-- End your project here-->
|
|
|
|
</body>
|
2017-09-22 19:43:08 +03:00
|
|
|
|
2020-12-17 11:06:16 +03:00
|
|
|
<!-- MDB -->
|
|
|
|
<script type="text/javascript" src="js/mdb.min.js"></script>
|
|
|
|
<!-- Custom scripts -->
|
2020-12-30 17:35:18 +03:00
|
|
|
<script type="text/javascript">
|
2020-12-30 17:36:55 +03:00
|
|
|
var button = document.getElementById('code-button');
|
|
|
|
button.onclick = function () {
|
|
|
|
var div = document.getElementById('code-success');
|
|
|
|
if (div.style.display !== 'none') {
|
|
|
|
div.style.display = 'none';
|
|
|
|
} else {
|
|
|
|
div.style.display = 'block';
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2020-12-30 17:35:18 +03:00
|
|
|
function copy(text) {
|
|
|
|
var textarea = document.createElement('textarea');
|
|
|
|
textarea.value = text;
|
|
|
|
document.body.appendChild(textarea);
|
|
|
|
textarea.select();
|
|
|
|
document.execCommand('copy');
|
|
|
|
document.body.removeChild(textarea);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Ad counter
|
|
|
|
// Set the date we're counting down to
|
2020-12-30 17:36:55 +03:00
|
|
|
var countDownDate = new Date(Date.UTC(2020, 10, 17, 10, 00, 00));
|
2020-12-30 17:35:18 +03:00
|
|
|
var counterElement = document.getElementById('time-counter');
|
|
|
|
|
|
|
|
// Update the count down every 1 second
|
|
|
|
function startCounter() {
|
|
|
|
//wrapped in an if to prevent console errors if the element isn't found on the page
|
|
|
|
if (counterElement == null) {
|
|
|
|
return;
|
|
|
|
} else {
|
|
|
|
var x = setInterval(function () {
|
|
|
|
// Get todays date and time
|
|
|
|
var now = new Date().getTime();
|
|
|
|
|
|
|
|
// Find the distance between now an the count down date
|
|
|
|
var distance = countDownDate - now;
|
|
|
|
|
|
|
|
// Time calculations for days, hours, minutes and seconds
|
|
|
|
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
|
|
|
|
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
|
|
|
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
|
|
|
|
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
|
|
|
|
|
|
|
|
// Display the result in the element with id="demo"
|
|
|
|
counterElement.innerHTML = days + 'd ' + hours + 'h ' + minutes + 'm ' + seconds + 's';
|
|
|
|
|
|
|
|
// If the count down is finished, write some text
|
|
|
|
if (distance < 0) {
|
|
|
|
clearInterval(x);
|
|
|
|
document.getElementById('time-counter').innerHTML =
|
|
|
|
'<p class="h3 grey-text">Sale ended :(</p>';
|
|
|
|
}
|
|
|
|
}, 1000);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
startCounter();
|
|
|
|
</script>
|
2020-12-29 16:27:57 +03:00
|
|
|
</html>
|