[42555b]: / web / hiring / hiring.js

Download this file

42 lines (37 with data), 1.6 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
document.addEventListener('DOMContentLoaded', function() {
// Add smooth scrolling for any anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Add hover effects for position cards
document.querySelectorAll('.position-card').forEach(card => {
card.addEventListener('mouseenter', function() {
this.style.transform = 'translateY(-5px)';
this.style.boxShadow = '0 8px 32px rgba(0, 0, 0, 0.2)';
this.style.borderColor = 'var(--gradient-end)';
});
card.addEventListener('mouseleave', function() {
this.style.transform = 'translateY(0)';
this.style.boxShadow = 'none';
this.style.borderColor = 'rgba(255, 255, 255, 0.1)';
});
});
// Add hover effects for benefit cards
document.querySelectorAll('.benefit-card').forEach(card => {
card.addEventListener('mouseenter', function() {
this.style.transform = 'translateY(-5px)';
this.style.boxShadow = '0 8px 32px rgba(0, 0, 0, 0.2)';
this.style.borderColor = 'var(--gradient-end)';
});
card.addEventListener('mouseleave', function() {
this.style.transform = 'translateY(0)';
this.style.boxShadow = 'none';
this.style.borderColor = 'rgba(255, 255, 255, 0.1)';
});
});
});