diff --git a/.editorconfig b/.editorconfig index 0ee8849d4..dfb4e1d40 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,7 +10,7 @@ trim_trailing_whitespace=true max_line_length=120 insert_final_newline=true -[*.{ts,js,jsx,tsx,json,yaml,yml}] +[*.{css,ts,js,jsx,tsx,json,yaml,yml}] indent_style=space indent_size=2 tab_width=2 @@ -19,3 +19,4 @@ tab_width=2 indent_style=space indent_size=4 tab_width=4 + diff --git a/src/pages/index.js b/src/pages/index.js index c287dafec..09896ee1f 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -6,7 +6,7 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext' import useBaseUrl from '@docusaurus/useBaseUrl' import styles from './styles.module.css' -const featureRows = [ +const quickLinkRow = [ [ { title: 'What is KILT?', @@ -47,6 +47,43 @@ const featureRows = [ ], ] +const useCases = [ + { + title: 'Your Friendly Name for the Web', + imageUrl: 'img/expert_light.svg', + imageUrlDark: 'img/expert_dark.svg', + link: 'https://w3n.id', + description: ( + <> + Claim your web3name! A unique, human readable name that can be used as an alias for your DID. + > + ), + }, + { + title: 'Send Funds to Your DID', + imageUrl: 'img/tools.svg', + imageUrlDark: 'img/tools.svg', + link: 'docs/develop/sdk/quickstart', + description: ( + <> + No need to remember long cryptic account addresses. + Add a service endpoint to your DID that specifies where asset should be send to. + > + ), + }, + { + title: 'Prove Your Public Identity', + imageUrl: 'img/apps-light.svg', + imageUrlDark: 'img/apps-dark.svg', + link: 'docs/develop/builtonkilt', + description: ( + <> + Make sure that others know who you are when you comment on polkassembly or are a public figure in the polkadot ecosystem. + > + ), + }, +] + function Feature({ imageUrl, imageUrlDark, title, description, link }) { const imgUrl = useBaseUrl(imageUrl) const imgUrlDark = useBaseUrl(imageUrlDark) @@ -72,6 +109,55 @@ function Feature({ imageUrl, imageUrlDark, title, description, link }) { ) } +function UseCaseImage({ title, imgUrl, imgUrlDark }) { + + return (
{description}
+