🌼 Adds some demo pictures to homepage

This commit is contained in:
Alicia Sykes 2021-07-28 00:55:42 +01:00
parent abe4b7e60c
commit e396e1c24e
8 changed files with 8 additions and 3 deletions

View File

@ -27,6 +27,7 @@ const FeatureList = [
</>
),
icon: (<IconShortcuts />),
demo: '../../static/img/homepage-assets/searching-demo.gif',
},
{
title: 'Theming',
@ -40,6 +41,7 @@ const FeatureList = [
</>
),
icon: (<IconThemes />),
demo: '../../static/img/homepage-assets/theme-slideshow.gif',
},
{
title: 'Icons',
@ -104,6 +106,7 @@ const FeatureList = [
</>
),
icon: (<IconStatusIndicators />),
demo: '../../static/img/homepage-assets/status-check-demo.gif',
},
{
title: 'Launching Methods',
@ -121,6 +124,7 @@ const FeatureList = [
</>
),
icon: (<IconOpeningMethods />),
demo: '../../static/img/homepage-assets/workspace-demo.gif',
},
{
title: 'Authentication',
@ -158,6 +162,7 @@ const FeatureList = [
</>
),
icon: (<IconUiConfig />),
demo: '../../static/img/homepage-assets/config-editor-demo.gif',
},
{
title: 'Easy Deployment',
@ -182,21 +187,21 @@ const getColor = (index) => {
}
};
function Feature({ title, description, icon, index }) {
function Feature({ title, description, icon, demo, index }) {
const side = index % 2 == 0 ? 'left' : 'right';
const color = getColor(index)
return (
<div className={`feature align-${side} color-${color}`}>
<div className="feature-half text">
<div className="feature-title">{icon}<h3>{title}</h3></div>
<p>{description}</p>
{description}
<div className="read-the-docs">
<small>Learn more in the Docs</small>
<Button to="/docs" color={color}>{icon} Docs</Button>
</div>
</div>
<div className="feature-half assets">
<div className="screenshot"></div>
<img className="demo" src={demo} />
</div>
</div>
);

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 MiB