Skip to content

Commit a35a0c7

Browse files
committed
<newly portfolio files>
1 parent cfb9665 commit a35a0c7

File tree

5 files changed

+123
-30
lines changed

5 files changed

+123
-30
lines changed

My_pic.jpg

1.99 MB
Loading

index.js

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
var TxtType = function(el, toRotate, period) {
2+
this.toRotate = toRotate;
3+
this.el = el;
4+
this.loopNum = 0;
5+
this.period = parseInt(period, 15) || 2000;
6+
this.txt = '';
7+
this.tick();
8+
this.isDeleting = false;
9+
};
10+
11+
TxtType.prototype.tick = function() {
12+
var i = this.loopNum % this.toRotate.length;
13+
var fullTxt = this.toRotate[i];
14+
15+
if (this.isDeleting) {
16+
this.txt = fullTxt.substring(0, this.txt.length - 1);
17+
} else {
18+
this.txt = fullTxt.substring(0, this.txt.length + 1);
19+
}
20+
21+
this.el.innerHTML = '<span class="wrap">'+this.txt+'</span>';
22+
23+
var that = this;
24+
var delta = 200 - Math.random() * 100;
25+
26+
if (this.isDeleting) { delta /= 2; }
27+
28+
if (!this.isDeleting && this.txt === fullTxt) {
29+
delta = this.period;
30+
this.isDeleting = true;
31+
} else if (this.isDeleting && this.txt === '') {
32+
this.isDeleting = false;
33+
this.loopNum++;
34+
delta = 500;
35+
}
36+
37+
setTimeout(function() {
38+
that.tick();
39+
}, delta);
40+
};
41+
42+
window.onload = function() {
43+
var elements = document.getElementsByClassName('typewrite');
44+
for (var i=0; i<elements.length; i++) {
45+
var toRotate = elements[i].getAttribute('data-type');
46+
var period = elements[i].getAttribute('data-period');
47+
if (toRotate) {
48+
new TxtType(elements[i], JSON.parse(toRotate), period);
49+
}
50+
}
51+
// INJECT CSS
52+
var css = document.createElement("style");
53+
css.type = "text/css";
54+
css.innerHTML = ".typewrite > .wrap { border-right: 0.08em solid #fff}";
55+
document.body.appendChild(css);
56+
};

photo.jpeg

-317 KB
Binary file not shown.

portfolio.css

+41-4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,27 @@ nav ul li a.active,a:hover{
4848
#check{
4949
display: none;
5050
}
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+
62+
63+
64+
65+
66+
67+
68+
69+
70+
71+
5172
@media(min-width: 1030px ){
5273
.checkbtn{
5374
display: none;
@@ -73,7 +94,8 @@ nav ul li a.active,a:hover{
7394
text-align: center;
7495
padding-top: 30px;
7596
color: #cd87d1;
76-
font-size: 40px;
97+
font-size: 60px;
98+
padding: 20px;
7799
}
78100
#arrow{
79101
padding-top: 50px;
@@ -84,7 +106,7 @@ nav ul li a.active,a:hover{
84106
.img{
85107
width:200px;
86108
height: 200px;
87-
background-image: url(photo.jpeg);
109+
background-image: url(My_pic.jpg);
88110
background-size: 100%;
89111
background-repeat: no-repeat;
90112
}
@@ -107,6 +129,7 @@ nav ul li a.active,a:hover{
107129
.img-info article{
108130
padding-top: 150px;
109131
padding-right: 20%;
132+
font-size: 500px;
110133
}
111134
.img-info h2{
112135
font-size: 60px;
@@ -128,6 +151,9 @@ nav ul li a.active,a:hover{
128151
height: 87vh;
129152
padding-top: 10px;
130153
}
154+
.portfolio-info p{
155+
font-size: 20px;
156+
}
131157
.contact-info{
132158
text-align: center;
133159
height: 75vh;
@@ -161,7 +187,7 @@ nav ul li a.active,a:hover{
161187
padding-top: 10px;
162188
}
163189
.feed{
164-
font-size: 30px;
190+
font-size: 25px;
165191
}
166192
#feedback{
167193
width: 300px;
@@ -373,6 +399,13 @@ nav ul li a.active,a:hover{
373399

374400

375401

402+
403+
404+
405+
406+
407+
408+
376409

377410

378411

@@ -468,7 +501,7 @@ nav ul li a.active,a:hover{
468501
.img{
469502
width:200px;
470503
height: 200px;
471-
background-image: url(photo.jpeg);
504+
background-image: url(My_pic.jpg);
472505
background-size: 100%;
473506
background-repeat: no-repeat;
474507
}
@@ -531,6 +564,10 @@ nav ul li a.active,a:hover{
531564
font-size: 15px;
532565
background-color: #565895
533566
}
567+
#name,#email{
568+
width: 200px;
569+
height: 25px;
570+
}
534571
#check:checked~ul{
535572
left:0;
536573
}

portfolio.php

+26-26
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@
5858
<meta name="viewport" content="width=device-width, initial-scale=1.0">
5959
<title>Ajeet Kumar Jaiswal | Portfolio</title>
6060
<link rel="stylesheet" type="text/css" href="portfolio.css">
61-
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
61+
<script src="index.js"></script>
62+
<link rel="stylesheet" type="text/css" href="https://
63+
stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
6264
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
6365

6466

@@ -80,20 +82,20 @@
8082
</nav>
8183
<h2>Hi,I'm Ajeet Kumar Jaiswal</h2>
8284
<article class="article">
83-
<h2>Hi,I'm Ajeet Kumar Jaiswal</h2>
84-
<h1>Full Stack Web Developer</h1>
85-
<h3>Welcome ! TO My Portfolio Website</h3>
86-
<h3 id="follow-on">FOLLOW ON</h3>
85+
<h2><a href="" style="text-decoration: none;color: inherit;"class="typewrite" data-period="2000" data-type='[ "HI, THIS IS AJEET KUMAR JAISWAL."]'><span class="wrap"></span></a></h2>
86+
<h1><a href="" style="text-decoration: none;color: #e1c814;"class="typewrite" data-period="2000" data-type='[ "I AM A FULL STACK WEB DEVELOPER." ]'><span class="wrap"></span></a></h1>
87+
<h3><a href="" style="text-decoration: none;"class="typewrite" data-period="2000" data-type='[ "WELCOME TO MY WEBSITE."]'><span class="wrap"></span></a></h3>
88+
<h3 id="follow-on"><a class="scrollTo" href="#section1" style="text-decoration: none; color: #775656;">FOLLOW ON</a></h3>
8789
<p id="arrow"><i class="fa fa-arrow-down" aria-hidden="true"></i></p>
8890
</article>
8991
<div class="wrapper">
9092
<article class="img-info" id="section1">
9193
<h2 id="test">About me</h2>
92-
<div class="img"></div>
94+
<a href="https://drive.google.com/file/d/1ia36Wog4iBv4agdrGvK2bSsjewT7_cNH/view"><div class="img"></div></a>
9395
<article id="info" style="margin-top: 30px">
9496
<p>Hi I am Ajeet . I am Second Year student at IIIT Jabalpur and currently studying Electronics and communication engineering here at IIIT Jabalpur.In past two years I learnt some good skills and tried to build some real time web applications.</p>
9597
<p>I am also a full stack web developer and tried to build some cool stuffs like a login signup system and in continue of all this currently I am working building some more stuffs like this.</p>
96-
<p>I am also a Machine learning enthusiast and learning new skills day by day.</p>
98+
<p>I am also a Machine learning enthusiast and learning new skills day by day,as well I am also enthusiastic in competitive programming and learning new data sturctures. </p>
9799
</article>
98100
</article>
99101
<script type="text/javascript">
@@ -106,17 +108,18 @@
106108
</script>
107109
<article class="portfolio-info" id="section2">
108110
<h2>Portfolio | CV</h2>
109-
<div class="pdf"></div>
110-
<p style="margin-top: 10px">Hey! Here with I have attached my Resume if you wants more info about me.You are free to vist my <a href="#" style="color:wheat;text-decoration: none">LinkedIn</a> Profile.
111+
<a href="https://drive.google.com/file/d/1FCxymHZFUHfhGjexmbZ6xHs8QkeKXd75/view"><div class="pdf"></div></a>
112+
<p>Please click on the above image to download the Resume</p>
113+
<p style="margin-top: 10px">Hey! Here with I have attached my Resume if you wants more info about me.You are free to vist my <a href="https://github.com/ajeet1308" style="color:wheat;text-decoration: none; font-size: 20px">LinkedIn</a> Profile.
111114
</p>
112115
</article>
113116
<article class="contact-info" id="section3">
114117
<h2>Contact</h2>
115118
<p class="feed">Want to Connect! Please mail me at <address>
116-
<a href="mailto:ajeetj1308@gmail.com" style="color:wheat; text-decoration: none; font-family: arial"><i class="fa fa-envelope" aria-hidden="true"></i> ajeetj1308@gmail.com</a></p>
119+
<a href="mailto:ajeetj1308@gmail.com" style="color:#46e512; text-decoration: none;"><i class="fa fa-envelope" aria-hidden="true"></i> ajeetj1308@gmail.com</a></p>
117120
</address><br>
118121
<h2>Feedback</h2>
119-
<p class="feed">Hi viewers!<br> I would be pleased to hear feedback on this mobo view of mine website.</p><br>
122+
<p class="feed">Hi viewers!,I would be pleased to hear your feedbacks.</p><br>
120123
<form method="POST">
121124
<input type="text" name="name" placeholder="Name" id="name"><br><br>
122125
<input type="text" name="email" placeholder="E-mail" id="email"><br><br>
@@ -138,23 +141,22 @@
138141

139142
</article>
140143
</div>
141-
142144
<footer class="footer">
143145
<div class="inner-footer">
144146
<div class="social-links">
145147
<ul>
146-
<li class="social-items"><a href="#"><i class="fa fa-facebook-official" aria-hidden="true"></i></a></li>
148+
<li class="social-items"><a href="https://www.facebook.com/profile.php?id=100040654711182"><i class="fa fa-facebook-official" aria-hidden="true"></i></a></li>
147149
<li class="social-items"><a href="#"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>
148-
<li class="social-items"><a href="#"><i class="fa fa-github" aria-hidden="true"></i></a></li>
149-
<li class="social-items"><a href="#"><i class="fa fa-linkedin-square" aria-hidden="true"></i></a></li>
150+
<li class="social-items"><a href="https://github.com/ajeet1308"><i class="fa fa-github" aria-hidden="true"></i></a></li>
151+
<li class="social-items"><a href="https://www.linkedin.com/in/ajeet-kumar-jaiswal-b60a541b1/"><i class="fa fa-linkedin-square" aria-hidden="true"></i></a></li>
150152
</ul>
151153
</div>
152154
<div class="quick-links">
153155
<ul>
154156
<li class="quick-items"><a href="#">HOME</a></li>
155-
<li class="quick-items"><a href="#">PORTFOLIO</a></li>
156-
<li class="quick-items"><a href="#">ABOUT ME</a></li>
157-
<li class="quick-items"><a href="#">CONTACT</a></li>
157+
<li class="quick-items" class="scrollTo"><a href="#section2">PORTFOLIO</a></li>
158+
<li class="quick-items" class="scrollTo"><a href="#section1">ABOUT ME</a></li>
159+
<li class="quick-items" class="scrollTo"><a href="#section3">CONTACT</a></li>
158160
</ul>
159161
</div>
160162
</div>
@@ -166,14 +168,12 @@
166168

167169
</body>
168170
</html>
169-
170-
<!--jquery script-->
171171
<script type="text/javascript">
172-
$(function(){
173-
$(".scrollTo").on('click',function(){
174-
$("html, body").animate({
175-
scrollTop:$($.attr(this, 'href')).offset().top-79
176-
}, 1000)
177-
})
172+
$(function(){
173+
$(".scrollTo").on('click',function(){
174+
$("html, body").animate({
175+
scrollTop:$($.attr(this, 'href')).offset().top-79
176+
}, 1000)
178177
})
178+
})
179179
</script>

0 commit comments

Comments
 (0)