From 83121bfa9a48d53994f53c3565b4850968c8fa70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Fri, 11 Oct 2024 14:28:51 +0200 Subject: [PATCH] Add separate visual category for Gold Sponsors (#857) Previously, Gold and Corporate Sponsors were mixed into the same group for logo placement on the homepage. We noticed that this is not an accurate representation considering the the importance of our major sponsors. So this introduces a separate category for Gold Sponsors, with a logo size between the Silver and Corporate sponsors. In the process, we're adjusting the existing sizes a bit to make it fit. --- _data/sponsor_logos_corporate.csv | 3 +++ ...sor_logos_l.csv => sponsor_logos_gold.csv} | 2 -- ...r_logos_s.csv => sponsor_logos_silver.csv} | 0 _includes/components/top-sponsors-icons.html | 15 ++++++++++---- _includes/pages/sponsors/sponsor-cards.html | 2 +- _pages/sponsors.md | 2 +- _pages/used_in_prod.md | 9 ++++++++- _sass/components/_top-sponsors.scss | 20 +++++++++++++++---- scripts/merge.cr | 5 +++-- 9 files changed, 43 insertions(+), 15 deletions(-) create mode 100644 _data/sponsor_logos_corporate.csv rename _data/{sponsor_logos_l.csv => sponsor_logos_gold.csv} (65%) rename _data/{sponsor_logos_s.csv => sponsor_logos_silver.csv} (100%) diff --git a/_data/sponsor_logos_corporate.csv b/_data/sponsor_logos_corporate.csv new file mode 100644 index 00000000..38f4d7cc --- /dev/null +++ b/_data/sponsor_logos_corporate.csv @@ -0,0 +1,3 @@ +logo,name,url,last_payment,all_time,since,level +sponsors/84.png,84codes,https://www.84codes.com/,"€22,000","€523,000","Apr 1, 2018",5000 +manas-orange.svg,Manas.Tech,https://manas.tech/,"$5,000","$1,335,000","Jun 19, 2009",5000 diff --git a/_data/sponsor_logos_l.csv b/_data/sponsor_logos_gold.csv similarity index 65% rename from _data/sponsor_logos_l.csv rename to _data/sponsor_logos_gold.csv index 45ec2660..9c3edb24 100644 --- a/_data/sponsor_logos_l.csv +++ b/_data/sponsor_logos_gold.csv @@ -1,5 +1,3 @@ logo,name,url,last_payment,all_time,since,level -sponsors/84.png,84codes,https://www.84codes.com/,"€22,000","€523,000","Apr 1, 2018",5000 -manas-orange.svg,Manas.Tech,https://manas.tech/,"$5,000","$1,335,000","Jun 19, 2009",5000 sponsors/buy_google_reviews.jpg,Buy Google Reviews,https://buyreviewz.com/buy-google-reviews,$750,"$2,250","Aug 7, 2024",750 sponsors/buy_instagram_followers_thunderclapit.png,Buy Instagram Followers Thunderclapit,https://thunderclap.it/buy-instagram-followers,$750,"$1,500","Aug 7, 2024",750 diff --git a/_data/sponsor_logos_s.csv b/_data/sponsor_logos_silver.csv similarity index 100% rename from _data/sponsor_logos_s.csv rename to _data/sponsor_logos_silver.csv diff --git a/_includes/components/top-sponsors-icons.html b/_includes/components/top-sponsors-icons.html index 9316e896..cca785e2 100644 --- a/_includes/components/top-sponsors-icons.html +++ b/_includes/components/top-sponsors-icons.html @@ -1,13 +1,20 @@ -
- {%- for sponsor in site.data.sponsor_logos_l %} +
+ {%- for sponsor in site.data.sponsor_logos_corporate %} {{- sponsor.name }} {%- endfor %}
-
- {%- for sponsor in site.data.sponsor_logos_s %} +
+ {%- for sponsor in site.data.sponsor_logos_gold %} + + {{- sponsor.name }} + + {%- endfor %} +
+
+ {%- for sponsor in site.data.sponsor_logos_silver %} {{- sponsor.name }} diff --git a/_includes/pages/sponsors/sponsor-cards.html b/_includes/pages/sponsors/sponsor-cards.html index e371734b..4f58e89b 100644 --- a/_includes/pages/sponsors/sponsor-cards.html +++ b/_includes/pages/sponsors/sponsor-cards.html @@ -1,5 +1,5 @@
    - {%- for sp in site.data.sponsor_logos_l %} + {%- for sp in site.data.sponsor_logos_corporate %}