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 Jul 22, 2024
1 parent 1bba2f1 commit 636ca28
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions MovieVerse-Frontend/html/notifications.html
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ <h1 id="my-heading" style="margin-bottom: -24px" class="notranslate">
</nav>
<main>
<section id="newFeatures">
<h2 style="cursor: pointer">New Features</h2>
<h2 style="cursor: pointer" id="newFeaturesHeader">New Features</h2>
<p style="color: black">Explore the exciting new features we've recently launched to enhance your MovieVerse experience:</p>
<ul>
<li><i style="margin-right: 3px" class="fas fa-search"></i> <strong>Enhanced Search Functionality:</strong> Dive deeper into our movie catalog with precise filters for genre, rating, and release year.</li>
Expand All @@ -370,7 +370,7 @@ <h2 style="cursor: pointer">New Features</h2>
</p>
</section>
<section id="newReleases">
<h2 style="cursor: pointer">New Releases</h2>
<h2 id="newReleasesHeader" style="cursor: pointer">New Releases</h2>
<h3>Since Your Last Visit</h3>
<ul id="releasesSinceLastVisit"></ul>
<h3 style="margin-top: 35px">Since the Beginning of This Month</h3>
Expand All @@ -385,7 +385,7 @@ <h3 style="margin-top: 35px">More Recommended Movies For You</h3>
</p>
</section>
<section id="tipsTricks">
<h2 style="cursor: pointer">Tips & Tricks</h2>
<h2 style="cursor: pointer" id="tipsTricksHeader">Tips & Tricks</h2>
<p style="color: black">Maximize your enjoyment of The MovieVerse with these handy tips:</p>
<ul>
<li><i style="margin-right: 3px" class="fas fa-list-ul"></i> <strong>Creating Custom Watchlists:</strong> Curate your own personal movie collections and keep track of your must-watch films with ease.</li>
Expand All @@ -400,15 +400,15 @@ <h2 style="cursor: pointer">Tips & Tricks</h2>
</p>
</section>
<section id="popularActors">
<h2 style="cursor: pointer">Popular Actors</h2>
<h2 style="cursor: pointer" id="popularActorsHeader">Popular Actors</h2>
<p style="color: black">Explore films featuring the actors our users can’t get enough of this month!</p>
<ul></ul>
<p style="color: black; margin-top: 35px">
<em>Updated as of: <time class="updateDate" datetime=""></time></em>
</p>
</section>
<section id="popularDirectors">
<h2 style="cursor: pointer">Popular Directors</h2>
<h2 style="cursor: pointer" id="popularDirectorsHeader">Popular Directors</h2>
<p style="color: black">Discover the visionaries behind the camera who are currently shaping the world of cinema!</p>
<ul></ul>
<p style="color: black; margin-top: 35px">
Expand Down Expand Up @@ -495,31 +495,31 @@ <h2 style="cursor: pointer">Popular Directors</h2>
}
});

document.getElementById('newFeatures').addEventListener('click', function(e) {
document.getElementById('newFeaturesHeader').addEventListener('click', function(e) {
e.preventDefault();

document.getElementById('newFeatures').scrollIntoView({ behavior: 'smooth' });
});

document.getElementById('newReleases').addEventListener('click', function(e) {
document.getElementById('newReleasesHeader').addEventListener('click', function(e) {
e.preventDefault();

document.getElementById('newReleases').scrollIntoView({ behavior: 'smooth' });
});

document.getElementById('tipsTricks').addEventListener('click', function(e) {
document.getElementById('tipsTricksHeader').addEventListener('click', function(e) {
e.preventDefault();

document.getElementById('tipsTricks').scrollIntoView({ behavior: 'smooth' });
});

document.getElementById('popularActors').addEventListener('click', function(e) {
document.getElementById('popularActorsHeader').addEventListener('click', function(e) {
e.preventDefault();

document.getElementById('popularActors').scrollIntoView({ behavior: 'smooth' });
});

document.getElementById('popularDirectors').addEventListener('click', function(e) {
document.getElementById('popularDirectorsHeader').addEventListener('click', function(e) {
e.preventDefault();

document.getElementById('popularDirectors').scrollIntoView({ behavior: 'smooth' });
Expand Down

0 comments on commit 636ca28

Please sign in to comment.