ChicagoJS / chicagojs.org

Home page of ChicagoJS.org. Pull Requests welcome!
https://chicagojs.org
MIT License
9 stars 13 forks source link

Add JSCamp Sponsor Logos #2

Closed peterpme closed 5 years ago

peterpme commented 5 years ago

Sponsor Model

The file to update lives here

You can see an example of this file here

CMS

The CMS lives under /admin and is powered by Netlify CMS.

Sponsor Images

All sponsor logos live under cloudinary. The image resource should match the image field under the CMS. No image extension is required (cloudinary is smart!)

For example:

Recommendation

build a getImageUrl function that consumes the image field and returns the full Cloudinary URL. That way if we ever need to change it, we can change it within one function.

Current JSON of all sponsors

This will need to be added into Netlify CMS

[
  {
    "title": "gold sponsors",
    "width": 300,
    "items": [
      {
        "name": "accenture interactive",
        "cloudinary": "accenture"
      },
      {
        "name": "cars.com",
        "cloudinary": "carsdotcom"
      },
      {
        "name": "server central",
        "cloudinary": "servercentral"
      },
      {
        "name": "turing group",
        "cloudinary": "turinggroup"
      }
    ]
  },
  {
    "title": "silver sponsors",
    "width": 270,
    "items": [
      {
        "name": "fraight ai",
        "cloudinary": "fraightai",
        "url": "https://res.cloudinary.com/chicagojs/image/upload/co_rgb:000000,e_colorize:100,f_auto,w_270/v1537038153/2018sponsors/fraightai.png",
        "options": {
          "co_rgb": "000000",
          "e_colorize": "100"
        }
      },
      {
        "name": "one north",
        "cloudinary": "onenorth",
        "url": "https://res.cloudinary.com/chicagojs/image/upload/co_rgb:000000,e_colorize:100,f_auto,w_270/v1537038153/2018sponsors/onenorth.png",
        "options": {
          "co_rgb": "000000",
          "e_colorize": "100"
        }
      },
      {
        "name": "braintree",
        "cloudinary": "braintree"
      },
      {
        "name": "fly io",
        "cloudinary": "fly"
      },
      {
        "name": "active campaign",
        "cloudinary": "activecampaign"
      },
      {
        "name": "quik order",
        "cloudinary": "quikorder"
      },
      {
        "name": "hash rocket",
        "cloudinary": "hashrocket"
      },
      {
        "name": "dragon spears",
        "cloudinary": "dragonspears"
      },
      {
        "name": "draftbit",
        "url": "https://res.cloudinary.com/chicagojs/image/upload/co_rgb:000000,e_colorize:100,f_auto,w_270/v1537038153/2018sponsors/draftbit.png",
        "cloudinary": "draftbit"
      },
      {
        "name": "next capital",
        "cloudinary": "nextcapital"
      }
    ]
  }
]
SebastianKurp commented 5 years ago

I'll take this one, built something similar for the JSCamp event... I think I can have a design in photoshop or invision posted in the slack for feedback by the end of this week.