|
| 1 | +import { useMemo } from 'react'; |
| 2 | +import { TextOutput } from '@ifrc-go/ui'; |
| 3 | +import { useTranslation } from '@ifrc-go/ui/hooks'; |
| 4 | + |
| 5 | +import SurgeCatalogueContainer from '#components/domain/SurgeCatalogueContainer'; |
| 6 | +import SurgeContentContainer from '#components/domain/SurgeContentContainer'; |
| 7 | + |
| 8 | +import i18n from './i18n.json'; |
| 9 | + |
| 10 | +/** @knipignore */ |
| 11 | +// eslint-disable-next-line import/prefer-default-export |
| 12 | +export function Component() { |
| 13 | + const strings = useTranslation(i18n); |
| 14 | + |
| 15 | + const imageList = useMemo( |
| 16 | + () => ([ |
| 17 | + { |
| 18 | + src: 'https://prddsgofilestorage.blob.core.windows.net/api/documents/OSH_Office/a519094ba2684fa0afecff0532ae903c/office.jpg', |
| 19 | + caption: strings.basecampEruOfficeImageOne, |
| 20 | + }, |
| 21 | + ]), |
| 22 | + [ |
| 23 | + strings.basecampEruOfficeImageOne, |
| 24 | + ], |
| 25 | + ); |
| 26 | + |
| 27 | + return ( |
| 28 | + <SurgeCatalogueContainer |
| 29 | + heading={strings.basecampEruOfficeTitle} |
| 30 | + goBackFallbackLink="surgeCatalogueBasecamp" |
| 31 | + imageList={imageList} |
| 32 | + > |
| 33 | + <SurgeContentContainer |
| 34 | + heading={strings.emergencyServices} |
| 35 | + > |
| 36 | + <ul> |
| 37 | + <li>{strings.basecampEruEmergencyListItemOne}</li> |
| 38 | + <li>{strings.basecampEruEmergencyListItemTwo}</li> |
| 39 | + <li>{strings.basecampEruEmergencyListItemThree}</li> |
| 40 | + <li>{strings.basecampEruEmergencyListItemFour}</li> |
| 41 | + <li>{strings.basecampEruEmergencyListItemFive}</li> |
| 42 | + </ul> |
| 43 | + </SurgeContentContainer> |
| 44 | + <SurgeContentContainer |
| 45 | + heading={strings.designedFor} |
| 46 | + > |
| 47 | + <ul> |
| 48 | + <li>{strings.designedForDetailsSectionOne}</li> |
| 49 | + <li>{strings.designedForDetailsSectionTwo}</li> |
| 50 | + <li>{strings.designedForDetailsSectionThree}</li> |
| 51 | + <li>{strings.designedForDetailsSectionFour}</li> |
| 52 | + <li>{strings.designedForDetailsSectionFive}</li> |
| 53 | + <li>{strings.designedForDetailsSectionSix}</li> |
| 54 | + </ul> |
| 55 | + </SurgeContentContainer> |
| 56 | + <SurgeContentContainer |
| 57 | + heading={strings.personnel} |
| 58 | + > |
| 59 | + <TextOutput |
| 60 | + value={strings.totalPersonnelValue} |
| 61 | + label={strings.totalPersonnelLabel} |
| 62 | + strongLabel |
| 63 | + /> |
| 64 | + <TextOutput |
| 65 | + value={strings.compositionValue} |
| 66 | + label={strings.compositionLabel} |
| 67 | + strongLabel |
| 68 | + /> |
| 69 | + <div>{strings.compositionDescription}</div> |
| 70 | + </SurgeContentContainer> |
| 71 | + <SurgeContentContainer |
| 72 | + heading={strings.standardComponents} |
| 73 | + > |
| 74 | + <ul> |
| 75 | + <li>{strings.basecampEruComponentListItemOne}</li> |
| 76 | + <li>{strings.basecampEruComponentListItemTwo}</li> |
| 77 | + <li>{strings.basecampEruComponentListItemThree}</li> |
| 78 | + <li>{strings.basecampEruComponentListItemFour}</li> |
| 79 | + <li>{strings.basecampEruComponentListItemFive}</li> |
| 80 | + <li>{strings.basecampEruComponentListItemSix}</li> |
| 81 | + </ul> |
| 82 | + </SurgeContentContainer> |
| 83 | + <SurgeContentContainer |
| 84 | + heading={strings.specifications} |
| 85 | + > |
| 86 | + <TextOutput |
| 87 | + value={strings.specificationsVolumeValue} |
| 88 | + label={strings.specificationsVolumeLabel} |
| 89 | + strongLabel |
| 90 | + /> |
| 91 | + <TextOutput |
| 92 | + value={strings.specificationsCostValue} |
| 93 | + label={strings.specificationsCostLabel} |
| 94 | + strongLabel |
| 95 | + /> |
| 96 | + <TextOutput |
| 97 | + value={strings.specificationsNationalSocietyValue} |
| 98 | + label={strings.specificationsNationalSocietyLabel} |
| 99 | + strongLabel |
| 100 | + /> |
| 101 | + </SurgeContentContainer> |
| 102 | + <SurgeContentContainer |
| 103 | + heading={strings.basecampVariation} |
| 104 | + > |
| 105 | + <div>{strings.basecampVariationDetails}</div> |
| 106 | + </SurgeContentContainer> |
| 107 | + </SurgeCatalogueContainer> |
| 108 | + ); |
| 109 | +} |
| 110 | + |
| 111 | +Component.displayName = 'SurgeCatalogueBasecampOffice'; |
0 commit comments