forked from developerskull/sc
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathteam.html
More file actions
191 lines (187 loc) · 6.41 KB
/
team.html
File metadata and controls
191 lines (187 loc) · 6.41 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://www.pvgcoenashik.org/wp-content/uploads/2022/12/blk.png" type="image/png">
<title>Our Team - Skill Up Club</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #e3ffe7, #d9e7ff);
color: #333;
}
header {
background: #4caf50;
color: #fff;
padding: 1rem 0;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.theme-toggle {
position: absolute;
left: 1rem;
padding: 0.5rem 1rem;
background: #333;
color: #fff;
text-align: center;
text-decoration: none;
border-radius: 4px;
cursor: pointer;
}
.theme-toggle:hover {
background: #555;
}
.dark-theme {
background: linear-gradient(135deg, #2c3e50, #4b79a1);
color: #f4f4f9;
}
.dark-theme .team-member {
border-color: #555;
box-shadow: 0 2px 5px rgba(255, 255, 255, 0.2);
}
.dark-theme .back-button {
background: #555;
}
.dark-theme .back-button:hover {
background: #333;
}
.dark-theme .theme-toggle {
background: #f4f4f9;
color: #333;
}
.dark-theme .theme-toggle:hover {
background: #ddd;
}
.team {
display: flex;
flex-wrap: wrap;
gap: 2rem;
justify-content: center;
padding: 1rem;
}
@keyframes leap {
0% {
transform: translateY(100px);
opacity: 0;
}
100% {
transform: translateY(0);
opacity: 1;
}
}
.team-member {
text-align: center;
border: 1px solid #4caf50;
border-radius: 8px;
padding: 1rem;
width: 200px;
background: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.3s, box-shadow 0.3s;
opacity: 0; /* Initially hidden */
animation: leap 0.6s ease-out forwards; /* Apply leap animation */
}
.team-member:nth-child(1) {
animation-delay: 0.1s;
}
.team-member:nth-child(2) {
animation-delay: 0.2s;
}
.team-member:nth-child(3) {
animation-delay: 0.3s;
}
.team-member:nth-child(4) {
animation-delay: 0.4s;
}
.team-member:nth-child(5) {
animation-delay: 0.5s;
}
.team-member:nth-child(6) {
animation-delay: 0.6s;
}
.team-member:nth-child(7) {
animation-delay: 0.7s;
}
.team-member:nth-child(8) {
animation-delay: 0.8s;
}
.team-member img {
width: 100px;
height: 100px;
border-radius: 50%;
margin-bottom: 1rem;
border: 2px solid #4caf50;
}
.back-button {
display: block;
margin: 1rem auto;
padding: 0.5rem 1rem;
background: #4caf50;
color: #fff;
text-align: center;
text-decoration: none;
border-radius: 4px;
width: 150px;
}
.back-button:hover {
background: #388e3c;
}
</style>
</head>
<body>
<header>
<button class="theme-toggle" id="theme-toggle">Dark Theme</button>
<h1>Our Team</h1>
</header>
<div class="team" id="team-container">
<!-- Team members will be dynamically added here -->
</div>
<a href="sc.html" class="back-button">Back to Home</a>
<footer>
<p>© 2023 Skill Up Club. All rights reserved.</p>
</footer>
<script>
const teamMembers = [
{ name: "Akshay Dalavi", role: "President", img: "C:\\Users\\Kunal\\Desktop\\sc\\akshy.jpg" },
{ name: "Kalpana Singh", role: "Vice President", img: "C:\\Users\\Kunal\\Desktop\\sc\\.jpg" },
{ name: "Atharva Ambekar", role: "Secretary", img: "C:\\Users\\Kunal\\Desktop\\sc\\omkar.jpg" },
{ name: "Sidra Chaudhari", role: "Co-Secretary", img: "C:\\Users\\Kunal\\Desktop\\sc\\sidra.jpg" },
{ name: "Pranav Thormise", role: "Tech Head", img: "C:\\Users\\Kunal\\Desktop\\sc\\pranav.jpg" },
{ name: "Sahil Pawse", role: "Social Media Head", img: "C:\\Users\\Kunal\\Desktop\\sc\\sahil.jpg" },
{ name: "Kunal Ahire", role: "Graphic Designer", img: "C:\\Users\\Kunal\\Desktop\\sc\\kunal.jpg" },
{ name: "Shraddha Sanap", role: "Treasurer", img: "C:\\Users\\Kunal\\Desktop\\sc\\shraddha.jpg" }
];
function displayTeam() {
const teamContainer = document.getElementById('team-container');
teamMembers.forEach(member => {
const memberDiv = document.createElement('div');
memberDiv.className = 'team-member';
memberDiv.innerHTML = `
<img src="${member.img}" alt="${member.name}">
<h3>${member.name}</h3>
<p><strong>${member.role}</strong></p>
`;
teamContainer.appendChild(memberDiv);
});
}
function toggleTheme() {
const body = document.body;
const toggleButton = document.getElementById('theme-toggle');
body.classList.toggle('dark-theme');
if (body.classList.contains('dark-theme')) {
toggleButton.textContent = 'Light Theme';
} else {
toggleButton.textContent = 'Dark Theme';
}
}
document.getElementById('theme-toggle').addEventListener('click', toggleTheme);
// Call the function to display the team
displayTeam();
</script>
</body>
</html>