diff --git a/app/(blogs)/news-details/[slug]/page.jsx b/app/(blogs)/news-details/[slug]/page.jsx index f66234a..cefca4f 100644 --- a/app/(blogs)/news-details/[slug]/page.jsx +++ b/app/(blogs)/news-details/[slug]/page.jsx @@ -49,7 +49,7 @@ export default function Page({ params }) {
  • -
  • Blog Details
  • +
  • {newsItem.title}
  • diff --git a/components/footers/Footer1.jsx b/components/footers/Footer1.jsx index 05a7dea..ec5e496 100644 --- a/components/footers/Footer1.jsx +++ b/components/footers/Footer1.jsx @@ -70,13 +70,14 @@ export default function Footer1() { >
    -
    About Company
    +
    About Cibus Industries

    - Nullam interdum libero vitae pretium aliquam
    - donec nibh purus laoreet in ullamcorper vel
    - malesuada sit amet enim. + Engineering high-performance coconut
    + processing machinery that drives efficiency,
    + scalability, and sustainability for businesses
    + across the globe.

    {socialLinks.map((elm, i) => ( diff --git a/components/headers/Nav.jsx b/components/headers/Nav.jsx index 2c7494c..4421772 100644 --- a/components/headers/Nav.jsx +++ b/components/headers/Nav.jsx @@ -4,10 +4,12 @@ import { menuData } from "@/data/menu"; import { useState } from "react"; import Image from "next/image"; import { usePathname } from "next/navigation"; + export default function Nav() { const [parentActive, setParentActive] = useState(-1); const [subparentActive, setsubParentActive] = useState(-1); const pathname = usePathname(); + const isMenuActive = (menuItem = menuData[0]) => { let active = false; if (menuItem.href?.includes("/")) { @@ -22,11 +24,21 @@ export default function Nav() { active = true; } } + if (elm2.slug) { + if (`/product-details/${elm2.slug}`.split("/")[2] === pathname.split("/")[2]) { + active = true; + } + } if (elm2.submenu) { elm2.submenu.forEach((elm3) => { - if (elm3.href.split("/")[1] == pathname.split("/")[1]) { + if (elm3.href?.split("/")[1] == pathname.split("/")[1]) { active = true; } + if (elm3.slug) { + if (`/product-details/${elm3.slug}`.split("/")[2] === pathname.split("/")[2]) { + active = true; + } + } }); } if (elm2.homeMenuItems) { @@ -57,8 +69,10 @@ export default function Nav() { setParentActive((pre) => (pre == index ? -1 : index)) } > - {item.label} {item.iconClass && }{" "} + {item.label}{" "} + {item.iconClass && }{" "} + {item.submenu && (
    -

    {homeItem.title}

    +

    + {homeItem.title} +

    ))} @@ -100,7 +116,11 @@ export default function Nav() { ) : (
  • setsubParentActive((pre) => @@ -113,6 +133,7 @@ export default function Nav() { )} + {subItem.submenu && (
      {nestedItem.label} diff --git a/components/homes/home-1/Blogs.jsx b/components/homes/home-1/Blogs.jsx index 429159a..c10ff2e 100644 --- a/components/homes/home-1/Blogs.jsx +++ b/components/homes/home-1/Blogs.jsx @@ -57,10 +57,10 @@ export default function Blogs() { >
        -
      • + {/*
      • {leftBlog.author.name} -
      • + */}
      • {leftBlog.category} @@ -96,10 +96,10 @@ export default function Blogs() { >
          -
        • + {/*
        • {item.author.name} -
        • + */}
        • {item.category} diff --git a/components/homes/home-1/Hero.jsx b/components/homes/home-1/Hero.jsx index 204ada4..d27fcd5 100644 --- a/components/homes/home-1/Hero.jsx +++ b/components/homes/home-1/Hero.jsx @@ -29,7 +29,7 @@ export default function Hero() { title: "Smart Coconut", subtitle: "Solutions", text: "Efficient machines for deshelling to drying coconut.", - buttonText: "Get A Quote", + buttonText: "Start Exploring", buttonLink: "/about", }, { @@ -39,7 +39,7 @@ export default function Hero() { subtitle: "Engineering", text: "Automation and precision for coconut processing plants.", buttonText: "Discover Our Innovations", - buttonLink: "/about", + buttonLink: "/product", }, { id: 3, @@ -48,7 +48,7 @@ export default function Hero() { subtitle: "Impact", text: "Trusted coconut machinery in 20+ countries worldwide.", buttonText: "Explore Global Projects", - buttonLink: "/about", + buttonLink: "/project", }, ]; diff --git a/components/homes/home-1/Products/product-details.jsx b/components/homes/home-1/Products/product-details.jsx index 0100abc..59b18f2 100644 --- a/components/homes/home-1/Products/product-details.jsx +++ b/components/homes/home-1/Products/product-details.jsx @@ -27,7 +27,7 @@ export default function ProductDetails({ productItem }) {
          {serviceItems.map((item, index) => ( - +
          img diff --git a/data/menu.js b/data/menu.js index 760a77c..1c0bc7f 100644 --- a/data/menu.js +++ b/data/menu.js @@ -67,11 +67,20 @@ export const menuData = [ // { label: "Service Details", href: "/service-details/1" }, // ], // }, - { + { label: "Products", href: "/product", + iconClass: "fa-regular fa-plus", + submenu: [ + { label: "Coconut Deshelling Machine", slug: "coconut-deshelling-machine" }, + { label: "Coconut Dryer (Hot Air / Tray Type)", slug: "coconut-dryer-hot-air-tray-type" }, + { label: "Coconut Pulverizer & Grinder", slug: "coconut-pulverizer-grinder" }, + { label: "Coconut Milk Extractor", slug: "coconut-milk-extractor" }, + { label: "Virgin Coconut Oil (VCO) Processing Equipment", slug: "virgin-coconut-oil-vco-processing-equipment" }, + { label: "Coconut Water Processing Unit", slug: "coconut-water-processing-unit" }, + ], }, - { + { label: "Turnkey Solutions", href: "/turnkey-solutions", }, diff --git a/data/services.js b/data/services.js index cab41ff..ea3fc67 100644 --- a/data/services.js +++ b/data/services.js @@ -6,7 +6,7 @@ export const serviceItems = [ iconSrc: "/assets/img/products/icon-1.webp", number: "01", title: "Coconut Deshelling Machine", - description: "Effortlessly remove coconut shells with high-speed, durable, low-maintenance, energy-efficient deshellers built for continuous production.", + description: "Remove coconut shells with high-speed, durable, low-maintenance, energy-efficient, robust deshellers built for continuous production.", }, { id: 2, @@ -24,7 +24,7 @@ export const serviceItems = [ iconSrc: "/assets/img/products/icon-3.webp", number: "03", title: "Coconut Pulverizer & Grinder", - description: "Grind dried coconut into fine powder with consistent output, low power consumption, minimal maintenance, high efficiency, and smooth operation.", + description: "Grind dried coconut into fine powder with consistent, reliable output, low power, high efficiency, and smooth automated operation.", }, { id: 4, @@ -42,7 +42,7 @@ export const serviceItems = [ iconSrc: "/assets/img/products/icon-5.webp", number: "05", title: "Virgin Coconut Oil (VCO) Processing Equipment", - description: "From cold press systems to filtration and bottling, complete VCO machinery for value-added production.", + description: "From cold press systems to filtration and bottling, complete VCO machinery for production.", }, { id: 6, @@ -51,7 +51,7 @@ export const serviceItems = [ iconSrc: "/assets/img/products/icon-6.webp", number: "06", title: "Coconut Water Processing Unit", - description: "Sterilize, filter, and bottle coconut water with our modular, maintainable setups. Designed for scalability, these systems ensure purity and shelf stability.", + description: "Sterilize, filter, and bottle coconut water with modular setups. Designed for scalability, Ensure purity and stability.", } ]; diff --git a/public/assets/img/about-page/left-bottom.webp b/public/assets/img/about-page/left-bottom.webp index 573fa59..2d65390 100644 Binary files a/public/assets/img/about-page/left-bottom.webp and b/public/assets/img/about-page/left-bottom.webp differ diff --git a/public/assets/img/product-details/grinder/1.webp b/public/assets/img/product-details/grinder/1.webp new file mode 100644 index 0000000..2d6c6ef Binary files /dev/null and b/public/assets/img/product-details/grinder/1.webp differ diff --git a/public/assets/img/product-details/grinder/2.webp b/public/assets/img/product-details/grinder/2.webp new file mode 100644 index 0000000..8117a7a Binary files /dev/null and b/public/assets/img/product-details/grinder/2.webp differ diff --git a/public/assets/img/product-details/grinder/3.webp b/public/assets/img/product-details/grinder/3.webp new file mode 100644 index 0000000..2af62fc Binary files /dev/null and b/public/assets/img/product-details/grinder/3.webp differ diff --git a/public/assets/img/product-details/grinder/4.webp b/public/assets/img/product-details/grinder/4.webp new file mode 100644 index 0000000..42e039e Binary files /dev/null and b/public/assets/img/product-details/grinder/4.webp differ diff --git a/public/assets/img/product-details/grinder/big-img.webp b/public/assets/img/product-details/grinder/big-img.webp new file mode 100644 index 0000000..d5f130b Binary files /dev/null and b/public/assets/img/product-details/grinder/big-img.webp differ diff --git a/public/assets/img/product-details/grinder/grinder-banner.webp b/public/assets/img/product-details/grinder/grinder-banner.webp new file mode 100644 index 0000000..7118aba Binary files /dev/null and b/public/assets/img/product-details/grinder/grinder-banner.webp differ diff --git a/public/assets/img/product-details/milk/1.webp b/public/assets/img/product-details/milk/1.webp new file mode 100644 index 0000000..3251e21 Binary files /dev/null and b/public/assets/img/product-details/milk/1.webp differ diff --git a/public/assets/img/product-details/milk/2.webp b/public/assets/img/product-details/milk/2.webp new file mode 100644 index 0000000..5f7fa62 Binary files /dev/null and b/public/assets/img/product-details/milk/2.webp differ diff --git a/public/assets/img/product-details/milk/3.webp b/public/assets/img/product-details/milk/3.webp new file mode 100644 index 0000000..4e7604c Binary files /dev/null and b/public/assets/img/product-details/milk/3.webp differ diff --git a/public/assets/img/product-details/milk/4.webp b/public/assets/img/product-details/milk/4.webp new file mode 100644 index 0000000..47b8fe2 Binary files /dev/null and b/public/assets/img/product-details/milk/4.webp differ diff --git a/public/assets/img/product-details/milk/big-img.webp b/public/assets/img/product-details/milk/big-img.webp new file mode 100644 index 0000000..a17ee7e Binary files /dev/null and b/public/assets/img/product-details/milk/big-img.webp differ diff --git a/public/assets/img/product-details/milk/milk-extractor-banner.webp b/public/assets/img/product-details/milk/milk-extractor-banner.webp new file mode 100644 index 0000000..2d9c9e9 Binary files /dev/null and b/public/assets/img/product-details/milk/milk-extractor-banner.webp differ diff --git a/public/assets/img/product-details/oil/1.webp b/public/assets/img/product-details/oil/1.webp new file mode 100644 index 0000000..52859bc Binary files /dev/null and b/public/assets/img/product-details/oil/1.webp differ diff --git a/public/assets/img/product-details/oil/2.webp b/public/assets/img/product-details/oil/2.webp new file mode 100644 index 0000000..d98eaa1 Binary files /dev/null and b/public/assets/img/product-details/oil/2.webp differ diff --git a/public/assets/img/product-details/oil/3.webp b/public/assets/img/product-details/oil/3.webp new file mode 100644 index 0000000..caae7f2 Binary files /dev/null and b/public/assets/img/product-details/oil/3.webp differ diff --git a/public/assets/img/product-details/oil/4.webp b/public/assets/img/product-details/oil/4.webp new file mode 100644 index 0000000..508831d Binary files /dev/null and b/public/assets/img/product-details/oil/4.webp differ diff --git a/public/assets/img/product-details/oil/big-img.webp b/public/assets/img/product-details/oil/big-img.webp new file mode 100644 index 0000000..ca9cc3b Binary files /dev/null and b/public/assets/img/product-details/oil/big-img.webp differ diff --git a/public/assets/img/product-details/oil/oil-processing-banner.webp b/public/assets/img/product-details/oil/oil-processing-banner.webp new file mode 100644 index 0000000..887d572 Binary files /dev/null and b/public/assets/img/product-details/oil/oil-processing-banner.webp differ diff --git a/public/assets/img/product-details/water/1.webp b/public/assets/img/product-details/water/1.webp new file mode 100644 index 0000000..558ff69 Binary files /dev/null and b/public/assets/img/product-details/water/1.webp differ diff --git a/public/assets/img/product-details/water/2.webp b/public/assets/img/product-details/water/2.webp new file mode 100644 index 0000000..6888718 Binary files /dev/null and b/public/assets/img/product-details/water/2.webp differ diff --git a/public/assets/img/product-details/water/3.webp b/public/assets/img/product-details/water/3.webp new file mode 100644 index 0000000..91f4e97 Binary files /dev/null and b/public/assets/img/product-details/water/3.webp differ diff --git a/public/assets/img/product-details/water/4.webp b/public/assets/img/product-details/water/4.webp new file mode 100644 index 0000000..e94c9e1 Binary files /dev/null and b/public/assets/img/product-details/water/4.webp differ diff --git a/public/assets/img/product-details/water/big-img.webp b/public/assets/img/product-details/water/big-img.webp new file mode 100644 index 0000000..08cb8a0 Binary files /dev/null and b/public/assets/img/product-details/water/big-img.webp differ diff --git a/public/assets/img/product-details/water/water-processing-banner.webp b/public/assets/img/product-details/water/water-processing-banner.webp new file mode 100644 index 0000000..bcf5302 Binary files /dev/null and b/public/assets/img/product-details/water/water-processing-banner.webp differ diff --git a/public/assets/scss/_service.scss b/public/assets/scss/_service.scss index 946bbb3..51b8ae8 100644 --- a/public/assets/scss/_service.scss +++ b/public/assets/scss/_service.scss @@ -415,4 +415,9 @@ } .product-title{ font-size: 30px; -} \ No newline at end of file +} +@media (min-width: 1440px) and (max-width: 1920px) { + .custom-padding-card .service-box-items .service-content { + padding: 0 28px 30px 28px !important; + } +} diff --git a/utlis/constant.utils.js b/utlis/constant.utils.js index 63ff03e..5a54924 100644 --- a/utlis/constant.utils.js +++ b/utlis/constant.utils.js @@ -610,7 +610,8 @@ export const allProducts = [ { id: 30, slug: "coconut-pulverizer-grinder", - bannerImage: "/assets/img/products/coconut-deshelling.webp", + bannerImage: "/assets/img/product-details/grinder/grinder-banner.webp", + bigImage: "/assets/img/product-details/grinder/big-img.webp", image: "/assets/img/products/coconut-grinder.webp", icon: "/assets/img/products/icon-3.webp", number: "03", @@ -668,17 +669,18 @@ export const allProducts = [

          `, images: [ - "/assets/img/about-page/about/1.webp", - "/assets/img/about-page/about/2.webp", - "/assets/img/about-page/about/3.webp", - "/assets/img/about-page/about/4.webp" + "/assets/img/product-details/grinder/1.webp", + "/assets/img/product-details/grinder/2.webp", + "/assets/img/product-details/grinder/3.webp", + "/assets/img/product-details/grinder/4.webp" ], delay: ".6s", }, { id: 31, slug: "coconut-milk-extractor", - bannerImage: "/assets/img/products/coconut-deshelling.webp", + bannerImage: "/assets/img/product-details/milk/milk-extractor-banner.webp", + bigImage: "/assets/img/product-details/milk/big-img.webp", image: "/assets/img/products/coconut-milk-extractor.webp", icon: "/assets/img/products/icon-4.webp", number: "04", @@ -736,17 +738,18 @@ export const allProducts = [

          `, images: [ - "/assets/img/about-page/about/1.webp", - "/assets/img/about-page/about/2.webp", - "/assets/img/about-page/about/3.webp", - "/assets/img/about-page/about/4.webp" + "/assets/img/product-details/milk/1.webp", + "/assets/img/product-details/milk/2.webp", + "/assets/img/product-details/milk/3.webp", + "/assets/img/product-details/milk/4.webp" ], delay: ".2s", }, { id: 32, slug: "virgin-coconut-oil-vco-processing-equipment", - bannerImage: "/assets/img/products/coconut-deshelling.webp", + bannerImage: "/assets/img/product-details/oil/oil-processing-banner.webp", + bigImage:"/assets/img/product-details/oil/big-img.webp", image: "/assets/img/products/coconut-oil.webp", icon: "/assets/img/products/icon-5.webp", number: "05", @@ -804,17 +807,18 @@ export const allProducts = [

          `, images: [ - "/assets/img/about-page/about/1.webp", - "/assets/img/about-page/about/2.webp", - "/assets/img/about-page/about/3.webp", - "/assets/img/about-page/about/4.webp" + "/assets/img/product-details/oil/1.webp", + "/assets/img/product-details/oil/2.webp", + "/assets/img/product-details/oil/3.webp", + "/assets/img/product-details/oil/4.webp" ], delay: ".4s", }, { id: 33, slug: "coconut-water-processing-unit", - bannerImage: "/assets/img/products/coconut-deshelling.webp", + bannerImage: "/assets/img/product-details/water/water-processing-banner.webp", + bigImage:"/assets/img/product-details/water/big-img.webp", image: "/assets/img/products/coconut-water.webp", icon: "/assets/img/products/icon-6.webp", number: "06", @@ -872,10 +876,10 @@ export const allProducts = [

          `, images: [ - "/assets/img/about-page/about/1.webp", - "/assets/img/about-page/about/2.webp", - "/assets/img/about-page/about/3.webp", - "/assets/img/about-page/about/4.webp" + "/assets/img/product-details/water/1.webp", + "/assets/img/product-details/water/2.webp", + "/assets/img/product-details/water/3.webp", + "/assets/img/product-details/water/4.webp" ], delay: ".6s", },