diff --git a/app/(auth)/cloud/page.tsx b/app/(auth)/cloud/page.tsx index f4e1eda..8f73b19 100644 --- a/app/(auth)/cloud/page.tsx +++ b/app/(auth)/cloud/page.tsx @@ -33,7 +33,7 @@ export default async function ChoosePlanPage() { )}
- + Contact us for custom plans
diff --git a/app/docs/ai/page.tsx b/app/docs/ai/page.tsx index 18b5ddc..92112b2 100644 --- a/app/docs/ai/page.tsx +++ b/app/docs/ai/page.tsx @@ -1,3 +1,5 @@ +import config from "@/lib/config" + export default async function AI() { return (
@@ -7,8 +9,8 @@ export default async function AI() { Effective Date: April 22, 2025
Contact Email:{" "} - - me@vas3k.com + + {config.app.supportEmail}
Domain:{" "} diff --git a/app/docs/cookie/page.tsx b/app/docs/cookie/page.tsx index 10daeab..acb789c 100644 --- a/app/docs/cookie/page.tsx +++ b/app/docs/cookie/page.tsx @@ -1,3 +1,5 @@ +import config from "@/lib/config" + export default async function Cookie() { return (
@@ -11,8 +13,8 @@ export default async function Cookie() {
Contact:{" "} - - me@vas3k.com + + {config.app.supportEmail}

@@ -132,8 +134,8 @@ export default async function Cookie() {

6. Contact

For questions about our cookie usage, please contact us at{" "} - - me@vas3k.com + + {config.app.supportEmail} .

diff --git a/app/docs/privacy_policy/page.tsx b/app/docs/privacy_policy/page.tsx index dfd964d..5802525 100644 --- a/app/docs/privacy_policy/page.tsx +++ b/app/docs/privacy_policy/page.tsx @@ -1,3 +1,5 @@ +import config from "@/lib/config" + export default async function PrivacyPolicy() { return (
@@ -14,8 +16,8 @@ export default async function PrivacyPolicy() { Effective Date: April 22, 2025
Contact Email:{" "} - - me@vas3k.com + + {config.app.supportEmail}
Domain:{" "} @@ -179,8 +181,8 @@ export default async function PrivacyPolicy() {

To exercise your rights, contact us at{" "} - - me@vas3k.com + + {config.app.supportEmail} .

diff --git a/app/docs/terms/page.tsx b/app/docs/terms/page.tsx index 773562c..c300ff1 100644 --- a/app/docs/terms/page.tsx +++ b/app/docs/terms/page.tsx @@ -1,3 +1,5 @@ +import config from "@/lib/config" + export default async function Terms() { return (
@@ -11,8 +13,8 @@ export default async function Terms() {
Contact:{" "} - - me@vas3k.com + + {config.app.supportEmail}

diff --git a/app/landing/landing.tsx b/app/landing/landing.tsx index dae5b92..3b1c9a3 100644 --- a/app/landing/landing.tsx +++ b/app/landing/landing.tsx @@ -1,5 +1,6 @@ import { NewsletterForm } from "@/app/landing/newsletter" import { ColoredText } from "@/components/ui/colored-text" +import config from "@/lib/config" import Image from "next/image" import Link from "next/link" @@ -437,6 +438,9 @@ export default function LandingPage() {
+ + Contact Us + Terms of Service diff --git a/components/settings/subscription-plan.tsx b/components/settings/subscription-plan.tsx index eacecb0..0d7d464 100644 --- a/components/settings/subscription-plan.tsx +++ b/components/settings/subscription-plan.tsx @@ -3,12 +3,14 @@ import { User } from "@prisma/client" import { PricingCard } from "@/components/auth/pricing-card" import { Button } from "@/components/ui/button" import { Card } from "@/components/ui/card" +import config from "@/lib/config" import { PLANS } from "@/lib/stripe" import { formatBytes, formatNumber } from "@/lib/utils" import { formatDate } from "date-fns" import { BrainCog, CalendarSync, HardDrive } from "lucide-react" import Link from "next/link" import { Badge } from "../ui/badge" + export function SubscriptionPlan({ user }: { user: User }) { const plan = PLANS[user.membershipPlan as keyof typeof PLANS] || PLANS.unlimited @@ -44,13 +46,24 @@ export function SubscriptionPlan({ user }: { user: User }) {
- {user.stripeCustomerId && ( -
+ +
+ {user.stripeCustomerId && ( -
- )} + )} + + {!user.stripeCustomerId && user.membershipExpiresAt && ( + + )} + + + Contact Us + +
diff --git a/lib/config.ts b/lib/config.ts index cfa8f15..3eadef4 100644 --- a/lib/config.ts +++ b/lib/config.ts @@ -25,6 +25,7 @@ const config = { description: "Your personal AI helper for taxes", version: process.env.npm_package_version || "0.0.1", baseURL: env.BASE_URL || `http://localhost:${env.PORT || "7331"}`, + supportEmail: "me@vas3k.com", }, upload: { acceptedMimeTypes: "image/*,.pdf,.doc,.docx,.xls,.xlsx",