From 19b0e7b149afa4d04a8d981b6bbd5b7e7da368bb Mon Sep 17 00:00:00 2001 From: Shivam Tiwari Date: Thu, 2 Jan 2025 17:22:50 +0530 Subject: [PATCH] Feedback Section Completed --- src/components/Feedbacks.jsx | 56 +++++++++++++++++++++++++++-- src/components/Works.jsx | 69 ++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 3 deletions(-) diff --git a/src/components/Feedbacks.jsx b/src/components/Feedbacks.jsx index 6af8534..eee46fd 100644 --- a/src/components/Feedbacks.jsx +++ b/src/components/Feedbacks.jsx @@ -1,9 +1,59 @@ -import React from 'react' +import { motion } from "framer-motion"; +import { styles } from "../Style"; +import { SectionWrapper } from "../hoc"; +import { fadeIn, textVariant } from "../utils/motion"; +import { testimonials } from "../constants"; + +const FeedbackCard=({index, testimonial, name, designation, company, image})=>{ + return( + +

"

+
+

{testimonial}

+ +
+
+

+ @ {name} +

+

{designation} of {company}

+
+ {`feedback +
+
+
+ ) +} const Feedbacks = () => { return ( -
Feedbacks
+
+
+ +

+ What others say +

+

Testimonials

+
+
+
+ {testimonials.map((testimonial, index)=>( + + ))} +
+
) } -export default Feedbacks \ No newline at end of file +export default SectionWrapper(Feedbacks,"feedbacks"); \ No newline at end of file diff --git a/src/components/Works.jsx b/src/components/Works.jsx index 7e7d680..9e11e05 100644 --- a/src/components/Works.jsx +++ b/src/components/Works.jsx @@ -5,6 +5,66 @@ import {github} from "../assets"; import {SectionWrapper} from "../hoc"; import {projects} from "../constants"; import { fadeIn, textVariant } from "../utils/motion"; +import { p } from "framer-motion/client"; + +const ProjectCard=({index, name, description, tags, image, source_code_link}) =>{ + return ( + + +
+ {name} +
+
window.open( + source_code_link, "_blank" + )} + className="black-gradient w-10 h-10 rounded-full flex justify-center items-center cursor-pointer" + > + github +
+ {/* If you have live url of the project just uncomment the following block of code and + change the github icon !! */} + + {/* +
window.open( + source_code_link, "_blank" + )} + className="black-gradient w-10 h-10 rounded-full flex justify-center items-center cursor-pointer" + > + github +
+ */} + +
+
+
+

{name}

+

{description}

+
+
+ {tags.map((tag)=>( +

#{tag.name}

+ ))} +
+
+
+ ) +} const Works = () => { return ( @@ -24,6 +84,15 @@ className="mt-3 text-secondary text-[17px] max-w-3xl leading-[30px]" +
+ {projects.map((project, index)=>( + + ))} +
) }