Skip to content

Commit

Permalink
Remove AWS and Ensco, add Basecamp, and use sharp for tinting images
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanthratna committed Nov 2, 2020
1 parent 3177a23 commit da56049
Show file tree
Hide file tree
Showing 68 changed files with 376 additions and 35 deletions.
Binary file added .yarn/cache/bl-npm-4.0.3-4670d76538-3.zip
Binary file not shown.
Binary file not shown.
Binary file added .yarn/cache/buffer-npm-5.7.0-09dd3873c0-3.zip
Binary file not shown.
Binary file added .yarn/cache/color-npm-3.1.3-f860a464c5-3.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/cache/multiyargs-npm-1.0.0-5e3dfee3c7-3.zip
Binary file not shown.
Binary file added .yarn/cache/nan-npm-2.14.2-e3ede8ce5d-3.zip
Binary file not shown.
Binary file not shown.
Binary file added .yarn/cache/node-abi-npm-2.19.1-4817529bf0-3.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .yarn/cache/rc-npm-1.2.8-d6768ac936-3.zip
Binary file not shown.
Binary file added .yarn/cache/rw-stream-npm-0.3.3-d4d30db654-3.zip
Binary file not shown.
Binary file added .yarn/cache/sharp-cli-npm-1.14.1-35dca38a28-3.zip
Binary file not shown.
Binary file added .yarn/cache/sharp-npm-0.24.1-4cc7b08aa8-3.zip
Binary file not shown.
Binary file not shown.
Binary file added .yarn/cache/simple-get-npm-3.1.0-8c6f03c4cd-3.zip
Binary file not shown.
Binary file added .yarn/cache/sliced-npm-1.0.1-5537b02c49-3.zip
Binary file not shown.
Binary file not shown.
Binary file added .yarn/cache/tar-fs-npm-2.1.0-23b06f9769-3.zip
Binary file not shown.
Binary file added .yarn/cache/tar-stream-npm-2.1.4-5f7040c9c5-3.zip
Binary file not shown.
Binary file added .yarn/cache/temp-dir-npm-1.0.0-5828254ce3-3.zip
Binary file not shown.
Binary file added .yarn/cache/tempy-npm-0.3.0-50ce35f0bd-3.zip
Binary file not shown.
Binary file added .yarn/cache/type-fest-npm-0.3.1-542c938bf6-3.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
"eslint-plugin-react-hooks": "^4.0.4",
"gh-pages": "^3.1.0",
"prettier": "^2.0.5",
"purgecss": "^2.3.0"
"purgecss": "^2.3.0",
"sharp-cli": "^1.14.1"
},
"repository": {
"type": "git",
Expand Down
25 changes: 6 additions & 19 deletions src/MainPage/Sponsors/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,7 @@ const Sponsors = (): JSX.Element => (
{/* Gold Tier */}
<h2 className="tier-title">GOLD</h2>
<div className="partner-container">
{[
{
url: "https://aws.amazon.com/",
logo: "aws.png",
name: "Amazon Web Services",
},
].map((company) => (
<Logo
name={company.name}
url={company.url}
logo={company.logo}
key={company.name}
/>
))}
(Your company could be here!)
</div>

{/* Silver Tier */}
Expand All @@ -86,11 +73,6 @@ const Sponsors = (): JSX.Element => (
logo: "yext.png",
name: "Yext",
},
{
url: "https://www.ensco.com",
logo: "ensco.png",
name: "Ensco",
},
{
url: "https://cloudwaveinc.com/",
logo: "cloudwave.png",
Expand Down Expand Up @@ -150,6 +132,11 @@ const Sponsors = (): JSX.Element => (
logo: "verizonmedia.png",
name: "Verizon Media",
},
{
url: "https://basecamp.com/",
logo: "basecamp.png",
name: "Basecamp",
},
{
url: "https://www.primamedicine.com",
logo: "primamedicine.png",
Expand Down
Binary file added src/images/sponsors/normal/basecamp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/alertfive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/aws.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/sponsors/tint/basecamp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/citadelsecurities.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/cloudwave.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/collinsaerospace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/cvent.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/digitalocean.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/eastbanc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/ensco.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/hawkeye.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/mlh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/phone2action.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/primamedicine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/razorx2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/spontit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/stackoverflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/stickermule.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/tensorflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/thinkfun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/tjpartnershipfund.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/ultrapress.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/verizonmedia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/wolfram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/sponsors/tint/yext.png
2 changes: 2 additions & 0 deletions src/images/sponsors/tmp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.png
!.gitkeep
Empty file.
9 changes: 6 additions & 3 deletions tint-sponsors
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
#!/usr/bin/env bash
set -e

cd src/images/sponsors/normal
rm ../tint/*
rm -rf ../tint/ && mkdir ../tint/
for f in *
do
echo $f
convert $f -colorspace gray -fill $1 -colorize 70 ../tint/$f
yarn sharp --quality 100 --lossless tint $1 -i $f -o ../tmp/$f
yarn sharp --quality 100 --lossless gamma 1 2 -i ../tmp/$f -o ../tint/$f
# convert $f -colorspace gray -fill $1 -colorize 70 ../tint/$f
done
Loading

0 comments on commit da56049

Please sign in to comment.