diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx new file mode 100644 index 0000000..9c2afbb --- /dev/null +++ b/src/app/admin/page.tsx @@ -0,0 +1,147 @@ +"use client"; + +import { ThemeProvider } from "@/components/theme/ThemeProvider"; +import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; +import { ReactLenis } from "lenis/react"; + +interface Request { + id: string; + clientName: string; + address: string; + issueType: string; + membershipPlan: string; + status: "pending" | "in-progress" | "completed" | "cancelled"; +} + +const mockRequests: Request[] = [ + { + id: "REQ-001", clientName: "John Smith", address: "123 Main St, Springfield, IL 62701", issueType: "Plumbing", membershipPlan: "Premium", status: "in-progress"}, + { + id: "REQ-002", clientName: "Sarah Johnson", address: "456 Oak Ave, Chicago, IL 60601", issueType: "HVAC", membershipPlan: "Standard", status: "pending"}, + { + id: "REQ-003", clientName: "Michael Chen", address: "789 Elm Rd, Naperville, IL 60540", issueType: "Electrical", membershipPlan: "Premium", status: "completed"}, + { + id: "REQ-004", clientName: "Emma Davis", address: "321 Pine St, Evanston, IL 60201", issueType: "Roofing", membershipPlan: "Basic", status: "pending"}, + { + id: "REQ-005", clientName: "Robert Wilson", address: "654 Maple Dr, Aurora, IL 60505", issueType: "Plumbing", membershipPlan: "Standard", status: "completed"}, +]; + +const getStatusColor = (status: string) => { + switch (status) { + case "completed": + return "bg-green-100 text-green-800"; + case "in-progress": + return "bg-blue-100 text-blue-800"; + case "pending": + return "bg-yellow-100 text-yellow-800"; + case "cancelled": + return "bg-red-100 text-red-800"; + default: + return "bg-gray-100 text-gray-800"; + } +}; + +export default function AdminDashboard() { + return ( + + + { + console.log("Logout clicked"); + }, + }} + animateOnLoad={true} + /> +
+
+ {/* Header */} +
+

Admin Dashboard

+

Manage customer requests and track service status

+
+ + {/* Table Container */} +
+
+ + + + + + + + + + + + + {mockRequests.map((request, index) => ( + + + + + + + + + ))} + +
Request IDClient NameAddressIssue TypeMembership PlanStatus
{request.id}{request.clientName}{request.address}{request.issueType} + + {request.membershipPlan} + + + + {request.status.charAt(0).toUpperCase() + request.status.slice(1)} + +
+
+
+ + {/* Summary Stats */} +
+
+

Total Requests

+

{mockRequests.length}

+
+
+

Pending

+

{mockRequests.filter(r => r.status === "pending").length}

+
+
+

In Progress

+

{mockRequests.filter(r => r.status === "in-progress").length}

+
+
+

Completed

+

{mockRequests.filter(r => r.status === "completed").length}

+
+
+
+
+
+
+ ); +} diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx index 813f50e..e58de47 100644 --- a/src/app/contact/page.tsx +++ b/src/app/contact/page.tsx @@ -1,128 +1,25 @@ "use client"; import { ThemeProvider } from "@/components/theme/ThemeProvider"; -import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; -import HeroBillboardRotatedCarousel from "@/components/sections/hero/HeroBillboardRotatedCarousel"; -import TextSplitAbout from "@/components/sections/about/TextSplitAbout"; -import FeatureCardTwentySeven from "@/components/sections/feature/FeatureCardTwentySeven"; +import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; +import HeroBillboardTestimonial from "@/components/sections/hero/HeroBillboardTestimonial"; +import MediaAbout from "@/components/sections/about/MediaAbout"; +import FeatureCardTwelve from "@/components/sections/feature/FeatureCardTwelve"; import ProductCardFour from "@/components/sections/product/ProductCardFour"; import PricingCardNine from "@/components/sections/pricing/PricingCardNine"; -import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve"; -import ContactFaq from "@/components/sections/contact/ContactFaq"; -import FooterBase from "@/components/sections/footer/FooterBase"; +import { PricingCardTwo } from "@/components/sections/pricing/PricingCardTwo"; +import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix"; +import ContactSplit from "@/components/sections/contact/ContactSplit"; +import FooterBaseCard from "@/components/sections/footer/FooterBaseCard"; import FooterSimple from "@/components/sections/footer/FooterSimple"; -import { Phone, Mail, MessageCircle, ArrowRight, Check } from "lucide-react"; +import { Mail, Phone, MapPin } from "lucide-react"; export default function ContactPage() { const navItems = [ { name: "Home", id: "/" }, - { name: "About", id: "#about" }, - { name: "Services", id: "#services" }, - { name: "Pricing", id: "#pricing" }, { name: "Contact", id: "/contact" }, ]; - const carouselItems = [ - { id: "1", imageSrc: "/carousel-1.jpg", imageAlt: "Service 1" }, - { id: "2", imageSrc: "/carousel-2.jpg", imageAlt: "Service 2" }, - { id: "3", imageSrc: "/carousel-3.jpg", imageAlt: "Service 3" }, - { id: "4", imageSrc: "/carousel-4.jpg", imageAlt: "Service 4" }, - { id: "5", imageSrc: "/carousel-5.jpg", imageAlt: "Service 5" }, - { id: "6", imageSrc: "/carousel-6.jpg", imageAlt: "Service 6" }, - ]; - - const features = [ - { - id: "1", title: "Expert Consultation", descriptions: [ - "Our experienced team provides professional guidance", "We assess your needs thoroughly", "Personalized solutions for your situation"], - imageSrc: "/feature-1.jpg", imageAlt: "Expert Consultation"}, - { - id: "2", title: "24/7 Support", descriptions: [ - "Round-the-clock customer support", "Rapid response to urgent inquiries", "Dedicated support specialists"], - imageSrc: "/feature-2.jpg", imageAlt: "24/7 Support"}, - { - id: "3", title: "Quality Assurance", descriptions: [ - "Rigorous testing and verification", "Industry-leading standards compliance", "Continuous improvement processes"], - imageSrc: "/feature-3.jpg", imageAlt: "Quality Assurance"}, - { - id: "4", title: "Professional Team", descriptions: [ - "Certified and experienced professionals", "Ongoing training and development", "Commitment to excellence"], - imageSrc: "/feature-4.jpg", imageAlt: "Professional Team"}, - ]; - - const products = [ - { - id: "1", name: "Premium Service Package", price: "$199", variant: "Comprehensive coverage", imageSrc: "/product-1.jpg", imageAlt: "Premium Package"}, - { - id: "2", name: "Standard Service Package", price: "$99", variant: "Essential services", imageSrc: "/product-2.jpg", imageAlt: "Standard Package"}, - { - id: "3", name: "Professional Service Package", price: "$149", variant: "Extended features", imageSrc: "/product-3.jpg", imageAlt: "Professional Package"}, - { - id: "4", name: "Enterprise Service Package", price: "$299", variant: "Full suite access", imageSrc: "/product-4.jpg", imageAlt: "Enterprise Package"}, - ]; - - const pricingPlans = [ - { - id: "starter", title: "Starter", price: "$29", period: "/month", imageSrc: "/pricing-1.jpg", imageAlt: "Starter Plan", button: { text: "Get Started", href: "#contact" }, - features: ["Basic support", "Monthly consultations", "Email assistance"], - }, - { - id: "professional", title: "Professional", price: "$79", period: "/month", imageSrc: "/pricing-2.jpg", imageAlt: "Professional Plan", button: { text: "Choose Plan", href: "#contact" }, - features: [ - "Priority support", "Weekly consultations", "Phone and email support", "Dedicated account manager"], - }, - ]; - - const testimonials = [ - { - id: "1", name: "Sarah Johnson", imageSrc: "/testimonial-1.jpg", imageAlt: "Sarah Johnson"}, - { - id: "2", name: "Michael Chen", imageSrc: "/testimonial-2.jpg", imageAlt: "Michael Chen"}, - { - id: "3", name: "Emma Davis", imageSrc: "/testimonial-3.jpg", imageAlt: "Emma Davis"}, - { - id: "4", name: "James Wilson", imageSrc: "/testimonial-4.jpg", imageAlt: "James Wilson"}, - ]; - - const faqs = [ - { - id: "1", title: "What services are included?", content: - "Our comprehensive service package includes professional consultation, 24/7 support, quality assurance, and ongoing assistance from our experienced team."}, - { - id: "2", title: "How quickly can you respond?", content: - "We pride ourselves on rapid response times. Most inquiries are addressed within 24 hours, and urgent matters are handled immediately by our dedicated support team."}, - { - id: "3", title: "Do you offer customized solutions?", content: - "Yes! We provide personalized solutions tailored to your specific needs. Contact us to discuss your requirements and we'll create a customized plan."}, - { - id: "4", title: "What are your pricing options?", content: - "We offer flexible pricing plans ranging from basic to enterprise solutions. Choose the plan that best fits your needs, and upgrade or downgrade anytime."}, - ]; - - const footerColumns = [ - { - title: "Product", items: [ - { label: "Features", href: "#features" }, - { label: "Pricing", href: "#pricing" }, - { label: "Security", href: "#security" }, - ], - }, - { - title: "Company", items: [ - { label: "About", href: "#about" }, - { label: "Blog", href: "#blog" }, - { label: "Careers", href: "#careers" }, - ], - }, - { - title: "Resources", items: [ - { label: "Help Center", href: "#help" }, - { label: "Contact", href: "/contact" }, - { label: "Status", href: "#status" }, - ], - }, - ]; - return ( -
-
-
- @@ -189,62 +102,158 @@ export default function ContactPage() {
+
+ +
+
- -
- -
-
- + + ); diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index fd97ff8..c7348d8 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { ThemeProvider } from "@/components/theme/ThemeProvider"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; import { useState, useMemo } from "react"; import { Search, Filter, ChevronUp, ChevronDown } from "lucide-react"; diff --git a/src/app/membership/page.tsx b/src/app/membership/page.tsx index e6fbd89..fe0a318 100644 --- a/src/app/membership/page.tsx +++ b/src/app/membership/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { ThemeProvider } from "@/components/theme/ThemeProvider"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; import { useState } from "react"; import { Upload } from "lucide-react"; diff --git a/src/app/page.tsx b/src/app/page.tsx index 084958b..eb21a17 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,15 +1,11 @@ "use client"; import { ThemeProvider } from "@/components/theme/ThemeProvider"; -import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered"; -import { useState } from "react"; +import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; export default function Home() { const navItems = [ { name: "Home", id: "/" }, - { name: "About", id: "#about" }, - { name: "Services", id: "#services" }, - { name: "Pricing", id: "#pricing" }, { name: "Contact", id: "/contact" }, ]; @@ -20,20 +16,44 @@ export default function Home() { borderRadius="rounded" contentWidth="medium" sizing="medium" - background="circleGradient" + background="none" cardStyle="solid" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="bold" > - -
-

Welcome to OW HomeShield

-
+
+
+
+

+ OW HomeShield +

+

+ Professional Home Maintenance & Repair Services +

+ +
+
+
); } diff --git a/src/app/service-request/page.tsx b/src/app/service-request/page.tsx index 548655a..77d6705 100644 --- a/src/app/service-request/page.tsx +++ b/src/app/service-request/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { ThemeProvider } from "@/components/theme/ThemeProvider"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen"; import { useState } from "react"; import { Upload } from "lucide-react";