FumbleAround/landing.html

213 lines
6.1 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to FumbleAround</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
margin: 0;
padding: 20px;
text-align: center;
background: linear-gradient(135deg, #ff4500 0%, #ff6b4a 100%);
color: white;
}
.container {
max-width: 600px;
padding: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: 20px;
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 2.5em;
margin-bottom: 20px;
}
.logo {
width: 120px;
height: 120px;
margin-bottom: 30px;
}
p {
font-size: 1.2em;
line-height: 1.6;
margin-bottom: 20px;
}
.instructions {
font-size: 1.1em;
background: rgba(255, 255, 255, 0.2);
padding: 20px;
border-radius: 10px;
margin-top: 30px;
}
.shake-icon {
font-size: 2em;
margin: 10px 0;
}
.disclaimer-banner {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(255, 69, 0, 0.95);
color: white;
padding: 15px 25px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
max-width: 90%;
width: 500px;
text-align: center;
z-index: 1000;
display: none; /* Hidden by default */
}
.dark-mode .disclaimer-banner {
background: rgba(255, 107, 74, 0.95);
}
.disclaimer-banner.show {
display: block;
animation: slideUp 0.3s ease-out;
}
.disclaimer-content {
margin-bottom: 15px;
font-size: 0.9em;
line-height: 1.5;
}
.disclaimer-buttons {
display: flex;
justify-content: center;
gap: 10px;
}
.disclaimer-button {
padding: 8px 16px;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
transition: background-color 0.2s ease;
}
.disclaimer-accept {
background-color: white;
color: #ff4500;
}
.disclaimer-accept:hover {
background-color: #f0f0f0;
}
.disclaimer-info {
background-color: transparent;
border: 1px solid white;
color: white;
}
.disclaimer-info:hover {
background-color: rgba(255, 255, 255, 0.1);
}
@keyframes slideUp {
from {
opacity: 0;
transform: translate(-50%, 20px);
}
to {
opacity: 1;
transform: translate(-50%, 0);
}
}
@media (max-width: 768px) {
body {
padding: 15px;
}
.container {
padding: 20px;
}
h1 {
font-size: 2em;
}
.logo {
width: 100px;
height: 100px;
}
p {
font-size: 1em;
}
.disclaimer-banner {
bottom: 80px; /* Adjust for mobile header */
}
}
</style>
</head>
<body>
<div class="container">
<img src="./Assets/smily.png" alt="FumbleAround Logo" class="logo">
<h1>Welcome to FumbleAround!</h1>
<p>Ready to explore the hidden gems of the internet? FumbleAround helps you discover interesting websites you might never find otherwise.</p>
<p>Click the "Fumble!" button or use the shake gesture on mobile to start your journey.</p>
<div class="instructions">
<p>💡 <strong>Pro Tips:</strong></p>
<p>🌙 Toggle dark mode for comfortable browsing</p>
<p>📱 On mobile, shake your device to fumble!</p>
<div class="shake-icon">📱↔️</div>
<p>❓ Check the help section for more information</p>
</div>
</div>
<div class="disclaimer-banner" id="disclaimerBanner">
<div class="disclaimer-content">
⚠️ Please Note: Content is randomly pulled from Wiby.me and is not curated by FumbleAround.
Some content may be sensitive or intended for mature audiences.
For the best experience, use FumbleAround on desktop or in landscape mode, as many indie websites are not optimized for mobile viewing.
</div>
<div class="disclaimer-buttons">
<button class="disclaimer-button disclaimer-accept" id="acceptDisclaimer">I Understand</button>
<button class="disclaimer-button disclaimer-info" id="moreInfo">More Info</button>
</div>
</div>
<script>
// Show disclaimer if not previously accepted
if (!localStorage.getItem('disclaimerAccepted')) {
document.getElementById('disclaimerBanner').classList.add('show');
}
// Handle disclaimer acceptance
document.getElementById('acceptDisclaimer').addEventListener('click', () => {
localStorage.setItem('disclaimerAccepted', 'true');
document.getElementById('disclaimerBanner').classList.remove('show');
});
// Handle more info button
document.getElementById('moreInfo').addEventListener('click', () => {
// Open settings panel in main window to show full disclaimer
window.parent.document.getElementById('settingsButton').click();
});
</script>
</body>
</html>