-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
145 lines (133 loc) · 7.62 KB
/
index.html
File metadata and controls
145 lines (133 loc) · 7.62 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Oliver Kotla</title>
<link rel="stylesheet" href="/styles/css/main.css">
<link rel="stylesheet" href="/styles/css/homepage.css">
<link rel="stylesheet" href="fortunes.css">
</head>
<body>
<nav>
<a href="#hero" id="hero-link" onclick="selectScreen('hero')">
<div class="dot"></div>
<span>Intro</span>
</a>
<a href="#work" id="work-link" onclick="selectScreen('work')">
<div class="dot"></div>
<span>Work</span>
</a>
<a href="#contact" id="contact-link" onclick="selectScreen('contact')">
<div class="dot"></div>
<span>Contact</span>
</a>
</nav>
<hr>
<br>
<section id="hero" class="mainsect" style="background-color: none;">
<h1>OLIVER<br>KOTLA</h1>
<h2>
<span>Student</span>
<span>Developer</span>
<span>Designer</span>
<span class="cta">
<a href="https://www.linkedin.com/in/oliver-kotla/" target="_blank" title="LinkedIn">LinkedIn <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" /></svg></a>
</span>
<span class="cta">
<a href="https://www.behance.net/oliverkotla" target="_blank" title="Behance">Bēhance <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z" /></svg></a>
</span>
</h2>
<!-- <img class="duck" src="/files/duck.png" alt=""> -->
<ul class="social">
<li><a href="https://www.linkedin.com/in/oliver-kotla/" target="_blank" title="LinkedIn"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path
d="M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93zM6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37z" />
</svg></a></li>
<li>
<a href="https://www.behance.net/oliverkotla" target="_blank" title="Behance"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.969 16.927a2.561 2.561 0 0 0 1.901.677 2.501 2.501 0 0 0 1.531-.475c.362-.235.636-.584.779-.99h2.585a5.091 5.091 0 0 1-1.9 2.896 5.292 5.292 0 0 1-3.091.88 5.839 5.839 0 0 1-2.284-.433 4.871 4.871 0 0 1-1.723-1.211 5.657 5.657 0 0 1-1.08-1.874 7.057 7.057 0 0 1-.383-2.393c-.005-.8.129-1.595.396-2.349a5.313 5.313 0 0 1 5.088-3.604 4.87 4.87 0 0 1 2.376.563c.661.362 1.231.87 1.668 1.485a6.2 6.2 0 0 1 .943 2.133c.194.821.263 1.666.205 2.508h-7.699c-.063.79.184 1.574.688 2.187ZM6.947 4.084a8.065 8.065 0 0 1 1.928.198 4.29 4.29 0 0 1 1.49.638c.418.303.748.711.958 1.182.241.579.357 1.203.341 1.83a3.506 3.506 0 0 1-.506 1.961 3.726 3.726 0 0 1-1.503 1.287 3.588 3.588 0 0 1 2.027 1.437c.464.747.697 1.615.67 2.494a4.593 4.593 0 0 1-.423 2.032 3.945 3.945 0 0 1-1.163 1.413 5.114 5.114 0 0 1-1.683.807 7.135 7.135 0 0 1-1.928.259H0V4.084h6.947Zm-.235 12.9c.308.004.616-.029.916-.099a2.18 2.18 0 0 0 .766-.332c.228-.158.411-.371.534-.619.142-.317.208-.663.191-1.009a2.08 2.08 0 0 0-.642-1.715 2.618 2.618 0 0 0-1.696-.505h-3.54v4.279h3.471Zm13.635-5.967a2.13 2.13 0 0 0-1.654-.619 2.336 2.336 0 0 0-1.163.259 2.474 2.474 0 0 0-.738.62 2.359 2.359 0 0 0-.396.792c-.074.239-.12.485-.137.734h4.769a3.239 3.239 0 0 0-.679-1.785l-.002-.001Zm-13.813-.648a2.254 2.254 0 0 0 1.423-.433c.399-.355.607-.88.56-1.413a1.916 1.916 0 0 0-.178-.891 1.298 1.298 0 0 0-.495-.533 1.851 1.851 0 0 0-.711-.274 3.966 3.966 0 0 0-.835-.073H3.241v3.631h3.293v-.014ZM21.62 5.122h-5.976v1.527h5.976V5.122Z"/></svg></a>
</li>
</ul>
</section>
<div class="herodivider">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><title>email-outline</title><path d="M22 6C22 4.9 21.1 4 20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6M20 6L12 11L4 6H20M20 18H4V8L12 13L20 8V18Z" /></svg>
<a href='mailto:o%6Cive%72@ko%74.%6C%61'>oliver@kot.la</a>
<hr>
<p>For Hire</p>
</div>
<br>
<!-- <section id="fortunes" class="mainsect">
<div class="cabinet">
<div class="banner">FORTUNES</div>
<div class="tlco"></div>
<div class="trco"></div>
<div class="lwall"></div>
<div class="rwall"></div>
<div class="inside">
<div class="window"></div>
<div class="streak"></div>
<div class="teller">
<div class="ball"></div>
<div class="stand"></div>
<div class="nose"></div>
<div class="face"></div>
<div class="body"></div>
<div class="beard"></div>
</div>
</div>
<div class="panel">
<div class="slot"></div>
<div class="price">£1 →</div>
<a title="Purchase Fortune" id="buy-fortune"
href="https://buy.stripe.com/dRmfZh0Figos40OgX70kE00">Purchase Fortune</a>
</div>
</div>
</section> -->
<section id="work" class="mainsect">
<div class="grid">
<div style="grid-column-start: 1; grid-column-end: 3;">
<a href="https://travelbadge.uk/" target="_blank" title="TravelBadge">
<img src="/files/work/tbwide.png" alt="TravelBadge">
</a>
</div>
<div class="vertical"></div>
<div></div>
<div></div>
<div></div>
<div><img src="/files/logo.png" alt=""></div>
</div>
</section>
<section id="contact" class="mainsect" style="background-color: none;"></section>
<script>
const sections = document.querySelectorAll(".mainsect");
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
// remove class from all nav links
document.querySelectorAll('[id$="-link"]').forEach(link => {
link.classList.remove("active");
});
// add class to matching link
const link = document.getElementById(entry.target.id + "-link");
if (link) {
link.classList.add("active");
}
}
});
}, {
threshold: 0.5 // section considered active when 50% visible
});
sections.forEach(section => observer.observe(section));
function selectScreen(id) {
document.querySelectorAll('[id$="-link"]').forEach(link => {
link.classList.remove("active");
});
// add class to matching link
const link = document.getElementById(id + "-link");
if (link) {
link.classList.add("active");
}
}
</script>
</body>
</html>