Skip to content

Commit

Permalink
Merge pull request #1332 from IFRCGo/feature/clean-up-resources-page
Browse files Browse the repository at this point in the history
Clean up Resources page
  • Loading branch information
frozenhelium authored Aug 29, 2024
2 parents 12f0f31 + 5845699 commit a805177
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 35 deletions.
5 changes: 5 additions & 0 deletions .changeset/moody-apples-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"go-web-app": minor
---

Clean up Resources page
7 changes: 3 additions & 4 deletions app/src/views/Resources/VideoList/i18n.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"namespace": "resources",
"strings": {
"videoCarouselHeading3W": "3W - Who does What, Where.",
"videoCarouselHeading3W": "3W Who does What, Where.",
"videoCarouselSubHeading3W": "The 'Who does What, Where', or 3W, is a GO platform tool to enhance coordination, improve disaster analysis, and elevate the speed and quality of Red Cross Red Crescent emergency response.",
"videoCarouselHeading3WInstructional": "3W Instructional",
"videoCarouselSubHeading3WInstructional": "View this video tutorial on how to manage the 3W tool data (Who, What, Where) and generate useful and visually pleasant information products on the GO Platform - International Federation of Red Cross Red Crescent (IFRC).",
"videoCarouselHeadingSubscribe": "Subscriptions to User Notifications",
"videoCarouselSubHeadingSubscribe": "View this video tutorial on how to 'Subscribe to User Notifications' on the GO Platform - International Federation of Red Cross Red Crescent (IFRC).",
"videoCarouselHeadingTranslations": "Translation feature",
"videoCarouselSubHeadingTranslations": "View this video tutorial on how to use the translation feature on the GO Platform - International Federation of Red Cross Red Crecent (IFRC).",
"videoCarouselHeadingMontandon": "Montandon – the Global Crisis Data Bank",
"videoCarouselSubHeadingMontandon": "Mapping global crises' historical data. The IFRC GO Platform uses Montandon, the Global Crisis Data Bank, the world's largest repository of information on past natural hazards and their impact.",
"videoCarouselHeading3w": "3W (who-what-where) data collection for emergencies",
"videoCarouselHeading3wsub": "View this video tutorial about the 3W for emergencies tool. The video demonstrates the data collection and display activity of who-what-where data."
}
Expand Down
12 changes: 3 additions & 9 deletions app/src/views/Resources/VideoList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ function VideoList() {
},
{
id: 2,
embedId: 'https://www.youtube.com/embed/RzP9jZqt-Zk',
heading: strings.videoCarouselHeadingTranslations,
description: strings.videoCarouselSubHeadingTranslations,
embedId: 'https://www.youtube.com/embed/BEWxqYfrQek',
heading: strings.videoCarouselHeadingMontandon,
description: strings.videoCarouselSubHeadingMontandon,
},
{
id: 3,
Expand All @@ -33,12 +33,6 @@ function VideoList() {
},
{
id: 4,
embedId: 'https://www.youtube.com/embed/QiDwKVr5pxg',
heading: strings.videoCarouselHeading3WInstructional,
description: strings.videoCarouselSubHeading3WInstructional,
},
{
id: 5,
embedId: 'https://www.youtube.com/embed/wEz70tcwWx8',
heading: strings.videoCarouselHeadingSubscribe,
description: strings.videoCarouselSubHeadingSubscribe,
Expand Down
11 changes: 6 additions & 5 deletions app/src/views/Resources/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,24 @@
"goUserGuidance": "GO User Guidance",
"goReferenceMaterial": "GO Reference Material",
"goUserReferenceMaterial": "These materials provide more information on how and why GO does what it does.",
"aboutGoUserLibrary": "GO User Library",
"goBlog": "GO Blog",
"goUserAnalytics": "GO User Analytics",
"goInfoArchitecture": "GO Info Architecture",
"goWorkplan": "GO Workplan 2023",
"goWorkplan": "GO Workplan 2024",
"goSystemAnalysis": "GO 3W System Analysis",
"goUserStudies": "GO User Studies",
"ifrcStrategicDirection": "IFRC IM Strategic Direction",
"referenceVideos": "Reference Videos",
"ifrcResources": "IFRC Resources",
"aboutSurgeServices": "IFRC Surge Services",
"aboutSurgeLinks": "IFRC Surge Links",
"aboutGuidanceMaterial": "IFRC Guidance Material",
"surgeEventTrainings": "Global Surge Event and Trainings",
"aboutSurgeEvents": "Global Surge Events and Trainings",
"aboutSurgeNetwork": "Surge IM Network",
"aboutSIMS": "Surge Information Management Support (SIMS) portal",
"aboutCommunitySurveillance": "Community Based Surveillance",
"aboutCoS": "Catalogue of Surge Services",
"aboutSurgeLearning": "Surge Learning",
"aboutCCF": "Core Competency Framework",
"aboutCashHub": "Cash Hub",
"aboutCommunityHub": "Community Engagement Hub",
"aboutDisasterPreparednessCenter": "Global Disaster Preparedness Centre",
Expand All @@ -32,7 +34,6 @@
"aboutMissingMaps": "Missing Maps",
"aboutReportingSystem": "Fed-wide Data and Reporting System",
"aboutLearningPlatform": "Learning Platform",
"aboutCOP23Report": "COP28 'All About That Base' Report",
"aboutContacts": "GO Contacts",
"aboutFurtherInfo": "For any further information, please contact {contactLink}",
"aboutGoFundingTitle": "Funding & Support",
Expand Down
34 changes: 17 additions & 17 deletions app/src/views/Resources/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function Component() {
{strings.goUserAnalytics}
</Link>
<Link
href="https://ifrcorg.sharepoint.com/:b:/s/IFRCSharing/EWuCMne44ipEvbSHud6H38oB7mba_gaJxtwHelN909FEgg?e=uIdBu5"
href="https://ifrcorg.sharepoint.com/:b:/s/IFRCSharing/EQraprcbhQdGgH1L8tSQXFAByvRgyoBRfW46HTMh71Nzlw?e=dMQIr8"
external
withLinkIcon
>
Expand All @@ -111,13 +111,6 @@ export function Component() {
>
{strings.ifrcStrategicDirection}
</Link>
<Link
href="https://go-user-library.ifrc.org/"
external
withLinkIcon
>
{strings.aboutGoUserLibrary}
</Link>
</Container>
<div />
</Container>
Expand All @@ -134,7 +127,7 @@ export function Component() {
>
<Container
className={styles.resourceCard}
heading={strings.aboutSurgeServices}
heading={strings.aboutSurgeLinks}
childrenContainerClassName={styles.resourceContent}
withHeaderBorder
withInternalPadding
Expand All @@ -151,7 +144,7 @@ export function Component() {
external
withLinkIcon
>
{strings.aboutSurgeNetwork}
{strings.aboutSIMS}
</Link>
<Link
href="https://www.cbsrc.org/"
Expand All @@ -160,6 +153,20 @@ export function Component() {
>
{strings.aboutCommunitySurveillance}
</Link>
<Link
href="https://go.ifrc.org/surge/catalogue/overview"
external
withLinkIcon
>
{strings.aboutCoS}
</Link>
<Link
href="https://surgelearning.ifrc.org/"
external
withLinkIcon
>
{strings.aboutSurgeLearning}
</Link>
</Container>
<Container
className={styles.resourceCard}
Expand Down Expand Up @@ -233,13 +240,6 @@ export function Component() {
>
{strings.aboutLearningPlatform}
</Link>
<Link
href="https://prddsgofilestorage.blob.core.windows.net/api/documents/cop28/COP28.pdf"
external
withLinkIcon
>
{strings.aboutCOP23Report}
</Link>
</Container>
</Container>
<Container
Expand Down

0 comments on commit a805177

Please sign in to comment.