museum-of-war / web

https://metahistory.gallery
6 stars 3 forks source link

Partners: add links and refactor #140

Open AlexanderPokhilenko opened 2 years ago

AlexanderPokhilenko commented 2 years ago

We need to add links to our partners. Also it will be good to refactor data objects: currently we have 2 different arrays, so some data is duplicated.

Expected new partner data type:

type PartnerDataType = {
  link: string;
  name: string; // use for alt and title
  logoSrc: string;
  mobileLogoSrc?: string; // optional for SVGs?
};