diff --git a/apps/2024/src/components/landing/index.jsx b/apps/2024/src/components/landing/index.jsx index 8f2fda4..6c306ae 100644 --- a/apps/2024/src/components/landing/index.jsx +++ b/apps/2024/src/components/landing/index.jsx @@ -9,6 +9,7 @@ export { default as Partners } from './partners'; export { default as Prizes } from './prizes'; export { default as Rules } from './rules'; export { default as Sponsors } from './sponsors'; +export { default as Testimonials } from './testimonials'; export { default as Timeline } from './timeline'; export { default as KnowledgePartners } from './knowledge-partners'; export { default as CountDown } from './countdown'; diff --git a/apps/2024/src/components/landing/testimonials/data.json b/apps/2024/src/components/landing/testimonials/data.json new file mode 100644 index 0000000..2dcb905 --- /dev/null +++ b/apps/2024/src/components/landing/testimonials/data.json @@ -0,0 +1,34 @@ +[ + { + "comment": "1 It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.", + "name": "Ms. Emily Anderson", + "position": "UX Designer at Globex ", + "styles": { + "wrapper": "from-black/30 to-red-200" + } + }, + { + "comment": "2 It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.", + "name": "Ms. Emily Anderson", + "position": "UX Designer at Globex ", + "styles": { + "wrapper": "from-black/30 to-red-200" + } + }, + { + "comment": "3 It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.", + "name": "Ms. Emily Anderson", + "position": "UX Designer at Globex ", + "styles": { + "wrapper": "from-black/30 to-red-200" + } + }, + { + "comment": "4 It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.", + "name": "Ms. Emily Anderson", + "position": "UX Designer at Globex ", + "styles": { + "wrapper": "from-black/30 to-red-200" + } + } +] \ No newline at end of file diff --git a/apps/2024/src/components/landing/testimonials/index.jsx b/apps/2024/src/components/landing/testimonials/index.jsx new file mode 100644 index 0000000..cfb7adf --- /dev/null +++ b/apps/2024/src/components/landing/testimonials/index.jsx @@ -0,0 +1,34 @@ +import Marquee from 'react-fast-marquee'; +import { twMerge } from 'tailwind-merge'; +import { SectionBadge } from '@/components/common/badges'; +import testimonials from './data.json'; + +const Testimonials = () => { + return ( + <> +
+ Testimonials +
+ +
+ {testimonials.map((testimonial, index) => ( +
+

{testimonial.comment}

+ {testimonial.name} + {testimonial.position} +
+ ))} +
+
+ + ); +}; + +export default Testimonials; diff --git a/apps/2024/src/pages/landing.jsx b/apps/2024/src/pages/landing.jsx index ded826f..46ec472 100644 --- a/apps/2024/src/pages/landing.jsx +++ b/apps/2024/src/pages/landing.jsx @@ -11,6 +11,7 @@ import { Prizes, Rules, Sponsors, + Testimonials, Timeline } from '@/components/landing'; @@ -26,6 +27,7 @@ const Landing = () => { +