From fc1b27c796cb49c1df68c76ae57e98919f68bd52 Mon Sep 17 00:00:00 2001 From: ADESANYA JOSHUA AYODEJI Date: Fri, 4 Oct 2019 19:05:02 +0100 Subject: [PATCH 01/18] Update blog.html --- blog.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog.html b/blog.html index e804225..021ca87 100644 --- a/blog.html +++ b/blog.html @@ -86,7 +86,7 @@
Oct 3, 2019

How To Maintain Your Solar Batteries For Optimum Efficiency

Sep 29, 2019
- battery for solar + battery for solar

Images of 12V, 240V battery

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. From 0144251649493049c63a58c23a67b20d2770b161 Mon Sep 17 00:00:00 2001 From: ADESANYA JOSHUA AYODEJI Date: Fri, 4 Oct 2019 19:07:06 +0100 Subject: [PATCH 02/18] Update blog.html --- blog.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blog.html b/blog.html index 021ca87..6a5bdf2 100644 --- a/blog.html +++ b/blog.html @@ -77,7 +77,7 @@

Poseidon's Blog

Why You Need A Solar Calculator

Oct 3, 2019
- solar panels in a field + solar panels in a field

Solar panels in sunlight

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. @@ -96,7 +96,7 @@

Sep 29, 2019

About Poseidon

- Poseidon Logo + Poseidon Logo

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut

From 0744d36309425b01b6fd93a070d2d89c8746ed80 Mon Sep 17 00:00:00 2001 From: ADESANYA JOSHUA AYODEJI Date: Fri, 4 Oct 2019 19:09:06 +0100 Subject: [PATCH 03/18] Update blog.html --- blog.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog.html b/blog.html index 6a5bdf2..332538e 100644 --- a/blog.html +++ b/blog.html @@ -26,7 +26,7 @@
-
-

How it works

-
-
- -

1. Choose an appliance

-
-
- -

2. Input appliance power

-
-
- -

3. Calculate and get result

-
-
- - - -
-
-
-

Found This App Useful?

+
+ + + + + + + + + + + +
+

How it works

+
+
+ +

1. Choose an appliance

+
+
+ +

2. Input appliance power

+
+
+ +

3. Calculate and get result

+
-
- -

+
+ + + +
+
+
+

Found This App Useful?

+
+
+ +

+
-
- - + + -
-

About Us

-
+
+

About Us

+

Our Mission


- -

To develop Problem Solving Application that makes the world a better place

-

We are Team POSEIDON , a motivated team specialized in delivering State +

To develop Problem Solving Application that makes the world a better + place

+ +

We are Team POSEIDON , a motivated team specialized in delivering State of the art problem solving Web Applications, We believe passionately in great bargains - and excellent service which is why we bring you the best of both.

+ and excellent service which is why we bring you the best of both.

We are a remote Team that help each other and believe that we can make the world a better place.

- +

If you are looking for something new, you are in the right place, We strive to be industrious, - and innovative, offering our customers something they want, putting their desires at the top of our + and innovative, offering our customers something they want, putting their desires at the top of + our priority.

- +

Team Leaders

@@ -258,196 +268,224 @@

Team Leaders

Lead for Mobile & Design Affairs- Amaizu Melody

Lead for Our Digital Marketing & Content Creation - Victor Obinna Nwosu

- +
- Contact Us -
- -
- - -
-

Frequently Asked Questions

-
-
Get enlightened with the stack of knowledge base you might just - find that which - you need
-
- - -
Why use a Solar Calculator?
-

- A solar calculator helps you calculate with precise accuracy how many kW system sizes are required to power your selected appliances. With this information, you can know the cost of the system and make adjustments where necessary. Worthy of note is to power only the most important appliances on Solar especially if you will be purchasing a hybrid/Grid-tied unit -

-
-
- - -
Why consider Solar energy?
-

Solar energy offers great benefits both financially and environmentally. Money for electricity bills will be saved and increasing the electricity rate in the future will be protected. It also helps reduce greenhouse gas emissions which plays a role in climate change and air pollution.

-
-
- - -
How does Solar energy work?
-

Sunlight is converted into electricity using solar panels. The converted electricity can be stored in batteries to power electrical appliances. Excess energy harnessed from the panels can be exported to the grid. In the case of a grid-tied solar unit.

-
- -
- - -
What are the effects of solar panels on roofs?
-

- The solar panel has no negative effect on your roof, instead it has been known to help increase the value of the house when putting it up for sale. + Contact Us +

+ +
+ + +
+

Frequently Asked Questions

+
+
Get enlightened with the stack of knowledge base you might + just + find that which + you need
+
+ + +
Why use a Solar Calculator?
+

+ A solar calculator helps you calculate with precise accuracy how many kW system sizes are required + to power your selected appliances. With this information, you can know the cost of the system and + make adjustments where necessary. Worthy of note is to power only the most important appliances on + Solar especially if you will be purchasing a hybrid/Grid-tied unit +

+
+
+ + +
Why consider Solar energy?
+

Solar energy offers great benefits both + financially and environmentally. Money for electricity bills will be saved and increasing the + electricity rate in the future will be protected. It also helps reduce greenhouse gas emissions + which plays a role in climate change and air pollution.

+
+
+ + +
How does Solar energy work?
+

Sunlight is converted into electricity + using solar panels. The converted electricity can be stored in batteries to power electrical + appliances. Excess energy harnessed from the panels can be exported to the grid. In the case of a + grid-tied solar unit.

+
+ +
+ + +
What are the effects of solar panels on roofs?
+

+ The solar panel has no negative effect on your roof, instead it has been known to help increase the + value of the house when putting it up for sale. +

+
+ +
+ + +
How much does it cost?
+

There can only be estimates as the + installation cost varies considerably. This depends on your energy demands and how much autonomy you + are willing to go for.

+
+ +
+ + +
How do you know the number of panels to be used?
+

The Poseidon solar calculator will help you + calculate your appliances based on their capacities then estimates the number of panels that will be + best suitable.

+
+ +
+ + +
Do I pay for renewable energy?
+

The only cost is the cost of initial + components and installation. No subsequent subscription or bills is required to have access to power + generated. +

+
+ +
+ + +
Is solar power clean or green energy? +
+

Solar Energy is both green and clean as it + has no harmful effects on the environment.

+
+ +
+ + +
Why do I need to calculate my solar power requirement?
+

Calculation is required to get a fair or + exact estimate of solar components needed to power your appliances and home.

-
- -
- - -
How much does it cost?
-

There can only be estimates as the installation cost varies considerably. This depends on your energy demands and how much autonomy you are willing to go for.

-
- -
- - -
How do you know the number of panels to be used?
-

The Poseidon solar calculator will help you calculate your appliances based on their capacities then estimates the number of panels that will be best suitable.

-
- -
- - -
Do I pay for renewable energy?
-

The only cost is the cost of initial components and installation. No subsequent subscription or bills is required to have access to power generated. -

-
- -
- - -
Is solar power clean or green energy? -
-

Solar Energy is both green and clean as it has no harmful effects on the environment.

-
- -
- - -
Why do I need to calculate my solar power requirement?
-

Calculation is required to get a fair or exact estimate of solar components needed to power your appliances and home. -

-
- -
- - -
Is solar power stable? -
-

Yes, solar power is stable and can be stored and inverted to be used later. -

-
- -
- - -
What appliances can I enter here? -
-

All appliances that require electricity to run and that will be used in your home (kitchen, living room, bathroom, etc.). All electrical appliances are rated in KWH, which tells the amount of electricity the particular appliance consumes per hour.

-
- -
- - -
Is this Poseidon Solar Calculator Free?
-

Yes, Poseidon Solar Calculator is absolutely free to use with no hidden charges whatsoever. -

-
-
- - - -
+
+ +
+ + +
Is solar power stable? +
+

Yes, solar power is stable and can be + stored and inverted to be used later. +

+
+ +
+ + +
What appliances can I enter here? +
+

All appliances that require electricity to + run and that will be used in your home (kitchen, living room, bathroom, etc.). All electrical + appliances are rated in KWH, which tells the amount of electricity the particular appliance consumes + per hour.

+
+ +
+ + +
Is this Poseidon Solar Calculator Free?
+

Yes, Poseidon Solar Calculator is + absolutely free to use with no hidden charges whatsoever. +

+
+
+ + + +

CONTACT US

-
- -
+
+ +
-
-

- - -

-

- - -

-

- - -

-

- - -

- - -
-
- +
+

+ + +

+

+ + +

+

+ + +

+

+ + +

+ + +
+
+
- - - - - - - - - - - - + + + + + + + + - + \ No newline at end of file From fa791fe2224f0cb9e9b17e53db807f9fe78dce58 Mon Sep 17 00:00:00 2001 From: Joshua Adesanya Date: Sat, 7 Mar 2020 12:11:41 +0100 Subject: [PATCH 05/18] added offline experience --- Images/icons/solar192x192.png | Bin 0 -> 12199 bytes .../{solar 192x192.png => solar192x1922.png} | Bin ...solar 256 x 256.png => solar256 x 256.png} | Bin .../{solar 128x128.png => solar28x128.png} | Bin .../{solar 512x512.png => solar512x512.png} | Bin article1.html | 154 ----------------- article2.html | 153 ---------------- blog.html | 163 ------------------ calculate_power.html | 106 ------------ index.html | 20 ++- manifest.json | 14 +- src/js/app.js | 16 +- src/js/install.js | 0 src/js/sw.js | 60 ------- sw.js | 55 ++++++ 15 files changed, 86 insertions(+), 655 deletions(-) create mode 100644 Images/icons/solar192x192.png rename Images/icons/{solar 192x192.png => solar192x1922.png} (100%) rename Images/icons/{solar 256 x 256.png => solar256 x 256.png} (100%) rename Images/icons/{solar 128x128.png => solar28x128.png} (100%) rename Images/icons/{solar 512x512.png => solar512x512.png} (100%) delete mode 100644 article1.html delete mode 100644 article2.html delete mode 100644 blog.html delete mode 100644 calculate_power.html create mode 100644 src/js/install.js delete mode 100644 src/js/sw.js create mode 100644 sw.js diff --git a/Images/icons/solar192x192.png b/Images/icons/solar192x192.png new file mode 100644 index 0000000000000000000000000000000000000000..70cecdc534bcaf1defa707ab5de898d26548427c GIT binary patch literal 12199 zcmb7qWl&sA(C$JA65MU^#R*PucM0wg+}#}(cL^>@fFQv=xGe52!QI_u(U14us#|q` zem|zCrs{N`IbCO_pYDF5loh2>KM{Qb005}6G7_rqbLW2p5&m7OuGk^GPcW{k(qe$h zap2+m0?tzOt0(|alYsne{PBH_>sl-;P9hQR$+>T-nGp(Z?wTGN zn*Rjvvwhe7S-!c$0C}qESK@NefD2e?Fu(<(|CLZ=QO52>)=eJKO-9go-4XJ((?4kO z@x#|Y0xv$~Jg0yUGFPrTdj?iEbLpKBC*jn0qtk4;)OSQ{bR{JTa_4QMF+kz6@D7cr z+5OCrsSQDsmw-lMm_}q#C^h*H@u0m+V5yCc1B&%Cn zmL_%w=s+yM~oKTrY;taj>nU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Y@RohKdqQ#RHH%?{N?5bi{8Z2XyH9H|=Og-;W6dMVAfr$|e%R%$ zFY}|u4@>);#Bi5LVc7D_Jbt*nu)bXA65`okbg=}L$D-bw?Ib8;$pK#xbUdykGq60oyj=-bx0Rj@iI##N z`joc!wrXu`y*%C=tgeLgozGtM)P{|k<$7y2h5R;W*<$b9%lzTwD}-Mk7&?5t*pAE9`B20j8@I(3M@t?!3@4Pp7=0C* z6RfBj(go9=kJUU&jCWN&-e~A|4B~$ZjACG^;Hba - - - - - - - - - - - - - - - - Solar Calculator - - - - - -

- - - - - - -
-

Poseidon's Blog

-
- -
-
-
- Go back to main blog page <<< -
-

Why You Need A Solar Calculator

-
Oct 3, 2019
- solar panels in a field -

Solar panels in sunlight

-

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

- -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

- -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

- -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

-
-

How To Maintain Your Solar Batteries For Optimum Efficiency

- - Go back to main blog page <<< -
-
-
-

About Poseidon

- Poseidon Logo -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut

-
-
-

Popular Post

-
How to calculate your power usage

-
What to do when the sun is not shining

-
How many solar panels do I need?
-
-
-

Follow Us

-

You can follow us on our social media platforms

-
-
-
-
- - - - - - - - diff --git a/article2.html b/article2.html deleted file mode 100644 index 77108ae..0000000 --- a/article2.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - - - - - - - - - - - - - Solar Calculator - - - - - -
- - - - - - -
-

Poseidon's Blog

-
- -
-
-
- Go back to main blog page <<< -
-

How To Maintain Your Solar Batteries For Optimum Efficiency

-
Sep 29, 2019
- battery for solar -

Images of 12V, 240V battery

-

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

- -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

- -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

- -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

-
-

Why You Need A Solar Calculator

- Go back to main blog page <<< -
-
-
-

About Poseidon

- Poseidon Logo -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut

-
-
-

Popular Post

-
How to calculate your power usage

-
What to do when the sun is not shining

-
How many solar panels do I need?
-
-
-

Follow Us

-

You can follow us on our social media platforms

-
-
-
-
- - - - - - - - diff --git a/blog.html b/blog.html deleted file mode 100644 index 332538e..0000000 --- a/blog.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - - - - - - - - - - - - Solar Calculator - - - - - -
- - - - - - -
-

Poseidon's Blog

-
- -
-
-
-
-

Why You Need A Solar Calculator

-
Oct 3, 2019
- solar panels in a field -

Solar panels in sunlight

-

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

-
-
-

How To Maintain Your Solar Batteries For Optimum Efficiency

-
Sep 29, 2019
- battery for solar -

Images of 12V, 240V battery

-

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. - Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco. -

-
-
-
-
-

About Poseidon

- Poseidon Logo -

Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut

-
-
-

Popular Post

-
How to calculate your power usage

-
What to do when the sun is not shining

-
How many solar panels do I need?
-
-
-

Follow Us

-

You can follow us on our social media platforms

-
-
-
-
- - - - - - - - - - - - - diff --git a/calculate_power.html b/calculate_power.html deleted file mode 100644 index 2981e8c..0000000 --- a/calculate_power.html +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - -
- - -
-
- - -
- - -
- -
- -
-
- - - - -
-
- - - - -
-
-
-
-

Results

-
- -

Watts

-
-

Solar Power needed

-
-
-
- - -
- - - -
- - - \ No newline at end of file diff --git a/index.html b/index.html index 3133f9a..3fa9935 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,19 @@ - + + + + + + + + + + + + + @@ -80,9 +92,7 @@ - + Calculate @@ -486,6 +496,8 @@

POSEIDON

+ + \ No newline at end of file diff --git a/manifest.json b/manifest.json index 15e372d..4069648 100644 --- a/manifest.json +++ b/manifest.json @@ -1,24 +1,23 @@ { "name": "Poseidon Solar Calculator", "short_name": "Poseidon", - "icons" : [ - { - "src": "/Images/icons/solar 128x128.png", + "icons": [{ + "src": "/Images/icons/solar128x128.png", "sizes": "128x128", "type": "image/png" }, { - "src": "/Images/icons/solar 192x192.png", + "src": "/Images/icons/solar192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/Images/icons/solar 256x256.png", + "src": "/Images/icons/solar256x256.png", "sizes": "256x256", "type": "image/png" }, { - "src": "/Images/icons/solar 512x512.png", + "src": "/Images/icons/solar512x512.png", "sizes": "512x512", "type": "image/png" } @@ -26,5 +25,6 @@ "start_url": "/index.html", "display": "standalone", "background_color": "rgb(131, 127, 127)", - "theme_color": "rgb(131, 127, 127)" + "theme_color": "rgb(131, 127, 127)", + "orientation": "portrait-primary" } \ No newline at end of file diff --git a/src/js/app.js b/src/js/app.js index feead3f..f2926d0 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -1,9 +1,9 @@ if ('serviceWorker' in navigator) { - window.addEventListener('load', () => { - navigator.serviceWorker.register('src/js/sw.js').then( () => { - console.log('Service Worker Registered') - }) - }) -} - - \ No newline at end of file + window.addEventListener('load', () => { + navigator.serviceWorker.register('/sw.js') + .then(() => { + console.log('Service Worker Registered') + }) + .catch(err => console.log('Service Worker not registered')) + }) +} \ No newline at end of file diff --git a/src/js/install.js b/src/js/install.js new file mode 100644 index 0000000..e69de29 diff --git a/src/js/sw.js b/src/js/sw.js deleted file mode 100644 index 427159f..0000000 --- a/src/js/sw.js +++ /dev/null @@ -1,60 +0,0 @@ -importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.0.0/workbox-sw.js"); - -if (workbox) { - console.log("Yay! Workbox is loaded !"); - workbox.precaching.precacheAndRoute([]); - - /* cache images in the e.g others folder; edit to other folders you got - and config in the sw-config.js file - */ - workbox.routing.registerRoute( - /(.*)others(.*)\.(?:png|gif|jpg)/, - new workbox.strategies.CacheFirst({ - cacheName: "Images", - plugins: [ - new workbox.expiration.Plugin({ - maxEntries: 50, - maxAgeSeconds: 30 * 24 * 60 * 60, // 30 Days - }) - ] - }) - ); - /* Make your JS and CSS ⚡ fast by returning the assets from the cache, - while making sure they are updated in the background for the next use. - */ - workbox.routing.registerRoute( - // cache js, css, scc files - /.*\.(?:css|js|scss|)/, - // use cache but update in the background ASAP - new workbox.strategies.StaleWhileRevalidate({ - // use a custom cache name - cacheName: "assets", - }) - ); - - // cache google fonts - workbox.routing.registerRoute( - new RegExp("https://fonts.(?:googleapis|gstatic).com/(.*)"), - new workbox.strategies.CacheFirst({ - cacheName: "google-fonts", - plugins: [ - new workbox.cacheableResponse.Plugin({ - statuses: [0, 200], - }), - ], - }) - ); - - // add offline analytics - workbox.googleAnalytics.initialize(); - - /* Install a new service worker and have it update - and control a web page as soon as possible - */ - - workbox.core.skipWaiting(); - workbox.core.clientsClaim(); - -} else { - console.log("Oops! Workbox didn't load 👺"); -} \ No newline at end of file diff --git a/sw.js b/sw.js new file mode 100644 index 0000000..a1c3e3c --- /dev/null +++ b/sw.js @@ -0,0 +1,55 @@ +const staticSolar = "staticSolar-v1" + +const assets = [ + "/", + "/index.html", + "/css/style.css", + "/js/app.js", + "/js/contact.js", + "/js/faq.js", + "/js/solar.js", + "/js/webshare.js", + "/images/accounting.png", + "/images/battery.jpg", + "/images/clipboard.png", + "/images/partners-image.png", + "/images/solar2.jpg", + "/images/coffee6.jpg", + "/images/solar3.jpg", + "/images/washing-machine.png", + "/images/Logo/Frame modified.png", + "/images/Logo/Frame.png", + "/images/icons/solar128x128.png", + "/images/icons/solar192x192.png", + "/images/icons/solar256x256.png", + "/images/icons/solar512x512.png", +] + +self.addEventListener("install", installEvent => { + installEvent.waitUntil( + caches.open(staticSolar).then(cache => { + cache.addAll(assets) + }) + ) +}); + +self.addEventListener("activate", activateEvent => { + activateEvent.waitUntil( + caches.keys().then((keyList) => { + return Promise.all(keyList.map((key) => { + if (key !== staticSolar) { + console.log('[ServiceWorker] Removing old cache', key); + return caches.delete(key); + } + })); + }) + ); +}) + +self.addEventListener("fetch", fetchEvent => { + fetchEvent.respondWith( + caches.match(fetchEvent.request).then(res => { + return res || fetch(fetchEvent.request) + }) + ) +}); \ No newline at end of file From 0c1d9a2a87b3e52b26952341be99b8dd837ec0d0 Mon Sep 17 00:00:00 2001 From: Joshua Adesanya Date: Sat, 7 Mar 2020 12:16:40 +0100 Subject: [PATCH 06/18] new changes --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 3fa9935..732217b 100644 --- a/index.html +++ b/index.html @@ -21,14 +21,14 @@ - + - + Solar Calculator