-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathindex.html
301 lines (261 loc) · 14.1 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="DSA Problem Solutions" />
<meta property="og:image" content="img/lightlogo.png" />
<meta property="og:url" content="https://priyeshsingh24.github.io/DSA_SOLUTION_PLATFORM/" />
<meta property="og:type" content="website" />
<link rel="icon" href="img/lightlogo.png" type="image/png" />
<link rel="icon" href="img/lightlogo.png" sizes="16x16" type="image/png" />
<title>DSA Problem Solutions</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
/>
<script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="styles.css" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles.css" />
<style>
#scrollBtn {
position: fixed;
bottom: 120px; /* Place closer to the bottom */
right: 33px; /* Place closer to the right */
display: none; /* Initially hidden */
background-color: #158746;
color: white;
border: none;
border-radius: 50%;
padding: 15px;
font-size: 18px;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
z-index: 1000; /* Ensure visibility above other elements */
transition: background-color 0.3s ease, transform 0.3s ease;
}
#scrollBtn:hover {
background-color: #000; /* Change color on hover */
transform: scale(1.2); /* Slightly enlarge */
}
</style>
</head>
<body>
<div id="cursor"></div>
</header>
<nav class="navbar">
<div class="logo">
<img src="img/lightlogo.png" alt="Logo" />
</div>
<button class="mobile-menu-btn" >
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke="black">
<line x1="3" y1="12" x2="21" y2="12"></line>
<line x1="3" y1="6" x2="21" y2="6"></line>
<line x1="3" y1="18" x2="21" y2="18"></line>
</svg>
</button>
<ul class="nav-links">
<li><a href="#home" class="active">Home</a></li>
<li><a href="platform.html">Platforms</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="pages/Login.html">Log In</a></li>
<li><a href="pages/SignUp.html">Sign Up</a></li>
</ul>
</nav>
</header>
<div class="content-wrapper">
<!-- Space between Navbar and Header -->
<div class="spacing"></div>
<header class="hero-section">
<div class="hero-content">
<h1 class="hero-title">Smart DSA Hub </h1>
<p class="hero-subtitle">Your ultimate coding Notebook! Pick your favorite platform and sharpen your skills.</p>
<div class="hero-buttons">
<a href="leetcode1.html"><button class="platform-btn">LeetCode</button></a>
<a href="hackerrank.html"><button class="platform-btn">HackerRank</button></a>
<a href="codeforce.html"><button class="platform-btn">Codeforces</button></a>
<a href="geeksforgeeks.html"><button class="platform-btn">GeeksforGeeks</button></a>
<a href="codechef3.html"><button class="platform-btn">codechef</button></a>
<a href="code360bycn.html"><button class="platform-btn">Code 360 by Coding Ninjas</button></a>
</div>
</div>
<div class="hero-image">
<img src="img/coding.png" alt="Coding Illustration" />
</div>
</header>
</div>
<!-- scroll button -->
<!-- <button id="scrollButton" title="Go to top">
<i class="fa-solid fa-arrow-up fa-xl"></i>
</button> -->
</div>
<section class="container">
<!-- card 1 -->
<div class="platform-card">
<img src="img/HackerRank.png" alt="Code 360 by CN Logo" />
<h2>HackerRank</h2>
<a href="pages/hackerrank.html">HackerRank</a>
</div>
<!-- card 2 -->
<div class="platform-card">
<img src="img/codechef.png" alt="CodeChef Logo" />
<h2>CodeChef</h2>
<a href="pages/codechef3.html">CodeChef</a>
</div>
<!-- card 3 -->
<div class="platform-card">
<img src="img/leetcode.png" alt="LeetCode Logo" />
<h2>LeetCode</h2>
<a href="pages/leetcode1.html">Leetcode</a>
</div>
<!-- card 4 -->
<div class="platform-card">
<img src="img/new-cn-logo.png" alt="Code 360 by CN Logo" />
<h2>Code 360 by Coding Ninjas</h2>
<a href="pages/code360bycn.html">Code 360 by Coding Ninjas</a>
</div>
<!-- card 5 -->
<div class="platform-card">
<img src="img/geeksfor.png" alt="GeeksforGeeks Logo" />
<h2>GeeksforGeeks</h2>
<a href="pages/geeksforgeeks.html">GeeksforGeeks</a>
</div>
<!-- card 6 -->
<div class="platform-card">
<img src="img/codeforce.png" alt="GeeksforGeeks Logo" />
<h2>Codeforces</h2>
<a href="./pages/codeforces.html">Codeforces</a>
</div>
</section>
</div>
<!-- Top scroll button -->
<button id="scrollBtn" title="Go to top">
<i class="fa-solid fa-arrow-up fa-lg"></i>
</button>
<footer class="main-footer" style="background: linear-gradient(to right, #0e2511, #19be50);; color: #ffffff; padding: 20px 20px;">
<div class="footer-content" style="display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;">
<div class="footer-section" style="flex: 1; min-width: 250px; max-width: 300px;">
<!-- Logo -->
<div class="footer-logo" style="margin-bottom: 10px; animation: fadeInLeft 1s; text-align: center;">
<div style="padding: 10px; border-radius: 8px; display: inline-block;">
<img src="img/lightlogo.png" alt="Logo" style="height: 60px; width: auto;" />
</div>
</div>
<p style="text-align: justify; margin-bottom: 20px; line-height: 1.6; color: white;">DSA problem solutions involve understanding the problem, choosing the right approach, implementing optimized code, and analyzing time and space complexity for efficiency.</p>
<div class="social-links" style="text-align: center;">
<a href="#" target="_blank" aria-label="Facebook"><i class="fab fa-facebook"></i></a>
<a href="#" target="_blank" aria-label="Twitter"><i class="fab fa-twitter"></i></a>
<a href="#" target="_blank" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
<a href="#" target="_blank" aria-label="YouTube"><i class="fab fa-youtube"></i></a>
<a href="#" target="_blank" aria-label="Linkedin"><i class="fa-brands fa-linkedin-in"></i></a>
</div>
</div>
<!-- Quick Links Section -->
<div class="footer-section services" >
<h4 style="font-size: 18px; margin-bottom: 10px;
transition: color 0.3s ease;" onmouseover="this.style.color='#e67e22'" onmouseout="this.style.color='white'">Quick Links<div class="underline"><span></span></div></h4><ul style="list-style: none; padding: 0;">
<li><a href="about.html" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Who We Are</a></li>
<li><a href="blog.html" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Blog</a></li>
<li><a href="work.html" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"></a></li>
<li><a href="#" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Blog</a></li>
<li><a href="#" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Work With Us</a></li>
<li><a href="#" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Investor Relations</a></li>
<li><a href="#" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Contact Us</a></li>
</ul>
</div>
<div class="footer-section services" >
<h4 style="font-size: 18px; margin-bottom: 10px;
transition: color 0.3s ease;" onmouseover="this.style.color='#e67e22'" onmouseout="this.style.color='white'">Learn More<div class="underline"><span></span></div></h4><ul style="list-style: none; padding: 0;">
<ul style="list-style: none; padding: 0;">
<li><a href="privacy.html" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Privacy Policy</a></li>
<li><a href="security.html" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Security</a></li>
<li><a href="terms.html" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Terms of Service</a></li>
<li><a href="contributors.html" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">Our Contributors</a></li>
</ul>
</div>
<div class="footer-section services" >
<h4 style="font-size: 18px; margin-bottom: 10px;
transition: color 0.3s ease;" onmouseover="this.style.color='#e67e22'" onmouseout="this.style.color='white'">Newsletter<div class="underline"><span></span></div></h4><ul style="list-style: none; padding: 0;">
<form>
<i class="fas fa-envelope"></i>
<input type="email" placeholder="Enter your email id" required>
<button type="submit"><i class="fas fa-arrow-right"></i></button>
</form>
<br>
<h4 style="font-size: 18px; margin-bottom: 10px;
transition: color 0.3s ease;" onmouseover="this.style.color='#e67e22'" onmouseout="this.style.color='white'">Contact Us <div class="underline"><span></span></div></h4><ul style="list-style: none; padding: 0;">
<ul style="list-style: none; padding: 0;">
<li><a href="mailto:contact@example.com" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">contact@example.com</a></li>
<li><a class="fas fa-map-marker-alt" style="color: white; text-decoration: none; transition: all 0.3s ease;"
onmouseover="this.style.color='green'; this.style.paddingLeft='10px'"
onmouseout="this.style.color='white'; this.style.paddingLeft='0'">India</a></li>
</ul>
</div>
</div>
<div class="footer-bottom" style="text-align: center; margin-top: 10px;">
<p style="margin: 0; font-size: 14px; color: white;">© 2025 DSA Problem Solutions. All rights reserved.</p>
</div>
</footer>
<script>
// Set the current year dynamically
document.getElementById('currentYear').textContent = new Date().getFullYear();
</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="script.js"></script>
<script src="//code.tidio.co/5w3m6cpl10rvqjkkmhv1nx8p0fqloyq6.js" async></script>
<script src="scrollscript.js"></script>
<script src="audio.js"></script>
<script>
// Get the button element
const scrollBtn = document.getElementById('scrollBtn');
// Show the button when the user scrolls down 100px from the top
window.onscroll = function () {
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
scrollBtn.style.display = "block";
} else {
scrollBtn.style.display = "none";
}
};
// Scroll to the top of the page when the button is clicked
scrollBtn.onclick = function () {
window.scrollTo({
top: 0,
behavior: "smooth"
});
};
</script>
</script>
</body>
</html>