From 0b8c53e62d31adb6f8bba359431898a84706448b Mon Sep 17 00:00:00 2001 From: impelcrypto Date: Wed, 13 Jul 2022 15:06:29 +0800 Subject: [PATCH] feat: added 'dApp Staking' and 'User Guides' --- src/components/HomepageFeatures/index.tsx | 22 ++++++++++++++++++++++ src/css/homepage-features.scss | 3 +++ static/img/docs.svg | 12 ++++++++++++ static/img/staking.svg | 11 +++++++++++ 4 files changed, 48 insertions(+) create mode 100755 static/img/docs.svg create mode 100755 static/img/staking.svg diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx index 6b0c6fe16..946a31909 100644 --- a/src/components/HomepageFeatures/index.tsx +++ b/src/components/HomepageFeatures/index.tsx @@ -76,6 +76,28 @@ const FeatureList: FeatureItem[] = [ ), }, + { + title: 'dApp Staking', + link: '/docs/dapp-staking/', + Svg: require('@site/static/img/staking.svg').default, + description: ( + <> + Earn tokens for yourself and your dApp by staking tokens and registering + your dApp with Astar’s dApp Staking. + + ), + }, + { + title: 'User Guides', + link: '/docs/user-guides/', + Svg: require('@site/static/img/docs.svg').default, + description: ( + <> + Learn how to create different types of wallets, obtain tokens, and + manage your assets. + + ), + }, ]; function Feature({ title, Svg, description, link }: FeatureItem) { diff --git a/src/css/homepage-features.scss b/src/css/homepage-features.scss index 1cafa22bf..5be642d5f 100644 --- a/src/css/homepage-features.scss +++ b/src/css/homepage-features.scss @@ -18,6 +18,9 @@ grid-template-columns: auto auto auto; column-gap: 50px; } + @media (min-width: 1900px) { + grid-template-columns: auto auto auto auto; + } } .box { diff --git a/static/img/docs.svg b/static/img/docs.svg new file mode 100755 index 000000000..d51035861 --- /dev/null +++ b/static/img/docs.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/static/img/staking.svg b/static/img/staking.svg new file mode 100755 index 000000000..f7d2bfb82 --- /dev/null +++ b/static/img/staking.svg @@ -0,0 +1,11 @@ + + + + + + + + + + +