From 3b9eca10469ddd7591e2bdd86721af2f63d384c9 Mon Sep 17 00:00:00 2001 From: Ingvar Stepanyan Date: Mon, 17 Jan 2022 19:28:29 +0000 Subject: [PATCH] Add link to the future blog post --- ui/index.js | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/ui/index.js b/ui/index.js index 640cbd6..a4cd5fc 100644 --- a/ui/index.js +++ b/ui/index.js @@ -151,12 +151,28 @@ class App extends Component { return h( 'div', { class: 'center-parent' }, - h('input', { - class: 'center', - type: 'button', - onclick: this.selectDevice, - value: '🔍 Select camera' - }) + h( + 'div', + { + class: 'center' + }, + h('input', { + type: 'button', + onclick: this.selectDevice, + value: '🔍 Select camera' + }), + h( + 'p', + null, + "Don't know how you got here? Check out the ", + h( + 'a', + { href: 'https://web.dev/porting-libusb-to-webusb/' }, + 'blog post' + ), + '!' + ) + ) ); case 'Status': return h(