-
Notifications
You must be signed in to change notification settings - Fork 319
/
community.html
415 lines (377 loc) · 14.5 KB
/
community.html
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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Community - Creative Canvas Tool</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/5.3.0/css/bootstrap.min.css">
<link rel="stylesheet" href="./src/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="./src/Styles/Style.css">
<link rel="stylesheet" href="src/Styles/scroll.css">
<link rel="stylesheet" href="./src/Styles/contact_us_style.css">
<link rel="stylesheet" href="./src/Styles/Responsive.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
<style>
/* Page Layout */
body {
background-color: #f3f4f6;
font-family: 'Poppins', sans-serif;
}
/* Header and Footer in Black */
.header, .footer {
background-color: #2337c6;
color: white;
}
.header h1, .header i {
display: inline-block;
margin-right: 10px;
color: #fff;
}
.community-section ,.container,.card-container{
background: #fff;
}
.card-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
background-color: #fff;
gap: 30px;
margin: 50px auto;
}
.card {
width: 300px;
height: 400px;
perspective: 1000px;
border-radius: 15px;
border: none;
transition: transform 0.6s;
}
.card-inner {
position: relative;
width: 100%;
height: 100%;
text-align: center;
transition: transform 0.6s;
transform-style: preserve-3d;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.card:hover .card-inner {
transform: rotateY(180deg);
}
.card-front, .card-back {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 15px;
overflow: hidden;
}
.card-front {
background-color: #007bff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
padding: 20px;
}
.card-front img {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 15px;
}
.card-back {
background-color: #343a40;
transform: rotateY(180deg);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
color: white;
}
.card-back a {
color: #007bff;
text-decoration: none;
font-size: 1.5rem;
margin: 10px;
}
.card-front p{
font-weight:400;
}
.nav-links{
display:flex;
justify-content: space-evenly;
position:relative;
}
.nav-links a{
text-decoration: none;
padding-right:10px;
padding-left:10px;
margin-right:20px;
margin-left: 20px;
color:white;
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
font-weight:600;
font-style: normal;
text-transform:uppercase;
line-height:30px;
z-index:1;
}
.nav-links a:hover{
background-color: #a4d1fe6c ;
font-weight:700;
border-radius:8px;
}
.title{
background-color: #1575fe;
}
.title h1 {
margin-left:20px;
}
.card-back a:hover {
color: #0056b3;
}
.container h2{
color:#2337c6;
font-size: 2.5rem;
}
.community-section .container {
padding: 30px 15px;
max-width: 1200px;
margin: 0 auto;
text-align: center;
}
/* Footer styles */
.footer .share a {
color: white;
margin-top: 10px;
font-size: 2rem;
text-decoration: none;
opacity:1;
}
.footer .share a:hover{
opacity:0.7;
}
.share{
display:flex;
justify-content: space-evenly;
align-items: center;
/*margin:20px;*/
}
.credit a{
color:white;
text-decoration: none;
font-weight: 500;
margin-bottom: 3px;
}
.credit a:hover{
border-bottom:2px solid white;
}
.footer .credit {
margin-top: 10px;
}
</style>
<style>
/* Circle styles */
.circle {
height: 24px;
width: 24px;
border-radius: 50%;
background-color: black;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999;
transition: transform 0.1s ease-out;
}
/* Hide cursor when the 'hidden' class is applied */
.cursor.hidden {
visibility: hidden;
}
</style>
</head>
<body>
<!--circles-->
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<header class="header">
<nav class="navbar">
<div class="title " >
<h1 class="site-name" >Canvas</h1>
<i class="fa-solid fa-paintbrush"></i>
</div>
<div class="nav-links ">
<a href="index.html">Home</a>
<a href="about-us.html">About</a>
<a href="#blogs">Blogs</a>
<a href="index.html#mainCanvas">Draw</a>
<a href="contributors.html">Contributors</a>
</div>
</nav>
</header>
<!-- Community Section -->
<section class="community-section">
<div class="container">
<h2 class="text-center mb-5"> Meet Our Team </h2>
<div class="card-container">
<!-- Admin Card -->
<div class="card">
<div class="card-inner">
<div class="card-front">
<img src="https://avatars.githubusercontent.com/u/126074487?v=4" alt="Anurag">
<p>Project Admin</p>
</div>
<div class="card-back">
<h3>Anurag Vishwakarma</h3>
<a href="https://www.linkedin.com/in/anuragvishwakarma" target="_blank">
<i class="fab fa-linkedin"></i>
</a>
<a href="https://github.com/vishanurag" target="_blank">
<i class="fab fa-github"></i>
</a>
</div>
</div>
</div>
<!-- Mentor Card -->
<div class="card">
<div class="card-inner">
<div class="card-front">
<img src="https://avatars.githubusercontent.com/u/77097996?v=4" alt="Somyadip">
<p>Project Mentor</p>
</div>
<div class="card-back">
<h3>Somyadip Ghosh</h3>
<a href="https://github.com/somyadipghosh" target="_blank">
<i class="fab fa-github"></i>
</a>
<a href="https://twitter.com/falconefootball" target="_blank">
<i class="fab fa-twitter"></i>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!--further more cards can be added -->
<section class="footer" id="footer">
<div class="share" style="font-size: 0.9rem; text-align: center;">
<a href="#" class="fab fa-facebook-f"></a>
<a href="#" class="fa-brands fa-x-twitter"></a>
<a href="#" class="fab fa-instagram"></a>
<a href="#" class="fa-brands fa-linkedin-in"></a>
<a href="#" class="fa-brands fa-pinterest"></a>
</div>
<div class="credit" style="font-size: 1rem; text-align: center;">
<p style="color: white;">
Created by <span><a href="https://github.com/vishanurag/" target="_blank">ANURAG VISHWAKARMA</a></span> | All rights reserved © <span id="year"></span>
</p>
</div>
</section>
<script>
var typed = new Typed('#site-name', {
strings: ['Canvas Editor',"Build and shine!"],
loop: true,
typeSpeed: 80,
backSpeed: 25, // Speed for backspacing
backDelay: 1000, // Delay before starting to backspace
startDelay: 500 // Optional: Delay before starting the typing effect
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js" integrity="sha512-7eHRwcbYkK4d9g/6tD/mhkf++eoTHwpNM9woBxtPUBWm67zeAfFC+HrdoE2GanKeocly/VxeLvIqwvCdk7qScg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js"></script>
<script src="./src/Scripts/Canvas.js"></script>
<script>
// Coordinates for the cursor
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
// Colors for the circles
const colors = [
"#ffb56b", "#fdaf69", "#f89d63", "#f59761", "#ef865e", "#ec805d",
"#e36e5c", "#df685c", "#d5585c", "#d1525c", "#c5415d", "#c03b5d",
"#b22c5e", "#ac265e", "#9c155f", "#950f5f", "#830060", "#7c0060",
"#680060", "#60005f", "#48005f", "#3d005e"
];
// Assign colors and initial position to each circle
circles.forEach(function (circle, index) {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
// Update the coordinates when the mouse moves
document.addEventListener("mousemove", function (e) {
coords.x = e.clientX;
coords.y = e.clientY;
// Update the position of each circle
circles.forEach(function (circle, index) {
circle.style.left = coords.x - 12 + "px";
circle.style.top = coords.y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;
});
});
// Add mouseleave event to hide cursor
document.addEventListener("mouseleave", () => {
circles.forEach(circle => circle.classList.add("hidden"));
});
// Add mouseenter event to show cursor
document.addEventListener("mouseenter", () => {
circles.forEach(circle => circle.classList.remove("hidden"));
});
// Add focus and blur events to hide/show cursor
document.addEventListener("focus", () => {
circles.forEach(circle => circle.classList.remove("hidden"));
});
document.addEventListener("blur", () => {
circles.forEach(circle => circle.classList.add("hidden"));
});
// Animation function to move the circles
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.x = x;
circle.y = y;
// Get the next circle in the sequence
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
// Repeat the animation
requestAnimationFrame(animateCircles);
}
// Start the animation
animateCircles();
</script>
<script>
document.getElementById("year").textContent = new Date().getFullYear();
</script>
</body>
</html>