Skip to content

Commit 318cd14

Browse files
authored
Fix CSS order in privacy policy and remove Google credentials line (#1828)
# READ CAREFULLY THEN REMOVE Remove bullet points that are not relevant. PLEASE REFRAIN FROM USING AI TO WRITE YOUR CODE AND PR DESCRIPTION. IF YOU DO USE AI TO WRITE YOUR CODE PLEASE PROVIDE A DESCRIPTION AND REVIEW IT CAREFULLY. MAKE SURE YOU UNDERSTAND THE CODE YOU ARE SUBMITTING USING AI. - Pull requests that do not follow these guidelines will be closed without review or comment. - If you use AI to write your PR description your pr will be close without review or comment. - If you are unsure about anything, feel free to ask for clarification. ## Description Please provide a clear description of your changes. --- ## Type of Change Please delete options that are not relevant. - [ ] 🐛 Bug fix (non-breaking change which fixes an issue) - [ ] ✨ New feature (non-breaking change which adds functionality) - [ ] 💥 Breaking change (fix or feature with breaking changes) - [ ] 📝 Documentation update - [ ] 🎨 UI/UX improvement - [ ] 🔒 Security enhancement - [ ] ⚡ Performance improvement ## Areas Affected Please check all that apply: - [ ] Email Integration (Gmail, IMAP, etc.) - [ ] User Interface/Experience - [ ] Authentication/Authorization - [ ] Data Storage/Management - [ ] API Endpoints - [ ] Documentation - [ ] Testing Infrastructure - [ ] Development Workflow - [ ] Deployment/Infrastructure ## Testing Done Describe the tests you've done: - [ ] Unit tests added/updated - [ ] Integration tests added/updated - [ ] Manual testing performed - [ ] Cross-browser testing (if UI changes) - [ ] Mobile responsiveness verified (if UI changes) ## Security Considerations For changes involving data or authentication: - [ ] No sensitive data is exposed - [ ] Authentication checks are in place - [ ] Input validation is implemented - [ ] Rate limiting is considered (if applicable) ## Checklist - [ ] I have read the [CONTRIBUTING](https://github.com/Mail-0/Zero/blob/staging/.github/CONTRIBUTING.md) document - [ ] My code follows the project's style guidelines - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in complex areas - [ ] I have updated the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix/feature works - [ ] All tests pass locally - [ ] Any dependent changes are merged and published ## Additional Notes Add any other context about the pull request here. ## Screenshots/Recordings Add screenshots or recordings here if applicable. --- _By submitting this pull request, I confirm that my contribution is made under the terms of the project's license._ <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Fixed the order of CSS classes in the privacy policy page and removed the line about storing Google account credentials. <!-- End of auto-generated description by cubic. -->
1 parent dfb8738 commit 318cd14

File tree

1 file changed

+30
-13
lines changed

1 file changed

+30
-13
lines changed

apps/mail/app/(full-width)/privacy.tsx

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@ import { Button } from '@/components/ui/button';
66
import Footer from '@/components/home/footer';
77
import { createSectionId } from '@/lib/utils';
88

9-
109
import React from 'react';
1110

1211
const LAST_UPDATED = 'May 16, 2025';
1312

1413
export default function PrivacyPolicy() {
15-
1614
const { copiedValue: copiedSection, copyToClipboard } = useCopyToClipboard();
1715

1816
const handleCopyLink = (sectionId: string) => {
@@ -24,7 +22,7 @@ export default function PrivacyPolicy() {
2422
<div className="relative flex min-h-screen w-full flex-col overflow-auto bg-white dark:bg-[#111111]">
2523
<Navigation />
2624
<div className="relative z-10 flex flex-grow flex-col">
27-
<div className="absolute right-4 top-6 md:left-8 md:top-8 md:right-auto">
25+
<div className="absolute right-4 top-6 md:left-8 md:right-auto md:top-8">
2826
<a href="/">
2927
<Button
3028
variant="ghost"
@@ -124,7 +122,6 @@ const sections = [
124122
<ul className="ml-4 list-disc space-y-2">
125123
<li>We request access to your Gmail data only after receiving your explicit consent</li>
126124
<li>We access only the necessary Gmail API scopes required for email functionality</li>
127-
<li>Your Google account credentials are never stored on our servers</li>
128125
<li>We use secure OAuth 2.0 authentication provided by Google</li>
129126
<li>
130127
You can revoke our access to your Google account at any time through your Google Account
@@ -344,43 +341,61 @@ const sections = [
344341
<div>
345342
<h3 className="mb-3 text-lg font-medium">Free Plan and Trial Period</h3>
346343
<ul className="ml-4 list-disc space-y-2">
347-
<li>Zero offers a free plan with basic features that requires no payment information</li>
344+
<li>
345+
Zero offers a free plan with basic features that requires no payment information
346+
</li>
348347
<li>For premium features, we offer a 7-day free trial period</li>
349348
<li>A valid credit card is required to start the premium free trial</li>
350349
<li>During the trial period, you have full access to all premium features</li>
351350
<li>You can cancel at any time during the trial period without any charges</li>
352-
<li>If you don't cancel before the trial ends, you'll be automatically charged for the premium subscription</li>
351+
<li>
352+
If you don't cancel before the trial ends, you'll be automatically charged for the
353+
premium subscription
354+
</li>
353355
</ul>
354356
</div>
355357
<div>
356358
<h3 className="mb-3 text-lg font-medium">Payment and Billing</h3>
357359
<ul className="ml-4 list-disc space-y-2">
358-
<li>After the 7-day free trial period ends, subscription charges will begin automatically</li>
360+
<li>
361+
After the 7-day free trial period ends, subscription charges will begin automatically
362+
</li>
359363
<li>Subscription fees are billed in advance on a monthly or annual basis</li>
360364
<li>Current pricing information is available on our pricing page</li>
361365
<li>All payments are processed securely through our trusted payment partners</li>
362366
<li>Subscription charges will appear on your billing statement as "Zero Email"</li>
363-
<li>We accept major credit cards and other payment methods as available in your region</li>
367+
<li>
368+
We accept major credit cards and other payment methods as available in your region
369+
</li>
364370
</ul>
365371
</div>
366372
<div>
367373
<h3 className="mb-3 text-lg font-medium">Non-Refundable Policy</h3>
368374
<ul className="ml-4 list-disc space-y-2">
369375
<li className="font-semibold">
370-
Important: All subscription fees are non-refundable once the 7-day free trial period has ended
376+
Important: All subscription fees are non-refundable once the 7-day free trial period
377+
has ended
378+
</li>
379+
<li>
380+
This policy applies to all premium subscription plans (monthly, annual, and enterprise
381+
plans)
371382
</li>
372-
<li>This policy applies to all premium subscription plans (monthly, annual, and enterprise plans)</li>
373383
<li>Refunds are not provided for partial subscription periods</li>
374384
<li>Refunds are not available for unused portions of your subscription</li>
375-
<li>In exceptional circumstances, refunds may be considered on a case-by-case basis at our sole discretion</li>
385+
<li>
386+
In exceptional circumstances, refunds may be considered on a case-by-case basis at our
387+
sole discretion
388+
</li>
376389
</ul>
377390
</div>
378391
<div>
379392
<h3 className="mb-3 text-lg font-medium">Subscription Management</h3>
380393
<ul className="ml-4 list-disc space-y-2">
381394
<li>You can cancel your subscription at any time through your account settings</li>
382395
<li>Cancellation takes effect at the end of your current billing period</li>
383-
<li>You will continue to have access to premium features until the end of your paid period</li>
396+
<li>
397+
You will continue to have access to premium features until the end of your paid period
398+
</li>
384399
<li>No partial refunds are provided for early cancellation</li>
385400
<li>Reactivation of cancelled subscriptions may be subject to current pricing</li>
386401
</ul>
@@ -389,7 +404,9 @@ const sections = [
389404
<h3 className="mb-3 text-lg font-medium">Price Changes</h3>
390405
<ul className="ml-4 list-disc space-y-2">
391406
<li>We reserve the right to modify subscription pricing at any time</li>
392-
<li>Existing subscribers will be notified of price changes at least 30 days in advance</li>
407+
<li>
408+
Existing subscribers will be notified of price changes at least 30 days in advance
409+
</li>
393410
<li>Price changes will take effect at your next billing cycle</li>
394411
<li>You may cancel your subscription before the price change takes effect</li>
395412
</ul>

0 commit comments

Comments
 (0)