-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharcadecabinet.html
289 lines (254 loc) · 10.1 KB
/
arcadecabinet.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
285
286
287
288
289
<!DOCTYPE html>
<html lang="en">
<head>
<title>Trey Sturman Webpage</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Righteous">
<link rel=" stylesheet" href = "https://fonts.googleapis.com/css?family=Play">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
* {
box-sizing: border-box;
}
/* Position the image container (needed to position the left and right arrows) */
.container {
position: relative;
}
/* Hide the images by default */
.mySlides {
display: none;
}
/* Add a pointer when hovering over the thumbnail images */
.cursor {
cursor: pointer;
}
/* Next & previous buttons */
.prev,
.next {
cursor: pointer;
position: absolute;
top: 40%;
width: auto;
padding: 16px;
margin-top: -50px;
color: white;
font-weight: bold;
font-size: 20px;
border-radius: 0 3px 3px 0;
user-select: none;
-webkit-user-select: none;
}
/* Position the "next button" to the right */
.next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
background-color: rgba(0, 0, 0, 0.8);
}
/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
/* Container for image text */
.caption-container {
text-align: center;
background-color: #222;
padding: 2px 16px;
color: white;
}
.row:after {
content: "";
display: table;
clear: both;
}
/* Six columns side by side */
.column {
float: left;
width: 16.66%;
}
/* Add a transparency effect for thumnbail images */
.demo {
opacity: 0.6;
}
.active,
.demo:hover {
opacity: 1;
}
body,h1,h2,h3,h4,h5,h6 {font-family: "Righteous", sans-serif}
.w3-bar,h1,button {font-family: "Play", sans-serif}
.fa-anchor,.fa-coffee {font-size:200px}
</style>
</head>
<body class>
<!-- Navbar -->
<div class="w3-top">
<div class="w3-bar w3-brown w3-card w3-left-align w3-large">
<a class="w3-bar-item w3-button w3-hide-medium w3-hide-large w3-right w3-padding-large w3-hover-white w3-large w3-brown" href="javascript:void(0);" onclick="myFunction()" title="Toggle Navigation Menu"><i class="fa fa-bars"></i></a>
<a href="index.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Home</a>
<a href="backmullet.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">About Me</a>
<a href="main.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Experience</a>
<a href="stuff.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Projects</a>
<a href="https://github.com/Twofishsticks" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">GitHub</a>
<a href="OnePage Resume.pdf" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Resume</a>
<!--<a href="#" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Link 2</a>
<a href="#" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Link 3</a>
<a href="#" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white">Link 4</a> -->
</div>
<!-- Navbar on small screens -->
<div id="navBar" class="w3-bar-block w3-white w3-hide w3-hide-large w3-hide-medium w3-large">
<a href="index.html" class="w3-bar-item w3-button w3-padding-large">Home</a>
<a href="backmullet.html" class="w3-bar-item w3-button w3-padding-large">About Me</a>
<a href="main.html" class="w3-bar-item w3-button w3-padding-large">Experience</a>
<a href="stuff.html" class="w3-bar-item w3-button w3-padding-large">Projects</a>
<a href="https://github.com/Twofishsticks" class= "w3-bar-item w3-button w3-padding-large">GitHub</a>
<a href="OnePage Resume.pdf" class="w3-bar-item w3-button w3-padding-large">Resume</a>
<!--<a href="#" class="w3-bar-item w3-button w3-padding-large">Link 2</a>
<a href="#" class="w3-bar-item w3-button w3-padding-large">Link 3</a>
<a href="#" class="w3-bar-item w3-button w3-padding-large">Link 4</a> -->
</div>
</div>
<!-- Header -->
<header class="w3-container w3-brown w3-center" style="padding:128px 16px">
<h1 class="w3-margin w3-jumbo">The Arcade Cabinet</h1>
<p class="w3-xlarge">This Page is a Work in Progress. Coincidentally, so is the name of the machine. </p>
<p class = "w3-xlarge"> Expect a full rundown of how it works in the future.</p>
</header>
<!-- First Grid -->
<div class="w3-row-padding w3-padding-64 w3-container">
<div class="w3-content">
<div class="w3-twothird">
<h1>The Work in Progress</h1>
<h5 class="w3-padding-32">Arcade Cabinet</h5>
<p class = "w3-text-grey">I've been working on making a bartop arcade cabinet using Retropie for the past few weeks. Currently, I've set up the raspberry pi with the Retropie image and hooked up two sets of buttons/joysticks, all that's let is to cut out some plywood and put it all together! I'm loosely basing the woodwork off of The Wood Wisperer's plans (<a href = "https://thewoodwhisperer.com/videos/bartop-arcade-raspberry-pi/">https://thewoodwhisperer.com/videos/bartop-arcade-raspberry-pi/</a>), and I absolutely love how in depth (and free!) the plans go!</p>
<p class = "w3-text-grey">The machine is now FINISHED! I'm waiting on a usb hub to arrive so that I don't have to install another usb port on the pi for the other encoder, but other than that it's complete!</p>
</div>
<div class="w3-third w3-center">
<!-- Container for the image gallery -->
<div class="container">
<!-- Full-width images with number text -->
<div class="mySlides">
<div class="numbertext">1 / 6</div>
<img src="images/ArcadePhoto1.jpg" style="width:100%">
</div>
<div class="mySlides">
<div class="numbertext">2 / 6</div>
<img src="images/ArcadePhoto2.jpg" style="width:100%">
</div>
<div class="mySlides">
<div class="numbertext">3 / 6</div>
<img src="images/ArcadePhoto3.jpg" style="width:100%">
</div>
<div class="mySlides">
<div class="numbertext">4 / 6</div>
<img src="images/ArcadePhoto4.jpg" style="width:100%">
</div>
<div class="mySlides">
<div class="numbertext">5 / 6</div>
<img src="images/ArcadePhoto5.jpg" style="width:100%">
</div>
<div class="mySlides">
<div class="numbertext">6 / 6</div>
<img src="images/ArcadePhoto6.jpg" style="width:100%">
</div>
<!-- Image text -->
<div class="caption-container">
<p id="caption"></p>
</div>
<!-- Thumbnail images -->
<div class="row">
<div class="column">
<img class="demo cursor" src="images/ArcadePhoto1.jpg" style="width:100%" onclick="currentSlide(1)" alt="Gluing the Wood Together">
</div>
<div class="column">
<img class="demo cursor" src="images/ArcadePhoto2.jpg" style="width:100%" onclick="currentSlide(2)" alt="Added Spraypaint">
</div>
<div class="column">
<img class="demo cursor" src="images/ArcadePhoto3.jpg" style="width:100%" onclick="currentSlide(3)" alt="Added Spraypaint 2">
</div>
<div class="column">
<img class="demo cursor" src="images/ArcadePhoto4.jpg" style="width:100%" onclick="currentSlide(4)" alt="Added Back Panel Hinge">
</div>
<div class="column">
<img class="demo cursor" src="images/ArcadePhoto5.jpg" style="width:100%" onclick="currentSlide(5)" alt="Added Buttons/Joysticks">
</div>
<div class="column">
<img class="demo cursor" src="images/ArcadePhoto6.jpg" style="width:100%" onclick="currentSlide(6)" alt="Finished!">
</div>
</div>
</div>
</div>
</div>
</div>
<!--Black line at bottom-->
<div class="w3-container w3-black w3-center w3-opacity w3-padding-64">
<h1 class="w3-margin w3-xlarge">Check me out on my socials!</h1>
</div>
<!-- Footer -->
<!-- possible place to put all links to socials and stuff-->
<footer class="w3-container w3-padding-64 w3-center w3-opacity">
<div class="w3-xlarge w3-padding-32"> <!--socials go in here-->
<!---->
<a href="https://github.com/Twofishsticks">
<i class="fa fa-github w3-hover-opacity"></i></a>
<a href="https://youtu.be/dQw4w9WgXcQ">
<i class="fa fa-youtube-square w3-hover-opacity"></i></a>
<a href = "https://www.linkedin.com/in/trey-sturman/"> <i class="fa fa-linkedin w3-hover-opacity"></i></a>
<!--
<i class="fa fa-instagram w3-hover-opacity"></i>
<i class="fa fa-snapchat w3-hover-opacity"></i>
<i class="fa fa-pinterest-p w3-hover-opacity"></i>
<i class="fa fa-twitter w3-hover-opacity"></i>
<i class="fa fa-linkedin w3-hover-opacity"></i>
-->
<!-- make a 2fishsticks img in here, link to personal stash of random junk -->
</div>
</footer>
<script>
let slideIndex = 1;
showSlides(slideIndex);
// Next/previous controls
function plusSlides(n) {
showSlides(slideIndex += n);
}
// Thumbnail image controls
function currentSlide(n) {
showSlides(slideIndex = n);
}
function showSlides(n) {
let i;
let slides = document.getElementsByClassName("mySlides");
let dots = document.getElementsByClassName("demo");
let captionText = document.getElementById("caption");
if (n > slides.length) {slideIndex = 1}
if (n < 1) {slideIndex = slides.length}
for (i = 0; i < slides.length; i++) {
slides[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" active", "");
}
slides[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " active";
captionText.innerHTML = dots[slideIndex-1].alt;
}
// Used to toggle the menu on thin screens like a phone when clicking on the menu button
function myFunction() {
var x = document.getElementById("navBar");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>
</body>
</html>