From 2319061e4fa0dfa481aa3e91da783415372c6147 Mon Sep 17 00:00:00 2001 From: Brian Mitchell Date: Wed, 26 Jun 2024 22:19:27 -0500 Subject: [PATCH 1/2] Simplify sponsors --- public/sponsors/logo-ch-robinson.svg | 1 - public/sponsors/logo-trackjs.svg | 1 - public/sponsors/logo-twilio.svg | 1 - public/sponsors/logo-wework.svg | 1 - src/globals/sponsors.json | 48 +--------- src/index.njk | 11 +-- src/sponsors.njk | 63 +++++++------- src/sponsorship-opportunities.njk | 125 ++++----------------------- 8 files changed, 52 insertions(+), 199 deletions(-) delete mode 100644 public/sponsors/logo-ch-robinson.svg delete mode 100644 public/sponsors/logo-trackjs.svg delete mode 100644 public/sponsors/logo-twilio.svg delete mode 100644 public/sponsors/logo-wework.svg diff --git a/public/sponsors/logo-ch-robinson.svg b/public/sponsors/logo-ch-robinson.svg deleted file mode 100644 index 07f4e3c..0000000 --- a/public/sponsors/logo-ch-robinson.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/sponsors/logo-trackjs.svg b/public/sponsors/logo-trackjs.svg deleted file mode 100644 index 672f0f5..0000000 --- a/public/sponsors/logo-trackjs.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/sponsors/logo-twilio.svg b/public/sponsors/logo-twilio.svg deleted file mode 100644 index b197a73..0000000 --- a/public/sponsors/logo-twilio.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/public/sponsors/logo-wework.svg b/public/sponsors/logo-wework.svg deleted file mode 100644 index e258352..0000000 --- a/public/sponsors/logo-wework.svg +++ /dev/null @@ -1 +0,0 @@ -WeWork logo \ No newline at end of file diff --git a/src/globals/sponsors.json b/src/globals/sponsors.json index c3045bc..15393e9 100644 --- a/src/globals/sponsors.json +++ b/src/globals/sponsors.json @@ -1,49 +1,7 @@ [ { - "showOnHome": true, - "section": "Host 🌎", - "sponsors": [ - { - "imgSrc": "/sponsors/logo-wework.svg", - "href": "https://www.wework.com", - "title": "WeWork" - } - ] - }, - { - "showOnHome": true, - "section": "Diamond 💎", - "sponsors": [ - { - "imgSrc": "/sponsors/logo-twilio.svg", - "href": "https://twilio.com", - "title": "Twilio" - }, - { - "imgSrc": "/sponsors/logo-trackjs.svg", - "href": "https://trackjs.com", - "title": "TrackJS" - }, - { - "imgSrc": "/sponsors/logo-frontend-masters.svg", - "href": "https://frontendmasters.com", - "title": "Frontend Masters" - }, - { - "imgSrc": "/sponsors/logo-ch-robinson.svg", - "href": "https://www.chrobinson.com", - "title": "C.H. Robinson" - } - ] - }, - { - "showOnHome": false, - "section": "Gold 🥇", - "sponsors": [] - }, - { - "showOnHome": false, - "section": "Silver 🥈", - "sponsors": [] + "imgSrc": "/sponsors/logo-frontend-masters.svg", + "href": "https://frontendmasters.com", + "title": "Frontend Masters" } ] diff --git a/src/index.njk b/src/index.njk index 12c56dd..b494c50 100644 --- a/src/index.njk +++ b/src/index.njk @@ -129,14 +129,10 @@ changeFreq: daily

- {% for section in sponsors %} {% if section.showOnHome === true %} -
-

{{ section.section | safe }}

- {% for sponsor in section.sponsors %} -
+ {% for sponsor in sponsors %} -
{% endfor %}
- {% endif %} {% endfor %} -
diff --git a/src/sponsors.njk b/src/sponsors.njk index ee57c3a..cadcf04 100644 --- a/src/sponsors.njk +++ b/src/sponsors.njk @@ -20,41 +20,36 @@ title: Sponsors
- {% for section in sponsors %} -
-

{{ section.section | safe }}

- -
- {% endfor %} + {{ sponsor.title }} + + + {% else %} +
  • + + Become a sponsor → + +
  • + {%endfor%} +
    diff --git a/src/sponsorship-opportunities.njk b/src/sponsorship-opportunities.njk index 881629c..341fcb8 100644 --- a/src/sponsorship-opportunities.njk +++ b/src/sponsorship-opportunities.njk @@ -5,9 +5,9 @@ layout: base
    -

    Sponsorship Opportunities

    +

    Sponsorship Opportunities

    - Choose any of our our opportunities and join our community + Please reach out if you're interested in sponsoring JavaScriptMN!

    @@ -20,110 +20,21 @@ layout: base
    -
    - {# first option #} -
    -
    -
    - -

    Silver

    -

    $250 / year

    -
    -
    -
    -

    - Support our community! -

    -

    - What's included -

    -
    -
      -
    • Website: Link & Logo on Sponsor page
    • -
    • YouTube: End of video slide with others in this category
    • -
    • Meetups: Joint slide with other sponsors at this level
    • -
    -
    -
    -
    -
    - - {# second option #} -
    -
    -
    - -

    Gold

    -

    $1,000 / year

    -
    -
    -
    -

    - Contribute to our community! -

    -

    - What's included -

    -
    -
      -
    • Website: Prominent link & logo on sponsor page
    • -
    • - Meetups: Announcement of thanks by host with joint slide - representing other sponsors from this category -
    • -
    • - YouTube: Joint slide in video pre-roll with others from this - category and link to website in the description -
    • -
    -
    -
    -
    -
    - - {# third option #} -
    -
    -
    -
    - Best Value -
    -
    -
    - -

    Diamond

    -

    $2,500 / year

    -
    -
    -
    -

    - Join our community at the highest contribution tier and show that - your organization rocks! -

    -

    - What's included -

    -
    -
      -
    • Website: Link & Logo on front page (and sponsor page)
    • -
    • - Meetups: Dedicated standalone slide with thanks and description - of services by host at the start of the meetup & website - link on Meetup.com -
    • -
    • - YouTube: 15 Second Video Intro with standalone slide (including - link in description) -
    • -
    -
    -
    -
    -
    +

    + Support our community! +

    +
    +

    + What's included +

    +
    +
      +
    • Website: Link & Logo on Home and Sponsor pages
    • +
    • + Meetups: Announcement of thanks by host with joint slide + representing other sponsors +
    • +
    +
    From 74b7a91b134a1b9a937d588e97aebaae3aaa5bc5 Mon Sep 17 00:00:00 2001 From: Brian Mitchell Date: Tue, 10 Sep 2024 06:57:25 -0500 Subject: [PATCH 2/2] Minor copy updates --- src/sponsorship-opportunities.njk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sponsorship-opportunities.njk b/src/sponsorship-opportunities.njk index 341fcb8..fdc8bf0 100644 --- a/src/sponsorship-opportunities.njk +++ b/src/sponsorship-opportunities.njk @@ -29,10 +29,10 @@ layout: base

      -
    • Website: Link & Logo on Home and Sponsor pages
    • +
    • Website: Link and logo on Home and Sponsor pages
    • Meetups: Announcement of thanks by host with joint slide - representing other sponsors + representing other sponsors, and an opportunity to speak if present.