diff --git a/src/components/HomePageHeader.js b/src/components/HomePageHeader.js index fb4d8572..759de541 100644 --- a/src/components/HomePageHeader.js +++ b/src/components/HomePageHeader.js @@ -8,6 +8,7 @@ import IconBannerDemo from '../../static/icons/banner_demo.svg'; import IconBannerGetStarted from '../../static/icons/banner_get-started.svg'; import IconBannerSource from '../../static/icons/banner_source.svg'; import IconBannerDocs from '../../static/icons/banner_docs.svg'; +import IconDownArrow from '../../static/icons/interface_down.svg'; export default function HomepageHeader() { const { siteConfig } = useDocusaurusContext(); @@ -17,9 +18,9 @@ export default function HomepageHeader() {

{siteConfig.title}

{siteConfig.tagline}

- + - +
@@ -38,6 +39,13 @@ export default function HomepageHeader() { {!showMore ? 'Keep Reading...' : 'Show Less'}
+ {(!showMore && document.body.scrollTop === 0) && + + + Feature List + + + } ), + link: '/docs/theming', icon: (), demo: '../../static/img/homepage-assets/theme-slideshow.gif', }, @@ -38,6 +39,7 @@ const FeatureList = [ icons and of course normal images. ), + link: '/docs/icons', icon: (), }, { @@ -49,6 +51,7 @@ const FeatureList = [ with more info like response time visible on hover. ), + link: '/docs/status-indicators', icon: (), demo: '../../static/img/homepage-assets/status-check-demo.gif', }, @@ -61,6 +64,7 @@ const FeatureList = [ support for Keycloak and other SSO providers. ), + link: '/docs/authentication', icon: (), }, { @@ -72,6 +76,7 @@ const FeatureList = [ multiple apps at once, all without having to leave your dashboard. ), + link: '/docs/alternate-views', icon: (), demo: '../../static/img/homepage-assets/workspace-demo.gif', }, @@ -84,6 +89,7 @@ const FeatureList = [ workspace view. ), + link: '/docs/alternate-views', icon: (), }, { @@ -97,6 +103,7 @@ const FeatureList = [ using your favorite search engine. ), + link: '/docs/searching', icon: (), demo: '../../static/img/homepage-assets/searching-demo.gif', }, @@ -109,6 +116,7 @@ const FeatureList = [ data between multiple instances easily. ), + link: '/docs/backup-restore', icon: (), }, { @@ -120,6 +128,7 @@ const FeatureList = [ Real-time validation and hints are in place to help you. ), + link: '/docs/configuring', icon: (), demo: '../../static/img/homepage-assets/config-editor-demo.gif', }, @@ -132,6 +141,7 @@ const FeatureList = [ Your language should be applied automatically, or you can change it in the config menu. ), + link: '/docs/multi-language-support', icon: (), }, { @@ -142,6 +152,7 @@ const FeatureList = [ Just run `docker run -p 8080:80 lissy93/dashy` to pull, build and and run Dashy. ), + link: '/docs/quick-start', icon: (), }, { @@ -156,11 +167,12 @@ const FeatureList = [ choose to hide any elements you don't need. ), + link: '/docs/', icon: (), }, ]; -function Feature({ title, description, icon, demo, index }) { +function Feature({ title, description, icon, demo, index, link }) { const side = index % 2 == 0 ? 'left' : 'right'; const color = getColor(index) return ( @@ -170,11 +182,14 @@ function Feature({ title, description, icon, demo, index }) { {description}
Learn more in the Docs - +
- + {demo + ? + : Screenshot Coming Soon + }
); @@ -182,7 +197,7 @@ function Feature({ title, description, icon, demo, index }) { export default function HomepageFeatures() { return ( -
+
{FeatureList.map((props, index) => ( ))} diff --git a/static/icons/interface_down.svg b/static/icons/interface_down.svg new file mode 100644 index 00000000..9555f6f2 --- /dev/null +++ b/static/icons/interface_down.svg @@ -0,0 +1 @@ + \ No newline at end of file