Skip to content

Commit a4981ee

Browse files
committed
Remove transition effects as per user feedback
1 parent abaf61b commit a4981ee

File tree

2 files changed

+2
-58
lines changed

2 files changed

+2
-58
lines changed

www/assets/css/design-refinements.css

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -79,39 +79,7 @@
7979
color: var(--color-primary-dark);
8080
}
8181

82-
/* 2. Subtle Page Transitions */
83-
.page-transition {
84-
animation: fadeIn 0.5s ease-in-out;
85-
}
86-
87-
@keyframes fadeIn {
88-
from {
89-
opacity: 0;
90-
transform: translateY(10px);
91-
}
92-
93-
to {
94-
opacity: 1;
95-
transform: translateY(0);
96-
}
97-
}
98-
99-
/* Apply page transition to main content */
100-
main {
101-
animation: fadeIn 0.5s ease-in-out;
102-
}
103-
104-
/* Section transitions - only apply when JS is available */
105-
.js-enabled section {
106-
opacity: 0;
107-
transform: translateY(20px);
108-
transition: opacity 0.6s ease, transform 0.6s ease;
109-
}
110-
111-
.js-enabled section.visible {
112-
opacity: 1;
113-
transform: translateY(0);
114-
}
82+
/* Transition effects removed as per user feedback */
11583

11684
/* 3. Enhanced Color Scheme with Accent Colors */
11785
:root {

www/assets/js/main.js

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// IPCrypt Website JavaScript
22

3-
// Add js-enabled class to body as soon as possible
4-
document.documentElement.classList.add('js-enabled');
5-
63
document.addEventListener('DOMContentLoaded', function () {
74
// Handle implementation card clicks
85
const implementationCards = document.querySelectorAll('.implementation-card');
@@ -25,26 +22,5 @@ document.addEventListener('DOMContentLoaded', function () {
2522
});
2623
});
2724

28-
// Section animations for page transitions
29-
const sections = document.querySelectorAll('section');
30-
31-
const observer = new IntersectionObserver((entries) => {
32-
entries.forEach(entry => {
33-
if (entry.isIntersecting) {
34-
entry.target.classList.add('visible');
35-
}
36-
});
37-
}, {
38-
threshold: 0.1
39-
});
40-
41-
sections.forEach(section => {
42-
observer.observe(section);
43-
});
44-
45-
// Add page transition class to main content
46-
const mainContent = document.querySelector('main');
47-
if (mainContent) {
48-
mainContent.classList.add('page-transition');
49-
}
25+
// Transition effects removed as per user feedback
5026
});

0 commit comments

Comments
 (0)