|
| 1 | +import { Container } from '@/components/ui/container'; |
| 2 | +import dynamic from 'next/dynamic'; |
| 3 | +const SponsorsDesktop = dynamic(() => import('./SponsorsDesktop')); |
| 4 | +const SponsorsMobile = dynamic(() => import('./SponsorsMobile')); |
| 5 | + |
| 6 | +interface SponsorshipProps { |
| 7 | + name: string; |
| 8 | + logo: string; |
| 9 | + logoMobile: string; |
| 10 | + description: string; |
| 11 | + url: string; |
| 12 | +} |
| 13 | + |
| 14 | +export function Sponsors() { |
| 15 | + const sponsors: SponsorshipProps[] = [ |
| 16 | + { |
| 17 | + name: 'Mugna Tech', |
| 18 | + logo: '/sponsor-logos/mugna-logo.png', |
| 19 | + logoMobile: '/sponsor-logos/mugna-logo.png', |
| 20 | + description: |
| 21 | + 'Mugna Tech specializes in Web, Software, and Mobile Development, UI/UX Design, and more, with 75+ projects for diverse businesses.', |
| 22 | + url: 'https://mugna.tech', |
| 23 | + }, |
| 24 | + { |
| 25 | + name: 'Codev', |
| 26 | + logo: '/sponsor-logos/codev-logo.png', |
| 27 | + logoMobile: '/sponsor-logos/codev-logo.png', |
| 28 | + description: |
| 29 | + 'Hire top offshore developers with CoDev—skilled professionals dedicated to your success.', |
| 30 | + url: 'https://codev.com', |
| 31 | + }, |
| 32 | + { |
| 33 | + name: 'Ingenuity Software', |
| 34 | + logo: '/sponsor-logos/ingenuity-logo.png', |
| 35 | + logoMobile: '/sponsor-logos/ingenuity-logo-mobile.png', |
| 36 | + description: |
| 37 | + 'Ingenuity Software is a Davao-based software development company that turns ideas into impactful digital solutions. ', |
| 38 | + url: 'https://ingenuity.ph', |
| 39 | + }, |
| 40 | + { |
| 41 | + name: 'PythonPH', |
| 42 | + logo: '/sponsor-logos/pythonph-logo.png', |
| 43 | + logoMobile: '/sponsor-logos/pythonph-logo-mobile.png', |
| 44 | + description: |
| 45 | + 'Python Philippines is a volunteer-run non-profit supporting the growth of the Python community in the country.', |
| 46 | + url: 'https://python.ph', |
| 47 | + }, |
| 48 | + { |
| 49 | + name: 'Stace', |
| 50 | + logo: '/sponsor-logos/stace-logo.svg', |
| 51 | + logoMobile: '/sponsor-logos/stace-logo.svg', |
| 52 | + description: |
| 53 | + 'Stace is a comprehensive platform designed to enhance and simplify the rental experience for both renters and landlords.', |
| 54 | + url: 'https://www.stace.app', |
| 55 | + }, |
| 56 | + ]; |
| 57 | + |
| 58 | + return ( |
| 59 | + <section className="bg-[#112018] py-16 font-montserrat lg:mb-[-90px] md:mb-[-70px] sm:mb-0"> |
| 60 | + <Container> |
| 61 | + {/* Desktop View (768px and up) */} |
| 62 | + <section className="hidden md:block"> |
| 63 | + <SponsorsDesktop sponsors={sponsors} /> |
| 64 | + </section> |
| 65 | + |
| 66 | + {/* Mobile View (Below 768px) */} |
| 67 | + <section className="md:hidden"> |
| 68 | + <SponsorsMobile sponsors={sponsors} /> |
| 69 | + </section> |
| 70 | + </Container> |
| 71 | + </section> |
| 72 | + ); |
| 73 | +} |
0 commit comments