-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70f10f5
commit b619a3c
Showing
28 changed files
with
908 additions
and
214 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,55 @@ | ||
const FeaturedProjects = () => { | ||
const projects = [ | ||
{ title: "AI Chatbot", description: "A chatbot that understands natural language.", link: "#" }, | ||
{ title: "Image Classifier", description: "Classify images using a deep learning model.", link: "#" }, | ||
{ title: "Sentiment Analysis Tool", description: "Analyze sentiments from user reviews.", link: "#" }, | ||
]; | ||
|
||
return ( | ||
<section className="bg-white dark:bg-gray-800 text-gray-800 dark:text-gray-200 p-10"> | ||
<h2 className="text-3xl font-bold mb-4">Featured Projects</h2> | ||
<div className="grid grid-cols-1 md:grid-cols-3 gap-4"> | ||
import React from 'react'; | ||
|
||
interface Project { | ||
title: string; | ||
description: string; | ||
imageUrl: string; | ||
projectLink: string; | ||
} | ||
|
||
const projects: Project[] = [ | ||
{ | ||
title: "AI-Powered Chatbot", | ||
description: "An intelligent chatbot that uses NLP to engage in human-like conversations.", | ||
imageUrl: "/images/chatbot.jpg", // Replace with your actual image paths | ||
projectLink: "#" | ||
}, | ||
{ | ||
title: "Image Recognition App", | ||
description: "A deep learning model for real-time image classification and object detection.", | ||
imageUrl: "/images/image-recognition.jpg", | ||
projectLink: "#" | ||
}, | ||
{ | ||
title: "Voice Assistant", | ||
description: "A voice-controlled AI assistant that integrates with smart devices.", | ||
imageUrl: "/images/voice-assistant.jpg", | ||
projectLink: "#" | ||
} | ||
]; | ||
|
||
const FeaturedProjects: React.FC = () => { | ||
return ( | ||
<section className="py-20 bg-gray-100 dark:bg-gray-900 text-gray-800 dark:text-gray-100"> | ||
<div className="container mx-auto px-6"> | ||
<h2 className="text-3xl md:text-4xl font-bold text-center mb-12">Featured Projects</h2> | ||
<div className="grid gap-8 lg:grid-cols-3 md:grid-cols-2 sm:grid-cols-1"> | ||
{projects.map((project, index) => ( | ||
<div key={index} className="bg-gray-100 dark:bg-gray-700 p-6 rounded-lg shadow-lg"> | ||
<h3 className="text-xl font-semibold mb-2">{project.title}</h3> | ||
<p className="mb-4">{project.description}</p> | ||
<a href={project.link} className="text-blue-500 hover:underline">View Project</a> | ||
<div key={index} className="bg-white dark:bg-gray-800 rounded-lg shadow-lg overflow-hidden transform hover:scale-105 transition-transform duration-300"> | ||
<img src={project.imageUrl} alt={project.title} className="w-full h-48 object-cover"/> | ||
<div className="p-6"> | ||
<h3 className="text-2xl font-semibold mb-2">{project.title}</h3> | ||
<p className="text-gray-600 dark:text-gray-300 mb-4">{project.description}</p> | ||
<a href={project.projectLink} className="inline-block px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition duration-300"> | ||
View Project | ||
</a> | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
</section> | ||
); | ||
}; | ||
export default FeaturedProjects; | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default FeaturedProjects; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.