Skip to content

Commit

Permalink
Final: Enhance app functionalities (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangsonww committed Jan 19, 2025
1 parent 2fd974e commit 706ef82
Show file tree
Hide file tree
Showing 200 changed files with 59,781 additions and 1,303 deletions.
11 changes: 9 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ <h1 id="my-heading" style="margin-bottom: -10px" class="notranslate">
<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
</div>
<div class="center-text" style="padding: 150px">
<div class="center-text" style="animation: fadeIn 1.5s ease-in-out; padding: 150px">
<div style="font-weight: bold; font-size: 55px; color: #ff8623">404</div>
<p>Sorry, the page you are looking for cannot be found.</p>
<button class="center-button" onclick="window.location.href='https://movie-verse.com/'">Back to Home</button>
Expand Down Expand Up @@ -1137,8 +1137,15 @@ <h1 id="my-heading" style="margin-bottom: -10px" class="notranslate">
</script>
<footer style="margin-top: 400px">
<a href="https://movie-verse.com/" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
// Get the current year
const currentYear = new Date().getFullYear();

// Update the year in the footer
document.getElementById('year').textContent = currentYear;
</script>
</body>
</html>
14 changes: 10 additions & 4 deletions MovieVerse-Frontend/html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,12 @@ <h3 id="subheading3" style="animation: fadeIn 1.5s ease-in-out; cursor: pointer"
<i style="margin-left: 3px" class="fab fa-github"></i>
</em>
</p>
<div style="border: 0; height: 1px; border-top: 1px solid #7378c5; margin: 20px auto; width: 100%; animation: fadeIn 1.5s ease-in-out"></div>
<h3 id="subheading4" style="animation: fadeIn 1.5s ease-in-out; cursor: pointer">Useful Links:</h3>
<p style="animation: fadeIn 1.5s ease-in-out; color: white; text-align: center">
Here are some links that you might find useful: You can explore the
<strong>Here are some links that you might find useful:</strong>
<br />
You can explore the
<a href="analytics.html" style="text-decoration: underline" id="githubLink">analytics page</a>
of our database, read our
<a style="text-decoration: underline" id="githubLink" href="terms-of-service.html">terms of service</a>, and review our
Expand All @@ -532,8 +535,6 @@ <h3 id="subheading4" style="animation: fadeIn 1.5s ease-in-out; cursor: pointer"
to enjoy personalized movie recommendations, create/share watch lists, and more. We look forward to having you on board!
</p>
<br />
<!-- horizontal line -->
<div style="border: 0; height: 1px; border-top: 1px solid #7378c5; margin: 20px auto; width: 100%; animation: fadeIn 1.5s ease-in-out"></div>
<p style="animation: fadeIn 1.5s ease-in-out; color: white; text-align: center">
If you are also interested in the website's creator and developer, feel free to visit my
<a style="text-decoration: underline" id="githubLink" href="https://www.linkedin.com/in/hoangsonw/">LinkedIn profile</a> or
Expand All @@ -544,6 +545,7 @@ <h3 id="subheading4" style="animation: fadeIn 1.5s ease-in-out; cursor: pointer"
</button>
<button onclick="window.location.href='privacy-policy.html';" style="border: none; margin-top: 40px" class="app-btn">Privacy Policy</button>
<button onclick="window.location.href='support.html'" style="border: none; margin-top: 40px" class="app-btn">Contact Support</button>
<button onclick="window.location.href='feedback.html'" style="border: none; margin-top: 40px" class="app-btn">Submit Feedback</button>
</p>
</main>
<div
Expand Down Expand Up @@ -716,9 +718,13 @@ <h3 id="subheading4" style="animation: fadeIn 1.5s ease-in-out; cursor: pointer"
</script>
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
<script>
document.getElementById('logo').addEventListener('click', function () {
document.getElementById('subheading1').scrollIntoView({ behavior: 'smooth' });
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/actor-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,13 @@ <h2 id="actor-name" class="actor-header"></h2>

<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>

<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
Expand Down
10 changes: 9 additions & 1 deletion MovieVerse-Frontend/html/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,17 @@ <h2 class="chart-title" id="chart-title12" style="margin-top: 10px; cursor: poin
<script src="../js/analytics.js"></script>
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
// Get the current year
const currentYear = new Date().getFullYear();

// Update the year in the footer
document.getElementById('year').textContent = currentYear;
</script>

<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
</div>
Expand Down
8 changes: 6 additions & 2 deletions MovieVerse-Frontend/html/api_fails.html
Original file line number Diff line number Diff line change
Expand Up @@ -716,11 +716,15 @@ <h1 id="my-heading" style="margin-bottom: -10px; margin-top: 19px" class="notran
window.location.href = 'search.html';
}
</script>
<footer style="margin-top: 20px">
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
<div id="mobile-bottom-bar" class="mobile-bottom-bar">
<a href="chat.html" class="bottom-bar-item">
<i class="fas fa-comments"></i>
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/catch-popcorn.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,9 +712,13 @@ <h2 style="margin-bottom: 0">Catch the Popcorn</h2>

<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>

<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
Expand Down
10 changes: 8 additions & 2 deletions MovieVerse-Frontend/html/chat.html
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,13 @@ <h3>Recent & Suggested Chats</h3>
}
</script>
</body>
<footer id="footer" style="display: block">
<p>© 2024 The MovieVerse. All rights reserved.</p>
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
</html>
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/chatbot.html
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,13 @@ <h4 id="alt-title" style="font-weight: normal; font-size: 15px; color: #ff8623">
</div>
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; color: white; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
<script>
function handleSignInOut() {
const isSignedIn = JSON.parse(localStorage.getItem('isSignedIn')) || false;
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/christopher-nolan.html
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,13 @@ <h2 id="director-name" class="director-header"></h2>

<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
</body>

<script>
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/company-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,13 @@ <h2 id="company-name" class="company-header"></h2>
</script>
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
</div>
Expand Down
8 changes: 6 additions & 2 deletions MovieVerse-Frontend/html/create-account.html
Original file line number Diff line number Diff line change
Expand Up @@ -1207,11 +1207,15 @@ <h2>Create Account</h2>
return String.fromCharCode(97, 112, 105, 95, 107, 101, 121, 61);
}
</script>
<footer style="margin-top: 20px">
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
<script src="https://www.gstatic.com/firebasejs/9.6.10/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.6.10/firebase-firestore.js"></script>
</body>
Expand Down
8 changes: 6 additions & 2 deletions MovieVerse-Frontend/html/dinosaur-jump.html
Original file line number Diff line number Diff line change
Expand Up @@ -708,11 +708,15 @@ <h2>Dinosaur Jump</h2>
});
</script>

<footer style="margin-bottom: 0">
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>

<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/director-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -739,9 +739,13 @@ <h2 id="director-name" class="director-header"></h2>
</button>
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
<div id="mobile-bottom-bar" class="mobile-bottom-bar">
<a href="chat.html" class="bottom-bar-item">
<i class="fas fa-comments"></i>
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/falling-stars.html
Original file line number Diff line number Diff line change
Expand Up @@ -708,9 +708,13 @@ <h2>Falling Star</h2>

<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>

<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/favorites.html
Original file line number Diff line number Diff line change
Expand Up @@ -634,9 +634,13 @@ <h4 style="color: white">How to Use MovieVerse Watchlists</h4>
<script src="../js/movie-details.js"></script>
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
<div id="mobile-bottom-bar" class="mobile-bottom-bar">
<a href="chat.html" class="bottom-bar-item">
<i class="fas fa-comments"></i>
Expand Down
8 changes: 6 additions & 2 deletions MovieVerse-Frontend/html/feedback.html
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ <h1 id="my-heading" style="margin-bottom: -10px; margin-top: 19px" class="notran
MovieVerse Trivia
</button>
</header>
<div class="form-container">
<div class="form-container" style="animation: fadeIn 1.5s ease-in-out">
<div style="font-weight: bold; font-size: 28px; margin-top: 10px">Feedback</div>
<p style="color: black">Noticed a bug? Have a suggestion? Wrong movie information? Or just want to say hi? We'd love to hear from you!</p>
<form action="https://formspree.io/f/xqkrbdqd" method="POST">
Expand Down Expand Up @@ -1089,9 +1089,13 @@ <h1 id="my-heading" style="margin-bottom: -10px; margin-top: 19px" class="notran
</script>
<footer style="margin-top: 20px">
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
<div id="mobile-bottom-bar" class="mobile-bottom-bar">
<a href="chat.html" class="bottom-bar-item">
<i class="fas fa-comments"></i>
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/flappy-bird.html
Original file line number Diff line number Diff line change
Expand Up @@ -702,9 +702,13 @@ <h2>Flappy Bird</h2>

<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>

<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/games.html
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,13 @@ <h2 style="margin-top: 50px !important">Mini Games</h2>

<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>

<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
Expand Down
7 changes: 5 additions & 2 deletions MovieVerse-Frontend/html/how-to-play.html
Original file line number Diff line number Diff line change
Expand Up @@ -820,11 +820,14 @@ <h3>Stack the Blocks</h3>
<!-- Footer -->
<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>

<!-- Second modal overlay if needed -->
<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
</div>
Expand Down
6 changes: 5 additions & 1 deletion MovieVerse-Frontend/html/inception.html
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,12 @@ <h3>Add a Comment for This Movie</h3>

<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>
</body>
</html>
8 changes: 6 additions & 2 deletions MovieVerse-Frontend/html/leaderboards.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ <h1 id="my-heading" style="margin-bottom: -10px" class="notranslate">
</header>
<h2 style="text-align: center; margin-bottom: 0">Global Leaderboards</h2>
<p>Welcome to The MovieVerse Games! Check out the global leaderboards of our games below:</p>
<div class="container" id="leaderboards-container">
<div class="container" id="leaderboards-container" style="animation: fadeIn 1.5s ease-in-out">
<!-- Leaderboards will be dynamically added here -->
</div>
<script type="module" src="../js/highscores.js"></script>
Expand Down Expand Up @@ -773,9 +773,13 @@ <h2 style="text-align: center; margin-bottom: 0">Global Leaderboards</h2>

<footer>
<a href="../../index.html" style="cursor: pointer; text-decoration: none">
<p style="cursor: pointer; text-decoration: none">© 2024 The MovieVerse. All rights reserved.</p>
<p style="cursor: pointer; text-decoration: none">© <span id="year"></span> The MovieVerse. All rights reserved.</p>
</a>
</footer>
<script>
const currentYear = new Date().getFullYear();
document.getElementById('year').textContent = currentYear;
</script>

<div id="myModal" class="modal-overlay">
<div class="spinner"></div>
Expand Down
Loading

0 comments on commit 706ef82

Please sign in to comment.