Skip to content

Commit

Permalink
perf(http): add link attr's and manifest props to improve load time
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-anderson committed May 7, 2023
1 parent f25512b commit c014f44
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
14 changes: 8 additions & 6 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@
name="Description"
content="Fixit is a SaaS application which integrates work order and invoice management with in-app payment processing."
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
type="text/css"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!-- FONT STYLESHEET -->
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap"
type="text/css"
/>
<!-- APPLE TOUCH ICON -->
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.webp" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Expand Down
13 changes: 7 additions & 6 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"name": "Fixit",
"short_name": "Fixit",
"name": "Fixit Web App",
"description": "Web app for managing work orders, invoices, and payments.",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"sizes": "64x64 48x48 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"src": "logo192.webp",
"type": "image/webp",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"src": "logo512.webp",
"type": "image/webp",
"sizes": "512x512"
}
],
Expand Down

0 comments on commit c014f44

Please sign in to comment.