summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-05-22 22:00:40 +0200
committerYuval Adam <_@yuv.al>2025-05-22 22:00:40 +0200
commitb21e842345843fa4e06a8f09558d6ed2c3b6395e (patch)
treef49f08ce0fba71c3c0c81d6cb6041558334d2d66
parent9f8abf8c74d3f19202b77a3e6443178775ffa44e (diff)
Add privacy policy
-rw-r--r--src/components/Navigation.tsx2
-rw-r--r--src/content/privacy-policy.md35
-rw-r--r--src/layouts/Layout.astro7
-rw-r--r--src/pages/privacy-policy.astro15
4 files changed, 58 insertions, 1 deletions
diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx
index 1aeca32..9146d68 100644
--- a/src/components/Navigation.tsx
+++ b/src/components/Navigation.tsx
@@ -63,7 +63,7 @@ export default function Navigation() {
// Separated NavLinks component for reuse
function NavLinks({ mobile = false }: { mobile?: boolean }) {
- const linkClass = `text-gray-700 hover:text-blue-600 font-medium ${mobile ? 'py-2' : ''}`;
+ const linkClass = `text-gray-700 hover:text-blue-600 ${mobile ? 'py-2' : ''}`;
return (
<>
diff --git a/src/content/privacy-policy.md b/src/content/privacy-policy.md
new file mode 100644
index 0000000..3ed61e8
--- /dev/null
+++ b/src/content/privacy-policy.md
@@ -0,0 +1,35 @@
+# Privacy Policy
+
+## General
+
+CIDR.xyz is operated by [Magic Monad](https://magicmonad.com) LLC.
+
+## What We Collect
+
+**We do not collect any personally identifiable information (PII) from visitors.** We do not ask for, store, or have access to names, email addresses, phone numbers, or any other personal details.
+
+## Google Analytics
+
+This website uses Google Analytics to understand how visitors use our site. Google Analytics automatically collects anonymous information including:
+- Page views and time spent on pages
+- General location (country/region only)
+- Browser type and device information
+- How you found our website
+
+**Important:** IP addresses are anonymized, and all data collected is anonymous and cannot be used to identify individual visitors.
+
+## Cookies
+
+Google Analytics uses cookies for tracking purposes. You can disable cookies in your browser settings or opt out using [Google's browser add-on](https://tools.google.com/dlpage/gaoptout).
+
+## Your Data Rights
+
+Since we collect no personal information, we have no personal data to access, modify, or delete. All analytics data is anonymous and managed by Google according to their privacy policy.
+
+## Contact
+
+Questions about this policy? Contact us at: [hello@magicmonad.com](mailto:hello@magicmonad.com).
+
+---
+
+*This policy applies to cidr.xyz and is effective as of 2025-05-22.* \ No newline at end of file
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 0077d2e..4cccd3f 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -141,6 +141,13 @@ const {
>Embed Widget</a
>
</li>
+ <li>
+ <a
+ href="/privacy-policy"
+ class="text-gray-400 hover:text-white"
+ >Privacy Policy</a
+ >
+ </li>
</ul>
</div>
<div>
diff --git a/src/pages/privacy-policy.astro b/src/pages/privacy-policy.astro
new file mode 100644
index 0000000..669f107
--- /dev/null
+++ b/src/pages/privacy-policy.astro
@@ -0,0 +1,15 @@
+---
+import Layout from "../layouts/Layout.astro";
+import Prose from "../components/Prose.astro";
+
+const title = "Privacy Policy | CIDR.xyz";
+const description = "Privacy policy for CIDR.xyz";
+
+import { Content as PrivacyPolicyContent } from "../content/privacy-policy.md";
+---
+
+<Layout title={title} description={description}>
+ <Prose>
+ <PrivacyPolicyContent />
+ </Prose>
+</Layout>