-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
83 additions
and
942 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,61 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1" /> | ||
|
||
<title>Dictionary</title> | ||
|
||
<base href="/" /> | ||
<link rel="icon" type="image/png" href="/favicon.png" /> | ||
<link rel="stylesheet" href="global.css" /> | ||
<link rel="stylesheet" href="build/bundle.css" /> | ||
<link | ||
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" | ||
rel="stylesheet" | ||
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" | ||
crossorigin="anonymous" | ||
/> | ||
<script | ||
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" | ||
crossorigin="anonymous" | ||
></script> | ||
<script src="js/fork-me-baby.min.js"></script> | ||
|
||
<script defer src="build/bundle.js"></script> | ||
</head> | ||
|
||
<body> | ||
<script> | ||
forkMeBaby({ | ||
position: "top-right", | ||
link: "https://github.com/FS-Frost/dictionary", | ||
sticky: false, | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width,initial-scale=1" /> | ||
|
||
<title>Dictionary</title> | ||
|
||
<base href="/" /> | ||
<link rel="icon" type="image/png" href="/favicon.png" /> | ||
<link rel="manifest" href="manifest.json" /> | ||
<link rel="stylesheet" href="global.css" /> | ||
<link rel="stylesheet" href="build/bundle.css" /> | ||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous" /> | ||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" | ||
crossorigin="anonymous"></script> | ||
<script src="js/fork-me-baby.min.js"></script> | ||
|
||
<script defer src="build/bundle.js"></script> | ||
</head> | ||
|
||
<body> | ||
<script> | ||
forkMeBaby({ | ||
position: "top-right", | ||
link: "https://github.com/FS-Frost/dictionary", | ||
sticky: false, | ||
}); | ||
|
||
if ("serviceWorker" in navigator) { | ||
window.addEventListener("load", function () { | ||
navigator.serviceWorker | ||
.register("worker.js") | ||
.then( | ||
function (registration) { | ||
console.log("Worker registration successful", registration.scope); | ||
}, | ||
function (err) { | ||
console.log("Worker registration failed", err); | ||
} | ||
) | ||
.catch(function (err) { | ||
console.log(err); | ||
}); | ||
}); | ||
</script> | ||
|
||
<style> | ||
.fork-me-baby.top-right:before { | ||
border-right-color: #302a7a !important; | ||
} | ||
</style> | ||
</body> | ||
</html> | ||
} else { | ||
console.log("Service Worker is not supported by browser."); | ||
} | ||
</script> | ||
|
||
<style> | ||
.fork-me-baby.top-right:before { | ||
border-right-color: #302a7a !important; | ||
} | ||
</style> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"short_name": "Dictionary", | ||
"name": "Dictionary", | ||
"icons": [ | ||
{ | ||
"src": "favicon.png", | ||
"sizes": "512x512 192x192 64x64 32x32 24x24 16x16", | ||
"type": "image/png" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#003eb3", | ||
"background_color": "#ffffff" | ||
} |
Oops, something went wrong.