mirror of
https://github.com/OwethuManagedServices/oms-website-nextjs.git
synced 2025-12-17 18:58:10 +00:00
26-05-2025/Removed ChatWidget
This commit is contained in:
@ -3,7 +3,6 @@ import { Poppins } from "next/font/google";
|
|||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import Header from "@/components/Header";
|
import Header from "@/components/Header";
|
||||||
import Footer from "@/components/Footer";
|
import Footer from "@/components/Footer";
|
||||||
import ChatbotWidget from "@/components/ChatbotWidget";
|
|
||||||
import { ThemeProvider } from "@/providers/theme-provider";
|
import { ThemeProvider } from "@/providers/theme-provider";
|
||||||
|
|
||||||
const poppins = Poppins({
|
const poppins = Poppins({
|
||||||
@ -95,7 +94,6 @@ export default function RootLayout({
|
|||||||
<Header />
|
<Header />
|
||||||
<main>{children}</main>
|
<main>{children}</main>
|
||||||
<Footer />
|
<Footer />
|
||||||
<ChatbotWidget />
|
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,22 +0,0 @@
|
|||||||
// components/ChatbotWidget.tsx
|
|
||||||
import React from "react";
|
|
||||||
import { FaComments } from "react-icons/fa";
|
|
||||||
|
|
||||||
const ChatbotWidget = () => {
|
|
||||||
// TODO: Implement actual chat functionality (e.g., integrate a service)
|
|
||||||
// const handleChatOpen = () => {
|
|
||||||
// alert("Chatbot functionality to be implemented!");
|
|
||||||
// };
|
|
||||||
|
|
||||||
return (
|
|
||||||
<button
|
|
||||||
// onClick={handleChatOpen}
|
|
||||||
className="fixed bottom-6 right-6 bg-primary text-dark p-4 rounded-full shadow-lg hover:bg-primary/90 focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 transition-all duration-300 z-50"
|
|
||||||
aria-label="Open Chat"
|
|
||||||
>
|
|
||||||
<FaComments size={24} />
|
|
||||||
</button>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
export default ChatbotWidget;
|
|
||||||
@ -398,7 +398,7 @@ const HeaderClient = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div
|
{/* <div
|
||||||
className={`group ${isActive("/offerings") ? "active" : ""}`}
|
className={`group ${isActive("/offerings") ? "active" : ""}`}
|
||||||
onMouseEnter={handleOfferingsMouseEnter}
|
onMouseEnter={handleOfferingsMouseEnter}
|
||||||
onMouseLeave={handleOfferingsMouseLeave}
|
onMouseLeave={handleOfferingsMouseLeave}
|
||||||
@ -438,7 +438,7 @@ const HeaderClient = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> */}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
{/* ← Here’s the Explore Our Offerings link, back in its original spot
|
{/* ← Here’s the Explore Our Offerings link, back in its original spot
|
||||||
@ -513,13 +513,13 @@ const HeaderClient = () => {
|
|||||||
<DropdownLink href="/contact" onClick={handleMobileLinkClick}>
|
<DropdownLink href="/contact" onClick={handleMobileLinkClick}>
|
||||||
Contact Us
|
Contact Us
|
||||||
</DropdownLink>
|
</DropdownLink>
|
||||||
|
{/*
|
||||||
<span className="pt-3 pb-1 text-xs uppercase text-muted-foreground">
|
<span className="pt-3 pb-1 text-xs uppercase text-muted-foreground">
|
||||||
Explore Our Offerings
|
Explore Our Offerings
|
||||||
</span>
|
</span>
|
||||||
<DropdownLink href="/offerings" onClick={handleMobileLinkClick}>
|
<DropdownLink href="/offerings" onClick={handleMobileLinkClick}>
|
||||||
Our Offerings
|
Our Offerings
|
||||||
</DropdownLink>
|
</DropdownLink> */}
|
||||||
|
|
||||||
<div className="pt-4">
|
<div className="pt-4">
|
||||||
<Link
|
<Link
|
||||||
|
|||||||
Reference in New Issue
Block a user