From 89101c5d5f91d0a0d1f51139bbe733f5ba9754a3 Mon Sep 17 00:00:00 2001 From: ppc Date: Mon, 18 Nov 2024 22:00:54 +0000 Subject: [PATCH] more fun --- amnet-web/src/main.tsx | 7 +++++- amnet-web/src/pages/privacy.tsx | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 amnet-web/src/pages/privacy.tsx diff --git a/amnet-web/src/main.tsx b/amnet-web/src/main.tsx index 917499c..9f406d4 100644 --- a/amnet-web/src/main.tsx +++ b/amnet-web/src/main.tsx @@ -15,6 +15,7 @@ import {ThemeProvider} from "@/components/theme-provider.tsx"; import CardManager from "@/pages/card-manager.tsx"; import ServerCardIn from "@/pages/card-in-screen.tsx"; import ServerListing from "@/pages/server-listing.tsx"; +import Privacy from "@/pages/privacy.tsx"; // iOS PWAs show the navigation bar when changing routes // HashRouter doesn't have this issue as the URL never changes @@ -38,7 +39,11 @@ const router = createHashRouter([ path: x, element: }; - }) + }), + { + path: "/privacy", + element: + } ]) createRoot(document.getElementById('root')!).render( diff --git a/amnet-web/src/pages/privacy.tsx b/amnet-web/src/pages/privacy.tsx new file mode 100644 index 0000000..7241758 --- /dev/null +++ b/amnet-web/src/pages/privacy.tsx @@ -0,0 +1,39 @@ +// Google Play forces a Privacy Policy even for closed tests... + +import {Server} from "lucide-react"; +import {useNavigate} from "react-router-dom"; + +import {Button} from "@/components/ui/button.tsx"; +import {AMFooter} from "@/components/am-footer.tsx"; +import {AMHeader} from "@/components/am-header.tsx"; + +function PrivacyPolicy() { + const navigate = useNavigate(); + + return ( +
+ + + + +
+

Privacy

+

The AMNet card switcher collects and stores the following information locally (on-device):

+
    +
  • Server Addresses
  • +
  • Server Information (including machine name, identifiers and metrics that are cached and updated on each load)
  • +
  • Card Names and Access Codes
  • +
+ +

The card switcher does NOT send any data to external servers or services, except to perform the card-in action where only the card number is transmitted.

+
+ + +
+ ) +} + +export default PrivacyPolicy; \ No newline at end of file