From d9447e4220780ab7dc1d6a52b49aabc94afec7f0 Mon Sep 17 00:00:00 2001 From: Kurmachev Pavel Date: Tue, 23 Nov 2021 16:25:00 +0200 Subject: [PATCH 1/3] update images for light theme --- .../HomepageDeveloperLinks.js | 24 +++++---- .../HomepageDeveloperLinks.module.css | 51 ++++++++++++++++++ .../homepage-features/HomepageFeatures.js | 12 +++-- .../HomepageFeatures.module.css | 28 +++++++++- .../homepage-prefooter/img/image-footer.png | Bin 138828 -> 118004 bytes src/css/custom.css | 1 + static/img/aggregation-protocol-dark.png | Bin 0 -> 44567 bytes static/img/aggregation-protocol-light.png | Bin 0 -> 46223 bytes static/img/aggregationProtocol.png | Bin 152156 -> 0 bytes static/img/bug-bounty-dark.png | Bin 0 -> 4828 bytes static/img/bug-bounty-light.png | Bin 0 -> 6263 bytes static/img/bug-bounty.png | Bin 6619 -> 0 bytes static/img/grant-program-dark.png | Bin 0 -> 5183 bytes static/img/grant-program-light.png | Bin 0 -> 5272 bytes static/img/grants-program.png | Bin 5998 -> 0 bytes static/img/limit-order-protocol-dark.png | Bin 0 -> 29524 bytes static/img/limit-order-protocol-light.png | Bin 0 -> 30060 bytes static/img/limit-order-protocol.png | Bin 94118 -> 0 bytes static/img/smart-contracts-dark.png | Bin 0 -> 5270 bytes static/img/smart-contracts-light.png | Bin 0 -> 4211 bytes static/img/smart.png | Bin 6481 -> 0 bytes static/img/web3-dark.png | Bin 0 -> 5708 bytes static/img/web3-light.png | Bin 0 -> 5592 bytes static/img/web3.png | Bin 6483 -> 0 bytes 24 files changed, 100 insertions(+), 16 deletions(-) create mode 100644 static/img/aggregation-protocol-dark.png create mode 100644 static/img/aggregation-protocol-light.png delete mode 100644 static/img/aggregationProtocol.png create mode 100644 static/img/bug-bounty-dark.png create mode 100644 static/img/bug-bounty-light.png delete mode 100644 static/img/bug-bounty.png create mode 100644 static/img/grant-program-dark.png create mode 100644 static/img/grant-program-light.png delete mode 100644 static/img/grants-program.png create mode 100644 static/img/limit-order-protocol-dark.png create mode 100644 static/img/limit-order-protocol-light.png delete mode 100644 static/img/limit-order-protocol.png create mode 100644 static/img/smart-contracts-dark.png create mode 100644 static/img/smart-contracts-light.png delete mode 100644 static/img/smart.png create mode 100644 static/img/web3-dark.png create mode 100644 static/img/web3-light.png delete mode 100644 static/img/web3.png diff --git a/src/components/homepage-developer-links/HomepageDeveloperLinks.js b/src/components/homepage-developer-links/HomepageDeveloperLinks.js index aa007e7da..cd4e824b4 100644 --- a/src/components/homepage-developer-links/HomepageDeveloperLinks.js +++ b/src/components/homepage-developer-links/HomepageDeveloperLinks.js @@ -1,16 +1,14 @@ import React from 'react'; import styles from './HomepageDeveloperLinks.module.css'; import Link from '@docusaurus/Link'; -import grantsProgramImage from '../../../static/img/grants-program.png'; -import bugBountyImage from '../../../static/img/bug-bounty.png'; -import smartImage from '../../../static/img/smart.png'; -import web3Image from '../../../static/img/web3.png'; import clsx from "clsx"; const DeveloperList = [ { link: 'https://1inch.io/foundation-grant-program/', - image: grantsProgramImage, + image: ( +
+ ), title: 'Grants program', description: ( <> @@ -21,7 +19,9 @@ const DeveloperList = [ }, { link: 'https://airtable.com/shrddQOOkm3hOLuzd', - image: bugBountyImage, + image: ( +
+ ), title: 'Bug bounty', description: ( <> @@ -32,7 +32,9 @@ const DeveloperList = [ }, { link: '', - image: smartImage, + image: ( +
+ ), title: 'Smartcontracts', description: (