Skip to content

Commit

Permalink
fix(*): remove cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed May 4, 2024
1 parent e0f43f8 commit a2dc0e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
1 change: 0 additions & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<!-- <script src="https://cdn.tiny.cloud/1/no-api-key/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script> -->
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>

<!--
Expand Down
11 changes: 4 additions & 7 deletions src/Pages/GameStore/GameHome.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import { Link, useHistory } from "react-router-dom";
import Cart from "../../Components/Cart/Cart";
import AnimatedScroll from "./AnimatedScroll";
import games from "./games";
import gameOverlay from "../../Assets/Videos/pyke.mp4";
import scarySound from "../../Assets/Sounds/garden-vocal-experimental-26509.mp3";
// import gameOverlay from "../../Assets/Videos/pyke.mp4";
// import scarySound from "../../Assets/Sounds/garden-vocal-experimental-26509.mp3";
import AutoplayAudio from "./AutoplayAudio";

const GameHome = (props) => {
Expand Down Expand Up @@ -118,12 +118,9 @@ const GameHome = (props) => {
)}
<div className={styles.home}>
<video autoPlay muted loop className={styles.video}>
<source src={gameOverlay} type="video/mp4" />
<source src="https://i.imgur.com/MiKpHQ4.mp4" type="video/mp4" />
</video>
{/* <audio controls loop autoPlay src={scarySound}>
<source src={scarySound} type="audio/mpeg" />
</audio> */}
<AutoplayAudio src={scarySound} />
{/* <AutoplayAudio src={scarySound} /> */}
<div className={styles.container}>
<div className={styles.left}>
<div className={styles.splash}>
Expand Down

0 comments on commit a2dc0e2

Please sign in to comment.