From 6326a80b22e52eec61fc8771a7b734ee5606e5f5 Mon Sep 17 00:00:00 2001
From: Kamran Ahmed
Date: Fri, 26 Apr 2024 18:19:00 +0100
Subject: [PATCH] Add terms and conditions links on signup forms
---
src/components/AccountTerms.tsx | 22 +++++++++++++++++++
.../AuthenticationFlow/LoginPopup.astro | 14 ++++++++++--
src/pages/forgot-password.astro | 15 ++++++++-----
src/pages/login.astro | 12 ++++++++--
src/pages/privacy.md | 12 +++++-----
src/pages/signup.astro | 5 ++++-
src/pages/terms.md | 6 ++---
7 files changed, 67 insertions(+), 19 deletions(-)
create mode 100644 src/components/AccountTerms.tsx
diff --git a/src/components/AccountTerms.tsx b/src/components/AccountTerms.tsx
new file mode 100644
index 000000000..dbaf57080
--- /dev/null
+++ b/src/components/AccountTerms.tsx
@@ -0,0 +1,22 @@
+export function AccountTerms() {
+ return (
+
+ );
+}
diff --git a/src/components/AuthenticationFlow/LoginPopup.astro b/src/components/AuthenticationFlow/LoginPopup.astro
index e62ca6145..8340ef3b4 100644
--- a/src/components/AuthenticationFlow/LoginPopup.astro
+++ b/src/components/AuthenticationFlow/LoginPopup.astro
@@ -1,5 +1,6 @@
---
import Popup from '../Popup/Popup.astro';
+import { AccountTerms } from '../AccountTerms';
import { AuthenticationForm } from './AuthenticationForm';
---
@@ -13,8 +14,17 @@ import { AuthenticationForm } from './AuthenticationForm';
+
Don't have an account?{' '}
-
Sign up
+
+ Sign up
+
+
+
diff --git a/src/pages/forgot-password.astro b/src/pages/forgot-password.astro
index b8a924485..e991a6153 100644
--- a/src/pages/forgot-password.astro
+++ b/src/pages/forgot-password.astro
@@ -1,6 +1,7 @@
---
import { ForgotPasswordForm } from '../components/AuthenticationFlow/ForgotPasswordForm';
import AccountLayout from '../layouts/AccountLayout.astro';
+import {AccountTerms} from "../components/AccountTerms";
---
@@ -20,12 +21,16 @@ import AccountLayout from '../layouts/AccountLayout.astro';
-
- Don't have an account?
Sign up
+ Don't have an account?{' '}
+
+ Sign up
+
diff --git a/src/pages/login.astro b/src/pages/login.astro
index d2a5faa2b..f14e827dd 100644
--- a/src/pages/login.astro
+++ b/src/pages/login.astro
@@ -1,4 +1,5 @@
---
+import { AccountTerms } from '../components/AccountTerms';
import { AuthenticationForm } from '../components/AuthenticationFlow/AuthenticationForm';
import AccountLayout from '../layouts/AccountLayout.astro';
---
@@ -22,12 +23,19 @@ import AccountLayout from '../layouts/AccountLayout.astro';
+
Don't have an account?{' '}
-
+
Sign up
+
+
diff --git a/src/pages/privacy.md b/src/pages/privacy.md
index 7389a5648..16cc0dca7 100644
--- a/src/pages/privacy.md
+++ b/src/pages/privacy.md
@@ -12,7 +12,7 @@ By using or accessing the Services in any manner, you acknowledge that you accep
This Privacy Policy covers our treatment of personally identifiable information ("Personal Information") that we gather when you are accessing or using our Services, but not to the practices of companies we don’t own or control, or people that we don’t manage. We gather various types of Personal Information from our users, as explained in more detail below, and we use this Personal Information internally in connection with our Services, including to personalize, provide, and improve our services, to allow you to set up a user account and profile, to contact you and allow other users to contact you, to fulfill your requests for certain products and services, and to analyze how you use the Services. In certain cases, we may also share some Personal Information with third parties, but only as described below.
-As noted in the Terms of Use, we do not knowingly collect or solicit personal information from anyone under the age of 13. If you are under 13, please do not attempt to register for the Services or send any personal information about yourself to us. If we learn that we have collected personal information from a child under age 13, we will delete that information as quickly as possible. If you believe that a child under 13 may have provided us personal information, please contact us at kamranahmed.se@gmail.com.
+As noted in the Terms of Use, we do not knowingly collect or solicit personal information from anyone under the age of 13. If you are under 13, please do not attempt to register for the Services or send any personal information about yourself to us. If we learn that we have collected personal information from a child under age 13, we will delete that information as quickly as possible. If you believe that a child under 13 may have provided us personal information, please contact us at info@roadmap.sh.
## Will roadmap.sh ever change this Privacy Policy?
@@ -24,7 +24,7 @@ Information You Provide to Us:
We receive and store any information you knowingly provide to us. For example, through the registration process and/or through your account settings, we may collect Personal Information such as your name, title, email address, phone number, and third-party account credentials (for example, your log-in credentials for Twitter or other third party sites. If you provide your third-party account credentials to us or otherwise sign in to the Services through a third party site or service, you understand some content and/or information in those accounts (“Third Party Account Information”) may be transmitted into your account with us if you authorize such transmissions], and that Third Party Account Information transmitted to our Services is covered by this Privacy Policy. Certain information may be required to register with us or to take advantage of some of our features.
-We may communicate with you if you’ve provided us the means to do so. For example, if you’ve given us your email address, we may send you promotional email offers on behalf of other businesses, or email you about your use of the Services. Also, we may receive a confirmation when you open an email from us. This confirmation helps us make our communications with you more interesting and improve our services. If you do not want to receive communications from us, please email us at kamranahmed.se@gmail.com.
+We may communicate with you if you’ve provided us the means to do so. For example, if you’ve given us your email address, we may send you promotional email offers on behalf of other businesses, or email you about your use of the Services. Also, we may receive a confirmation when you open an email from us. This confirmation helps us make our communications with you more interesting and improve our services. If you do not want to receive communications from us, please email us at info@roadmap.sh.
## Information Collected Automatically
@@ -65,16 +65,16 @@ Through your account settings, you may access, and, in some cases, edit or delet
- age or birthday
- username
-The information you can view, update, and delete may change as the Services change. If you have any questions about viewing or updating information we have on file about you, please contact us at kamranahmed.se@gmail.com.
+The information you can view, update, and delete may change as the Services change. If you have any questions about viewing or updating information we have on file about you, please contact us at info@roadmap.sh.
-Under California Civil Code Sections 1798.83-1798.84, California residents are entitled to ask us for a notice identifying the categories of Personal Information which we share with our affiliates and/or third parties for marketing purposes, and providing contact information for such affiliates and/or third parties. If you are a California resident and would like a copy of this notice, please submit a written request to: kamranahmed.se@gmail.com.
+Under California Civil Code Sections 1798.83-1798.84, California residents are entitled to ask us for a notice identifying the categories of Personal Information which we share with our affiliates and/or third parties for marketing purposes, and providing contact information for such affiliates and/or third parties. If you are a California resident and would like a copy of this notice, please submit a written request to: info@roadmap.sh.
## What choices do I have?
You can always opt not to disclose information to us, but keep in mind some information may be needed to register with us or to take advantage of some of our features.
-You may be able to add, update, or delete information as explained above. When you update information, however, we may maintain a copy of the unrevised information in our records. You may request deletion of your account by contacting us at kamranahmed.se@gmail.com and we will disassociate our email address and Twitter account from any content or other information provided to us. Some information may remain in our records after your deletion of such information from your account. We may use any aggregated data derived from or incorporating your Personal Information after you update or delete it, but not in a manner that would identify you personally.
+You may be able to add, update, or delete information as explained above. When you update information, however, we may maintain a copy of the unrevised information in our records. You may request deletion of your account by contacting us at info@roadmap.sh and we will disassociate our email address and Twitter account from any content or other information provided to us. Some information may remain in our records after your deletion of such information from your account. We may use any aggregated data derived from or incorporating your Personal Information after you update or delete it, but not in a manner that would identify you personally.
## What if I have questions about this policy?
-If you have any questions or concerns regarding our privacy policies, please send us a detailed message to kamranahmed.se@gmail.com, and we will try to resolve your concerns.
+If you have any questions or concerns regarding our privacy policies, please send us a detailed message to info@roadmap.sh, and we will try to resolve your concerns.
diff --git a/src/pages/signup.astro b/src/pages/signup.astro
index a44915c17..1837617c5 100644
--- a/src/pages/signup.astro
+++ b/src/pages/signup.astro
@@ -1,6 +1,7 @@
---
import { AuthenticationForm } from '../components/AuthenticationFlow/AuthenticationForm';
import AccountLayout from '../layouts/AccountLayout.astro';
+import {AccountTerms} from "../components/AccountTerms";
---