Remove redundant comments and update list initialization

Removed unnecessary inline comments from SearchMovies.razor, SearchShows.razor, Movie.cs, and MovieService.cs to improve code readability. Also updated Movie.Results list initialization to use collection expression syntax.
This commit is contained in:
2025-08-25 20:59:05 -04:00
parent 48082b64f8
commit 9f238ebafc
4 changed files with 1 additions and 13 deletions
@@ -835,7 +835,6 @@
window.startAnimations = () => {
console.log('Starting movie page animations...');
// Enhanced spinner animation with easing
const spinners = document.querySelectorAll('.spinner');
spinners.forEach((spinner, index) => {
let rotation = 0;
@@ -849,7 +848,6 @@
animate();
});
// Enhanced loading dots with wave effect
const loadingDots = document.querySelectorAll('.loading-dot');
loadingDots.forEach((dot, index) => {
setTimeout(() => {
@@ -857,7 +855,6 @@
}, 50);
});
// Add stagger animation to movie cards
const movieCards = document.querySelectorAll('.movie-card');
movieCards.forEach((card, index) => {
card.style.opacity = '0';
@@ -870,7 +867,6 @@
});
};
// Add parallax effect
window.addEventListener('scroll', () => {
const scrolled = window.pageYOffset;
const parallaxElements = document.querySelectorAll('.search-container::before');
@@ -766,7 +766,6 @@
window.startAnimations = () => {
console.log('Starting TV show page animations...');
// Enhanced spinner animation with easing
const spinners = document.querySelectorAll('.spinner');
spinners.forEach((spinner, index) => {
let rotation = 0;
@@ -780,7 +779,6 @@
animate();
});
// Enhanced loading dots with wave effect
const loadingDots = document.querySelectorAll('.loading-dot');
loadingDots.forEach((dot, index) => {
setTimeout(() => {
@@ -788,7 +786,6 @@
}, 50);
});
// Add stagger animation to show cards
const showCards = document.querySelectorAll('.show-card');
showCards.forEach((card, index) => {
card.style.opacity = '0';
@@ -800,7 +797,6 @@
}, index * 100 + 200);
});
// Add floating animation to icons
const icons = document.querySelectorAll('.input-icon');
icons.forEach((icon, index) => {
setTimeout(() => {
@@ -810,7 +806,6 @@
});
};
// Add parallax effect
window.addEventListener('scroll', () => {
const scrolled = window.pageYOffset;
const parallaxElements = document.querySelectorAll('.search-container::before');
@@ -819,7 +814,6 @@
});
});
// Additional CSS for icon floating animation
const style = document.createElement('style');
style.textContent = `
@@keyframes iconFloat {