-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
161 lines (149 loc) · 5.49 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
<!DOCTYPE html>
<html>
<head>
<title>
Portfolio: Shreya
</title>
<link rel="stylesheet" href="portfolio.css" />
<script type="text/javascript" src="../JS/jquery-3.4.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
</head>
<body>
<div id="body">
<span id="sideNavOpen">☰ </span>
<div id="sideNav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()"
>×
</a>
<a href="#personal-details" class="link">Personal Details</a>
<a href="#experience" class="link">Experience</a>
<a href="#skills" class="link">Skills</a>
<a href="#about-me" class="link">About Me</a>
</div>
<div id="wrapper">
<div id="intro-container">
<div id="intro-sub-container">
<div id="name">
Hey, I'm Shreya! <br />
Welcome to my Portfolio.
</div>
</div>
</div>
<div class="container">
<div class="personal-details">
<a name="personal-details"></a>
<div>
<div class="title">Personal Details</div>
<div></br>
Age: 18 </br>
Education: </br>
<ul>
<li>
College: Indian Institute of Technology Roorkee
</li>
<li>
School: St. Thomas School, Indirapuram
</li>
</ul>
Interests:
<ul>
<li>
Web Development
</li>
<li>
Competitive Programming
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<div class="skills">
<a name="skills"></a>
<div>
<div class="title">Skills</div>
<div><br>
<ul>
<li> C++ </li>
<li> HTML</li>
<li> CSS</li>
<li> PHP </li>
<li> JavaScript </li>
<li> MySQL </li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<div class="about-me">
<a name="about-me"></a>
<div class="title">About Me</div> <br>
<p>
The world of open source has fascinated me for a long time. An
unquenchable thirst for knowledge has aspired me to join SDSLabs where I
wish to explore all their is in the Development world. Other than an
adaptable learner, i like to categorise myself as an avid reader and an
enthusiastic storyteller. </p>
</div>
</div>
</div>
</div>
<script>
window.onscroll = function() {myFunction()};
function myFunction() {
if (document.body.scrollTop > 400 || document.documentElement.scrollTop > 400) {
document.getElementById("intro-box").style.visibility="visible";
} else {
document.getElementById("intro-box").style.visibility = "hidden";
}
}
$("#sideNavOpen").hover(function(event){
document.getElementById("sideNav").style.width = "18%";
document.getElementById("wrapper").style.width = "82%";
document.getElementById("wrapper").style.marginLeft = "18%";
document.getElementById("sideNavOpen").style.visibility = "hidden";
document.getElementById("profilePicture").style.height = "300px";
document.getElementById("profilePicture").style.width = "300px";
document.getElementById("profilePicture").style.borderRadius = "150px";
})
function openNav() {
}
function closeNav() {
document.getElementById("sideNav").style.width = "0";
document.getElementById("wrapper").style.width = "100%";
document.getElementById("wrapper").style.marginLeft = "0";
document.getElementById("sideNavOpen").style.visibility = "visible";
document.getElementById("profilePicture").style.height = "400px";
document.getElementById("profilePicture").style.width = "400px";
document.getElementById("profilePicture").style.borderRadius = "200px";
}
/*function autoupdate() {
$("sideNav").animate({ width: "0" }, 3000);
}
jQuery(function($) {
// Function which adds the 'animated' class to any '.animatable' in view
var doAnimations = function() {
// Calc current offset and get all animatables
var offset = $(window).scrollTop() + $(window).height(),
$animatables = $(".animatable");
// Unbind scroll handler if we have no animatables
if ($animatables.length == 0) {
$(window).off("scroll", doAnimations);
}
// Check all animatables and animate them if necessary
$animatables.each(function(i) {
var $animatable = $(this);
if ($animatable.offset().top + $animatable.height() - 20 < offset) {
$animatable.removeClass("animatable").addClass("animated");
}
});
};
// Hook doAnimations on scroll, and trigger a scroll
$(window).on("scroll", doAnimations);
$(window).trigger("scroll");
}); */
</script>
</body>
</html>