Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/trusted by #1846

Merged
merged 3 commits into from
Jun 13, 2022
Merged

Chore/trusted by #1846

merged 3 commits into from
Jun 13, 2022

Conversation

gweiying
Copy link
Contributor

@gweiying gweiying commented May 25, 2022

Problem

We would like to add a TrustedBy section to our homepage to help establish more trust in our link shortener, by displaying the logos of some of the agencies that use our link shortener.

Solution

Previously, we had a TrustedBy section that was commented out as we did not see a use case for it. This PR performs the following changes:

  • Restores the TrustedBy section on the homepage
  • Refactors the alt text to import text from locales

Importing the alt text from locales will allow us to swap between different trusted organisations across our 3 environments.

Before & After Screenshots

AFTER:
[insert screenshot here]
Screenshot 2022-05-25 at 18 42 59

@gweiying gweiying marked this pull request as ready for review May 26, 2022 05:22
import trustedBy7 from '@assets/components/home/trusted-by-sliver/7.png'
import trustedBy8 from '@assets/components/home/trusted-by-sliver/8.png'

import i18next from 'i18next'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we shift this import so that it is together with the other library imports? thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved here 13ac1f5

Copy link
Member

@yong-jie yong-jie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! feel free to merge after resolving the lint-related nitpick

@gweiying
Copy link
Contributor Author

lgtm! feel free to merge after resolving the lint-related nitpick

Thanks! Let's merge this together with the health assets update.

@gweiying gweiying force-pushed the chore/trusted-by branch from 7993e5d to 13ac1f5 Compare May 31, 2022 10:08
@gweiying gweiying merged commit bff0def into develop Jun 13, 2022
@gweiying gweiying deleted the chore/trusted-by branch June 13, 2022 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants