bibhamrokhanpin/wp-content/__plugins/under-construction-page/themes/light_bulb/index.php

74 lines
2.1 KiB
PHP
Raw Permalink Normal View History

2024-04-10 12:01:06 +00:00
<?php
/*
* UnderConstructionPage
* Light Bulb theme
* (c) WebFactory Ltd, 2015 - 2021
*/
// this is an include only WP file
if (!defined('ABSPATH')) {
die;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>[title]</title>
<meta name="description" content="[description]" />
<meta name="generator" content="[generator]">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nunito:400,900">
[head]
</head>
<body>
<div class="container top-container">
<div class="row display-table">
<div class="col-lg-offset-1 col-xs-12 col-md-12 col-lg-5 display-cell">
<h1>[heading1]</h1>
</div>
<div class="col-xs-12 col-md-12 col-lg-5 display-cell">
<div id="hero-image">
<img class="fadein" src="[theme-url]light_bulb_off.png" alt="Switching on the site soon ..." title="Switching on the site soon ...">
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-xs-12 col-md-8 col-md-offset-2 col-lg-offset-2 col-lg-8">
<p class="content">[content]</p>
</div>
</div>
<div class="row" id="social">
<div class="col-xs-12 col-md-12 col-lg-12">
[social-icons]
</div>
</div>
</div>
[footer]
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script type="text/javascript">
jQuery(function($) {
var std = $('.fadein').attr('src');
var hover = std.replace('_off', '_on');
$('.fadein').clone().insertAfter('.fadein').attr('src', hover).removeClass('fadein').siblings().css({
position:'absolute'
});
$('.fadein').mouseenter(function() {
$('.fadein').stop().fadeTo(600, 0);
}).mouseleave(function() {
$('.fadein').stop().fadeTo(400, 1);
});
});
</script>
</body>
</html>