-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
748 lines (681 loc) · 36.8 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
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
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<!-- Primary Meta Tags -->
<title>iamvarshith - Muthya Varshith Vankamamidi</title>
<meta name="title" content="iamvarshith - Muthya Varshith Vankamamidi">
<meta name="description"
content="I am an undergraduate computer science student from NIIT University working as a freelancer seeking work as Software Engineer. Where I can apply my experience and knowledge to the fullest extent at the same time improve my skills">
<meta name="keywords"
content="iamvarshith, NIIT University, Developer, Computer science, Varshith Sharma, Vankamamidi, Muthya, Varshith, Muthya Varshith Vankamamidi, blog-iamvarshith">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">
<meta name="author" content="iamvarshith">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://www.iamvarshith.dev/">
<meta property="og:title" content="iamvarshith - Muthya Varshith Vankamamidi">
<meta property="og:description"
content="I am an undergraduate computer science student from NIIT University working as a freelancer seeking work as Software Engineer. Where I can apply my experience and knowledge to the fullest extent at the same time improve my skills">
<meta property="og:image" content="https://www.iamvarshith.dev/img/cover.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://www.iamvarshith.dev/">
<meta property="twitter:title" content="iamvarshith - Muthya Varshith Vankamamidi">
<meta property="twitter:description"
content="I am an undergraduate computer science student from NIIT University working as a freelancer seeking work as Software Engineer. Where I can apply my experience and knowledge to the fullest extent at the same time improve my skills">
<meta property="twitter:image" content="https://www.iamvarshith.dev/img/cover.png">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="apple-touch-icon" sizes="180x180" href="img/icon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/icon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/icon/favicon-16x16.png">
<link rel="manifest" href="img/icon/site.webmanifest">
<link rel="mask-icon" href="img/icon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="img/icon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="img/icon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="css/bootstrap.css">
<script src="https://kit.fontawesome.com/d9bc78fa7c.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<link rel="stylesheet" href="vendors/linericon/style.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="vendors/owl-carousel/owl.carousel.min.css">
<link rel="stylesheet" href="vendors/lightbox/simpleLightbox.css">
<link rel="stylesheet" href="vendors/nice-select/css/nice-select.css">
<link rel="stylesheet" href="vendors/animate-css/animate.css">
<link rel="stylesheet" href="vendors/popup/magnific-popup.css">
<link rel="stylesheet" href="vendors/flaticon/flaticon.css">
<!-- main css -->
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/responsive.css">
</head>
<body onload="projects()">
<!--================Header Menu Area =================-->
<header class="header_area">
<div class="main_menu">
<nav class="navbar navbar-expand-lg navbar-light">
<div class="container box_1620">
<!-- Brand and toggle get grouped for better mobile display -->
<a class="navbar-brand logo_h" href="index.html"><img src="img/logo.png" alt=""></a>
<button class="navbar-toggler" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
aria-expanded="false" aria-label="Toggle navigation">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse offset" id="navbarSupportedContent">
<ul class="nav navbar-nav menu_nav ml-auto">
<li class="nav-item active"><a class="nav-link" href="index.html">Home</a></li>
<li class="nav-item"><a class="nav-link" target="_blank" href="img/resume.pdf">Resume</a></li>
<!-- <li class="nav-item submenu dropdown">-->
<!-- <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown" role="button"-->
<!-- aria-haspopup="true" aria-expanded="false">Pages</a>-->
<!-- <ul class="dropdown-menu">-->
<!-- <li class="nav-item"><a class="nav-link" href="portfolio.html">Portfolio</a></li>-->
<!-- <li class="nav-item"><a class="nav-link" href="elements.html">Elements</a></li>-->
<!-- </ul>-->
<!-- </li>-->
<li class="nav-item"><a class="nav-link" target="_blank" href="https://blog.iamvarshith.dev">Blog</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
</header>
<!--================Header Menu Area =================-->
<!--================Home Banner Area =================-->
<section class="home_banner_area">
<div class="container box_1620">
<div class="banner_inner d-flex align-items-center">
<div class="banner_content">
<div class="media">
<div class="d-flex">
<img style="max-height: 80vh " src="img/varsh_profile.jpg" alt="">
</div>
<div class="media-body">
<div class="personal_text">
<h6>Hello Everybody, i am</h6>
<h1>Muthya Varshith Vankamamidi</h1>
<h4><span id="typed-text"></span></h4>
<p> I'm a passionate software developer who loves diving into the complexities of system
design and architecture. I get a real kick out of building things from the ground up,
creating scalable, efficient, and maintainable solutions that are built to last. My
focus is always on clean, modular architecture and finding innovative ways to solve
tough technical problems.</p>
<ul class="list basic_info">
<li><a target="_blank" href=""><i class="lnr lnr-calendar-full"></i> 2nd April, 2000</a>
</li>
<li><a target="_blank" href="mailto:[email protected]"><i class="lnr lnr-envelope"></i>
[email protected]</a></li>
<li><a target="_blank" href="mailto:[email protected]"><i
class="lnr lnr-envelope"></i> [email protected]</a></li>
<li><a target="_blank" href="https://goo.gl/maps/APmRZaevt3b7FqEZ7"><i
class="lnr lnr-home"></i> 11-2-83,Balaji Nagar, Khammam, 507001<p
style=" text-indent: 42px">Telangana, India</p></a></li>
</ul>
<ul class="list personal_social">
<li><a target="_blank" href="https://www.hackerrank.com/iamvarshith"><i
class="fa fa-hackerrank"></i></a></li>
<li><a target="_blank" href="https://github.com/iamvarshith"><i
class="fa fa-github"></i></a></li>
<li><a target="_blank" href="https://twitter.com/varshithvmv"><i
class="fa fa-twitter"></i></a></li>
<li><a target="_blank" href="https://instagram.com/sharmavmv"><i
class="fab fa-instagram"></i></a></li>
<li><a target="_blank" href="https://www.linkedin.com/in/muthyavarshith/"><i
class="fa fa-linkedin"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--================End Home Banner Area =================-->
<!--================Welcome Area =================-->
<section class="welcome_area p_120">
<div class="container">
<div class="row welcome_inner">
<div class="col-lg-6">
<div class="welcome_text">
<h4>About Myself</h4>
<p style="text-indent: 30px;">
Hey there! I’m your friendly neighborhood tech enthusiast. Whether it’s diving headfirst into
<span style="border-bottom: 2px solid #fca311; font-weight: bold;">coding</span> or tinkering
with the latest gadget, I'm all in! When I'm not trying to figure out why my code isn’t working
(spoiler: it’s usually a missing semicolon), I’m deep into an intense <span
style="border-bottom: 2px solid #fca311; font-weight: bold;">CS:GO</span> match, where I
*sometimes* actually win. And if I’m not gaming, you’ll probably find me ranting on <span
style="border-bottom: 2px solid #fca311; font-weight: bold;">Reddit</span>, because who
doesn’t love a good internet debate, right?
</p>
<p style="text-indent: 30px;">
My life motto? <span style="border-bottom: 2px solid #14213d; font-weight: bold;">Work hard, party harder!</span>
After a long day of coding and debugging (aka battling my computer), I love unwinding with
friends, preferably somewhere surrounded by <span
style="border-bottom: 2px solid #fca311; font-weight: bold;">mountains</span>. Yup, I’m all
about those scenic views and adventure vibes. Oh, and <span
style="border-bottom: 2px solid #fca311; font-weight: bold;">traveling</span>? Count me in!
If it involves hopping on a plane, I’m there faster than you can say "boarding pass."
</p>
<p style="text-indent: 30px;">
Fun fact: I’m also a master chef (at least in my own kitchen). There’s something oddly
satisfying about whipping up a killer dish while blasting music and pretending I’m on a cooking
show.
Oh, and can we talk about <span
style="border-bottom: 2px solid #fca311; font-weight: bold;">WFH</span>? It was cool for
about five minutes, but now I’m all like, “When do I get to see actual humans again?!” So yeah,
I’m more than ready to trade pajama pants for real pants and get back to the outside world!
</p>
</div>
</div>
<div class="col-lg-6">
<div class="tools_expert">
<div class="skill_main">
<div class="skill_item">
<h4>Python & Ruby</h4>
<div class="progress_br">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="85" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="skill_item">
<h4>Flask & Django Frameworks</h4>
<div class="progress_br">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="75" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="skill_item">
<h4>Problem Solving</h4>
<div class="progress_br">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="65" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="skill_item">
<h4>AWS (Amazon Web Services)</h4>
<div class="progress_br">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="80" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="skill_item">
<h4>Docker & k8s</h4>
<div class="progress_br">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="55" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="skill_item">
<h4>SQL and NOSQL</h4>
<div class="progress_br">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="70" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
<div class="skill_item">
<h4></h4>
<div class="progress_br">
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="70" aria-valuemin="0"
aria-valuemax="100"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--================End Welcome Area =================-->
<!-- LeetCode Widget -->
<div id="leetcode-widget">
<div id="leetcode-widget-header">
<h4>LeetCode Progress</h4>
<button id="minimize-button">_</button>
</div>
<div class="leetcode-stats">
<p id="easy-solved">Easy Solved: Loading...</p>
<p id="medium-solved">Medium Solved: Loading...</p>
<p id="hard-solved">Hard Solved: Loading...</p>
</div>
</div>
<!-- Minimized LeetCode Icon -->
<div id="leetcode-widget-minimized">
<img src="https://upload.wikimedia.org/wikipedia/commons/1/19/LeetCode_logo_black.png" alt="LeetCode Icon">
</div>
<!--================My Tabs Area =================-->
<section class="mytabs_area p_120">
<div class="container">
<div class="tabs_inner">
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="home-tab" data-toggle="tab" href="#home" role="tab"
aria-controls="home" aria-selected="true">My Experiences</a>
</li>
<li class="nav-item">
<a class="nav-link" id="profile-tab" data-toggle="tab" href="#profile" role="tab"
aria-controls="profile" aria-selected="false">My Education</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="home" role="tabpanel" aria-labelledby="home-tab">
<ul class="list">
<li>
<span style="background-color: #FCA311;"></span>
<div class="media">
<div class="d-flex">
<p style="color: white">July 2023 to Present</p>
</div>
<div class="media-body">
<h4>Hackerrank</h4>
<p>Software Engineer II<br/>Bengaluru (WFH)</p>
</div>
</div>
</li>
<li>
<span></span>
<div class="media">
<div class="d-flex">
<p style="color: white">June 2022 to July 2023</p>
</div>
<div class="media-body">
<h4>Hackerrank</h4>
<p>Software Engineer<br/>Bengaluru (WFH)</p>
</div>
</div>
</li>
<li>
<span></span>
<div class="media">
<div class="d-flex">
<p style="color: white">Jan 2022 to June 2022</p>
</div>
<div class="media-body">
<h4>Hackerrank</h4>
<p>Software Engineer Intern<br/>Bengaluru (WFH)</p>
</div>
</div>
</li>
<li>
<span></span>
<div class="media">
<div class="d-flex">
<p style="color: white">Feb 2021 to Sept 2021</p>
</div>
<div class="media-body">
<h4>Bar-at</h4>
<p>Full-Stack Web Developer<br/>Online</p>
</div>
</div>
</li>
<li>
<span></span>
<div class="media">
<div class="d-flex">
<p>Jan 2020 to Feb 2021</p>
</div>
<div class="media-body">
<h4>Freelance</h4>
<p>Software Developer (Freelance) <br/>Freelance.com</p>
</div>
</div>
</li>
</ul>
</div>
<div class="tab-pane fade" id="profile" role="tabpanel" aria-labelledby="profile-tab">
<ul class="list">
<li>
<span></span>
<div class="media">
<div class="d-flex">
<p>March 2018 to Aug 2022</p>
</div>
<div class="media-body">
<h4>NIIT University</h4>
<p>Computer Science Engineering</p>
</div>
</div>
</li>
<!-- <li>-->
<!-- <span></span>-->
<!-- <div class="media">-->
<!-- <div class="d-flex">-->
<!-- <p>March 2017</p>-->
<!-- </div>-->
<!-- <div class="media-body">-->
<!-- <h4>Sri Chaitanya Junior College</h4>-->
<!-- <p>Intermediate<br/>76%</p>-->
<!-- </div>-->
<!-- </div>-->
<!-- </li>-->
<!-- <li>-->
<!-- <span></span>-->
<!-- <div class="media">-->
<!-- <div class="d-flex">-->
<!-- <p>March 2015 </p>-->
<!-- </div>-->
<!-- <div class="media-body">-->
<!-- <h4>New Vision School</h4>-->
<!-- <p>Class - Tenth<br/>9.2 GPA</p>-->
<!-- </div>-->
<!-- </div>-->
<!-- </li>-->
</ul>
</div>
</div>
</div>
</div>
</section>
<!--================End My Tabs Area =================-->
<!--================Feature Area =================-->
<section class="feature_area p_120" id='Projects'>
<div class="container">
<div class="main_title">
<h2>My Projects</h2>
<p>
I’ve been diving into some pretty cool web development projects using Python frameworks like Flask and
Django. From integrating various APIs to setting up authentication systems and even implementing payment
gateways – it’s been a fun ride.
</p>
<p>
Oh, and I couldn’t resist adding my problem-solving repo! Here, I tackle a variety of challenges,
applying the best algorithms and data structures I can think of. It’s all about pushing myself to solve
problems efficiently and creatively.
</p>
</div>
<div class="test">
<div class="feature_inner row" id='repos'>
<!-- <div class="col-lg-4 col-md-6" >-->
<!-- <div class="feature_item">-->
<!-- <img style="position: relative; max-width: 100%;padding-bottom: 5vh " src="img/${ k.name }.png"\n-->
<!-- alt="img/iamvarshith.png">-->
<!-- <h4> ${k.name} </h4>-->
<!-- <a style="align-self: end" href="${k.owner.html_url }"><h6>${ k.owner.login }</h6></a>-->
<!-- <p> ${ k.description }</p>-->
<!-- <div style="text-align: center; padding-top: 20px"><a href='${ k.html_url }'-->
<!-- class="genric-btn info-border radius">Know More</a>-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
</div>
</section>
<!--================End Feature Area =================-->
<!--================Testimonials Area =================-->
<section class="testimonials_area p_120">
<div class="container">
<div class="main_title text-white">
<h2>Certifications and Rewards </h2>
<p>My rewards and certifications </p>
</div>
<div class="testi_inner">
<div class="testi_slider owl-carousel">
<div class="item">
<img style="position: relative; max-width: 100%;padding-bottom: 5vh " src="img/css_certificate.png"
alt="img/iamvarshith.png">
</div>
<div class="item">
<img style="position: relative; max-width: 100%;padding-bottom: 5vh " src="img/sinusoid2.png"
alt="img/iamvarshith.png">
</div>
<div class="item">
<img style="position: relative; max-width: 100%;padding-bottom: 5vh " src="img/sinusoid1.png"
alt="img/iamvarshith.png">
</div>
<div class="item">
<img style="position: relative; max-width: 100%;padding-bottom: 5vh " src="img/rest_api.png"
alt="img/iamvarshith.png">
</div>
<div class="item">
<img style="position: relative; max-width: 100%;padding-bottom: 5vh " src="img/python_basic.png"
alt="img/iamvarshith.png">
</div>
</div>
</div>
</div>
</section>
<!--================End Testimonials Area =================-->
<!--================Footer Area =================-->
<footer class="footer_area p_120">
<div class="container">
<div class="row footer_inner">
<div class="col-lg-5 col-sm-6">
<aside class="f_widget ab_widget">
<div class="f_title">
<h3>About Me</h3>
</div>
<p>I am an undergraduate computer science student from NIIT University working as a freelancer
seeking work as Software Engineer. Where I can apply my experience and knowledge to the fullest
extent at the same time improve my skills.</p>
</aside>
</div>
<div class="col-lg-2">
<aside class="f_widget social_widget">
<div class="f_title">
<h3>Follow Me</h3>
</div>
<p>Let us be social</p>
<ul class="list">
<li><a target="_blank" href="https://github.com/iamvarshith"><i class="fa fa-github"></i></a>
</li>
<li><a target="_blank" href="https://twitter.com/varshithvmv"><i class="fa fa-twitter"></i></a>
</li>
<li><a target="_blank" href="https://blog.iamvarshith.dev"><i class="fas fa-blog fa-2x"></i></a>
</li>
<li><a target="_blank" href="http://www.hackerrank.com/iamvarshith"><i
class="fab fa-hackerrank"></i></a></li>
<li><a target="_blank" href="https://instagram.com/sharmavmv"><i
class="fa fa-instagram"></i></a></li>
<li><a target="_blank" href="https://www.linkedin.com/in/muthyavarshith/"><i
class="fa fa-linkedin"></i></a>
</li>
</ul>
</aside>
</div>
</div>
</div>
</footer>
<!--================End Footer Area =================-->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/popper.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/stellar.js"></script>
<script src="vendors/lightbox/simpleLightbox.min.js"></script>
<script src="vendors/nice-select/js/jquery.nice-select.min.js"></script>
<script src="vendors/isotope/imagesloaded.pkgd.min.js"></script>
<script src="vendors/isotope/isotope.pkgd.min.js"></script>
<script src="vendors/owl-carousel/owl.carousel.min.js"></script>
<script src="vendors/popup/jquery.magnific-popup.min.js"></script>
<script src="js/jquery.ajaxchimp.min.js"></script>
<script src="vendors/counter-up/jquery.waypoints.min.js"></script>
<script src="vendors/counter-up/jquery.counterup.min.js"></script>
<script src="js/mail-script.js"></script>
<script src="js/theme.js"></script>
<script>
function projects() {
const repoContainer = $('#repos');
repoContainer.html('<p>Loading projects...</p>');
$.ajax({
type: "GET",
url: "https://api.github.com/users/iamvarshith/repos",
success: function (data) {
if (data.length === 0) {
repoContainer.html('<p>No projects available at the moment.</p>');
return;
}
let projectHTML = '';
data.forEach((repo, index) => {
const {name, description, html_url} = repo;
const imgSrc = `img/${name}.png`; // Image based on repository name
const defaultImg = `img/default.jpg`; // Default fallback image
const repoDesc = description ? description : 'No description available.';
projectHTML += `
<div class="col-lg-4 col-md-6 mb-4">
<div class="feature_item" id="feature-${index}">
<img src="${imgSrc}" alt="${name}" class="img-fluid" onerror="this.onerror=null;this.src='${defaultImg}';">
<h4>${name}</h4>
<p class="description" id="description-${index}">${repoDesc}</p>
<span class="read-more" data-index="${index}">Read More</span>
<a href="${html_url}" class="btn btn-custom mt-3" target="_blank">View Project</a>
</div>
</div>
`;
});
repoContainer.html(projectHTML);
// Add event listener for "Read More"
$('.read-more').on('click', function () {
const index = $(this).data('index');
const featureItem = $(`#feature-${index}`);
const description = $(`#description-${index}`);
if (featureItem.hasClass('expanded')) {
// Contract the box
description.removeClass('description_expanded');
featureItem.removeClass('expanded');
$(this).text('Read More');
} else {
// Expand the box
description.addClass('description_expanded');
featureItem.addClass('expanded');
$(this).text('Read Less');
}
});
},
error: function () {
repoContainer.html('<p>Failed to load projects. Please try again later.</p>');
}
});
}
</script>
<script>
var typed = new Typed('#typed-text', {
strings: [
"Software Developer",
"Cloud Enthusiast",
"Problem Solver",
"Tech Explorer"
],
typeSpeed: 60, // Speed at which the text types out
backSpeed: 30, // Speed at which it backspaces
backDelay: 1500, // Delay before starting to backspace
startDelay: 1000, // Delay before starting the typing effect
loop: true, // Loop the animation
showCursor: false, // Show the blinking cursor
cursorChar: '!', // Cursor character
});
</script>
<script>
// Data fetching logic for LeetCode
const apiUrl = 'https://leetcode.com/graphql';
const queryPayload = {
"query": `
query userProfileUserQuestionProgressV2($userSlug: String!) {
userProfileUserQuestionProgressV2(userSlug: $userSlug) {
numAcceptedQuestions {
count
difficulty
}
numFailedQuestions {
count
difficulty
}
numUntouchedQuestions {
count
difficulty
}
userSessionBeatsPercentage {
difficulty
percentage
}
}
}
`,
"variables": {"userSlug": "varshithvmv"},
"operationName": "userProfileUserQuestionProgressV2"
};
// Use a CORS proxy for development purposes
const proxyUrl = 'https://thingproxy.freeboard.io/fetch/';
function fetchLeetCodeData() {
fetch(proxyUrl + apiUrl, {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify(queryPayload)
})
.then(response => response.json())
.then(data => {
const leetData = data.data.userProfileUserQuestionProgressV2;
const acceptedQuestions = leetData.numAcceptedQuestions;
document.getElementById('easy-solved').innerText = `Easy Solved: ${acceptedQuestions.find(q => q.difficulty === 'EASY').count}`;
document.getElementById('medium-solved').innerText = `Medium Solved: ${acceptedQuestions.find(q => q.difficulty === 'MEDIUM').count}`;
document.getElementById('hard-solved').innerText = `Hard Solved: ${acceptedQuestions.find(q => q.difficulty === 'HARD').count}`;
})
.catch(error => console.error('Error fetching LeetCode data:', error));
}
fetchLeetCodeData();
// Movable widget logic for both full widget and minimized icon
function makeMovable(element) {
let offsetX = 0, offsetY = 0, isDragging = false;
element.onmousedown = function(e) {
isDragging = true;
offsetX = e.clientX - element.offsetLeft;
offsetY = e.clientY - element.offsetTop;
document.onmousemove = function(e) {
if (isDragging) {
element.style.left = e.clientX - offsetX + 'px';
element.style.top = e.clientY - offsetY + 'px';
element.style.bottom = 'auto';
element.style.right = 'auto';
}
};
document.onmouseup = function() {
isDragging = false;
document.onmousemove = null;
};
};
}
// Apply movable function to both the minimized and expanded widgets
makeMovable(document.getElementById('leetcode-widget'));
makeMovable(document.getElementById('leetcode-widget-minimized'));
// Minimize functionality
const minimizeButton = document.getElementById('minimize-button');
const minimizedWidget = document.getElementById('leetcode-widget-minimized');
const fullWidget = document.getElementById('leetcode-widget');
minimizeButton.addEventListener('click', function() {
fullWidget.style.display = 'none';
minimizedWidget.style.display = 'flex';
});
minimizedWidget.addEventListener('click', function() {
minimizedWidget.style.display = 'none';
fullWidget.style.display = 'block';
});
</script>
</body>
</html>