()
| 6 | |
| 7 | |
| 8 | const FeaturedIn: React.FC = () => { |
| 9 | const { logos } = featuredInConfig; |
| 10 | |
| 11 | return ( |
| 12 | <section className='p-8 md:p-10 flex flex-col md:flex-row md:flex-wrap items-center justify-center gap-4 md:gap-8' id='featuredIn'> |
| 13 | <span className="opacity-80 mb-4 md:mb-0">Featured on</span> |
| 14 | <div className='flex flex-row gap-4 md:gap-5 h-10 md:h-40 items-center align-middle'> |
| 15 | {logos.map((logo, index) => ( |
| 16 | <motion.a |
| 17 | key={index} |
| 18 | href={logo.link} |
| 19 | title={`featured in ${logo.title}`} |
| 20 | whileHover={{ scale: 1.05 }} |
| 21 | transition={{ type: 'spring', stiffness: 300, damping: 20 }} |
| 22 | className="featured-logo flex flex-col items-center gap-2 group" |
| 23 | > |
| 24 | <img |
| 25 | src={logo.src} |
| 26 | width={30} |
| 27 | height={30} |
| 28 | alt={logo.alt} |
| 29 | title={logo.title} |
| 30 | className="grayscale group-hover:grayscale-0 transition-all duration-300" |
| 31 | /> |
| 32 | {/* <span className="logo-title text-xs font-thin">{logo.title}</span> */} |
| 33 | <div className="logo-title-wrapper overflow-hidden h-0 group-hover:h-auto transition-all duration-500"> |
| 34 | <span className="logo-title text-xs font-normal">{logo.title}</span> |
| 35 | </div> |
| 36 | </motion.a> |
| 37 | ))} |
| 38 | </div> |
| 39 | |
| 40 | {/* <span className="logo-title text-xs font-thin">Product Hunt</span> */} |
| 41 | </section> |
| 42 | ); |
| 43 | }; |
| 44 | |
| 45 | export default FeaturedIn; |
nothing calls this directly
no outgoing calls
no test coverage detected