forked from vishanurag/Canvas-Editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blog.html
244 lines (229 loc) · 9.69 KB
/
blog.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<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" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/js/all.min.js" integrity="sha512-6sSYJqDreZRZGkJ3b+YfdhB3MzmuP9R7X1QZ6g5aIXhRvR1Y/N/P47jmnkENm7YL3oqsmI6AK+V6AD99uWDnIw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<style>
.container{
max-width: 100%;
margin: auto;
}
</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;
}
</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="container pt-2">
<div class="row">
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="review.html">Review</a>
</li>
<li class="nav-item">
<a class="nav-link " href="blog.html">Blog</a>
</li>
</ul>
</div>
<div class="row text-center pt-5">
<h1>Latest Blog Posts</h1>
<div class="row mx-auto">
<div class="col-sm-3 m-4">
<div class="card" style="width: 18rem;">
<img src="https://media.licdn.com/dms/image/D4D12AQG03_cMJE7uIw/article-cover_image-shrink_720_1280/0/1685891111023?e=2147483647&v=beta&t=ApugyNhPbwf13VZN-Zv68y0iLnd_COOph8VMtvlH1Cw" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The Magic of Creativity</h5>
<p class="card-text">
Creativity is the spark that ignites new ideas, opens doors to innovation, and breaks through the ordinary. Whether you’re developing a new business strategy, designing a website, or even cooking a meal, creativity plays a significant role in shaping outcomes.</p>
<a href="#" class="btn btn-primary">Read More</a>
</div>
</div>
</div>
<div class="col-sm-3 m-4">
<div class="card" style="width: 18rem;">
<img src="https://d3mvlb3hz2g78.cloudfront.net/wp-content/uploads/2020/11/thumb_720_450_dreamstime_m_186895001.jpg" class="card-img-tops" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The Power of Thinking</h5>
<p class="card-text">While creativity helps you generate ideas, critical thinking helps you refine them. The ability to analyze, evaluate, and improve your ideas ensures that they are not only innovative but also practical and applicable learning new skills, or analyzing complex problems sharpens your thinking abilities.
</p>
<a href="#" class="btn btn-primary">Read More</a>
</div>
</div>
</div>
<div class="col-sm-3 m-4">
<div class="card" style="width: 18rem;">
<img src="https://s29814.pcdn.co/wp-content/uploads/2022/12/shutterstock_1847661151.jpg.optimal.jpg" alt="...">
<div class="card-body">
<h5 class="card-title"> Expanding Your Knowledge</h5>
<p class="card-text">Knowledge is the foundation of both creativity and critical thinking. The more you know, the better equipped you are to solve problems, innovate, and make informed decisions. Continuous learning ensures that we stay relevant in a world that is constantly evolving.</p>
<a href="#" class="btn btn-primary">Read More</a>
</div>
</div>
</div>
</div>
</div>
<div class="row mx-auto pb-4">
<h4>Add Comments</h4>
<textarea name="comment" placeholder="Leave a comment" style="height: 150px;"></textarea>
</div>
</div>
<footer class="text-center bg-body-tertiary">
<!-- Grid container -->
<div class="container pt-4">
<!-- Section: Social media -->
<section class="mb-4">
<!-- Facebook -->
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="#!"
role="button"
data-mdb-ripple-color="dark"
><i class="fab fa-facebook-f"></i
></a>
<!-- Twitter -->
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="#!"
role="button"
data-mdb-ripple-color="dark"
><i class="fab fa-twitter"></i
></a>
<!-- Google -->
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="#!"
role="button"
data-mdb-ripple-color="dark"
><i class="fab fa-google"></i
></a>
<!-- Instagram -->
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="#!"
role="button"
data-mdb-ripple-color="dark"
><i class="fab fa-instagram"></i
></a>
<!-- Linkedin -->
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="#!"
role="button"
data-mdb-ripple-color="dark"
><i class="fab fa-linkedin"></i
></a>
<!-- Github -->
<a
data-mdb-ripple-init
class="btn btn-link btn-floating btn-lg text-body m-1"
href="#!"
role="button"
data-mdb-ripple-color="dark"
><i class="fab fa-github"></i
></a>
</section>
<!-- Section: Social media -->
</div>
<!-- Grid container -->
<!-- Copyright -->
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.05);">
© 2024 Copyright:
<a class="text-body" href="#">CanvasEditor</a>
</div>
<!-- Copyright -->
</footer>
<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
window.addEventListener("mousemove", function (e) {
coords.x = e.clientX;
coords.y = e.clientY;
});
// Animation function to move the circles
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
// Update the position and scale of each circle
circle.style.left = x - 12 + "px";
circle.style.top = y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;
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>
</body>
</html>