<!DOCTYPE html>
<html lang="he">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>אישור גיל</title>
<style>
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #f4f4f4;
}
.popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.popup-content {
background: #fff;
padding: 20px;
border-radius: 10px;
text-align: center;
width: 90%;
max-width: 400px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.popup-content img {
width: 80px;
height: 80px;
margin-bottom: 15px;
}
.popup-content .logo {
width: 100px;
height: auto;
margin-bottom: 20px;
display: block;
margin-left: auto;
margin-right: auto;
}
.popup-content h2 {
color: #333;
font-size: 1.8em;
margin-bottom: 10px;
}
.popup-content p {
color: #666;
margin-bottom: 20px;
font-size: 1em;
}
.popup-content button {
background-color: #4caf50;
color: #fff;
border: none;
padding: 10px 20px;
font-size: 1em;
border-radius: 5px;
cursor: pointer;
margin: 0 10px;
}
.popup-content button:hover {
background-color: #45a049;
}
.popup-content .decline-btn {
background-color: #f44336;
}
.popup-content .decline-btn:hover {
background-color: #d32f2f;
}
</style>
</head>
<body>
<div class="popup-overlay" id="agePopup">
<div class="popup-content">
<img class="logo" src="Artboard – 1.png" alt="הלוגו שלך">
<img src="https://emojigraph.org/media/openmoji/no-one-under-eighteen_1f51e.png" alt="אייקון גיל">
<h2>אישור גיל</h2>
<p>.אנא אשרו שאתם מעל גיל 18 על מנת להמשיך</p>
<button onclick="acceptAge()">אני מעל גיל 18</button>
<button class="decline-btn" onclick="declineAge()">אני מתחת לגיל 18</button>
</div>
</div>
<script>
function acceptAge() {
document.getElementById('agePopup').style.display = 'none';
}
function declineAge() {
alert('מצטערים, אינכם יכולים להיכנס לאתר זה.');
window.location.href = 'https://www.google.com';
}
</script>
</body>
</html>
חוות דעת
אין עדיין חוות דעת.