parent
4e66f2d8c9
commit
09bb0f0ed6
23 changed files with 244 additions and 178 deletions
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 15 KiB |
@ -1,45 +1,41 @@ |
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> |
||||
<meta |
||||
name="viewport" |
||||
content="width=device-width, initial-scale=1" |
||||
user-scalable="false" |
||||
/> |
||||
<meta name="theme-color" content="#000000" /> |
||||
<meta name="description" content="فروشگاه کتاب دانوین" /> |
||||
<link |
||||
href="https://api.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.css" |
||||
rel="stylesheet" |
||||
/> |
||||
<meta name="mobile-web-app-capable" content="yes" /> |
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> |
||||
<meta name="apple-mobile-web-app-capable" content="yes" /> |
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> |
||||
|
||||
<title>دانوین</title> |
||||
</head> |
||||
<body> |
||||
<div id="root"></div> |
||||
<script> |
||||
if ("serviceWorker" in navigator) { |
||||
window.addEventListener("load", function () { |
||||
navigator.serviceWorker |
||||
.register("./serviceworker.js") |
||||
.then((registration) => { |
||||
// Registration was successful |
||||
console.log( |
||||
"ServiceWorker registration successful with scope: ", |
||||
registration.scope |
||||
); |
||||
}) |
||||
.catch((err) => { |
||||
console.log(err); |
||||
}); |
||||
}); |
||||
} |
||||
</script> |
||||
</body> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1" user-scalable="false" /> |
||||
<meta name="theme-color" content="#000000" /> |
||||
<meta name="description" content="دانوین" /> |
||||
<link href="https://api.mapbox.com/mapbox-gl-js/v1.10.1/mapbox-gl.css" rel="stylesheet" /> |
||||
<meta name="mobile-web-app-capable" content="yes" /> |
||||
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> |
||||
<meta name="apple-mobile-web-app-capable" content="yes" /> |
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> |
||||
|
||||
<title>دانوین</title> |
||||
</head> |
||||
|
||||
<body> |
||||
<div id="root"></div> |
||||
<script> |
||||
if ("serviceWorker" in navigator) { |
||||
window.addEventListener("load", function () { |
||||
navigator.serviceWorker |
||||
.register("./serviceworker.js") |
||||
.then((registration) => { |
||||
// Registration was successful |
||||
console.log( |
||||
"ServiceWorker registration successful with scope: ", |
||||
registration.scope |
||||
); |
||||
}) |
||||
.catch((err) => { |
||||
console.log(err); |
||||
}); |
||||
}); |
||||
} |
||||
</script> |
||||
</body> |
||||
|
||||
</html> |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 35 KiB |
Loading…
Reference in new issue