-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
198 lines (174 loc) · 6.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Shaan Rehsi: Home</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css2?500&family=Poppins:wght@500" rel="stylesheet">
<script src="https://kit.fontawesome.com/093248551b.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!------------------------ nav bar ----------------------->
<div id="header">
<div class="container">
<img src="/images/Shaan Rehsi.png" class="logo">
<nav>
<ul id="sidemenu">
<li><a href="#header">Home</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="#favourites">Favourites</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<i class="fa-solid fa-xmark" onclick="closemenu()"></i>
</ul>
<i class="fa-solid fa-bars" onclick="openmenu()"></i>
</nav>
<div class="header-text">
<p>Personal Portfolio</p>
<h1>HI IM SHAAN REHSI</h1>
</div>
</div>
</div>
<!--------------------------- PORTFOLIO --------------------------->
<div id="favourites">
<div class="container">
<h1 class="sub-title"> Favourite Projects </h1>
<div class="work-list">
<div class="work">
<a href ="#">
<img src="/images/maze.png" alt="maze game python">
<div class="layer">
<h3>Python</h3></a>
</div>
</div>
<div class="work">
<a href ="#">
<img src="/images/game controller final.png" alt="VR Art Therapy">
<div class="layer">
<h3>VR Art Therapy</h3></a>
</div>
</div>
<div class="work">
<a href ="#">
<img src="/images/1.png" alt="P5.js">
<div class="layer">
<h3>p5.js</h3></a>
</div>
</div>
</div>
<a href ="portfolio.html" class="btn">More Projects</a>
</div>
</div>
<!-------------------- about --------------------------->
<div id="about">
<div class="container">
<div class="row">
<div class="about-col-1">
<img src="/images/cat4.png">
</div>
<div class="about-col-2">
<h1 class="sub-title">About Me</h1>
<p>My name is Shaan Rehsi and I'm currently in my second year
of university.
</p>
<div class="tab-titles">
<p class="tab-links active-link" onclick="opentab('skills')">Skills</p>
<p class="tab-links" onclick="opentab('experience')">Experience</p>
<p class="tab-links" onclick="opentab('education')">Education</p>
</div>
<div class="tab-contents active-tab" id="skills">
<ul>
<li><span>Languages</span><br>Python</li>
</ul>
</div>
<div class="tab-contents" id="experience">
<ul>
<li><span>-</span><br></li>
</ul>
</div>
<div class="tab-contents" id="education">
<ul>
<li><span>UAL</span><br>BSc Creative Computing</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!------------------------ SERVICES ------------------------------- -->
<!------------------------- CONTACT ---------------------->
<div id="contact">
<div class="contact-container">
<div class="row">
<div class="contact-left">
<h1 class="sub-title">Contact Me</h1>
<p><i class="fa-solid fa-paper-plane"></i> [email protected]</p>
<p><i class="fa-solid fa-phone"></i> 0123456789</p>
<div class="social-icons">
<a href="https://www.linkedin.com/in/shaan-rehsi-4b40561b3/"><i class="fab fa-linkedin"></i></a>
<a href="https://www.instagram.com/shapesandjapes_/"><i class="fa-brands fa-instagram"></i></a>
<a href="https://www.tiktok.com/@shapesandjapes"><i class="fab fa-tiktok"></i></a>
<a href="mailto:[email protected]"><i class="fa-solid fa-envelope"></i></a>
</div>
<a href="/images/Shaan Rehsi CV 2023.pdf" download class="btn btn2">Download CV</a>
</div>
<div class="contact-right">
<form name="submit-to-google-sheet">
<input type="text" name="FirstName" placeholder="First Name: " required>
<input type="text" name="LastName" placeholder="Surname: " required>
<input type="email" name="email" placeholder="Email: " required>
<textarea name="Message" rows="6" placeholder="Your Message: "></textarea>
<button type="submit" class="btn btn2">Submit</button>
</form>
<span id="msg"></span>
</div>
</div>
</div>
<div class="copyright">
<p>
© 2023 Copyright: Created by: Shaan K Rehsi</p>
</div>
</div>
<script>
var tablinks = document.getElementsByClassName("tab-links");
var tabcontents = document.getElementsByClassName("tab-contents");
function opentab(tabname){
for(tablink of tablinks){
tablink.classList.remove("active-link");
}
for(tabcontent of tabcontents){
tabcontent.classList.remove("active-tab");
}
event.currentTarget.classList.add("active-link");
document.getElementById(tabname).classList.add("active-tab");
}
</script>
<script>
var sidemenu = document.getElementById("sidemenu");
function openmenu(){
sidemenu.style.right = "0"
}
function closemenu(){
sidemenu.style.right = "-200px"
}
</script>
<script>
const scriptURL = 'https://script.google.com/macros/s/AKfycbw5k_VanyFZIfU0IT9e7FIOOxLgJ7_Cpw1TycQjwR4BaKXuepf-lAtmw4A9uuy3S2IKUw/exec'
const form = document.forms['submit-to-google-sheet']
const msg = document.getElementById("msg")
form.addEventListener('submit', e => {
e.preventDefault()
fetch(scriptURL, { method: 'POST', body: new FormData(form)})
.then(response => {
msg.innerHTML = "Message sent successfully"
setTimeout(function(){
msg.innerHTML = ""
}, 5000)
form.reset()
})
.catch(error => console.error('Error!', error.message))
})
</script>
</body>
</html>