Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
remove popup
Browse files Browse the repository at this point in the history
  • Loading branch information
Donata Petkeviciute committed Mar 14, 2024
1 parent c19a998 commit b1a20ca
Show file tree
Hide file tree
Showing 161 changed files with 0 additions and 8,855 deletions.
55 changes: 0 additions & 55 deletions ch/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,60 +232,5 @@ <h1>404 Page not found</h1>
</script>


<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<div class="popup">
<button id="close">&times;</button>
<a href="/en/webinar">
<img src="/2023-01-19-jobrunr-webinar.jpeg" width="100%" height="100%"/>
</a>
</div>

<script type="text/javascript">
window.addEventListener("load", (event) => {
const webinarDate = new Date("2023-01-25T00:00:00.000Z");
const timesShown = parseInt(Cookies.get('jobrunr-webinar')) || 0;
const webinarShownToday = Cookies.get('jobrunr-webinar-shown-today') || false;
if(!webinarShownToday && timesShown <= 3) {
setTimeout(
function open(event){
document.querySelector(".popup").style.display = "block";
Cookies.set('jobrunr-webinar', (timesShown + 1), { expires: webinarDate })
Cookies.set('jobrunr-webinar-shown-today', true, { expires: 1 })
},
2000);
}
});
document.querySelector("#close").addEventListener("click", () => {
document.querySelector(".popup").style.display = "none";
});
</script>
<style>
.popup{
background-color: #000;
width: 450px;
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 50%;
border-radius: 8px;
font-family: "Poppins",sans-serif;
display: none;
text-align: center;
z-index: 2000;
}
.popup button{
position: absolute;
float: right;
left: 93%;
background-color: transparent;
font-size: 30px;
color: #c5c5c5;
border: none;
outline: none;
cursor: pointer;
z-index: 2010;
}
</style>

</body>
</html>
55 changes: 0 additions & 55 deletions ch/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -630,60 +630,5 @@ <h2 style="margin: 0 0 .5em;">Receive updates</h2>
</script>


<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<div class="popup">
<button id="close">&times;</button>
<a href="/en/webinar">
<img src="/2023-01-19-jobrunr-webinar.jpeg" width="100%" height="100%"/>
</a>
</div>

<script type="text/javascript">
window.addEventListener("load", (event) => {
const webinarDate = new Date("2023-01-25T00:00:00.000Z");
const timesShown = parseInt(Cookies.get('jobrunr-webinar')) || 0;
const webinarShownToday = Cookies.get('jobrunr-webinar-shown-today') || false;
if(!webinarShownToday && timesShown <= 3) {
setTimeout(
function open(event){
document.querySelector(".popup").style.display = "block";
Cookies.set('jobrunr-webinar', (timesShown + 1), { expires: webinarDate })
Cookies.set('jobrunr-webinar-shown-today', true, { expires: 1 })
},
2000);
}
});
document.querySelector("#close").addEventListener("click", () => {
document.querySelector(".popup").style.display = "none";
});
</script>
<style>
.popup{
background-color: #000;
width: 450px;
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 50%;
border-radius: 8px;
font-family: "Poppins",sans-serif;
display: none;
text-align: center;
z-index: 2000;
}
.popup button{
position: absolute;
float: right;
left: 93%;
background-color: transparent;
font-size: 30px;
color: #c5c5c5;
border: none;
outline: none;
cursor: pointer;
z-index: 2010;
}
</style>

</body>
</html>
55 changes: 0 additions & 55 deletions en/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,60 +242,5 @@ <h1>404 Page not found</h1>
</script>


<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<div class="popup">
<button id="close">&times;</button>
<a href="/en/webinar">
<img src="/2023-01-19-jobrunr-webinar.jpeg" width="100%" height="100%"/>
</a>
</div>

<script type="text/javascript">
window.addEventListener("load", (event) => {
const webinarDate = new Date("2023-01-25T00:00:00.000Z");
const timesShown = parseInt(Cookies.get('jobrunr-webinar')) || 0;
const webinarShownToday = Cookies.get('jobrunr-webinar-shown-today') || false;
if(!webinarShownToday && timesShown <= 3) {
setTimeout(
function open(event){
document.querySelector(".popup").style.display = "block";
Cookies.set('jobrunr-webinar', (timesShown + 1), { expires: webinarDate })
Cookies.set('jobrunr-webinar-shown-today', true, { expires: 1 })
},
2000);
}
});
document.querySelector("#close").addEventListener("click", () => {
document.querySelector(".popup").style.display = "none";
});
</script>
<style>
.popup{
background-color: #000;
width: 450px;
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 50%;
border-radius: 8px;
font-family: "Poppins",sans-serif;
display: none;
text-align: center;
z-index: 2000;
}
.popup button{
position: absolute;
float: right;
left: 93%;
background-color: transparent;
font-size: 30px;
color: #c5c5c5;
border: none;
outline: none;
cursor: pointer;
z-index: 2010;
}
</style>

</body>
</html>
55 changes: 0 additions & 55 deletions en/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,60 +252,5 @@ <h2 id="credits">Credits</h2>
</script>


<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<div class="popup">
<button id="close">&times;</button>
<a href="/en/webinar">
<img src="/2023-01-19-jobrunr-webinar.jpeg" width="100%" height="100%"/>
</a>
</div>

<script type="text/javascript">
window.addEventListener("load", (event) => {
const webinarDate = new Date("2023-01-25T00:00:00.000Z");
const timesShown = parseInt(Cookies.get('jobrunr-webinar')) || 0;
const webinarShownToday = Cookies.get('jobrunr-webinar-shown-today') || false;
if(!webinarShownToday && timesShown <= 3) {
setTimeout(
function open(event){
document.querySelector(".popup").style.display = "block";
Cookies.set('jobrunr-webinar', (timesShown + 1), { expires: webinarDate })
Cookies.set('jobrunr-webinar-shown-today', true, { expires: 1 })
},
2000);
}
});
document.querySelector("#close").addEventListener("click", () => {
document.querySelector(".popup").style.display = "none";
});
</script>
<style>
.popup{
background-color: #000;
width: 450px;
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 50%;
border-radius: 8px;
font-family: "Poppins",sans-serif;
display: none;
text-align: center;
z-index: 2000;
}
.popup button{
position: absolute;
float: right;
left: 93%;
background-color: transparent;
font-size: 30px;
color: #c5c5c5;
border: none;
outline: none;
cursor: pointer;
z-index: 2010;
}
</style>

</body>
</html>
55 changes: 0 additions & 55 deletions en/blog/2020-04-08-jobrunr-release/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,60 +307,5 @@ <h3 id="the-benefits">The benefits:</h3>
</script>


<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<div class="popup">
<button id="close">&times;</button>
<a href="/en/webinar">
<img src="/2023-01-19-jobrunr-webinar.jpeg" width="100%" height="100%"/>
</a>
</div>

<script type="text/javascript">
window.addEventListener("load", (event) => {
const webinarDate = new Date("2023-01-25T00:00:00.000Z");
const timesShown = parseInt(Cookies.get('jobrunr-webinar')) || 0;
const webinarShownToday = Cookies.get('jobrunr-webinar-shown-today') || false;
if(!webinarShownToday && timesShown <= 3) {
setTimeout(
function open(event){
document.querySelector(".popup").style.display = "block";
Cookies.set('jobrunr-webinar', (timesShown + 1), { expires: webinarDate })
Cookies.set('jobrunr-webinar-shown-today', true, { expires: 1 })
},
2000);
}
});
document.querySelector("#close").addEventListener("click", () => {
document.querySelector(".popup").style.display = "none";
});
</script>
<style>
.popup{
background-color: #000;
width: 450px;
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 50%;
border-radius: 8px;
font-family: "Poppins",sans-serif;
display: none;
text-align: center;
z-index: 2000;
}
.popup button{
position: absolute;
float: right;
left: 93%;
background-color: transparent;
font-size: 30px;
color: #c5c5c5;
border: none;
outline: none;
cursor: pointer;
z-index: 2010;
}
</style>

</body>
</html>
55 changes: 0 additions & 55 deletions en/blog/2020-04-20-v09-0/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -304,60 +304,5 @@ <h2 id="redis-support">Redis support!</h2>
</script>


<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js"></script>
<div class="popup">
<button id="close">&times;</button>
<a href="/en/webinar">
<img src="/2023-01-19-jobrunr-webinar.jpeg" width="100%" height="100%"/>
</a>
</div>

<script type="text/javascript">
window.addEventListener("load", (event) => {
const webinarDate = new Date("2023-01-25T00:00:00.000Z");
const timesShown = parseInt(Cookies.get('jobrunr-webinar')) || 0;
const webinarShownToday = Cookies.get('jobrunr-webinar-shown-today') || false;
if(!webinarShownToday && timesShown <= 3) {
setTimeout(
function open(event){
document.querySelector(".popup").style.display = "block";
Cookies.set('jobrunr-webinar', (timesShown + 1), { expires: webinarDate })
Cookies.set('jobrunr-webinar-shown-today', true, { expires: 1 })
},
2000);
}
});
document.querySelector("#close").addEventListener("click", () => {
document.querySelector(".popup").style.display = "none";
});
</script>
<style>
.popup{
background-color: #000;
width: 450px;
position: absolute;
transform: translate(-50%,-50%);
left: 50%;
top: 50%;
border-radius: 8px;
font-family: "Poppins",sans-serif;
display: none;
text-align: center;
z-index: 2000;
}
.popup button{
position: absolute;
float: right;
left: 93%;
background-color: transparent;
font-size: 30px;
color: #c5c5c5;
border: none;
outline: none;
cursor: pointer;
z-index: 2010;
}
</style>

</body>
</html>
Loading

0 comments on commit b1a20ca

Please sign in to comment.