import React from 'react'; import styled from 'styled-components'; import { Dr_giridharan } from '../../utils'; import { Dr_rajasekaran } from '../../utils'; import { Dr_thangaraj } from '../../utils'; // Styled Components const Section = styled.section` background-color: #0a0a0a; /* Dark background */ color: #fff; padding: 60px 20px; text-align: center; `; const Heading = styled.h2` font-size: 2.5rem; font-weight: bold; color: #3267B9; margin-bottom: 16px; `; // const Subheading = styled.p` // font-size: 1.125rem; // color: #ccc; // margin-bottom: 40px; // `; const CardList = styled.ul` display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; @media (max-width: 768px) { grid-template-columns: 1fr; } `; const Card = styled.li` padding: 30px; border-radius: 20px; /* Rounded corners for the card */ display: flex; flex-direction: column; justify-content: flex-end; /* Align content towards the bottom */ position: relative; min-height: 300px; /* Set minimum height to ensure space for text */ /* Gradient border */ border: 3px solid #3267B9; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); `; const QuoteIcon = styled.svg` position: absolute; top: -20px; left: 20px; width: 40px; height: 40px; opacity: 0.8; /* Gradient in the QuoteIcon */ & path { fill: #3267B9; /* Referencing gradient from */ } `; const CardText = styled.p` font-size: 1rem; color: #fff; /* White text for readability */ margin-bottom: 20px; `; const CardFooter = styled.div` display: flex; flex-direction: column; align-items: center; /* Center the author info */ justify-content: center; margin-top: 20px; `; const Avatar = styled.img` width: 50px; height: 50px; border-radius: 50%; margin-bottom: 10px; /* Space between avatar and name */ `; const Name = styled.div` font-weight: bold; background: #3267B9; -webkit-background-clip: text; color: transparent; `; const Position = styled.div` font-size: 0.875rem; color: #bbb; /* Light gray for position */ `; const Testimonials = () => { // Testimonial data const testimonialData = [ { text: 'A very useful product in Medical Genetics!', name: 'Dr. K. Thangaraj', position: 'Chief Scientist, Evolutionary and Medical Genetics, CCMB, Hyderabad, India', avatar: Dr_thangaraj }, { text: 'Flexibly done to serve our Clinical Genomics needs!', name: 'Prof. S. Rajasekaran', position: 'Chairman, Dept of Orthopaedic, Trauma & Spine Surgery, Ganga Hospital, Coimbatore, India', avatar: Dr_rajasekaran }, { text: 'Awesome product which serves as a collection of variants of all diseases, not just the rare ones!', name: 'Dr. Giridharan Periasamy', position: 'Platform Leader, High Throughput Phenomics, GIS, Singapore', avatar: Dr_giridharan } ]; return (
Testimonials {/* Here are what some of our amazing customers are saying... */} {testimonialData.map((testimonial, index) => ( {testimonial.text} {testimonial.name} {testimonial.position} ))}
); }; export default Testimonials;