Skip to content

Commit ee19f62

Browse files
committed
feat(web): update Privacy and Terms pages with comprehensive content and structure
1 parent ba8f228 commit ee19f62

2 files changed

Lines changed: 245 additions & 7 deletions

File tree

apps/web/src/pages/privacy-page.tsx

Lines changed: 107 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,115 @@
11
import Markdown from "react-markdown";
22

33
const privacyPolicy = `
4-
This Privacy Policy explains how we collect, use, and share your personal information when you use our website and services.
4+
**Effective Date:** May 29, 2025
5+
**Last Updated:** May 29, 2025
56
6-
## Information We Collect
7+
## 1. Introduction
78
8-
We collect information from you when you register on our site, place an order, subscribe to our newsletter, respond to a survey or fill out a form.
9+
Welcome to Dafthunk ("we," "our," or "us"). We are committed to protecting your privacy and ensuring the security of your personal information. This Privacy Policy explains how we collect, use, disclose, and safeguard your information when you visit our website [www.dafthunk.com](https://www.dafthunk.com) and use our services.
10+
11+
Dafthunk is an open source platform released under the MIT License. While our source code is publicly available, this Privacy Policy governs how we handle your personal data when you use our hosted services.
12+
13+
## 2. Information We Collect
14+
15+
### 2.1 Personal Information
16+
When you create an account or use our services, we may collect:
17+
- **Authentication Information:** When you sign in using Google or GitHub, we receive your email address, name, and profile information from these providers
18+
- **Account Data:** Username, email address, and profile preferences
19+
- **Usage Data:** Information about how you interact with our platform
20+
21+
### 2.2 Automatically Collected Information
22+
- **Cookies:** We use cookies for authentication and to maintain your session
23+
- **Analytics Data:** Through Cloudflare Analytics, we collect anonymized usage statistics, page views, and performance metrics
24+
- **Technical Information:** IP address, browser type, device information, and access times
25+
26+
## 3. How We Use Your Information
27+
28+
We use your information to:
29+
- Provide and maintain our services
30+
- Authenticate your identity and manage your account
31+
- Improve our platform and user experience
32+
- Analyze usage patterns and optimize performance
33+
- Communicate with you about service updates
34+
- Ensure security and prevent fraud
35+
36+
## 4. Third-Party Services
37+
38+
We use the following third-party services:
39+
40+
### 4.1 Authentication Providers
41+
- **Google OAuth:** For Google account authentication
42+
- **GitHub OAuth:** For GitHub account authentication
43+
44+
### 4.2 Analytics and Infrastructure
45+
- **Cloudflare:** For analytics, performance monitoring, and security
46+
- Cloudflare may collect anonymized usage data
47+
- Data is processed according to Cloudflare's privacy policy
48+
49+
## 5. Cookies and Tracking
50+
51+
We use cookies for:
52+
- **Authentication:** To keep you logged in to your account
53+
- **Session Management:** To maintain your preferences during your visit
54+
- **Security:** To protect against unauthorized access
55+
56+
You can control cookies through your browser settings, but disabling cookies may affect the functionality of our services.
57+
58+
## 6. Data Sharing and Disclosure
59+
60+
We do not sell, trade, or rent your personal information to third parties. We may share information only in the following circumstances:
61+
- With your explicit consent
62+
- To comply with legal obligations or court orders
63+
- To protect our rights, property, or safety
64+
- In connection with a business transfer or merger
65+
66+
## 7. Your Rights
67+
68+
Under Swiss data protection law and GDPR (where applicable), you have the right to:
69+
- **Access:** Request a copy of your personal data
70+
- **Rectification:** Correct inaccurate or incomplete information
71+
- **Erasure:** Request deletion of your personal data
72+
- **Portability:** Receive your data in a structured, machine-readable format
73+
- **Restriction:** Limit the processing of your data
74+
- **Objection:** Object to certain types of data processing
75+
- **Withdraw Consent:** Withdraw consent at any time where processing is based on consent
76+
77+
To exercise these rights, please contact us using the information provided below.
78+
79+
## 8. Data Retention
80+
81+
We retain your personal information only as long as necessary to:
82+
- Provide our services to you
83+
- Comply with legal obligations
84+
- Resolve disputes and enforce agreements
85+
86+
When you delete your account, we will delete your personal information within 30 days, except where retention is required by law.
87+
88+
## 9. Data Security
89+
90+
We implement appropriate technical and organizational measures to protect your personal information against unauthorized access, alteration, disclosure, or destruction. However, no internet transmission is completely secure, and we cannot guarantee absolute security.
91+
92+
## 10. International Data Transfers
93+
94+
As we are based in Switzerland, your data is primarily processed within the European Economic Area. Any data transfers to third countries are conducted with appropriate safeguards in accordance with applicable data protection laws.
95+
96+
## 11. Children's Privacy
97+
98+
Our services are not intended for children under 13 years of age. We do not knowingly collect personal information from children under 13. If you believe we have collected information from a child under 13, please contact us immediately.
99+
100+
## 12. Changes to This Privacy Policy
101+
102+
We may update this Privacy Policy from time to time. We will notify you of any material changes by posting the new policy on our website and updating the "Last Updated" date. Your continued use of our services after such changes constitutes acceptance of the updated policy.
103+
104+
## 13. Contact Us
105+
106+
If you have any questions about this Privacy Policy or wish to exercise your rights, please contact us at:
107+
108+
**Dafthunk**
109+
Email: privacy@dafthunk.com
110+
Website: [www.dafthunk.com](https://www.dafthunk.com)
111+
112+
For data protection inquiries, you may also contact the Swiss Federal Data Protection and Information Commissioner (FDPIC) if you believe your rights have been violated.
9113
`;
10114

11115
export function PrivacyPage() {

apps/web/src/pages/terms-page.tsx

Lines changed: 138 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,149 @@
11
import Markdown from "react-markdown";
22

33
const termsOfService = `
4-
This Terms of Service (“Terms”) governs your use of the Dafthunk platform and services (“Services”). By accessing or using our Services, you agree to be bound by these Terms. If you do not agree with these Terms, please do not use our Services.
4+
**Effective Date:** May 29, 2025
5+
**Last Updated:** May 29, 2025
56
67
## 1. Acceptance of Terms
78
8-
By accessing or using our Services, you agree to be bound by these Terms. If you do not agree with these Terms, please do not use our Services.
9+
Welcome to Dafthunk. These Terms of Service ("Terms") govern your use of the Dafthunk website located at [www.dafthunk.com](https://www.dafthunk.com) and any related services provided by Dafthunk ("we," "us," or "our").
910
10-
## 2. Changes to Terms
11+
By accessing or using our service, you agree to be bound by these Terms. If you disagree with any part of these terms, then you may not access the service.
1112
12-
We may update these Terms from time to time. We will notify you of any changes by posting the new Terms on this page.
13+
## 2. Description of Service
14+
15+
Dafthunk is an open source web-based platform that provides workflow automation and data processing tools. Our service allows users to create, manage, and execute automated workflows through an intuitive interface. The Dafthunk platform is released under the MIT License and the source code is publicly available.
16+
17+
## 3. User Accounts
18+
19+
### 3.1 Account Creation
20+
- You must create an account to access certain features of our service
21+
- You can register using your Google or GitHub account
22+
- You must provide accurate and complete information during registration
23+
- You are responsible for maintaining the confidentiality of your account credentials
24+
25+
### 3.2 Account Responsibilities
26+
- You are responsible for all activities that occur under your account
27+
- You must notify us immediately of any unauthorized use of your account
28+
- We reserve the right to suspend or terminate accounts that violate these Terms
29+
30+
## 4. Acceptable Use
31+
32+
### 4.1 Permitted Uses
33+
You may use our service to:
34+
- Create and manage automated workflows
35+
- Process data within the bounds of our platform capabilities
36+
- Collaborate with team members on workflow projects
37+
- Access educational and documentation resources
38+
39+
### 4.2 Prohibited Uses
40+
You may not use our service to:
41+
- Violate any applicable laws or regulations
42+
- Infringe upon intellectual property rights of others
43+
- Upload or transmit malicious code, viruses, or harmful content
44+
- Attempt to gain unauthorized access to our systems
45+
- Use the service for illegal data processing or privacy violations
46+
- Engage in activities that could harm or disrupt our service
47+
- Create accounts using false or misleading information
48+
- Reverse engineer, decompile, or attempt to extract source code
49+
50+
## 5. Intellectual Property
51+
52+
### 5.1 Open Source Software
53+
- The Dafthunk platform source code is licensed under the MIT License
54+
- You are free to use, modify, and distribute the source code in accordance with the MIT License terms
55+
- The MIT License grants you broad permissions while requiring only attribution
56+
57+
### 5.2 Trademarks and Branding
58+
- The "Dafthunk" name, logo, and associated trademarks remain our property
59+
- You may not use our trademarks without express written permission
60+
- When redistributing the software, you may need to remove or replace our branding elements
61+
62+
### 5.3 Your Content
63+
- You retain ownership of any data, workflows, or content you create using our service
64+
- By using our hosted service, you grant us a license to host, store, and process your content solely to provide the service
65+
- You are responsible for ensuring you have the right to use any data you process through our platform
66+
67+
### 5.4 Third-Party Components
68+
- The Dafthunk platform may include third-party open source components
69+
- These components are governed by their respective licenses
70+
- A full list of third-party licenses is available in our source code repository
71+
72+
## 6. Privacy and Data Protection
73+
74+
Your privacy is important to us. Our collection and use of personal information is governed by our Privacy Policy, which is incorporated into these Terms by reference. By using our service, you consent to the collection and use of information as outlined in our Privacy Policy.
75+
76+
## 7. Service Availability
77+
78+
- We strive to maintain high service availability but cannot guarantee uninterrupted access
79+
- We may temporarily suspend the service for maintenance, updates, or security reasons
80+
- We will provide reasonable notice of planned maintenance when possible
81+
82+
## 8. Modification of Service
83+
84+
We reserve the right to:
85+
- Modify, suspend, or discontinue any part of our service at any time
86+
- Update these Terms as necessary
87+
- Change our pricing or introduce new features
88+
89+
Material changes to these Terms will be communicated through our website or by email.
90+
91+
## 9. Termination
92+
93+
### 9.1 Termination by You
94+
- You may terminate your account at any time by contacting us
95+
- Upon termination, your access to the service will cease
96+
97+
### 9.2 Termination by Us
98+
We may suspend or terminate your account if you:
99+
- Violate these Terms
100+
- Engage in fraudulent or illegal activities
101+
- Abuse our service or harm other users
102+
103+
## 10. Disclaimers
104+
105+
- Our service is provided "as is" without warranties of any kind
106+
- We do not guarantee that our service will meet your specific requirements
107+
- We are not responsible for any data loss or corruption
108+
- Use of our service is at your own risk
109+
110+
## 11. Limitation of Liability
111+
112+
To the maximum extent permitted by Swiss law:
113+
- We shall not be liable for any indirect, incidental, or consequential damages
114+
- Our total liability shall not exceed the amount you paid for the service in the preceding 12 months
115+
- We are not liable for damages caused by third-party services or force majeure events
116+
117+
## 12. Indemnification
118+
119+
You agree to indemnify and hold us harmless from any claims, damages, or expenses arising from:
120+
- Your use of our service
121+
- Your violation of these Terms
122+
- Your violation of any third-party rights
123+
124+
## 13. Governing Law and Jurisdiction
125+
126+
These Terms are governed by the laws of Switzerland. Any disputes arising from these Terms or your use of our service shall be subject to the exclusive jurisdiction of the courts of Switzerland.
127+
128+
## 14. Severability
129+
130+
If any provision of these Terms is found to be unenforceable, the remaining provisions will remain in full force and effect.
131+
132+
## 15. Entire Agreement
133+
134+
These Terms, together with our Privacy Policy, constitute the entire agreement between you and Dafthunk regarding the use of our service.
135+
136+
## 16. Contact Information
137+
138+
If you have any questions about these Terms of Service, please contact us at:
139+
140+
**Dafthunk**
141+
Email: legal@dafthunk.com
142+
Website: [www.dafthunk.com](https://www.dafthunk.com)
143+
144+
## 17. Changes to Terms
145+
146+
We reserve the right to update these Terms at any time. When we do, we will post the updated Terms on this page and update the "Last Updated" date. Your continued use of our service after any changes indicates your acceptance of the new Terms.
13147
`;
14148

15149
export function TermsPage() {

0 commit comments

Comments
 (0)