65 lines
2.3 KiB
TypeScript
Raw Normal View History

2025-02-01 06:57:24 +07:00
"use client";
import { toggleMobileMenu } from "@/utils/toggleMobileMenu";
import Image from "next/image";
2025-02-03 12:53:36 +07:00
import Link from "next/link";
import React from "react";
import Nav2 from "@/components/Nav";
import LanguageSelect from "@/components/LanguageSelect";
2025-02-01 06:57:24 +07:00
2025-02-03 12:53:36 +07:00
export default function Header1Multipage({ links }: any) {
2025-02-01 06:57:24 +07:00
return (
<div className="main-nav-sub full-wrapper">
{/* Logo (* Add your text or image to the link tag. Use SVG or PNG image format.
If you use a PNG logo image, the image resolution must be equal 200% of the visible logo
image size for support of retina screens. See details in the template documentation. *) */}
2025-02-03 12:53:36 +07:00
<div className="nav-logo-wrap local-scroll">
<Link href={`/`} className="logo">
2025-02-01 06:57:24 +07:00
<Image
2025-02-03 12:53:36 +07:00
src="/assets/images/demo-slick/logo-dark.webp"
2025-02-01 06:57:24 +07:00
alt="Your Company Logo"
2025-02-03 12:53:36 +07:00
width={105}
height={34}
2025-02-01 06:57:24 +07:00
className="light-mode-logo"
/>
<Image
2025-02-03 12:53:36 +07:00
src="/assets/images/demo-slick/logo-dark.webp"
2025-02-01 06:57:24 +07:00
alt="Your Company Logo"
2025-02-03 12:53:36 +07:00
width={405}
height={34}
2025-02-01 06:57:24 +07:00
className="dark-mode-logo"
/>
2025-02-03 12:53:36 +07:00
</Link>
2025-02-01 06:57:24 +07:00
</div>
{/* Mobile Menu Button */}
2025-02-03 12:53:36 +07:00
<div onClick={toggleMobileMenu} className="mobile-nav" role="button" tabIndex={0}>
2025-02-01 06:57:24 +07:00
<i className="mobile-nav-icon" />
<span className="visually-hidden">Menu</span>
</div>
{/* Main Menu */}
<div className="inner-nav desktop-nav">
2025-02-03 12:53:36 +07:00
<ul className="clearlist local-scroll">
{/* Item With Sub */}
<Nav2 links={links} />
{/* End Item With Sub */}
</ul>
<ul className="items-end clearlist">
2025-02-01 06:57:24 +07:00
{/* Languages */}
<LanguageSelect />
{/* End Languages */}
<li>
2025-02-03 12:53:36 +07:00
<Link href="/main-pages-contact-1" className="opacity-1 no-hover">
<span className="link-hover-anim underline" data-link-animate="y">
<span className="link-strong link-strong-unhovered">Lets work together</span>
<span className="link-strong link-strong-hovered" aria-hidden="true">
Lets work together
</span>
2025-02-01 06:57:24 +07:00
</span>
2025-02-03 12:53:36 +07:00
</Link>
2025-02-01 06:57:24 +07:00
</li>
</ul>
</div>
{/* End Main Menu */}
</div>
);
}