diff --git a/app/cv/page.tsx b/app/cv/page.tsx index e9e62168..f9140a5c 100644 --- a/app/cv/page.tsx +++ b/app/cv/page.tsx @@ -10,9 +10,9 @@ export default function CVPage() {
- + {/* Grid pattern overlay */} -
-
+
{/* Enhanced Header */}
@@ -29,7 +29,7 @@ export default function CVPage() { CV Builder
- +

Build Your{" "} @@ -39,46 +39,64 @@ export default function CVPage() {

- +

Create a comprehensive{" "} academic CV{" "} highlighting your{" "} achievements,{" "} - research, and{" "} - career progression + research, + and{" "} + + career progression +

{/* Stats bar */}
- Academic - Focus + + Academic + + + Focus +
- Research - Ready + + Research + + + Ready +
- Detailed - Format + + Detailed + + + Format +
- + {/* Enhanced Generator Container */}
{/* Background shimmer effect */}
- + {/* Decorative elements */}
- +
- +
@@ -91,20 +109,27 @@ export default function CVPage() {
- Ready to showcase your expertise? + + Ready to showcase your expertise? +

- Create a CV that highlights your academic and professional journey + Create a CV that highlights your academic and professional + journey

- Academic Standard + + Academic Standard +
- Comprehensive + + Comprehensive +
@@ -114,4 +139,4 @@ export default function CVPage() {
); -} \ No newline at end of file +} diff --git a/app/diagram/page.tsx b/app/diagram/page.tsx index 9c240b4c..445cb966 100644 --- a/app/diagram/page.tsx +++ b/app/diagram/page.tsx @@ -31,7 +31,7 @@ export default function DiagramPage() { /> -
+
{/* Enhanced Header */}
@@ -53,10 +53,7 @@ export default function DiagramPage() {

Design{" "} - - flowcharts - - ,{" "} + flowcharts,{" "} system architectures @@ -116,11 +113,7 @@ export default function DiagramPage() {

- {isLoading ? ( - - ) : ( - - )} + {isLoading ? : }
@@ -137,7 +130,8 @@ export default function DiagramPage() {

- Create professional diagrams that communicate complex concepts clearly + Create professional diagrams that communicate complex concepts + clearly

@@ -160,4 +154,4 @@ export default function DiagramPage() {
); -} \ No newline at end of file +} diff --git a/app/letter/page.tsx b/app/letter/page.tsx index ffb12769..b65c5ec0 100644 --- a/app/letter/page.tsx +++ b/app/letter/page.tsx @@ -30,7 +30,7 @@ export default function LetterPage() { /> -
+
{/* Enhanced Header */}
diff --git a/app/presentation/page.tsx b/app/presentation/page.tsx index cb614a76..77232d3d 100644 --- a/app/presentation/page.tsx +++ b/app/presentation/page.tsx @@ -37,7 +37,7 @@ export default function PresentationPage() { /> -
+
{/* Enhanced Header */}
diff --git a/app/pricing/page.tsx b/app/pricing/page.tsx index e983a96d..52a001cc 100644 --- a/app/pricing/page.tsx +++ b/app/pricing/page.tsx @@ -1,6 +1,18 @@ -"use client" -import React from 'react'; -import { Check, Star, Zap, Crown, Sparkles, Wand2, ArrowDown, Shield, Globe, Heart, Coffee } from 'lucide-react'; +"use client"; +import React from "react"; +import { + Check, + Star, + Zap, + Crown, + Sparkles, + Wand2, + ArrowDown, + Shield, + Globe, + Heart, + Coffee, +} from "lucide-react"; import { SiteHeader } from "@/components/site-header"; interface PricingFeature { @@ -16,7 +28,7 @@ interface PricingPlan { features: PricingFeature[]; popular?: boolean; ctaText: string; - ctaVariant: 'primary' | 'secondary' | 'premium'; + ctaVariant: "primary" | "secondary" | "premium"; icon: React.ReactNode; } @@ -26,7 +38,8 @@ export default function PricingPage() { name: "Free", price: "$0", period: "/month", - description: "Perfect for individuals getting started with document automation", + description: + "Perfect for individuals getting started with document automation", icon: , features: [ { text: "5 documents per month", included: true }, @@ -39,13 +52,14 @@ export default function PricingPage() { { text: "Priority support", included: false }, ], ctaText: "Get Started", - ctaVariant: "secondary" + ctaVariant: "secondary", }, { name: "Professional", price: "$19", period: "/month", - description: "Ideal for professionals and small teams who need more power", + description: + "Ideal for professionals and small teams who need more power", icon: , popular: true, features: [ @@ -59,7 +73,7 @@ export default function PricingPage() { { text: "Priority support", included: false }, ], ctaText: "Start Free Trial", - ctaVariant: "primary" + ctaVariant: "primary", }, { name: "Enterprise", @@ -78,19 +92,20 @@ export default function PricingPage() { { text: "Dedicated account manager", included: true }, ], ctaText: "Contact Sales", - ctaVariant: "premium" - } + ctaVariant: "premium", + }, ]; const getButtonClasses = (variant: string, popular?: boolean) => { - const baseClasses = "w-full py-3 px-6 rounded-lg font-semibold transition-all duration-200 transform hover:scale-105"; - + const baseClasses = + "w-full py-3 px-6 rounded-lg font-semibold transition-all duration-200 transform hover:scale-105"; + switch (variant) { - case 'primary': + case "primary": return `${baseClasses} bg-blue-600 text-white hover:bg-blue-700 shadow-lg hover:shadow-xl`; - case 'secondary': + case "secondary": return `${baseClasses} bg-gray-100 text-gray-800 hover:bg-gray-200 border border-gray-300`; - case 'premium': + case "premium": return `${baseClasses} bg-gradient-to-r from-purple-600 to-indigo-600 text-white hover:from-purple-700 hover:to-indigo-700 shadow-lg hover:shadow-xl`; default: return baseClasses; @@ -99,68 +114,86 @@ export default function PricingPage() { return (
- {/* Animated background elements matching landing page */} -
- - {/* Floating orbs - matching landing page */} -
-
-
- - {/* Grid pattern overlay */} -
+ {/* Animated background elements matching landing page */} +
+ + {/* Floating orbs - matching landing page */} +
+
+
+ + {/* Grid pattern overlay */} +
-
+
{/* Pricing Section with matching background elements */} -
- -
+
+
{/* Header matching landing page style */}
{/* Badge matching landing page style */}
- Pricing Plans + + Pricing Plans +
- + {/* Modern heading matching landing page typography */} -

+

Choose Your{" "} Perfect Plan
- +

- + {/* Modern subtitle matching landing page style */}

Transform your document workflow with{" "} DocMagic{" "} Start free and scale as you grow with{" "} - magical precision + + magical precision +

- + {/* Stats bar matching landing page */}
- 3 - Plans Available + + 3 + + + Plans Available +
- FREE - Trial + + FREE + + + Trial +
- 24/7 - Support + + 24/7 + + + Support +
@@ -170,8 +203,10 @@ export default function PricingPage() { {plans.map((plan, index) => (
{/* Popular Badge */} @@ -186,17 +221,29 @@ export default function PricingPage() {
{/* Plan Header */}
-
+
{plan.icon}
-

{plan.name}

+

+ {plan.name} +

- {plan.price} - {plan.period} + + {plan.price} + + + {plan.period} +
-

{plan.description}

+

+ {plan.description} +

{/* Features List */} @@ -204,16 +251,22 @@ export default function PricingPage() {
    {plan.features.map((feature, featureIndex) => (
  • -
    +
    - + {feature.text}
  • @@ -222,7 +275,12 @@ export default function PricingPage() {
{/* CTA Button */} -
@@ -235,7 +293,7 @@ export default function PricingPage() {
{/* Background shimmer effect */}
- +
@@ -245,7 +303,8 @@ export default function PricingPage() {

- Contact our sales team to discuss enterprise features, custom integrations, and volume discounts. + Contact our sales team to discuss enterprise features, + custom integrations, and volume discounts.

@@ -279,34 +342,40 @@ export default function PricingPage() {
- + {/* Grid pattern overlay */} -
- -
+ +
{/* Professional Stats section */}
- Secure & Private + + Secure & Private +
- Lightning Fast + + Lightning Fast +
- 5-Star Rated + + 5-Star Rated +
@@ -314,4 +383,4 @@ export default function PricingPage() {
); -} \ No newline at end of file +} diff --git a/app/resume/page.tsx b/app/resume/page.tsx index 737c84c9..5a7be3cd 100644 --- a/app/resume/page.tsx +++ b/app/resume/page.tsx @@ -33,17 +33,17 @@ export default function ResumePage() { /> -
-
+
+
{/* Enhanced Header */} -
+
Resume Tools
-

+

Create & Optimize Your{" "} Professional Resume diff --git a/app/templates/page.tsx b/app/templates/page.tsx index 1f8943eb..e60dcb0a 100644 --- a/app/templates/page.tsx +++ b/app/templates/page.tsx @@ -1,7 +1,7 @@ -'use client'; +"use client"; -import { useEffect, useState } from 'react'; -import { useRouter } from 'next/navigation'; +import { useEffect, useState } from "react"; +import { useRouter } from "next/navigation"; import { TemplateList } from "@/components/templates/template-list"; import { Template } from "@/types/templates"; import { useToast } from "@/hooks/use-toast"; @@ -21,22 +21,22 @@ export default function TemplatesPage() { setIsLoading(true); // Use the API route which has fallback to mock data - const response = await fetch('/api/templates'); + const response = await fetch("/api/templates"); if (!response.ok) { - throw new Error('Failed to fetch templates'); + throw new Error("Failed to fetch templates"); } const allTemplates = await response.json(); setTemplates(allTemplates); setError(null); } catch (error) { - console.error('Error fetching templates:', error); - setError('Failed to load templates. Please try again.'); + console.error("Error fetching templates:", error); + setError("Failed to load templates. Please try again."); toast({ - title: 'Error', - description: 'Failed to load templates. Please try again.', - variant: 'destructive', + title: "Error", + description: "Failed to load templates. Please try again.", + variant: "destructive", }); } finally { setIsLoading(false); @@ -69,7 +69,9 @@ export default function TemplatesPage() {
-

Loading templates...

+

+ Loading templates... +

@@ -87,7 +89,7 @@ export default function TemplatesPage() {
-
+
@@ -118,10 +120,10 @@ export default function TemplatesPage() { /> -
-
+
+
{/* Enhanced Header */} -
+
Template Library @@ -216,7 +218,8 @@ export default function TemplatesPage() {

- Start with a template or build your own from scratch with AI assistance + Start with a template or build your own from scratch with AI + assistance