-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
284 lines (284 loc) · 12.1 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<!DOCTYPE html>
<html lang="en">
<head>
<base href="https://palomba.io/" target="_blank">
<title>Nicholas Palomba | Control Engineering and Software Automation</title>
<link rel="stylesheet" href="style.css">
<link rel="icon" href="./img/logo.png">
<meta charset="UTF-8">
<meta name="description" content="Website description here?">
<meta name="keywords" content="PCB, design, control, automation, electrical, engineer, engineering, consulting, consultant">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="main.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-45N2JVP0F5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-45N2JVP0F5');
</script>
</head>
<body>
<!---------- Header ---------->
<header>
<a id="pagelogo" href="https://palomba.io/">
<img src="./img/logo.png" alt="Logo">
</a>
<h1 id="pagename">
<a href="https://palomba.io/">
<strong>
NICHOLAS F. PALOMBA (BETA)<br>
Control Engineer and Automation Expert
</strong>
</a>
</h1>
</header>
<!---------- Navigation ---------->
<nav>
<hr>
<ul>
<li><a id="navlink1" class="navlink" href="./about.html" target="_blank">About</a></li>
<li><a id="navlink2" class="navlink" href="./automations.html" target="_blank">Automations</a></li>
<li><a id="navlink3" class="navlink" href="./blog.html" target="_blank">Blog</a></li>
<li><a id="navlink4" class="navlink" href="./contribute.html" target="_blank">Contribute</a></li>
</ul>
</nav>
<hr>
<!---------- Main ---------->
<main>
<!---------- Call to Action ---------->
<section id="pageaction">
<div id="pagecall">
<h2>
There is nothing more valuable, in life and business, than your time.
Sign up to get the technical expertise you need to grow your wealth and improve your business right now.
</h2>
<br>
<button class="button" onclick="openform()">
Join for FREE 👈
</button>
<div id="formcontainer">
<div class="formup" id="formup">
<div class="screenblur">
<button class="closebutton" onclick="closeform()">✖</button>
<br>
<iframe name="hidden_iframe" id="hidden_iframe" style="display:none;"></iframe>
<br>
<form id="subscribeform" action="https://docs.google.com/forms/u/0/d/e/1FAIpQLSfUzJebCwb-HZFdufxaX3rfRpmiFKHU7WPAG_p4hW6-Et1Vzw/formResponse?embedded=true" target="hidden_iframe" onsubmit="thankyou()">
<br>
<h2>Thank You for Your Interest!</h2>
<br>
<label for="firstname">First Name</label>
<br>
<input name="entry.2005620554" type="text" id="firstname" placeholder="Enter Here" required>
<br><br>
<label for="emailaddress">Email Address</label>
<br>
<input name="entry.338463717" type="email" id="emailaddress" placeholder="Enter Here" required>
<br><br>
<input class="button" type="submit" value="Submit 👈">
<br><br>
<p>Don't worry. I don't spam my followers with emails or share information with third parties. You can unsubscribe anytime.</p>
</form>
<div id="thankyoumessage">
<p>Thank you for subscribing!</p>
</div>
</div>
</div>
</div>
<br><br>
<h2>
Sign up now!
</h2>
</div>
<div id="pagephoto1">
<img src="https://avatars.githubusercontent.com/u/74151076?v=4" alt="Photo of Nicholas Palomba">
</div>
</section>
<!---------- Additional Action Cards ---------->
<hr>
<section id="pagecards">
<h2 id="pagecardstitle">
LOOKING FOR SOMETHING?
</h2>
<div id="pagecard1">
<a href="./automations.html" target="_blank">
<button class="button">
Projects<br><br>👆
</button>
</a>
</div>
<div id="pagecard2">
<a href="./contribute.html" target="_blank">
<button class="button">
Contribute<br><br>👆
</button>
</a>
</div>
</section>
<!---------- Recent Articles ---------->
<hr>
<section id="pagecontent1">
<h2 id="pageblogtitle">
RECENT ARTICLES
</h2>
<p id="feedblog1" class="feedblog">
Coming Soon!
</p>
<p id="feedblog2" class="feedblog">
Coming Soon!
</div>
<p id="feedblog3" class="feedblog">
Coming Soon!
</p>
</section>
<!---------- Recent Posts ---------->
<hr>
<section id="pagecontent2">
<h2 id="pagefeedtitle">
RECENT POSTS
</h2>
<div id="feedtwitter">
<a class="twitter-timeline" data-tweet-limit="5" data-width="400" data-theme="dark" href="https://twitter.com/Palomban">Tweets by Palomban</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
<br><br>
<a href="https://twitter.com/Palomban" class="twitter-follow-button" data-size="small" data-show-screen-name="false" data-show-count="false">Follow @Palomban</a>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<div id="feedyoutube">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<h3 class="latestvideotitle" vnum='0' cid="UCiSoyHq3jZCPPoPAjHhqb3Q"></h3>
<br>
<div class="videocontainer">
<iframe class="latestvideoembed" vnum='0' cid="UCiSoyHq3jZCPPoPAjHhqb3Q" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<br><br><br>
<h3 class="latestvideotitle" vnum='1' cid="UCiSoyHq3jZCPPoPAjHhqb3Q"></h3>
<br>
<div class="videocontainer">
<iframe class="latestvideoembed" vnum='1' cid="UCiSoyHq3jZCPPoPAjHhqb3Q" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<br><br><br>
<h3 class="latestvideotitle" vnum='2' cid="UCiSoyHq3jZCPPoPAjHhqb3Q"></h3>
<br>
<div class="videocontainer">
<iframe class="latestvideoembed" vnum='2' cid="UCiSoyHq3jZCPPoPAjHhqb3Q" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<script>
var reqURL = "https://api.rss2json.com/v1/api.json?rss_url=" + encodeURIComponent("https://www.youtube.com/feeds/videos.xml?channel_id=");
function loadTitle(p) {
$.getJSON(reqURL + p.getAttribute('cid'),
function(data) {
var videoNumber = (p.getAttribute('vnum') ? Number(p.getAttribute('vnum')) : 0);
console.log(videoNumber);
var title = data.items[videoNumber].title;
p.insertAdjacentText('beforeend', title);
}
);
}
var p = document.getElementsByClassName('latestvideotitle');
for (var i = 0, len = p.length; i < len; i++) {
loadTitle(p[i]);
}
function loadVideo(iframe) {
$.getJSON(reqURL + iframe.getAttribute('cid'),
function(data) {
var videoNumber = (iframe.getAttribute('vnum') ? Number(iframe.getAttribute('vnum')) : 0);
console.log(videoNumber);
var link = data.items[videoNumber].link;
id = link.substr(link.indexOf("=") + 1);
iframe.setAttribute("src", "https://youtube.com/embed/" + id + "?controls=1&autoplay=1&modestbranding=1&rel=0");
}
);
}
var iframes = document.getElementsByClassName('latestvideoembed');
for (var i = 0, len = iframes.length; i < len; i++) {
loadVideo(iframes[i]);
}
</script>
<br><br>
<script src="https://apis.google.com/js/platform.js"></script>
<div class="g-ytsubscribe" data-channelid="UCiSoyHq3jZCPPoPAjHhqb3Q" data-layout="default" data-theme="dark" data-count="hidden"></div>
</div>
</section>
<!---------- Introduction ---------->
<hr>
<section id="pageintro">
<h2 id="pageintrotitle">
MEET NICHOLAS PALOMBA
</h2>
<div id="pagephoto2">
<img src="https://avatars.githubusercontent.com/u/74151076?v=4" alt="Photo of Nicholas Palomba">
</div>
<p id="pageabout">
Nicholas is an American entrepreneur, electrical engineer, and trusted consultant.<br><br>
<a href="./about.html" target="_blank">
<button class="button">
Nicholas' Bio 👈
</button>
</a>
</p>
</section>
</main>
<!---------- Footer ---------->
<footer>
<hr>
<ul id="sociallinks">
<li>
<a href="https://github.com/palomban" target="_blank">
<img class="social" src="./img/logo-github.png" alt="GitHub">
</a>
</li>
<li>
<a href="https://twitter.com/intent/follow?screen_name=Palomban">
<img class="social" src="./img/logo-twitter.png" alt="Twitter">
</a>
</li>
<li>
<a href="https://www.instagram.com/palomban/" target="_blank">
<img class="social" src="./img/logo-instagram.png" alt="Instagram">
</a>
</li>
<li>
<a href="https://www.youtube.com/channel/UCiSoyHq3jZCPPoPAjHhqb3Q?sub_confirmation=1" target="_blank">
<img class="social" src="./img/logo-youtube.png" alt="YouTube">
</a>
</li>
<li>
<a href="https://www.linkedin.com/in/nicholaspalomba/" target="_blank">
<img class="social" src="./img/logo-linkedin.png" alt="LinkedIn">
</a>
</li>
<li>
<a href="https://www.facebook.com/thenicholaspalomba/" target="_blank">
<img class="social" src="./img/logo-facebook.png" alt="Facebook">
</a>
</li>
</ul>
<br>
<h3>The Official Website of Nicholas F. Palomba</h3>
<br><br>
<p>
Found a problem with this page? In GitHub, open an
<a href="https://github.com/palomban/palomban.github.io/issues/new" target="_blank">issue</a>
,
<a href="./contribute.html" target="_blank">contribute</a>
an improvement by
<a href="https://github.com/palomban/palomban.github.io/fork" target="_blank">forking</a>
the repository and submitting a pull request, or
<a href="./about.html" target="_blank">contact me</a>
to let me know!
</p>
<br><br>
<p>
<a id="license" rel="license" href="https://github.com/palomban/palomban.github.io/blob/55f6e7bed113ad73281df18fb7278bdd2d988832/license.txt" target="_blank">
<img src="http://i.creativecommons.org/p/zero/1.0/88x31.png" alt="CC0" />
</a>
<br>
To the extent possible under law and unless indicated otherwise, Nicholas F. Palomba has waived all copyright and related or neighboring rights to this website. Download the code for free from the
<a href="https://github.com/palomban/palomban.github.io" target="_blank">repository</a>.
</p>
</footer>
</body>
</html>