ice/public/privacy.html
Claude Code ec60d6bd2a Add version footer and disable map scroll wheel zoom
- Add build-time version generation script that captures git commit info
- Create /api/version endpoint to serve version data
- Add version footer component showing commit SHA, date, and branch
- Link version SHA to commit on git.deco.sh for easy navigation
- Fix footer text duplication issue with i18n translations
- Disable mouse wheel zoom on map, require +/- buttons for better UX
- Update service worker cache to v4 with new version-footer.js

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 22:37:20 -04:00

148 lines
9.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy - Great Lakes Ice Report</title>
<!-- PWA Meta Tags -->
<meta name="description" content="Privacy policy for Great Lakes Ice Report - winter road conditions tracker">
<meta name="theme-color" content="#2196F3">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<meta name="apple-mobile-web-app-title" content="Ice Report Privacy">
<!-- PWA Manifest -->
<link rel="manifest" href="/manifest.json">
<!-- Icons -->
<link rel="icon" type="image/svg+xml" href="/icons/favicon.svg">
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLnNub3dmbGFrZSB7IGZpbGw6ICMyMTk2RjM7IH0KICAgICAgLmNlbnRlciB7IGZpbGw6ICMxOTc2RDI7IH0KICAgIDwvc3R5bGU+CiAgPC9kZWZzPgogIAogIDxnIGNsYXNzPSJzbm93Zmxha2UiPgogICAgPHJlY3QgeD0iMTUiIHk9IjIiIHdpZHRoPSIyIiBoZWlnaHQ9IjI4IiAvPgogICAgPHJlY3QgeD0iMiIgeT0iMTUiIHdpZHRoPSIyOCIgaGVpZ2h0PSIyIiAvPgogICAgPHJlY3QgeD0iMTUiIHk9IjIiIHdpZHRoPSIyIiBoZWlnaHQ9IjI4IiB0cmFuc2Zvcm09InJvdGF0ZSg0NSAxNiAxNikiIC8+CiAgICA8cmVjdCB4PSIxNSIgeT0iMiIgd2lkdGg9IjIiIGhlaWdodD0iMjgiIHRyYW5zZm9ybT0icm90YXRlKC00NSAxNiAxNikiIC8+CiAgICA8cG9seWdvbiBwb2ludHM9IjE2LDIgMTQsNiAxOCw2IiAvPgogICAgPHBvbHlnb24gcG9pbnRzPSIxNiwzMCAxNCwyNiAxOCwyNiIgLz4KICAgIDxwb2x5Z29uIHBvaW50cz0iMiwxNiA2LDE0IDYsMTgiIC8+CiAgICA8cG9seWdvbiBwb2ludHM9IjMwLDE2IDI2LDE0IDI2LDE4IiAvPgogICAgPHBvbHlnb24gcG9pbnRzPSI2LjMsNi4zIDguNiw0IDkuOSw3LjciIHRyYW5zZm9ybT0icm90YXRlKDQ1IDE2IDE2KSIgLz4KICAgIDxwb2x5Z29uIHBvaW50cz0iMjUuNywyNS43IDIzLjQsMjggMjIuMSwyNC4zIiB0cmFuc2Zvcm09InJvdGF0ZSg0NSAxNiAxNikiIC8+CiAgICA8cG9seWdvbiBwb2ludHM9IjYuMywyNS43IDguNiwyOCA5LjksMjQuMyIgdHJhbnNmb3JtPSJyb3RhdGUoLTQ1IDE2IDE2KSIgLz4KICAgIDxwb2x5Z29uIHBvaW50cz0iMjUuNyw2LjMgMjMuNCw0IDIyLjEsNy43IiB0cmFuc2Zvcm09InJvdGF0ZSgtNDUgMTYgMTYpIiAvPgogIDwvZz4KICA8Y2lyY2xlIGN4PSIxNiIgY3k9IjE2IiByPSIzIiBjbGFzcz0iY2VudGVyIiAvPgo8L3N2Zz4K">
<!-- Apple Touch Icons -->
<link rel="apple-touch-icon" sizes="152x152" href="/icons/icon-152.svg">
<link rel="apple-touch-icon" sizes="180x180" href="/icons/icon-192.svg">
<link rel="stylesheet" href="style.css">
<script>
// Apply theme immediately to prevent flash
(function() {
const savedTheme = localStorage.getItem('theme') || 'auto';
if (savedTheme === 'auto') {
const prefersDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
document.documentElement.setAttribute('data-theme', prefersDark ? 'dark' : 'light');
} else {
document.documentElement.setAttribute('data-theme', savedTheme);
}
})();
</script>
</head>
<body>
<div class="privacy-container">
<div class="privacy-header">
<div class="privacy-header__title-wrapper">
<div class="privacy-header__title-content">
<h1><a href="/" style="text-decoration: none; color: inherit;">❄️</a> Privacy Policy</h1>
<p>Great Lakes Ice Report</p>
</div>
<button id="theme-toggle" class="privacy-header__theme-toggle" title="Toggle theme mode">
<span class="theme-icon">🌙</span>
</button>
</div>
<div class="effective-date">Effective Date: January 2025</div>
</div>
<div class="privacy-content">
<h2>Our Commitment to Privacy</h2>
<p>Great Lakes Ice Report is a community safety tool designed to help residents share winter road conditions. We believe in transparency and minimal data collection.</p>
<h2>Information We Collect</h2>
<ul>
<li><strong>Location Reports:</strong> Address/location descriptions and coordinates you submit</li>
<li><strong>Optional Details:</strong> Any additional description you provide with reports</li>
<li><strong>Technical Data:</strong> IP address (for preventing abuse), browser type, and basic usage statistics</li>
<li><strong>Theme Preference:</strong> Your dark/light mode choice (stored locally on your device)</li>
</ul>
<h2>How We Use Your Information</h2>
<ul>
<li><strong>Display Reports:</strong> Show icy conditions on the public map for community awareness</li>
<li><strong>Auto-Cleanup:</strong> Reports automatically delete after 48 hours</li>
<li><strong>Prevent Abuse:</strong> Rate limiting and basic spam protection</li>
<li><strong>Service Improvement:</strong> Understanding usage patterns to improve the tool</li>
</ul>
<h2>Information Sharing</h2>
<p><strong>We do not sell, rent, or share your personal information with third parties.</strong></p>
<ul>
<li>Location reports are displayed publicly on the map (this is the service's purpose)</li>
<li>This service is operated from servers located outside the United States and may be subject to different legal requirements and jurisdictions</li>
<li>Anonymous usage statistics may be shared to improve community safety tools</li>
</ul>
<h2>Data Retention</h2>
<ul>
<li><strong>Reports:</strong> Automatically deleted after 48 hours (unless marked persistent by admin)</li>
<li><strong>Technical Logs:</strong> Retained for up to 30 days for security purposes</li>
<li><strong>Theme Preferences:</strong> Stored locally on your device only</li>
</ul>
<h2>Your Rights</h2>
<ul>
<li><strong>Anonymous Use:</strong> No account required - you can use the service anonymously</li>
<li><strong>Voluntary Participation:</strong> All report submissions are voluntary</li>
<li><strong>Contact Us:</strong> Questions about your data or this policy (see contact info below)</li>
</ul>
<h2>Security</h2>
<p>We implement reasonable security measures including:</p>
<ul>
<li>HTTPS encryption for all communications</li>
<li>Rate limiting to prevent abuse</li>
<li>Regular security updates and monitoring</li>
<li>Minimal data collection principle</li>
</ul>
<h2>Third-Party Services</h2>
<p>We use the following external services:</p>
<ul>
<li><strong>MapBox API:</strong> For fast address geocoding (see <a href="https://www.mapbox.com/legal/privacy" target="_blank">MapBox Privacy Policy</a>)</li>
<li><strong>OpenStreetMap:</strong> For map tiles and fallback geocoding</li>
<li><strong>Nominatim:</strong> Backup geocoding service</li>
</ul>
<h2>Changes to This Policy</h2>
<p>We may update this privacy policy occasionally. Significant changes will be indicated by updating the effective date above. Continued use of the service constitutes acceptance of any changes.</p>
<h2>Community Safety Focus</h2>
<p>This tool exists to help community members stay safe during winter conditions. We encourage responsible use and respect for everyone's safety and privacy.</p>
<div class="contact-info">
<h2>Contact Information</h2>
<p>Questions about this privacy policy or your data?</p>
<ul>
<li>Create an issue on our <a href="https://git.deco.sh/deco/ice" target="_blank" rel="noopener noreferrer">git repository</a></li>
<li>Review our <a href="https://www.aclu.org/know-your-rights/immigrants-rights" target="_blank" rel="noopener noreferrer">recommended rights resources</a></li>
<li>This is a community tool - please use responsibly</li>
</ul>
</div>
<a href="/" class="back-link">← Back to Great Lakes Ice Report</a>
</div>
</div>
<footer>
<p><strong>Safety Notice:</strong> This is a community tool for awareness. Stay safe and <a href="https://www.aclu.org/know-your-rights/immigrants-rights" target="_blank" rel="noopener noreferrer">know your rights</a>.</p>
<div class="disclaimer">
<small>This website is for informational purposes only. Verify information independently.
Reports are automatically deleted after 48 hours. • <a href="/privacy">Privacy Policy</a></small>
</div>
</footer>
<!-- Load shared theme utility -->
<script src="version-footer.js"></script>
<script>
// Initialize theme when page loads
document.addEventListener('DOMContentLoaded', initializeTheme);
</script>
</body>
</html>