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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user