This commit is contained in:
Paulus Schoutsen 2021-11-14 08:57:20 -08:00
parent 91dbdf86c1
commit 27961ccbd4
3 changed files with 13 additions and 10 deletions

View File

@ -105,7 +105,7 @@
// In development we import locally. // In development we import locally.
window.location.hostname === "localhost" window.location.hostname === "localhost"
? "/dist/web/install-button.js" ? "/dist/web/install-button.js"
: "https://unpkg.com/esp-web-tools@5.0.0/dist/web/install-button.js?module" : "https://unpkg.com/esp-web-tools@5.1.0/dist/web/install-button.js?module"
); );
</script> </script>
</head> </head>
@ -200,16 +200,19 @@
</p> </p>
</div> </div>
<div class="project"> <div class="project">
<a href="https://canair.io" class="logo" <a href="https://canair.io" class="logo"
><img src="static/logos/canairio.png" alt="CanAirIO logo" ><img src="static/logos/canairio.png" alt="CanAirIO logo"
/></a> /></a>
<h3>CanAirIO</h3> <h3>CanAirIO</h3>
<p> <p>
Citizen science initiative for monitoring air quality. CanAirIO uses Citizen science initiative for monitoring air quality. CanAirIO uses
mobile and fixed sensors to measure air quality with smartphones and ESP32 devices. mobile and fixed sensors to measure air quality with smartphones and
ESP32 devices.
</p> </p>
<p> <p>
<a href="https://canair.io/installer.html" target="_blank">Installation Website</a> <a href="https://canair.io/installer.html" target="_blank"
>Installation Website</a
>
</p> </p>
</div> </div>
<div class="project"> <div class="project">
@ -224,7 +227,7 @@
<p> <p>
<a href="https://esphome.io" target="_blank">Website</a> <a href="https://esphome.io" target="_blank">Website</a>
</p> </p>
</div> </div>
<h2 id="add-website">Adding ESP Web Tools to your website</h2> <h2 id="add-website">Adding ESP Web Tools to your website</h2>
<p> <p>
To add this to your own website, create a manifest and add the button to To add this to your own website, create a manifest and add the button to
@ -241,7 +244,7 @@
<pre> <pre>
&lt;script &lt;script
type="module" type="module"
src="https://unpkg.com/esp-web-tools@5.0.0/dist/web/install-button.js?module" src="https://unpkg.com/esp-web-tools@5.1.0/dist/web/install-button.js?module"
>&lt;/script> >&lt;/script>
&lt;esp-web-install-button &lt;esp-web-install-button

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "esp-web-tools", "name": "esp-web-tools",
"version": "5.0.0", "version": "5.1.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "esp-web-tools", "name": "esp-web-tools",
"version": "5.0.0", "version": "5.1.0",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@material/mwc-button": "^0.25.3", "@material/mwc-button": "^0.25.3",

View File

@ -1,6 +1,6 @@
{ {
"name": "esp-web-tools", "name": "esp-web-tools",
"version": "5.0.0", "version": "5.1.0",
"description": "Web tools for ESP devices", "description": "Web tools for ESP devices",
"main": "dist/install-button.js", "main": "dist/install-button.js",
"repository": "https://github.com/esphome/web", "repository": "https://github.com/esphome/web",