-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
205 lines (149 loc) · 5.37 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
<!DOCTYPE html>
<html>
<style>
.redtext{
color: blue;
text-decoration: none;
}
.navbar{
list-style-type: none;
background-color: beige;
width: 2.5cm;
height: 100vh ;
float: left;
padding-left: 0cm;
margin-top: 0;
text-align: center;
padding-top: 0.1cm;
padding-bottom: 0.1cm;
}
.slide{
background-color: beige;
margin-left: 2.6cm;
padding-top: 0.1cm;
padding-bottom: 0.1cm;
padding-left: 0.5cm;
padding-right: 0.5cm;
height: 100vh ;
}
</style>
<head>
<meta charset="UTF-8">
<meta name="description" content="personal website">
<meta name="keywords" content="saibharathgutha, guthasaibharathchandra, sai bharath chandra gutha, sai bharath, sai bharath gutha, gutha sai bharath">
<meta name="author" content="Sai bharath chandra Gutha">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M5W9J0673V"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-M5W9J0673V');
</script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Oxygen:wght@400&display=swap" rel="stylesheet">
<title>gutha sai bharath chandra</title>
<script>
IS_EMBED = 0;
default_link_color = "chocolate"; //"#0000FF";
highlighted_link_color = "blue";//"#FF0000";
function colorLinks(hex)
{
var links = document.getElementsByTagName("a");
for(var i=0;i<links.length;i++)
{
if(links[i].href)
{
links[i].style.color = hex;
}
}
}
function embedCV(){
var x = document.createElement("EMBED");
x.width = "100%";
x.height = "90%";
x.src = "CV_sai_bharath.pdf";
x.type = "application/pdf";
document.getElementById("slide").appendChild(x);
IS_EMBED = 1;
}
function remove_embedCV(){
x = document.getElementById("slide");
c = x.childNodes;
var i=-1;
for(i=0;i<c.length;i++){
if(c[i].nodeName == "EMBED")break;
}
if(i >=0 && i < c.length){
x.removeChild(c[i]);
}
IS_EMBED = 0;
}
function slideAbout(){
if(IS_EMBED==1)remove_embedCV();
colorLinks(default_link_color);
text = "Welcome! My name is <a class=\"redtext\"> Sai bharath chandra Gutha.</a> \
I received my Bachelor's degree (B.Tech, 4yr degree) in Computer Science & Engineering \
from <a href=\"http://www.iitkgp.ac.in/\" class=\"redtext\" target=\"_blank\">Indian Institute of Technology Kharagpur, India </a> in 2018. I was a Software Engineer for 2 years in \
the Speech Recognition \& NLP Team at <a href=\"https://research.samsung.com/sri-b\" target=\"_blank\" class=\"redtext\"> Samsung Research \& Development Institute Bangalore, India.</a> \
Currently I'm a first year master\'s student in the Computer Science program at <a href=\"https://uni-freiburg.de/en/\" target=\"_blank\" class=\"redtext\">Abert-Ludwigs University of Freiburg, Germany.</a>\
"
document.getElementById("slideText").innerHTML = text;
document.getElementById("about").style.color = highlighted_link_color;
return false
}
function slideCV(){
if(IS_EMBED==0)embedCV();
colorLinks(default_link_color);
text = "My Latest Resume!";
document.getElementById("slideText").innerHTML = text;
document.getElementById("cv").style.color = highlighted_link_color;
return false
}
function slideContact(){
if(IS_EMBED==1)remove_embedCV();
colorLinks(default_link_color);
text = "My contact details will be added soon!"
document.getElementById("slideText").innerHTML = text;
document.getElementById("contact").style.color = highlighted_link_color;
return false
}
function slideProjects(){
if(IS_EMBED==1)remove_embedCV();
colorLinks(default_link_color);
text = "My past and current projects will be added soon!"
document.getElementById("slideText").innerHTML = text;
document.getElementById("projects").style.color = highlighted_link_color;
return false
}
function slideBlogPosts(){
if(IS_EMBED==1)remove_embedCV();
colorLinks(default_link_color);
text = "!";
document.getElementById("slideText").innerHTML = text;
document.getElementById("blogposts").style.color = highlighted_link_color;
return false
}
</script>
</head>
<body onload="slideAbout();" style=" font-family: 'oxygen', sans-serif; ">
<div id="controlpane">
<div id="navbar">
<ul id="navbarlist" class="navbar">
<li><a id="about" href="about" onclick="return slideAbout();">About</a></li>
<li><a id="projects" href="projects" onclick="return slideProjects();">Projects</a></li>
<li><a id="cv" href="cv" onclick="return slideCV();">Resume</a></li>
<li><a id="contact" href="contact" onclick="return slideContact();">Contact</a></li>
<li><a id="blogposts" href="blogposts" onclick="return slideBlogPosts();">Blog posts</a></li>
</ul>
</div>
<div id="slide" class="slide">
<p id="slideText">
</p>
</div>
</div>
</body>
</html>