From df889ca69a1c307dba84f66cfb36c441900b3b8e Mon Sep 17 00:00:00 2001 From: Andre Neves Date: Wed, 4 Aug 2021 22:42:01 -0400 Subject: [PATCH] chore: further fixes on content --- pages/index.js | 44 ++++++++++++++++++++++---------------- public/images/comments.svg | 2 +- public/images/email.svg | 2 +- 3 files changed, 28 insertions(+), 20 deletions(-) diff --git a/pages/index.js b/pages/index.js index c4405f2..d3ccb8f 100644 --- a/pages/index.js +++ b/pages/index.js @@ -623,14 +623,14 @@ const FOOTER = [ items: [ { link: URL_INTERNET_IDENTIFIER, - title: 'Internet Identifiers' + title: 'Internet Identifier RFC' }, { link: 'https://github.com/andrerfneves/lightning-address', title: 'Code Repository' }, { - link: 'https://github.com/andrerfneves/lightning-address/blob/master/DOCUMENTATION.md', + link: 'https://github.com/andrerfneves/lightning-address/blob/master/README.md', title: 'Documentation' }, { @@ -669,10 +669,20 @@ const FOOTER = [ const BENEFITS = [ { - title: 'No more QR codes', - description: 'Gone are the days that you needed to send your friend a Lightning Network invoice in order to receive a payment. Tell them to `pay me at user@domain.com` and be done with it.', + title: 'Skip the QR codes', + description: () => <>Gone are the days that you needed to send your friend a Lightning Network invoice in order to receive a payment. Tell them to pay me at user@domain.com and be done with it., image: '/images/qrcode.svg' }, + { + title: 'Dynamic properties', + description: 'Remove the boundaries that exist between service providers. Send money from provider A to provider B to your self-hosted C without hassle. Your Lightning Address is your global boundless payment identifier.', + image: '/images/bitcoin1.svg' + }, + { + title: 'Messaging support', + description: 'Lightning Addresses are primarily payment identifiers, but they also accept comments. Gone are the days that you needed to send your friend a Lightning Network invoice in order to receive a payment. Tell them to `pay me at user@domain.com` and be done with it.', + image: '/images/comments.svg' + }, { title: 'Cross-provider support', description: 'Remove the boundaries that exist between service providers. Send money from provider A to provider B to your self-hosted C without hassle. Your Lightning Address is your global boundless payment identifier.', @@ -683,20 +693,10 @@ const BENEFITS = [ description: 'Lightning Address builds upon the LNURL Protocol which is widely adopted in Lightning-enabled services. The aim of LNURL is to improve user-experience around sending of Lightning invoices between apps and services.', image: '/images/bitcoin3.svg' }, - { - title: 'Messaging support', - description: 'Gone are the days that you needed to send your friend a Lightning Network invoice in order to receive a payment. Tell them to `pay me at user@domain.com` and be done with it.', - image: '/images/comments.svg' - }, - { - title: 'Ease of Use', - description: 'Remove the boundaries that exist between service providers. Send money from provider A to provider B to your self-hosted C without hassle. Your Lightning Address is your global boundless payment identifier.', - image: '/images/email.svg' - }, { title: 'Familiar', description: 'Lightning Address builds upon the LNURL Protocol which is widely adopted in Lightning-enabled services. The aim of LNURL is to improve user-experience around sending of Lightning invoices between apps and services.', - image: '/images/bitcoin3.svg' + image: '/images/bitcoin2.svg' }, ]; @@ -713,7 +713,7 @@ const IMPLEMENTATIONS = [ title: 'Bridge Server', description: 'If you already run a Lightning Network node and want a quick plug-n-play solution to getting your Lightning Address, this option is for you. Simply point some DNS settings to the Bridge Server, and you will be setup in minutes.', image: '/images/data3.svg', - linkText: 'Start Setup', + linkText: 'Quick Setup', link: 'https://github.com/andrerfneves/lightning-address/blob/master/BRIDGE.md', isSecondary: true }, @@ -776,7 +776,11 @@ export default function Home() { {benefit.title} - {benefit.description} + {(typeof benefit.description === 'string') ? ( + benefit.description + ) : ( + benefit.description() + )} ))} @@ -814,6 +818,10 @@ export default function Home() { Download App + + + Open Telegram + Create Account @@ -827,7 +835,7 @@ export default function Home() { My favorite app doesn't support Lightning Address yet. What can I do? - The best thing to do is to get in touch with the app/service/wallet company and ask them to learn about Lightning Addresses and implement support for it. To make it easier, we created a template email you can send to your favorite provider. + The best thing to do is to get in touch with the developer company and ask them to learn about Lightning Addresses and implement support for it. To make it easier, we created an email template you can send to your favorite provider. window.open(`mailto:provider@example.com?subject=Support Lightning Address&body=Hey, why don't you support Lightning Address yet? Check it at lightningaddress.com`)}> diff --git a/public/images/comments.svg b/public/images/comments.svg index dc802b7..a0d5cbb 100644 --- a/public/images/comments.svg +++ b/public/images/comments.svg @@ -1 +1 @@ -_ \ No newline at end of file + \ No newline at end of file diff --git a/public/images/email.svg b/public/images/email.svg index 5825434..28c10a8 100644 --- a/public/images/email.svg +++ b/public/images/email.svg @@ -1 +1 @@ -_ \ No newline at end of file +_ \ No newline at end of file