From 6f44362f30fced37b68171df2cf2f91ccc9567ff Mon Sep 17 00:00:00 2001 From: selvi Date: Fri, 18 Jul 2025 17:57:33 +0530 Subject: [PATCH] home content updated --- components/homes/home-1/Blogs.jsx | 8 +- components/homes/home-1/Hero.jsx | 28 ++-- components/homes/home-1/Testimonials.jsx | 2 +- data/testimonials.js | 6 +- utlis/constant.utils.js | 204 +++++++++++++++++++++++ 5 files changed, 229 insertions(+), 19 deletions(-) create mode 100644 utlis/constant.utils.js diff --git a/components/homes/home-1/Blogs.jsx b/components/homes/home-1/Blogs.jsx index ed56ab7..d26e3b2 100644 --- a/components/homes/home-1/Blogs.jsx +++ b/components/homes/home-1/Blogs.jsx @@ -1,4 +1,4 @@ -import { newsImageItems, newsItems } from "@/data/blogs"; +import { newsImageItems,newsItems } from "@/utlis/constant.utils"; import React from "react"; import Image from "next/image"; import Link from "next/link"; @@ -56,7 +56,7 @@ export default function Blogs() {

- + {item.title.split("
").map((line, index) => ( {line} @@ -90,7 +90,7 @@ export default function Blogs() {

- + {item.title}

@@ -100,7 +100,7 @@ export default function Blogs() {

*/}

{item.description}

Read More diff --git a/components/homes/home-1/Hero.jsx b/components/homes/home-1/Hero.jsx index e9f8d80..a67651b 100644 --- a/components/homes/home-1/Hero.jsx +++ b/components/homes/home-1/Hero.jsx @@ -26,23 +26,29 @@ export default function Hero() { { id: 1, image: "/assets/img/cta-bg.jpg", - title: " Transforming Coconut Processing with", - subtitle: "End-to-End Solutions", - text: " From deshelling to coconut drying - we engineer smart, efficient, and scalable coconut processing machinery tailored to your needs.", + title: "Smart Coconut", + subtitle: "Solutions", + text: "Efficient machines for deshelling to drying coconut.", + buttonText: "Get A Quote", + buttonLink: "/about", }, { id: 2, image: "/assets/img/cta-bg.jpg", - title: " Transforming Coconut Processing with", - subtitle: "End-to-End Solutions", - text: " From deshelling to coconut drying - we engineer smart, efficient, and scalable coconut processing machinery tailored to your needs.", + title: "Future-Ready", + subtitle: "Engineering", + text: "Automation and precision for coconut processing plants.", + buttonText: "Discover Our Innovations", + buttonLink: "/about", }, { id: 3, image: "/assets/img/cta-bg.jpg", - title: " Transforming Coconut Processing with", - subtitle: "End-to-End Solutions", - text: " From deshelling to coconut drying - we engineer smart, efficient, and scalable coconut processing machinery tailored to your needs.", + title: "Global Processing", + subtitle: "Impact", + text: "Trusted coconut machinery in 20+ countries worldwide.", + buttonText: "Explore Global Projects", + buttonLink: "/about", }, ]; @@ -64,8 +70,8 @@ export default function Hero() {

{slide.text}

- - Get A Quote + + {slide.buttonText}
diff --git a/components/homes/home-1/Testimonials.jsx b/components/homes/home-1/Testimonials.jsx index 5563f47..0560bee 100644 --- a/components/homes/home-1/Testimonials.jsx +++ b/components/homes/home-1/Testimonials.jsx @@ -57,7 +57,7 @@ export default function Testimonials() {

-
+

diff --git a/data/testimonials.js b/data/testimonials.js index 232baaf..e91000d 100644 --- a/data/testimonials.js +++ b/data/testimonials.js @@ -1,7 +1,7 @@ export const testimonials = [ - "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock !", - "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock !", - "Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock !", + "Cibus Industry brought our processing operations to a whole new level. Their turnkey solutions were delivered on time and exceeded all performance expectations. !", + "The quality of engineering and attention to detail from the Cibus team is unmatched. Their machinery runs seamlessly and has significantly reduced our maintenance needs. !", + "Choosing Cibus was the best decision we made for scaling up our coconut processing line. Their after-sales support and training made the transition effortless. !", ]; export const testimonials2 = [ diff --git a/utlis/constant.utils.js b/utlis/constant.utils.js new file mode 100644 index 0000000..7b3eb5f --- /dev/null +++ b/utlis/constant.utils.js @@ -0,0 +1,204 @@ +export const newsItems = [ + { + id: 1, + slug: "deshelling-machine-upgrades-what-you-need-to-know", + imgSrc: "/assets/img/news/02.jpg", + title: "Deshelling Machine Upgrades: What You Need to Know", + description: "If you're still using outdated deshellers, you may be losing time and...", + author: "By Admin", + category: "Machine Insights", + delay: ".2s", + }, + { + id: 2, + slug: "dry-smarter-choosing-the-right-coconut-dryer-facility", + imgSrc: "/assets/img/news/03.jpg", + title: "Dry Smarter: Choosing the Right Coconut Dryer Facility", + description: "Selecting the wrong dryer can lead to uneven drying and product rejection...", + author: "By Admin", + category: "Operational Tips", + delay: ".4s", + }, +]; + +export const newsImageItems = [ + { + id: 3, + slug: "revolutionizing-coconut-processing-the-rise-of-turnkey-plants", + backgroundImage: "/assets/img/news/01.jpg", + title: "Revolutionizing Coconut Processing: The Rise of Turnkey Plants", + description: "Turnkey coconut processing plants are helping manufacturers scale faster and reduce operational...", + author: "By Admin", + category: "Coconut Tech", + }, +]; + +export const newsItems2 = [ + { + id: 4, + imageSrc: "/assets/img/news/04.jpg", + category: "Construction", + date: "07 July 2024", + title: "Latest Work Was Disapproved by the Supervisor.", + authorImgSrc: "/assets/img/news/author-1.png", + authorName: "Guy Hawkins", + style: "", + }, + { + id: 5, + imageSrc: "/assets/img/news/05.jpg", + category: "Building", + date: "07 July 2024", + title: "Manager Disapproved of the Most Recent Work.", + authorImgSrc: "/assets/img/news/author-2.png", + authorName: "Guy Hawkins", + style: "active", + }, + { + id: 6, + imageSrc: "/assets/img/news/06.jpg", + category: "Industry", + date: "07 July 2024", + title: "Manager Found Latest Work Unsatisfactory.", + authorImgSrc: "/assets/img/news/author-3.png", + authorName: "Guy Hawkins", + style: "", + }, +]; + +export const BlogData = [ + { + id: 7, + slug: "latest-work-was-disapproved-by-the-supervisor", + images: ["/assets/img/news/04.jpg", "/assets/img/news/04.jpg"], + category: "Construction", + date: "07 July 2024", + title: "Latest Work Was Disapproved by the Supervisor.", + author: { + name: "Guy Hawkins", + image: "/assets/img/news/author-1.png", + }, + delay: ".2s", + description: ` +

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

+

Curabitur vel orci id nisi vehicula viverra. Integer nec eros sit amet velit pretium pulvinar.

+

This is a highlighted quote in the blog post.

+

Ut egestas augue non tincidunt tincidunt. Donec vulputate lacus vel felis tempor, ac ullamcorper nulla varius.

+` + + }, + { + id: 8, + slug: "manager-disapproved-of-the-most-recent-work", + images: ["/assets/img/news/05.jpg", "/assets/img/news/05.jpg"], + category: "Building", + date: "07 July 2024", + title: "Manager Disapproved of the Most Recent Work.", + author: { + name: "Guy Hawkins", + image: "/assets/img/news/author-2.png", + }, + delay: ".4s", + active: true, + }, + { + id: 9, + slug: "manager-found-latest-work-unsatisfactory", + images: ["/assets/img/news/06.jpg", "/assets/img/news/06.jpg"], + category: "Industry", + date: "07 July 2024", + title: "Manager Found Latest Work Unsatisfactory.", + author: { + name: "Guy Hawkins", + image: "/assets/img/news/author-3.png", + }, + delay: ".6s", + }, +]; + +export const newsItems4 = [ + { + id: 13, + type: "standard", + imageSrc: "/assets/img/news/post-1.jpg", + title: "Attentive was born in 2015 help sales teams", + date: "09 July 2024", + category: "Building", + content: + "There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of xyz Lorem Ipsum, you need to be sure there isn't anything embarrassing", + }, + { + id: 14, + type: "slider", + swiperSlides: [ + "/assets/img/news/post-1.jpg", + "/assets/img/news/post-2.jpg", + "/assets/img/news/post-3.jpg", + ], + title: "Rules for Security on Construction Sites", + date: "09 July 2024", + category: "Building", + content: + "There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of xyz Lorem Ipsum, you need to be sure there isn't anything embarrassing", + }, + { + id: 15, + type: "video", + imageSrc: "/assets/img/news/post-3.jpg", + title: "Norms for Security on Construction Sites", + date: "09 July 2024", + category: "Building", + content: + "There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of xyz Lorem Ipsum, you need to be sure there isn't anything embarrassing", + video: true, + }, +]; + +export const recentItems = [ + { + id: 16, + imageSrc: "/assets/img/news/pp2.jpg", + date: "09 July 2024", + title: "The Beast Group
Present And", + }, + { + id: 17, + imageSrc: "/assets/img/news/pp3.jpg", + date: "09 July 2024", + title: "Construction Site
Safety Guidelines", + }, + { + id: 18, + imageSrc: "/assets/img/news/pp4.jpg", + date: "09 July 2024", + title: "An attractive
construction website", + }, +]; + +export const allNews = [ + ...newsItems, + ...newsImageItems, + ...newsItems2, + ...newsItems4, + ...recentItems, +]; +export const links = [ + { text: "Building", href: "#" }, + { text: "Construction", href: "#" }, + { text: "Marketing", href: "#" }, + { text: "Design", href: "#" }, +]; + +export const listItems = [ + { text: "Building", link: "#", count: 5 }, + { text: "Construction", link: "#", count: 3 }, + { text: "Factory", link: "#", count: 4, isActive: true }, + { text: "Industry", link: "#", count: 2 }, + { text: "Real Estate", link: "#", count: 3 }, +]; +export const socialLinks = [ + { href: "#", iconClass: "fab fa-facebook-f" }, + { href: "#", iconClass: "fab fa-twitter" }, + { href: "#", iconClass: "fab fa-linkedin-in" }, + { href: "#", iconClass: "fab fa-youtube" }, +];