Skip to content

Commit

Permalink
added favicon.ico and relative icons and updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
rajnidua committed Oct 16, 2021
1 parent eef73dd commit e84ec80
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 9 deletions.
Binary file added .DS_Store
Binary file not shown.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Progressive_Web_App-Online-Offline-Budget-Tracker-

Add expenses and deposits to your budget with or without a connection. When entering transactions offline, the total is populated when you are back online.

<div>Icons made by <a href="https://www.flaticon.com/authors/eucalyp" title="Eucalyp">Eucalyp</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>
Binary file added public/.DS_Store
Binary file not shown.
Binary file added public/favicon.ico
Binary file not shown.
Binary file added public/icons/.DS_Store
Binary file not shown.
Binary file added public/icons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/icons/icon-192x192.png
Binary file not shown.
Binary file removed public/icons/icon-512x512.png
Binary file not shown.
9 changes: 8 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,21 @@
<meta name="theme-color" content="#317EFB" />
<link
rel="shortcut icon"
href="icons/icon-192x192.png"
href="icons/android-chrome-192x192.png"
type="image/x-icon"
/>

<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<!-- <link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
crossorigin="anonymous"
/> -->

<link rel="stylesheet" href="styles.css" />
<link rel="manifest" href="manifest.webmanifest" />

Expand Down
5 changes: 2 additions & 3 deletions public/manifest.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
"short_name": "Budget App",
"icons": [
{
"src": "../icons/icon-192x192.png",
"src": "../icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},

{
"src": "../icons/icon-152x152.png",
"src": "../icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
8 changes: 3 additions & 5 deletions public/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@ const FILES_TO_CACHE = [
"/styles.css",
"/index.js",
"/db.js",

"/favicon.ico",
"/manifest.webmanifest",

"/icons/icon-192x192.png",

"/icons/icon-512x512.png",
"/icons/android-chrome-192x192.png",
"/icons/android-chrome-512x512.png",
];

const CACHE_NAME = "static-cache-v2";
Expand Down

0 comments on commit e84ec80

Please sign in to comment.