Skip to content

Commit

Permalink
Add icons
Browse files Browse the repository at this point in the history
  • Loading branch information
webilhan committed Dec 11, 2023
1 parent 889519d commit 468ddf7
Show file tree
Hide file tree
Showing 10 changed files with 88 additions and 57 deletions.
18 changes: 10 additions & 8 deletions website/src/components/HomepageFeatures/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import clsx from 'clsx';
const FeatureList = [
{
title: 'Regulators',
Svg: require('@site/static/img/crm-producers.svg').default,
Svg: require('@site/static/img/regulators.svg').default,
description: (
<>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Expand All @@ -13,7 +13,7 @@ const FeatureList = [
},
{
title: 'Industry',
Svg: require('@site/static/img/esg-standards-and-certifiers.svg').default,
Svg: require('@site/static/img/industry.svg').default,
description: (
<>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Expand All @@ -22,7 +22,7 @@ const FeatureList = [
},
{
title: 'Software Providers',
Svg: require('@site/static/img/esg-traceability-software-platforms.svg').default,
Svg: require('@site/static/img/software-providers.svg').default,
description: (
<>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Expand All @@ -31,7 +31,7 @@ const FeatureList = [
},
{
title: 'Certifiers',
Svg: require('@site/static/img/esg-traceability-software-platforms.svg').default,
Svg: require('@site/static/img/certifiers.svg').default,
description: (
<>
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Expand All @@ -43,11 +43,13 @@ const FeatureList = [
function Feature({Svg, title, description}) {
return (
<div className={clsx('col col--3 home-feature')}>
<div className="home-feature__image">
<Svg className="home-feature__icon" role="img" />
</div>
<div className="home-feature__content">
<h3 className="home-feature__title">{title}</h3>
<div className="home-feature__head">
<div className="home-feature__image">
<Svg className="home-feature__icon" role="img" />
</div>
<h3 className="home-feature__title">{title}</h3>
</div>
<p className="home-feature__description">{description}</p>
</div>
</div>
Expand Down
13 changes: 8 additions & 5 deletions website/src/css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,14 @@ $home-content__max-width: 1200px;
text-align: center;
}

&__image {
margin: 0 0 10px 0;
&__head {
display: flex;
align-items: center;
margin: 0 0 15px 0;
}

@media screen and (min-width: 997px) {
margin: 0 0 27px 0;
}
&__image {
margin: 0 15px 0 0;
}

&__icon {
Expand All @@ -85,6 +87,7 @@ $home-content__max-width: 1200px;
&__title {
font-weight: 500;
font-size: 22px;
margin: 0;
}

&__description {
Expand Down
Binary file removed website/src/pages/hero.jpeg
Binary file not shown.
12 changes: 12 additions & 0 deletions website/static/img/certifiers.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 0 additions & 15 deletions website/static/img/crm-producers.svg

This file was deleted.

12 changes: 0 additions & 12 deletions website/static/img/esg-standards-and-certifiers.svg

This file was deleted.

17 changes: 0 additions & 17 deletions website/static/img/esg-traceability-software-platforms.svg

This file was deleted.

23 changes: 23 additions & 0 deletions website/static/img/industry.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions website/static/img/regulators.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions website/static/img/software-providers.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 468ddf7

Please sign in to comment.