mirror of
https://github.com/OwethuManagedServices/oms-website-nextjs.git
synced 2025-12-17 18:58:10 +00:00
fix: update product link and improve dropdown layout in HeaderClient
This commit is contained in:
@ -11,25 +11,7 @@ import {
|
|||||||
} from "react-icons/fa"; // Using Fa icons for consistency
|
} from "react-icons/fa"; // Using Fa icons for consistency
|
||||||
import { COLORS } from "@/constants"; // Using COLORS constant
|
import { COLORS } from "@/constants"; // Using COLORS constant
|
||||||
import ContactForm from "@/components/ContactForm";
|
import ContactForm from "@/components/ContactForm";
|
||||||
import { Metadata } from "next"
|
|
||||||
// Metadata for the Contact page
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
|
||||||
title: "Contact Us | Owethu Managed Services",
|
|
||||||
description: "Get in touch with Owethu Managed Services for expert IT solutions, resource augmentation, and project management. We're here to help you succeed.",
|
|
||||||
keywords: [
|
|
||||||
"contact OMS",
|
|
||||||
"Price",
|
|
||||||
"Managed IT services",
|
|
||||||
"Resource augmentation",
|
|
||||||
"Project management",
|
|
||||||
"Bank statement reader",
|
|
||||||
"OBSE",
|
|
||||||
"Centurion",
|
|
||||||
|
|
||||||
]
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
// Define the structure for FAQ items
|
// Define the structure for FAQ items
|
||||||
interface FAQItem {
|
interface FAQItem {
|
||||||
|
|||||||
@ -13,6 +13,7 @@ import {
|
|||||||
FiUsers,
|
FiUsers,
|
||||||
FiCpu,
|
FiCpu,
|
||||||
FiBox,
|
FiBox,
|
||||||
|
FiLayers
|
||||||
} from "react-icons/fi";
|
} from "react-icons/fi";
|
||||||
import ThemeToggle from "./ThemeToggle";
|
import ThemeToggle from "./ThemeToggle";
|
||||||
|
|
||||||
@ -265,15 +266,16 @@ const HeaderClient = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Products */}
|
{/* Products */}
|
||||||
<div
|
<div
|
||||||
className={`group ${isActive("/obse") ? "active" : ""}`} // Add active class to group
|
className={`group ${isActive("/products") ? "active" : ""}`} // Add active class to group
|
||||||
onMouseEnter={handleProductsMouseEnter}
|
onMouseEnter={handleProductsMouseEnter}
|
||||||
onMouseLeave={handleProductsMouseLeave}
|
onMouseLeave={handleProductsMouseLeave}
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
className={`${megaMenuTriggerClasses} ${
|
className={`${megaMenuTriggerClasses} ${
|
||||||
isActive("/obse") ? "after:w-full" : ""
|
isActive("/products") ? "after:w-full" : ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
{" "}
|
{" "}
|
||||||
@ -283,7 +285,7 @@ const HeaderClient = () => {
|
|||||||
</button>
|
</button>
|
||||||
<div
|
<div
|
||||||
className={`
|
className={`
|
||||||
absolute left-0 top-full w-full shadow-lg z-1000
|
absolute left-0 top-full w-full shadow-lg z-40
|
||||||
bg-card border-x border-b border-border rounded-b-lg
|
bg-card border-x border-b border-border rounded-b-lg
|
||||||
opacity-0 invisible translate-y-[-10px]
|
opacity-0 invisible translate-y-[-10px]
|
||||||
${
|
${
|
||||||
@ -295,7 +297,7 @@ const HeaderClient = () => {
|
|||||||
`}
|
`}
|
||||||
>
|
>
|
||||||
<div className="container mx-auto px-4 sm:px-6 lg:px-8 py-5">
|
<div className="container mx-auto px-4 sm:px-6 lg:px-8 py-5">
|
||||||
<div className="max-w-md">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-x-8 gap-y-6 max-w-xl">
|
||||||
<Link
|
<Link
|
||||||
href="/obse"
|
href="/obse"
|
||||||
className={`${megaMenuItemClasses} ${
|
className={`${megaMenuItemClasses} ${
|
||||||
@ -310,16 +312,27 @@ const HeaderClient = () => {
|
|||||||
|
|
||||||
OBSE Platform
|
OBSE Platform
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
|
{/* Add more service links here
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div className="max-w-md">
|
|
||||||
<Link
|
<Link
|
||||||
|
href="/services/project-management"
|
||||||
|
className={`${megaMenuItemClasses} ${
|
||||||
|
isActive("/services/project-management")
|
||||||
|
? "text-primary"
|
||||||
|
: ""
|
||||||
|
}`} // Apply active class
|
||||||
|
>
|
||||||
|
<FiBriefcase className={megaMenuIconClasses} />
|
||||||
|
<div className={megaMenuTextWrapperClasses}>
|
||||||
|
<p className={megaMenuTitleClasses}>
|
||||||
|
Project Management
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</Link>
|
||||||
|
*/}
|
||||||
|
<Link
|
||||||
href="https://cvevolve.com/"
|
href="https://cvevolve.com/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
className={`${megaMenuItemClasses} ${
|
className={`${megaMenuItemClasses} ${
|
||||||
@ -328,20 +341,16 @@ const HeaderClient = () => {
|
|||||||
>
|
>
|
||||||
{" "}
|
{" "}
|
||||||
{/* Apply active class */}
|
{/* Apply active class */}
|
||||||
<FiBox className={megaMenuIconClasses} />
|
<FiLayers className={megaMenuIconClasses} />
|
||||||
<div className={megaMenuTextWrapperClasses}>
|
<div className={megaMenuTextWrapperClasses}>
|
||||||
<p className={megaMenuTitleClasses}>
|
<p className={megaMenuTitleClasses}>
|
||||||
|
|
||||||
CVEvolve
|
CVEvolve
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user