|
| 1 | +import { ComponentType } from 'react'; |
| 2 | + |
| 3 | +import { CodeCademy } from '@coderscamp/ui/svg/learning-sources'; |
| 4 | +import { HTMLChakraProps } from '@coderscamp/ui/types'; |
| 5 | + |
| 6 | +export type PartnersImgType = { |
| 7 | + id: string; |
| 8 | + image: ComponentType<HTMLChakraProps<'svg'>>; |
| 9 | + url: string; |
| 10 | +}; |
| 11 | + |
| 12 | +export type PartnerType = { |
| 13 | + title: string; |
| 14 | + listOfPartnersImg: PartnersImgType[]; |
| 15 | +}; |
| 16 | + |
| 17 | +export const listOfPartners: PartnerType[] = [ |
| 18 | + { |
| 19 | + title: 'Partnerzy kursu', |
| 20 | + listOfPartnersImg: [ |
| 21 | + { id: '1', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 22 | + { id: '2', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 23 | + { id: '3', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 24 | + { id: '4', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 25 | + { id: '5', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 26 | + ], |
| 27 | + }, |
| 28 | + { |
| 29 | + title: 'Patronat honorowy', |
| 30 | + listOfPartnersImg: [ |
| 31 | + { id: '1', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 32 | + { id: '2', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 33 | + { id: '3', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 34 | + { id: '4', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 35 | + { id: '5', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 36 | + ], |
| 37 | + }, |
| 38 | + { |
| 39 | + title: 'Patronat medialny', |
| 40 | + listOfPartnersImg: [ |
| 41 | + { id: '1', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 42 | + { id: '2', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 43 | + { id: '3', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 44 | + { id: '4', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 45 | + { id: '5', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 46 | + { id: '6', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 47 | + { id: '7', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 48 | + { id: '8', image: CodeCademy, url: 'https://codecademy.com/' }, |
| 49 | + ], |
| 50 | + }, |
| 51 | +]; |
0 commit comments