-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
172 lines (155 loc) · 5.33 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
<!DOCTYPE HTML>
<html>
<head>
<title>Rahul Kumar Singh</title>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<noscript>
<link rel="stylesheet" href="assets/css/noscript.css" />
</noscript>
</head>
<body class="is-preload">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header" class="alt">
<a href="index.html" class="logo"><strong>Rahul Kumar Singh</strong> </a>
<nav>
<a href="#menu">Menu</a>
</nav>
</header>
<!-- Menu -->
<nav id="menu">
<ul class="links">
<li><a href="index.html">Home</a></li>
<li><a href="https://github.com/rahulx2001/Calculatorgui">Calculator</a></li>
</ul>
<ul class="actions stacked">
<li><a href="#" class="button primary fit">Projects</a></li>
</ul>
</nav>
<!-- Banner -->
<section id="banner" class="major">
<div class="inner">
<header class="major">
<h1>Hi, my name is Rahul Kumar Singh</h1>
</header>
<div class="content">
<p id="custom-header">I'm a Btech undergrad<br />
and a fledgling developer, trying to implement my java skill's in making software applications.
I take into consideration the user experience while writing reusable and efficient code. I
passionately combine good design, technology, and innovation in my projects, which I like to
accompany from the concept to completion. Currently, I'm focused in the java.</p>
<ul class="actions">
<li><a href="#one" class="button next scrolly">Get Started</a></li>
</ul>
</div>
</div>
</section>
<!-- Main -->
<div id="main">
<!-- One -->
<section id="one" class="tiles">
<article>
<span class="image">
<img src="images/calculatorposter.jpg" alt="" />
</span>
<header class="major">
<h3><a href="https://github.com/rahulx2001/Calculatorgui" class="link">Calculatorgui</a></h3>
<p>A calculator made with java and swing.</p>
</header>
</article>
</section>
</div>
<!-- Contact -->
<section id="contact">
<div class="inner">
<section>
<form onsubmit="sendemail(); reset(); return false;">
<div class="fields">
<div class="field half">
<label for="name">Name</label>
<input maxlength="100" required type="text" name="name" id="name" />
</div>
<div class="field half">
<label for="email">Email</label>
<input required type="email" name="email" id="email" />
</div>
<div class="field">
<label for="message">Message</label>
<textarea required maxlength="400" name="message" id="message" rows="6"></textarea>
</div>
</div>
<ul class="actions">
<li><input id="submit_button" type="submit" value="Send Message" class="primary" /></li>
<li><input type="reset" value="Clear" /></li>
</ul>
</form>
</section>
<section class="split">
<section>
<div class="contact-method">
<span class="icon solid alt fa-envelope"></span>
<h3>Email</h3>
<a href="mailto:[email protected]">[email protected]</a>
</div>
</section>
</section>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<div class="inner">
<ul class="icons">
<li><a href="https://twitter.com/rahulsinghx2001?t=jgGdx4mh105I9oZNPNtVvA&s=09"
class="icon brands alt fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="https://github.com/rahulx2001" class="icon brands alt fa-github"><span
class="label">GitHub</span></a></li>
<li><a href="https://www.linkedin.com/in/rahul-kumar-singh-8906b8232"
class="icon brands alt fa-linkedin-in"><span class="label">LinkedIn</span></a></li>
</ul>
</div>
</footer>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.scrolly.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.27.2/axios.min.js"
integrity="sha512-odNmoc1XJy5x1TMVMdC7EMs3IVdItLPlCeL5vSUPN2llYKMJ2eByTTAIiiuqLg+GdNr9hF6z81p27DArRFKT7A=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
function sendemail() {
// axios.post('/user', {
// firstName: 'Fred',
// lastName: 'Flintstone'
// })
// .then(function (response) {
// console.log(response);
// })
// .catch(function (error) {
// console.log(error);
// });
document.getElementById("submit_button").value = "Sending..."
axios.post("https://rahul-portfolio-contact-form.herokuapp.com/submit-contact-form", {
name: document.getElementById("name").value,
email: document.getElementById("email").value,
message: document.getElementById("message").value
}).then(data => {
alert("Contact Form Submitted Succesfully")
document.getElementById("submit_button").value = "Send Message"
}).catch(err => {
console.log(err)
alert("Some error occured")
document.getElementById("submit_button").value = "Send Message"
})
}
</script>
</body>
</html>