diff --git a/src/Page/IndustryTrends.jsx b/src/Page/IndustryTrends.jsx index 4e2e586d..e69abf51 100644 --- a/src/Page/IndustryTrends.jsx +++ b/src/Page/IndustryTrends.jsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from 'react'; // Import React and hooks -import { Search, PlusCircle, Trash } from 'lucide-react'; // Import icons from 'lucide-react' +import { Search, PlusCircle, Trash, ExternalLink, TrendingUp, Cpu, Shield, Leaf, Globe, Zap } from 'lucide-react'; // Import icons from 'lucide-react' import { Footer } from '../components/Footer/Footer'; // Import Footer component import { Dialog } from '@headlessui/react'; // Import Dialog component from Headless UI @@ -30,21 +30,159 @@ const Hero = () => {

- Discover the Latest Industry Insights 🌐 + Discover the Latest Technology Trends 🚀

- Industry Trends + Tech Trends

- Discover the latest updates on industry trends through insightful blogs and engaging video content to stay - ahead. + Stay ahead of the curve with the latest technology trends shaping the future of innovation and development.

); }; +// Tech Trends Data +const techTrendsData = [ + { + id: 1, + title: "AI & Machine Learning", + description: "Artificial Intelligence and Machine Learning continue to revolutionize industries with advanced algorithms, neural networks, and automated decision-making systems.", + icon: , + color: "from-purple-500 to-pink-500", + link: "#ai-ml" + }, + { + id: 2, + title: "Blockchain Technology", + description: "Decentralized systems and cryptocurrency innovations are transforming finance, supply chain, and digital identity management across global markets.", + icon: , + color: "from-blue-500 to-cyan-500", + link: "#blockchain" + }, + { + id: 3, + title: "Quantum Computing", + description: "Quantum computers promise unprecedented computational power, potentially solving complex problems in cryptography, optimization, and scientific research.", + icon: , + color: "from-yellow-500 to-orange-500", + link: "#quantum" + }, + { + id: 4, + title: "Green Technology", + description: "Sustainable tech solutions focus on renewable energy, carbon reduction, and environmentally friendly innovations for a greener future.", + icon: , + color: "from-green-500 to-emerald-500", + link: "#green-tech" + }, + { + id: 5, + title: "Web3 & Metaverse", + description: "The next generation of the internet featuring decentralized applications, virtual worlds, and immersive digital experiences.", + icon: , + color: "from-indigo-500 to-purple-500", + link: "#web3" + }, + { + id: 6, + title: "Cybersecurity", + description: "Advanced security measures, zero-trust architectures, and AI-powered threat detection to protect against evolving cyber threats.", + icon: , + color: "from-red-500 to-pink-500", + link: "#cybersecurity" + } +]; + +// TechTrendCard Component +const TechTrendCard = ({ trend }) => { + const [isHovered, setIsHovered] = useState(false); + + return ( +
setIsHovered(true)} + onMouseLeave={() => setIsHovered(false)} + > + {/* Gradient overlay */} +
+ + {/* Content */} +
+ {/* Icon */} +
+ {trend.icon} +
+ + {/* Title */} +

+ {trend.title} +

+ + {/* Description */} +

+ {trend.description} +

+ + {/* Explore Link */} + +
+ + {/* Hover effect border */} +
+
+ ); +}; + +// TechTrendsGrid Component +const TechTrendsGrid = ({ searchQuery }) => { + const filteredTrends = techTrendsData.filter(trend => + trend.title.toLowerCase().includes(searchQuery.toLowerCase()) || + trend.description.toLowerCase().includes(searchQuery.toLowerCase()) + ); + + return ( +
+
+
+
+

+ Latest Tech Trends +

+

+ Discover the technologies shaping our future +

+
+
+ + {filteredTrends.length} Trends +
+
+ + {filteredTrends.length > 0 ? ( +
+ {filteredTrends.map((trend) => ( + + ))} +
+ ) : ( +
+
No trends found
+

Try adjusting your search query

+
+ )} +
+
+ ); +}; + // SearchBar Component const SearchBar = ({ searchQuery, setSearchQuery }) => { return ( @@ -135,110 +273,123 @@ const IndustryTrendsSec = () => { return (
-
+ {/* Search Bar */} +
+ {/* Tech Trends Grid */} + + {/* Modal for adding new content */} setIsModalOpen(false)} className="relative z-50">
-
-
-

Add Blog

+
+
+

Add New Article

{/* Form fields for blog details */} setNewTitle(e.target.value)} // Handle title input - placeholder="Enter blog title" + placeholder="Enter article title" required - className="mb-4 w-full rounded-md bg-gray-700 p-2 text-white placeholder-gray-400 outline-none" + className="mb-4 w-full rounded-lg bg-gray-700 p-3 text-white placeholder-gray-400 outline-none focus:ring-2 focus:ring-[#00a6fb] transition-all duration-300" />