WeatherAcess
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Jefco Aeromod'lers RC Club Access</title>
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<meta name="description" content="Secure access page for Jefco Aeromod'lers RC Club members to view weather data.">
<meta property="og:title" content="Jefco Aeromod'lers Weather Access">
<meta property="og:description" content="Click to enable access to the club's weather pages.">
<meta property="og:image" content="https://jeffcoaeromodlers.com/images/Wind_Socks.png">
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
background-image: url('Field_ May21.jpg'); /* Replace with actual image */
background-size: cover;
background-position: center;
color: white;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
width: 90%;
max-width: 600px;
background: rgba(0, 0, 0, 0.7);
padding: 20px;
border-radius: 10px;
}
img.logo {
width: 100%;
max-width: 150px;
margin-bottom: 20px;
}
button {
background-color: #008CBA;
color: white;
padding: 15px;
font-size: 18px;
border: none;
border-radius: 5px;
cursor: pointer;
width: 100%;
max-width: 300px;
margin: 10px auto;
display: block;
}
button:hover {
background-color: #005f73;
}
.success-message {
display: none;
margin-top: 15px;
font-size: 18px;
color: lightgreen;
}
@media (max-width: 600px) {
.container {
width: 95%;
padding: 15px;
}
button {
font-size: 16px;
padding: 12px;
}
}
</style>
<script>
function setCookie() {
document.cookie = "membership=true; path=/;";
document.getElementById("successMessage").style.display = "block"; // Show success message
document.getElementById("continueButton").style.display = "block"; // Show next button
document.getElementById("acceptButton").style.display = "none"; // Hide accept button
}
</script>
</head>
<body>
<div class="container">
<img src="Wind_Socks.png" alt="Club Logo" class="logo"> <!-- Replace with actual logo -->
<h1>Jefco Aeromod'lers RC Club Members Only</h1>
<h2>To gain full access to the club's weather page, click the button below.</h2>
<p>This will place a cookie in your browser, providing full access to the weather pages.</p>
<p><strong>Note:</strong> This process must be repeated for each device and browser once (phone, computer, tablet).</p>
<button id="acceptButton" onclick="setCookie()">Accept & Continue</button>
<p id="successMessage" class="success-message">? Cookie added successfully! You now have access for this device.</p>
<button id="continueButton" style="display: none;" onclick="window.location.href='https://jeffcoaeromodlers.com/weather/week.html';">
Go to Club's Weather Page
</button>
</div>
</body>
</html>