update index.html

This commit is contained in:
Grzegorz 2021-03-09 10:08:23 +01:00
parent 0df215028c
commit 18e042d13d

View File

@ -1,87 +1,81 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head>
<head> <meta charset="UTF-8" />
<meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta http-equiv="x-ua-compatible" content="ie=edge" /> <title>Material Design for Bootstrap</title>
<title>Material Design for Bootstrap</title> <!-- MDB icon -->
<!-- MDB icon --> <link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" /> <!-- Font Awesome -->
<!-- Font Awesome --> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" /> <!-- Google Fonts Roboto -->
<!-- Google Fonts Roboto --> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" /> <!-- MDB -->
<!-- MDB --> <link rel="stylesheet" href="css/mdb.min.css" />
<link rel="stylesheet" href="css/mdb.min.css" /> </head>
</head> <body>
<!-- Start your project here-->
<body> <div class="container">
<!-- Start your project here--> <div class="d-flex justify-content-center align-items-center" style="height: 100vh;">
<div class="container"> <div class="text-center">
<div class="d-flex justify-content-center align-items-center" style="height: 100vh;"> <h2>Release surprise! </h2>
<div class="text-center"> <p class="h4 fw-bold">50% OFF MDB PRO</p>
<h2>Release surprise! </h2> <div class="row justify-content-center">
<p class="h4 fw-bold">50% OFF MDB PRO</p> <div class="col-md-6">
<div class="row justify-content-center"> <img src="https://mdbootstrap.com/img/Marketing/campaigns/50off-SJARV.png" class="img-fluid" alt="" />
<div class="col-md-6"> </div>
<img src="https://mdbootstrap.com/img/Marketing/campaigns/50off-SJARV.png" class="img-fluid" alt="" />
</div> </div>
<h5 class="mb-3">Use this coupon code before it expires and claim the reward</h5>
<p class="mb-3">The coupon code will be valid until the end of the week</p>
<div class="mt-2">
<!--Coupon code-->
<code class="h2 border rounded py-1 px-5 flex-item me-2">T9TTVSQB</code>
<br>
<!--Copy to clipboard-->
<a id="disc-50" href="#" type="button" class="btn-lg btn-info" style="background-color: #009FE7;">COPY TO
CLIPBOARD <i class="far fa-copy ml-2"></i></a>
<a class="btn btn-outline-primary btn-lg mt-3" href="https://mdbootstrap.com/docs/standard/getting-started/"
target="_blank" style="border-color: #009FE7; color: #009FE7;" role="button">Start MDB tutorial</a>
</div>
<p>See <a href="https://mdbootstrap.com/pro/">prices</a></p>
<div class=" my-2 alert alert-success" id="code-success" style="display: none;">
Copied
</div>
</div> </div>
<h5 class="mb-3">Use this coupon code before it expires and claim the reward</h5>
<p class="mb-3">The coupon code will be valid until the end of the week</p>
<div class="mt-2">
<!--Coupon code-->
<code class="h2 border rounded py-1 px-5 flex-item me-2">T9TTVSQB</code>
<br>
<!--Copy to clipboard-->
<a id="disc-50" href="#" type="button" class="btn-lg btn-info" style="background-color: #009FE7;">COPY TO
CLIPBOARD <i class="far fa-copy ml-2"></i></a>
<a class="btn btn-outline-primary btn-lg mt-3" href="https://mdbootstrap.com/docs/standard/getting-started/"
target="_blank" style="border-color: #009FE7; color: #009FE7;" role="button">Start MDB tutorial</a>
</div>
<p>See <a href="https://mdbootstrap.com/pro/">prices</a></p>
<div class=" my-2 alert alert-success" id="code-success" style="display: none;">
Copied
</div>
</div> </div>
</div> </div>
</div> <!-- End your project here-->
<!-- End your project here-->
<!-- MDB -->
<!-- MDB --> <script type="text/javascript" src="js/mdb.min.js"></script>
<script type="text/javascript" src="js/mdb.min.js"></script> <!-- Custom scripts -->
<!-- Custom scripts --> <script type="text/javascript">
<script type="text/javascript"> var a = document.getElementById('disc-50');
var a = document.getElementById('disc-50'); a.onclick = function () {
a.onclick = function () { Clipboard_CopyTo("T9TTVSQB");
Clipboard_CopyTo("T9TTVSQB"); var div = document.getElementById('code-success');
var div = document.getElementById('code-success'); div.style.display = 'block';
div.style.display = 'block'; setTimeout(function () {
setTimeout(function () { document.getElementById('code-success').style.display = 'none';
document.getElementById('code-success').style.display = 'none'; }, 900);
}, 900); };
}; function Clipboard_CopyTo(value) {
var tempInput = document.createElement("input");
function Clipboard_CopyTo(value) { tempInput.value = value;
var tempInput = document.createElement("input"); document.body.appendChild(tempInput);
tempInput.value = value; tempInput.select();
document.body.appendChild(tempInput); document.execCommand("copy");
tempInput.select(); document.body.removeChild(tempInput);
document.execCommand("copy"); }
document.body.removeChild(tempInput); </script>
} </body>
</script> </html>
</body>
</html>