Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Links Fixed #745

Merged
merged 3 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 9 additions & 22 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./styles/mainstyle.css" />
<link rel="stylesheet" href="./styles/default.style.css" />
<link rel="stylesheet" href="/styles/global.css" />

<link rel="stylesheet" href="./styles/global.css" />
<link rel="stylesheet" href="./styles/index.style.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" />
<!-- JavaScript files -->
Expand All @@ -21,22 +22,26 @@
</head>

<body>
<script src="/js/global.js"></script>
<script src="./js/global.js"></script>

<audio id="background-music" autoplay loop>
<source src="./assets/sounds/bgMusic.mp3" type="audio/mpeg" />
</audio>
<div class="settings">
<video autoplay muted class="video" loop id="myVideo">
<source src="/assets/videos/1.mp4" type="video/mp4" />

<source src="./assets/videos/1.mp4" type="video/mp4" />

</video>
<div class="whole-background">
<nav class="navbarr">
<div class="logo">
<a href="#">Dots & Boxes βš„</a>
</div>
<ul class="nav-links">
<li><a href="index.html"><i class="fas fa-home"></i>Home</a></li>

<li><a href="./index.html"><i class="fas fa-home"></i>Home</a></li>

<li><a href="./pages/about.html"><i class="fas fa-info-circle"></i>About Us</a></li>
<li><a href="./pages/FAQs.html"><i class="fas fa-question-circle"></i>FAQs</a></li>
<li><a href="./pages/contributors.html"><i class="fas fa-users"></i>Contributors</a></li>
Expand Down Expand Up @@ -204,27 +209,9 @@ <h3 class="instructions-heading" style="text-decoration: underline">
</div>
</div>
</div>
</div>
<!-- <div class="flex">
<div class="board"></div>
<div class="score">
<div class="players"></div>
<video autoplay muted class="video" loop id="myVideo2">
<source src="/assets/videos/2.mp4" type="video/mp4" />
</video>
<div class="player-turn">
<div class="bg"><span class="name">PlayerX</span>'s turn</div>
</div>
<div class="flex-btn">
<button class="mute-btn button">Mute</button>
<button class="restart-btn button">Restart</button>
</div>
</div>
</div> -->

<script src="//code.tidio.co/fdylvmddtyb7vzsk5frdt3ncrk6cwobs.js" async></script>
</body>

<script src="https://cdn.jotfor.ms/s/umd/latest/for-form-embed-handler.js"></script>

</html>
40 changes: 20 additions & 20 deletions js/leaderboard.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
// Random Data
const entries = [
{ name: "Alice", score: 356, avatar: "/assets/avatars/1.png" },
{ name: "Bob", score: 258, avatar: "/assets/avatars/2.png" },
{ name: "Charlie", score: 312, avatar: "/assets/avatars/17.png" },
{ name: "David", score: 167, avatar: "/assets/avatars/4.png" },
{ name: "Eve", score: 481, avatar: "/assets/avatars/9.png" },
{ name: "Frank", score: 573, avatar: "/assets/avatars/8.png" },
{ name: "Grace", score: 345, avatar: "/assets/avatars/7.png" },
{ name: "Heidi", score: 254, avatar: "/assets/avatars/6.png" },
{ name: "Ivan", score: 491, avatar: "/assets/avatars/5.png" },
{ name: "Judy", score: 587, avatar: "/assets/avatars/10.png" },
{ name: "Jassi", score: 342, avatar: "/assets/avatars/18.png" },
{ name: "Kevin", score: 456, avatar: "/assets/avatars/11.png" },
{ name: "Michael", score: 398, avatar: "/assets/avatars/13.png" },
{ name: "Nancy", score: 359, avatar: "/assets/avatars/14.png" },
{ name: "Oliver", score: 275, avatar: "/assets/avatars/15.png" },
{ name: "Peggy", score: 493, avatar: "/assets/avatars/16.png" },
{ name: "Quincy", score: 567, avatar: "/assets/avatars/3.png" },
{ name: "Robert", score: 321, avatar: "/assets/avatars/12.png" },
{ name: "Tom", score: 512, avatar: "/assets/avatars/19.png" },
{ name: "Victor", score: 512, avatar: "/assets/avatars/20.png" },
{ name: "Alice", score: 356, avatar: "../assets/avatars/1.png" },
{ name: "Bob", score: 258, avatar: "../assets/avatars/2.png" },
{ name: "Charlie", score: 312, avatar: "../assets/avatars/17.png" },
{ name: "David", score: 167, avatar: "../assets/avatars/4.png" },
{ name: "Eve", score: 481, avatar: "../assets/avatars/9.png" },
{ name: "Frank", score: 573, avatar: "../assets/avatars/8.png" },
{ name: "Grace", score: 345, avatar: "../assets/avatars/7.png" },
{ name: "Heidi", score: 254, avatar: "../assets/avatars/6.png" },
{ name: "Ivan", score: 491, avatar: "../assets/avatars/5.png" },
{ name: "Judy", score: 587, avatar: "../assets/avatars/10.png" },
{ name: "Jassi", score: 342, avatar: "../assets/avatars/18.png" },
{ name: "Kevin", score: 456, avatar: "../assets/avatars/11.png" },
{ name: "Michael", score: 398, avatar: "../assets/avatars/13.png" },
{ name: "Nancy", score: 359, avatar: "../assets/avatars/14.png" },
{ name: "Oliver", score: 275, avatar: "../assets/avatars/15.png" },
{ name: "Peggy", score: 493, avatar: "../assets/avatars/16.png" },
{ name: "Quincy", score: 567, avatar: "../assets/avatars/3.png" },
{ name: "Robert", score: 321, avatar: "../assets/avatars/12.png" },
{ name: "Tom", score: 512, avatar: "../assets/avatars/19.png" },
{ name: "Victor", score: 512, avatar: "../assets/avatars/20.png" },
];

// Data after game ends
Expand Down
38 changes: 18 additions & 20 deletions pages/404.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>404:Page not found</title>
<link
rel="shortcut icon"
href="../assets/favicon.ico"
type="image/x-icon"
/>
<link rel="stylesheet" href="/styles/global.css" />
<link rel="stylesheet" href="../styles/404.css" />
</head>

<body>
<script src="/js/global.js"></script>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>404:Page not found</title>
<link rel="shortcut icon" href="../assets/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="../styles/global.css" />
<link rel="stylesheet" href="../styles/404.css" />
</head>

<div class="center">
<img src="../assets/images/404pic.png" alt="404 pic" class="pic" />
<button class="btn"><a href="../index.html">Home</a></button>
</div>
</body>
</html>
<body>
<script src="../js/global.js"></script>

<div class="center">
<img src="../assets/images/404pic.png" alt="404 pic" class="pic" />
<button class="btn"><a href="../index.html">Home</a></button>
</div>
</body>

</html>
Loading