Skip to content

Commit 72e879c

Browse files
committed
Add terms and privacy notices
1 parent 3b2516f commit 72e879c

File tree

5 files changed

+38
-33
lines changed

5 files changed

+38
-33
lines changed

old/lib/client/constants.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use client';
22

3-
export const supportEmail = 'mysharktrash@gmail.com (official email to be created)';
3+
export const supportEmail = 'compass.meet.marketing@gmail.com';
44

55
export const pStyle = "mt-1 text-gray-800 dark:text-white whitespace-pre-line";
66

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
import {supportEmail} from "@/lib/client/constants";
1+
import {supportEmail} from "../../old/lib/client/constants";
2+
import {LovePage} from "web/components/love-page";
23

34
export default function PrivacyPage() {
45
return (
5-
<main className="max-w-4xl mx-auto p-8">
6+
<LovePage
7+
trackPageView={'terms'}
8+
className="max-w-4xl mx-auto p-8"
9+
>
610
<h1 className="text-3xl font-semibold text-center mb-6">Privacy Policy</h1>
711

812
<p className="text-center mb-12">
@@ -48,6 +52,6 @@ export default function PrivacyPage() {
4852
For questions about this Privacy Policy, reach out at {supportEmail}.
4953
</p>
5054
</section>
51-
</main>
55+
</LovePage>
5256
);
5357
}

web/pages/register.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ function RegisterComponent() {
191191
</div>
192192

193193
<div>
194-
<p className="text-xs text-gray-500 mt-2 text-center">
194+
<p className="text-xs mt-2 text-center">
195195
By signing up, I agree to the{" "}
196196
<a href="/terms" className="underline hover:text-blue-600">
197197
Terms and Conditions
@@ -229,15 +229,15 @@ function RegisterComponent() {
229229
type="button"
230230
onClick={signupThenMaybeRedirectToSignup}
231231
disabled={isLoading}
232-
className="w-full flex items-center justify-center gap-2 py-2 px-4 border border-gray-300 rounded-full shadow-sm text-sm font-medium text-gray-700 hover: focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-70 disabled:cursor-not-allowed"
232+
className="w-full flex items-center justify-center gap-2 py-2 px-4 border border-gray-300 rounded-full shadow-sm text-sm font-medium hover: focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-70 disabled:cursor-not-allowed"
233233
>
234234
<FcGoogle className="w-5 h-5"/>
235-
Continue with Google
235+
Google
236236
</button>
237237
</div>
238238
</form>
239239
<div className="text-center text-sm mt-2">
240-
<p className="text-gray-600">
240+
<p className="">
241241
Already have an account?{' '}
242242
<Link href="/signin" className="font-medium text-blue-600 hover:text-blue-500">
243243
Sign in

web/pages/signin.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,10 @@ function RegisterComponent() {
176176
type="button"
177177
onClick={handleGoogleSignIn}
178178
disabled={isLoading}
179-
className="w-full flex items-center justify-center gap-2 py-2 px-4 border border-gray-300 rounded-full shadow-sm text-sm font-medium text-gray-700 hover: focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-70 disabled:cursor-not-allowed"
179+
className="w-full flex items-center justify-center gap-2 py-2 px-4 border border-gray-300 rounded-full shadow-sm text-sm font-medium hover: focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:opacity-70 disabled:cursor-not-allowed"
180180
>
181181
<FcGoogle className="w-5 h-5"/>
182-
Sign in with Google
182+
Google
183183
</button>
184184
</div>
185185
</form>
Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
import {supportEmail} from "@/lib/client/constants";
1+
import {supportEmail} from "../../old/lib/client/constants";
2+
import {LovePage} from "web/components/love-page";
23

34
export default function TermsPage() {
45
return (
5-
<main className="max-w-4xl mx-auto p-8 text-gray-800 dark:text-white">
6+
<LovePage
7+
trackPageView={'terms'}
8+
className="max-w-4xl mx-auto p-8 text-gray-800 dark:text-white"
9+
>
610
<h1 className="text-3xl font-semibold text-center mb-6">Terms & Conditions</h1>
711

812
<p className="text-center text-gray-500 dark:text-white mb-12">
@@ -11,8 +15,8 @@ export default function TermsPage() {
1115

1216
<section className="space-y-6 text-base leading-relaxed">
1317
<p>
14-
Welcome to <span className="font-semibold">Compass</span>, a platform designed for
15-
rational thinkers to connect, collaborate, and build meaningful interactions.
18+
Welcome to <span className="font-semibold">Compass</span>, a platform to connect, collaborate, and build
19+
meaningful interactions.
1620
By accessing or using our service, you agree to the following Terms and Conditions.
1721
</p>
1822

@@ -30,15 +34,12 @@ export default function TermsPage() {
3034

3135
<h2 className="text-xl font-semibold">3. Intellectual Property & Licensing</h2>
3236
<p>
33-
a. <strong>Ownership and License.</strong> Compass is developed and
34-
maintained as a <strong>free and open-source project</strong>. Unless
35-
otherwise stated, all source code, designs, and related materials
36-
(“Project Materials”) are licensed under the{" "}
37-
<strong>MIT License</strong> or another permissive open-source license
38-
determined by the community. Subject to the applicable license terms, you
39-
are granted a worldwide, royalty-free, non-exclusive, irrevocable license
40-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41-
copies of the Project Materials.
37+
a. <strong>Ownership and License.</strong> Compass is developed and maintained as a free and open-source
38+
project. Unless otherwise stated, all source code, designs, and related materials (“Project Materials”) are
39+
licensed under the AGPL-3.0 License. Certain components may be licensed under permissive open-source licenses,
40+
as explicitly indicated. Subject to the applicable license terms, you are granted a worldwide, royalty-free,
41+
non-exclusive, irrevocable license to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
42+
copies of the Project Materials in accordance with the terms of the applicable license.
4243
</p>
4344
<p>
4445
b. <strong>Community Governance.</strong> Compass operates under a{" "}
@@ -56,15 +57,15 @@ export default function TermsPage() {
5657
represent and warrant that you have the right to grant such a license and
5758
that your Contributions do not infringe on the rights of any third party.
5859
</p>
60+
{/*<p>*/}
61+
{/* d. <strong>Trademarks and Branding.</strong> The name “Compass,” logos,*/}
62+
{/* and associated marks (“Marks”) are the exclusive property of the Compass*/}
63+
{/* community or its designated steward. Use of the Marks is only permitted as*/}
64+
{/* authorized in writing by the Compass governance body to avoid confusion*/}
65+
{/* or misuse.*/}
66+
{/*</p>*/}
5967
<p>
60-
d. <strong>Trademarks and Branding.</strong> The name “Compass,” logos,
61-
and associated marks (“Marks”) are the exclusive property of the Compass
62-
community or its designated steward. Use of the Marks is only permitted as
63-
authorized in writing by the Compass governance body to avoid confusion
64-
or misuse.
65-
</p>
66-
<p>
67-
e. <strong>No Proprietary Restrictions.</strong> Compass shall remain{" "}
68+
d. <strong>No Proprietary Restrictions.</strong> Compass shall remain{" "}
6869
<strong>free of advertising, proprietary lock-ins, and data monetization</strong>{" "}
6970
unless explicitly approved by the community in accordance with its
7071
governance process. Users and contributors must not introduce such
@@ -83,10 +84,10 @@ export default function TermsPage() {
8384
constitutes acceptance of the new Terms.
8485
</p>
8586

86-
<p className="text-gray-600 italic mt-8">
87+
<p className="italic mt-8">
8788
For questions regarding these Terms, please contact us at {supportEmail}.
8889
</p>
8990
</section>
90-
</main>
91+
</LovePage>
9192
);
9293
}

0 commit comments

Comments
 (0)