Skip to content

Commit

Permalink
2023-07-04:build
Browse files Browse the repository at this point in the history
  • Loading branch information
manishdait committed Jul 4, 2023
1 parent 13bda94 commit 4d40657
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
14 changes: 11 additions & 3 deletions docs/assets/audio/Sound.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
let audio = new Audio();
let isMuted: boolean = false;
export async function playSucess(){
audio.src = "assets/audio/complete.mp3";
audio.load();
audio.play();
if(!isMuted)
audio.play();
}

export async function playSwap() {
audio.src = "assets/audio/swap.mp3";
audio.load();
audio.play();
if(!isMuted)
audio.play();
}

export async function playFind(){
audio.src = "assets/audio/find.mp3";
audio.load();
audio.play();
if(!isMuted)
audio.play();
}

export function setMute(val: boolean) {
isMuted = val;
}
5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style type="text/css">@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialicons/v140/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.woff2) format('woff2');}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;}</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style type="text/css">@font-face{font-family:'Material Symbols Outlined';font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v122/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1n-q_4MrImHCIJIZrDCvHOelbd5zrDAt.woff) format('woff');}.material-symbols-outlined{font-family:'Material Symbols Outlined';font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;}</style>
<style>*{padding:0;margin:0;font-family:Poppins,sans-serif}@media screen and (max-width:1010px){html{font-size:15px}}@media screen and (max-width:610px){html{font-size:13px}}@media screen and (max-width:813px){html{font-size:12px}}</style><link rel="stylesheet" href="styles.b41e4359fde3231b.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.b41e4359fde3231b.css"></noscript></head>
<body>
<app-root></app-root>
<script src="runtime.49bece3b7bc84892.js" type="module"></script><script src="polyfills.aa721fb93725ef3d.js" type="module"></script><script src="main.37fd85ba5733b9d3.js" type="module"></script>
<script src="runtime.49bece3b7bc84892.js" type="module"></script><script src="polyfills.aa721fb93725ef3d.js" type="module"></script><script src="main.e6d5a8532acf4daf.js" type="module"></script>

</body></html>
</body></html>
1 change: 0 additions & 1 deletion docs/main.37fd85ba5733b9d3.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/main.e6d5a8532acf4daf.js

Large diffs are not rendered by default.

0 comments on commit 4d40657

Please sign in to comment.