Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions app/(pages)/about/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,6 @@ export default function AboutPage() {
<p>{COMPANY_INFO.name}</p>
</div>
<Separator />
<div>
<p className="text-sm font-semibold text-muted-foreground">
Registered Address
</p>
<p>{COMPANY_INFO.address}</p>
</div>
<Separator />
<div>
<p className="text-sm font-semibold text-muted-foreground">
Contact Email
Expand Down
39 changes: 20 additions & 19 deletions app/(pages)/constants.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
// Company Information - Update these values with your actual business details
// Company Information - Update email values when ready
export const COMPANY_INFO = {
name: "[COMPANY NAME]",
address: "[ADDRESS]",
name: "Practitionist",
email: "[EMAIL]",
supportEmail: "[SUPPORT_EMAIL]",
phone: "[PHONE]",
jurisdiction: "[JURISDICTION]",
jurisdiction: "Bangalore, Karnataka, India",
} as const;

// Policy Dates - Update when policies are revised
export const POLICY_DATES = {
privacyLastUpdated: "[LAST UPDATED]",
termsLastUpdated: "[LAST UPDATED]",
refundLastUpdated: "[LAST UPDATED]",
privacyLastUpdated: "February 2026",
termsLastUpdated: "February 2026",
refundLastUpdated: "February 2026",
contractorLastUpdated: "February 2026",
} as const;

// Business Hours
Expand Down Expand Up @@ -40,6 +39,7 @@ export const SUPPORT_LINKS = [
{ href: "/refund", label: "Cancellation & Refund Policy" },
{ href: "/privacy", label: "Privacy Policy" },
{ href: "/terms", label: "Terms & Conditions" },
{ href: "/contractors", label: "Contractor Agreement" },
] as const;

// Page Meta Information
Expand Down Expand Up @@ -72,6 +72,11 @@ export const PAGE_META = {
description:
"Understanding our cancellation and refund procedures for all service types",
},
contractors: {
title: "Contractor Agreement",
description:
"Terms governing the relationship between Practitionist and independent consultants",
},
} as const;

// About Page Data
Expand Down Expand Up @@ -145,8 +150,8 @@ export const ABOUT_DATA = {
description: "Clear pricing with no hidden fees",
},
{
title: "24/7 Support",
description: "Dedicated customer support to help you anytime",
title: "Dedicated Support",
description: "Customer support to help you when you need it",
},
],
} as const;
Expand All @@ -157,14 +162,14 @@ export const PRICING_DATA = {
"Consultants set their own rates based on their expertise and market demand",
"You see the exact price before booking any session",
"No hidden fees - the displayed price is what you pay",
"Platform commission is already included in the price",
"Platform service fee is already included in the price",
],
commissionBenefits: [
"Maintain secure payment processing infrastructure",
"Provide integrated video conferencing and communication tools",
"Host and deliver course materials and content",
"Ensure platform security and data protection",
"Offer 24/7 customer support",
"Offer customer support",
"Continuously improve the user experience",
],
paymentMethods: [
Expand All @@ -183,7 +188,7 @@ export const PRICING_DATA = {
{
question: "Are there any additional fees?",
answer:
"No, there are no hidden fees. The price displayed is the final amount you will pay. The platform commission is already included in the displayed price.",
"No, there are no hidden fees. The price displayed is the final amount you will pay. The platform service fee is already included in the displayed price.",
},
{
question: "Can I get a refund if I cancel?",
Expand All @@ -198,20 +203,16 @@ export const PRICING_DATA = {
{
question: "Do you offer discounts or promotional pricing?",
answer:
"Individual consultants may offer promotional pricing or discounts for their services. These will be clearly displayed on their profiles and during the booking process. We also occasionally run platform-wide promotions - subscribe to our newsletter to stay updated.",
"Individual consultants may offer promotional pricing or discounts for their services. These will be clearly displayed on their profiles and during the booking process.",
},
{
question: "How are consultants paid?",
answer:
"Consultants receive their earnings after the session is completed successfully. The platform commission is automatically deducted, and the remaining amount is transferred to the consultant's registered bank account according to the settlement schedule.",
"Consultants receive their earnings after the session is completed successfully. The platform service fee is automatically deducted, and the remaining amount is transferred to the consultant's registered bank account according to the settlement schedule.",
},
],
} as const;

// Helper function to get mailto link
export const getMailtoLink = (email: string = COMPANY_INFO.email) =>
`mailto:${email}`;

// Helper function to get tel link
export const getTelLink = (phone: string = COMPANY_INFO.phone) =>
`tel:${phone}`;
60 changes: 5 additions & 55 deletions app/(pages)/contactus/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ import { Input } from "@/components/ui/input";
import { Textarea } from "@/components/ui/textarea";
import { Button } from "@/components/ui/button";
import { Separator } from "@/components/ui/separator";
import { Mail, MapPin, Phone, Clock, MessageSquare } from "lucide-react";
import { Mail, Clock, MessageSquare } from "lucide-react";
import {
COMPANY_INFO,
PAGE_META,
BUSINESS_HOURS,
INQUIRY_CATEGORIES,
SUPPORT_LINKS,
getMailtoLink,
getTelLink,
} from "../constants";

export default function ContactUsPage() {
Expand Down Expand Up @@ -51,23 +50,6 @@ export default function ContactUsPage() {
</CardDescription>
</CardHeader>
<CardContent className="space-y-6">
{/* Company Address */}
<div className="flex items-start gap-4">
<div className="flex-shrink-0 w-10 h-10 rounded-full bg-blue-100 dark:bg-blue-950 flex items-center justify-center">
<MapPin className="h-5 w-5 text-blue-600" />
</div>
<div>
<h3 className="font-semibold mb-1">Address</h3>
<p className="text-sm text-muted-foreground">
{COMPANY_INFO.name}
<br />
{COMPANY_INFO.address}
</p>
</div>
</div>

<Separator />

{/* Email */}
<div className="flex items-start gap-4">
<div className="flex-shrink-0 w-10 h-10 rounded-full bg-green-100 dark:bg-green-950 flex items-center justify-center">
Expand Down Expand Up @@ -98,29 +80,6 @@ export default function ContactUsPage() {

<Separator />

{/* Phone */}
<div className="flex items-start gap-4">
<div className="flex-shrink-0 w-10 h-10 rounded-full bg-purple-100 dark:bg-purple-950 flex items-center justify-center">
<Phone className="h-5 w-5 text-purple-600" />
</div>
<div>
<h3 className="font-semibold mb-1">Phone</h3>
<p className="text-sm text-muted-foreground">
<a
href={getTelLink()}
className="text-blue-600 hover:underline"
>
{COMPANY_INFO.phone}
</a>
</p>
<p className="text-xs text-muted-foreground mt-1">
(Available during business hours)
</p>
</div>
</div>

<Separator />

{/* Business Hours */}
<div className="flex items-start gap-4">
<div className="flex-shrink-0 w-10 h-10 rounded-full bg-orange-100 dark:bg-orange-950 flex items-center justify-center">
Expand Down Expand Up @@ -157,7 +116,7 @@ export default function ContactUsPage() {
href={link.href}
className="text-blue-600 hover:underline"
>
{link.label}
{link.label}
</a>
</li>
))}
Expand All @@ -171,7 +130,7 @@ export default function ContactUsPage() {
<CardHeader>
<CardTitle className="text-2xl">Send us a Message</CardTitle>
<CardDescription>
Fill out the form below and we'll get back to you as soon as
Fill out the form below and we&apos;ll get back to you as soon as
possible
</CardDescription>
</CardHeader>
Expand Down Expand Up @@ -212,15 +171,6 @@ export default function ContactUsPage() {
/>
</div>

<div className="space-y-2">
<Label htmlFor="phone">Phone (optional)</Label>
<Input
id="phone"
placeholder="Enter your phone number"
type="tel"
/>
</div>

<div className="space-y-2">
<Label htmlFor="subject">
Subject <span className="text-red-500">*</span>
Expand Down Expand Up @@ -288,9 +238,9 @@ export default function ContactUsPage() {
</p>
</div>
<div>
<h3 className="font-semibold mb-2">Multiple Channels</h3>
<h3 className="font-semibold mb-2">Easy to Reach</h3>
<p className="text-sm text-muted-foreground">
Reach us via email, phone, or contact form
Reach us via email or contact form
</p>
</div>
</div>
Expand Down
Loading
Loading