diff --git a/app/page.tsx b/app/page.tsx index c1e1e21..92deff9 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -18,6 +18,8 @@ import { MarqueeDemo } from "@/components/Passers"; import ScrollToTopButton from '@/components/ScrollToTopButton'; import FAQ from "@/components/FAQ"; import QuizSection from "@/components/QUIZ"; + +import MainComponent from "@/components/Projects"; export interface TEMPLATE { name: string; desc: string; @@ -95,7 +97,7 @@ export default function Home() {

-
+
@@ -103,12 +105,12 @@ export default function Home() {
-
+ -
+ +
-
diff --git a/components/Projects.tsx b/components/Projects.tsx new file mode 100644 index 0000000..abbaaf9 --- /dev/null +++ b/components/Projects.tsx @@ -0,0 +1,130 @@ +import React, { useState } from 'react'; + +interface Project { + name: string; + description: string; + technologies: string[]; + benefits: string[]; + useCases: string[]; + image: string; +} + +const projects: Project[] = [ + { + name: "Product Recommendation Systems", + description: "Recommender systems help people find items relevant to them. They are crucial in businesses, generating revenue and differentiating from competitors.", + technologies: ["Machine Learning", "Collaborative Filtering", "Content-Based Filtering"], + benefits: ["Personalized Experience", "Increased Revenue", "Customer Engagement"], + useCases: ["E-commerce", "Streaming Services", "Social Media"], + image: "/project1.png", // Corrected path for public folder image + }, + { + name: "Plagiarism Analyzer", + description: "AI can help identify plagiarized content across millions of websites. A plagiarism detection tool can assist writers and news organizations in protecting their content.Uses NLP", + technologies: ["Natural Language Processing", "Text Comparison Algorithms"], + benefits: ["Content Originality", "Credibility", "Academic Integrity"], + useCases: ["Academic Institutions", "Content Creators", "News Outlets"], + image: "/project2.png", // Corrected path for public folder image + }, + { + name: "Prediction of Bird Species", + description: "AI can classify bird species efficiently, overcoming the limitations of manual classification. You can use random forests or convolutional neural networks for this task.", + technologies: ["Machine Learning", "Convolutional Neural Networks"], + benefits: ["Efficiency", "Accuracy", "Scalability"], + useCases: ["Wildlife Research", "Conservation Efforts", "Birdwatching Communities"], + image: "/project3.png", // Corrected path for public folder image + }, + { + name: "Dog and Cat Classification", + description: "This computer vision project involves categorizing images as either dogs or cats. CNNs have proven to be effective for this classification task.", + technologies: ["Deep Learning", "Convolutional Neural Networks"], + benefits: ["Automated Classification", "Image Recognition Skills"], + useCases: ["Pet Adoption", "Animal Welfare", "Image Search Engines"], + image: "/project4.png", // Corrected path for public folder image + }, + { + name: "Next Word Prediction", + description: "This project improves typing efficiency by predicting the next word, reducing typos and enhancing user experience on small devices.", + technologies: ["Natural Language Processing", "Predictive Text Algorithms"], + benefits: ["Faster Typing", "Reduced Errors", "Improved User Experience"], + useCases: ["Mobile Devices", "Text Editors", "Chat Applications"], + image: "/project5.png", // Corrected path for public folder image + }, +]; + +const ProjectCard: React.FC = () => { + const [selectedProject, setSelectedProject] = useState(null); + + const handleCardClick = (project: Project) => { + setSelectedProject(project); + }; + + const handleClose = () => { + setSelectedProject(null); + }; + + return ( +
+

AI Projects

+
+ {projects.map((project) => ( +
+ {project.name} +
+

{project.name}

+

{project.description}

+
+ +
+ ))} +
+ + {selectedProject && ( +
+
+

{selectedProject.name}

+
+
+

Description:

+

{selectedProject.description}

+

Technologies:

+
    + {selectedProject.technologies.map((tech, index) => ( +
  • {tech}
  • + ))} +
+
+
+

Benefits:

+
    + {selectedProject.benefits.map((benefit, index) => ( +
  • {benefit}
  • + ))} +
+

Use Cases:

+
    + {selectedProject.useCases.map((useCase, index) => ( +
  • {useCase}
  • + ))} +
+
+
+ +
+
+ )} +
+ ); +}; + +export default ProjectCard; diff --git a/public/project1.png b/public/project1.png new file mode 100644 index 0000000..164483d Binary files /dev/null and b/public/project1.png differ diff --git a/public/project2.png b/public/project2.png new file mode 100644 index 0000000..bc11373 Binary files /dev/null and b/public/project2.png differ diff --git a/public/project3.png b/public/project3.png new file mode 100644 index 0000000..d15c0d9 Binary files /dev/null and b/public/project3.png differ diff --git a/public/project4.png b/public/project4.png new file mode 100644 index 0000000..00c2ca3 Binary files /dev/null and b/public/project4.png differ diff --git a/public/project5.png b/public/project5.png new file mode 100644 index 0000000..ed570c7 Binary files /dev/null and b/public/project5.png differ