home content updated

This commit is contained in:
Selvi 2025-07-18 17:57:33 +05:30
parent cf383b098e
commit 6f44362f30
5 changed files with 229 additions and 19 deletions

View File

@ -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() {
</li>
</ul>
<h3>
<Link href={`/news-details/${item.id}`}>
<Link href={`/news-details/${item.slug}`}>
{item.title.split("<br />").map((line, index) => (
<React.Fragment key={index}>
{line}
@ -90,7 +90,7 @@ export default function Blogs() {
</li>
</ul>
<h4>
<Link href={`/news-details/${item.id}`}>
<Link href={`/news-details/${item.slug}`}>
{item.title}
</Link>
</h4>
@ -100,7 +100,7 @@ export default function Blogs() {
</p> */}
<p>{item.description}</p>
<Link
href={`/news-details/${item.id}`}
href={`/news-details/${item.slug}`}
className="link-btn"
>
Read More <i className="fa-regular fa-arrow-right-long" />

View File

@ -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() {
</h1>
<p>{slide.text}</p>
<div className="hero-button">
<Link href="/about" className="theme-btn bg-white">
Get A Quote
<Link href={slide.buttonLink} className="theme-btn bg-white">
{slide.buttonText}
<i className="fa-regular fa-arrow-right"></i>
</Link>
</div>

View File

@ -57,7 +57,7 @@ export default function Testimonials() {
<i className="fa-regular fa-arrow-right-long" />
</h6>
<h2 className="text-white splt-txt wow">
<AnimatedText text="What Clients Say" /> <br />
<AnimatedText text="Hear What Our Partners Say " /> <br />
<AnimatedText text="About Us!" />
</h2>
</div>

View File

@ -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 = [

204
utlis/constant.utils.js Normal file
View File

@ -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: `
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p>Curabitur vel orci id nisi vehicula viverra. Integer nec eros sit amet velit pretium pulvinar.</p>
<blockquote><p>This is a highlighted quote in the blog post.</p></blockquote>
<p>Ut egestas augue non tincidunt tincidunt. Donec vulputate lacus vel felis tempor, ac ullamcorper nulla varius.</p>
`
},
{
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 <br /> Present And",
},
{
id: 17,
imageSrc: "/assets/img/news/pp3.jpg",
date: "09 July 2024",
title: "Construction Site <br /> Safety Guidelines",
},
{
id: 18,
imageSrc: "/assets/img/news/pp4.jpg",
date: "09 July 2024",
title: "An attractive <br /> 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" },
];