diff --git a/src/app/page.tsx b/src/app/page.tsx index 25fa826..f052c65 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,253 +1,92 @@ "use client"; import ReactLenis from "lenis/react"; -import HeroCentered from "@/components/sections/hero/HeroCentered"; import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; -import FeatureBento, { type FeatureCard } from "@/components/sections/feature/FeatureBento"; -import FeatureBorderGlow from "@/components/sections/feature/featureBorderGlow/FeatureBorderGlow"; import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; -import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen"; -import PricingCardEight from "@/components/sections/pricing/PricingCardEight"; import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal"; -import ContactCenter from "@/components/sections/contact/ContactCenter"; -import { Zap, Shield, Rocket, Target, Sparkles, Crown, Mail, Users, Layers, Code } from "lucide-react"; +import ContactSplit from "@/components/sections/contact/ContactSplit"; +import { useState } from "react"; -export default function SaasTemplatePage() { - const navItems = [ - { name: "Features", id: "features" }, - { name: "Pricing", id: "pricing" }, - { name: "About", id: "about" }, - { name: "Contact", id: "contact" }, - ]; +export default function ProposalWriterPage() { + const [jobDescription, setJobDescription] = useState(""); + const [userName, setUserName] = useState(""); + const [proposal, setProposal] = useState(""); - const avatars = [ - { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/luxury-travel-agency/testimonial/testimonial1.webp", alt: "User 1" }, - { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/skincare/image5.avif", alt: "User 1" }, - { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/skincare/image7.avif", alt: "User 1" }, - { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/skincare/image8.avif", alt: "User 1" }, - ]; + const navItems = [ + { name: "Features", id: "/#features" }, + { name: "Pricing", id: "/#pricing" }, + { name: "Proposal Writer", id: "/proposal-writer" }, + { name: "Contact", id: "/#contact" }, + ]; - const features: FeatureCard[] = [ - { - bentoComponent: "globe", - title: "Global Reach", - description: "Connect with users worldwide through our distributed infrastructure", - }, - { - bentoComponent: "marquee", - variant: "text", - centerIcon: Zap, - texts: ["Fast", "Reliable", "Secure", "Scalable", "Modern"], - title: "Built for Speed", - description: "Lightning fast performance with optimized delivery", - }, - { - bentoComponent: "3d-stack-cards", - items: [ - { icon: Shield, title: "Security", subtitle: "Enterprise-grade", detail: "Bank-level encryption" }, - { icon: Rocket, title: "Performance", subtitle: "99.9% uptime", detail: "Always available" }, - { icon: Target, title: "Accuracy", subtitle: "100% reliable", detail: "Data you can trust" }, - ], - title: "Built for Scale", - description: "Deploy to any region with automatic failover support", - } - ]; + const handleGenerate = () => { + setProposal(`As a highly experienced freelancer from Pakistan with a proven track record of delivering top-tier results on platforms like Upwork and Fiverr, I understand the nuances of high-converting proposals. Based on your project description: "${jobDescription.substring(0, 50)}...", I would leverage my technical expertise and communication skills to ensure your project's success. My unique value proposition lies in my dedication to clear requirements gathering, rapid turnaround times, and post-delivery support, ensuring that clients like you receive nothing short of excellence. Looking forward to discussing how we can achieve your goals together, ${userName}.`); + }; - return ( - - - - console.log("Get Started clicked"), - }, - { - text: "Learn More", - onClick: () => console.log("Learn More clicked"), - }, - ]} - marqueeItems={[ - { type: "text-icon", text: "Lightning Fast", icon: Zap }, - { type: "text-icon", text: "Enterprise Security", icon: Shield }, - { type: "text-icon", text: "99.9% Uptime", icon: Rocket }, - { type: "text-icon", text: "Precision Targeting", icon: Target }, - { type: "text-icon", text: "AI Powered", icon: Sparkles }, - ]} - /> - - - - console.log("Starter clicked") }, - ], - features: [ - "Up to 5 projects", - "Basic analytics", - "24/7 email support", - "API access", - ], - }, - { - id: "pro", - badge: "Pro", - badgeIcon: Rocket, - price: "$49/mo", - subtitle: "For growing teams", - buttons: [ - { text: "Get Started", onClick: () => console.log("Pro clicked") }, - ], - features: [ - "Unlimited projects", - "Advanced analytics", - "Priority support", - "Custom integrations", - "Team collaboration", - ], - }, - { - id: "enterprise", - badge: "Enterprise", - badgeIcon: Crown, - price: "$99/mo", - subtitle: "For large organizations", - buttons: [ - { text: "Contact Sales", onClick: () => console.log("Enterprise clicked") }, - ], - features: [ - "Everything in Pro", - "Dedicated account manager", - "Custom SLA", - "On-premise deployment", - "Advanced security", - ], - }, - ]} - /> - console.log("Email submitted:", email)} - /> - - - - ); -} + return ( + + + + + + Expert Proposal Writer + + + Your Name + setUserName(e.target.value)} + /> + + + Job Post Description + setJobDescription(e.target.value)} + /> + + + Generate Expert Proposal + + {proposal && ( + + {proposal} + + )} + + + + console.log("Email submitted:", email)} + /> + + + + + ); +} \ No newline at end of file