From 5c781c007a0975aa0f4e5bea59052d7fef4d15fa Mon Sep 17 00:00:00 2001 From: Hrishabh Ayush Date: Thu, 12 Mar 2026 12:04:57 -0400 Subject: [PATCH 1/2] add terms of service page --- Zero/apps/mail/app/(full-width)/terms.tsx | 367 ++++++++++++++++++++++ Zero/apps/mail/app/routes.ts | 1 + Zero/apps/mail/components/home/footer.tsx | 6 + 3 files changed, 374 insertions(+) create mode 100644 Zero/apps/mail/app/(full-width)/terms.tsx diff --git a/Zero/apps/mail/app/(full-width)/terms.tsx b/Zero/apps/mail/app/(full-width)/terms.tsx new file mode 100644 index 0000000..d9d5474 --- /dev/null +++ b/Zero/apps/mail/app/(full-width)/terms.tsx @@ -0,0 +1,367 @@ +import { useCopyToClipboard } from '@/hooks/use-copy-to-clipboard'; +import { Card, CardHeader, CardTitle } from '@/components/ui/card'; +import { Github, Mail, ArrowLeft, Link2 } from 'lucide-react'; +import { Navigation } from '@/components/navigation'; +import { Button } from '@/components/ui/button'; +import Footer from '@/components/home/footer'; +import { createSectionId } from '@/lib/utils'; + +const LAST_UPDATED = 'March 12, 2026'; + +export default function TermsOfService() { + const { copiedValue: copiedSection, copyToClipboard } = useCopyToClipboard(); + + const handleCopyLink = (sectionId: string) => { + const url = `${window.location.origin}${window.location.pathname}#${sectionId}`; + copyToClipboard(url, sectionId); + }; + + return ( +
+ +
+
+ + + +
+ +
+ + +
+ + Terms of Service + +
+

+ Last updated: {LAST_UPDATED} +

+
+
+
+ +
+ {sections.map((section) => { + const sectionId = createSectionId(section.title); + return ( +
+
+

+ {section.title} +

+ +
+
+ {section.content} +
+
+ ); + })} + +
+
+
+
+ +
+
+
+ ); +} + +const sections = [ + { + title: 'Acceptance of Terms', + content: ( +
+

+ By accessing or using SolMail, you agree to be bound by these Terms of Service. If you do + not agree to these terms, please do not use our service. +

+

+ SolMail is built on the open-source Zero email framework and provides a client-side email + application with integrated Solana micropayments. These terms govern your use of the + SolMail application and all related services. +

+
+ ), + }, + { + title: 'Description of Service', + content: ( +
+

SolMail provides the following services:

+ +

+ SolMail is a client-only application. We do not store your emails on our servers. All email + data is processed directly between your browser and Gmail. +

+
+ ), + }, + { + title: 'Account and Access', + content: ( +
+
+

Google Account

+
    +
  • + You must authenticate with a valid Google account to use SolMail's email features +
  • +
  • + You are responsible for maintaining the security of your Google account credentials +
  • +
  • You must not share your account access with unauthorized parties
  • +
  • + You may revoke SolMail's access to your Google account at any time through your + Google Account settings +
  • +
+
+
+

Solana Wallet

+
    +
  • + Connecting a Solana wallet is optional but required for micropayment functionality +
  • +
  • + You are solely responsible for the security of your wallet, including your private keys + and seed phrase +
  • +
  • SolMail never has access to your wallet's private keys
  • +
  • You may disconnect your wallet at any time
  • +
+
+
+ ), + }, + { + title: 'Micropayment System', + content: ( +
+
+

How It Works

+
    +
  • + Micropayments are sent upfront with cold emails as a signal of genuine intent +
  • +
  • + Payments are held and refunded if the recipient does not provide a meaningful reply +
  • +
  • + AI analysis is used to determine whether a reply qualifies as meaningful for refund + purposes +
  • +
+
+
+

Transaction Terms

+
    +
  • All transactions are processed on the Solana blockchain and are irreversible
  • +
  • + Transaction fees (Solana network fees) are your responsibility and are separate from + micropayment amounts +
  • +
  • + Refund eligibility is determined by our AI analysis system; decisions are provided in + good faith but are not guaranteed to be perfect +
  • +
  • + SolMail is not responsible for losses due to wallet misuse, incorrect addresses, or + blockchain network issues +
  • +
+
+
+ ), + }, + { + title: 'Acceptable Use', + content: ( +
+

You agree not to use SolMail to:

+ +

+ Violation of these terms may result in suspension or termination of your access to SolMail. +

+
+ ), + }, + { + title: 'Intellectual Property', + content: ( +
+

+ SolMail is built on the open-source Zero email framework. The SolMail application and its + original content, features, and functionality are owned by SolMail and are protected by + applicable intellectual property laws. +

+

+ The open-source components of SolMail are licensed under their respective open-source + licenses. Your use of these components is governed by the terms of those licenses. +

+

+ You retain full ownership of your email content and any data you transmit through SolMail. +

+
+ ), + }, + { + title: 'Third-Party Services', + content: ( +
+

SolMail integrates with the following third-party services:

+ +

+ We are not responsible for the availability, accuracy, or policies of third-party services. +

+
+ ), + }, + { + title: 'Disclaimers and Limitation of Liability', + content: ( +
+

+ SolMail is provided "as is" and "as available" without warranties of + any kind, whether express or implied, including but not limited to implied warranties of + merchantability, fitness for a particular purpose, or non-infringement. +

+ +
+ ), + }, + { + title: 'Termination', + content: ( +
+

+ You may stop using SolMail at any time by revoking access through your Google Account + settings and disconnecting your Solana wallet. +

+

+ We reserve the right to suspend or terminate access to SolMail for any user who violates + these Terms of Service, without prior notice. +

+

+ Upon termination, any pending micropayment transactions will be processed according to + their existing terms. Blockchain transactions that have already been confirmed cannot be + reversed. +

+
+ ), + }, + { + title: 'Contact', + content: ( +
+

For questions about these Terms of Service:

+
+ + + solmailxyz@gmail.com + + + + Open an issue on GitHub + +
+
+ ), + }, + { + title: 'Changes to These Terms', + content: ( +

+ We may update these Terms of Service from time to time. We will notify users of any material + changes through our application or website. Continued use of SolMail after changes are posted + constitutes acceptance of the updated terms. +

+ ), + }, +]; diff --git a/Zero/apps/mail/app/routes.ts b/Zero/apps/mail/app/routes.ts index d02261c..c83f0df 100644 --- a/Zero/apps/mail/app/routes.ts +++ b/Zero/apps/mail/app/routes.ts @@ -13,6 +13,7 @@ export default [ route('/contributors', '(full-width)/contributors.tsx'), route('/hr', '(full-width)/hr.tsx'), route('/privacy', '(full-width)/privacy.tsx'), + route('/terms', '(full-width)/terms.tsx'), ]), route('/login', '(auth)/login/page.tsx'), diff --git a/Zero/apps/mail/components/home/footer.tsx b/Zero/apps/mail/components/home/footer.tsx index 242ae12..716e1a5 100644 --- a/Zero/apps/mail/components/home/footer.tsx +++ b/Zero/apps/mail/components/home/footer.tsx @@ -23,6 +23,12 @@ export default function Footer() { > Privacy Policy + + Terms of Service +
From fd1b79ca830055829a5f6e353ebae01afa5f1d4f Mon Sep 17 00:00:00 2001 From: Hrishabh Ayush Date: Thu, 12 Mar 2026 12:06:06 -0400 Subject: [PATCH 2/2] update navbar and footer links --- Zero/apps/mail/components/home/footer.tsx | 68 +++++++++-------------- Zero/apps/mail/components/navigation.tsx | 10 ++++ 2 files changed, 35 insertions(+), 43 deletions(-) diff --git a/Zero/apps/mail/components/home/footer.tsx b/Zero/apps/mail/components/home/footer.tsx index 716e1a5..927b636 100644 --- a/Zero/apps/mail/components/home/footer.tsx +++ b/Zero/apps/mail/components/home/footer.tsx @@ -1,53 +1,35 @@ -import { Twitter } from '../icons/icons'; - -const socialLinks = [ - { - name: 'Twitter', - href: 'https://x.com/solmail_xyz', - icon: Twitter, - }, -]; - export default function Footer() { return (
-
-
-
-
- © 2025 SolMail +
+
+
+
+
+ © 2025 SolMail, All Rights Reserved
- - Privacy Policy - - - Terms of Service - -
- -
- - logo - - {socialLinks.map((social) => ( +
diff --git a/Zero/apps/mail/components/navigation.tsx b/Zero/apps/mail/components/navigation.tsx index 049d39b..4f2cdcb 100644 --- a/Zero/apps/mail/components/navigation.tsx +++ b/Zero/apps/mail/components/navigation.tsx @@ -31,6 +31,16 @@ const aboutLinks = [ href: '/contributors', description: 'See the contributors to SolMail.', }, + { + title: 'Privacy Policy', + href: '/privacy', + description: 'How we handle and protect your data.', + }, + { + title: 'Terms of Service', + href: '/terms', + description: 'Terms and conditions for using SolMail.', + }, ]; interface GitHubApiResponse {