Skip to content

Commit ba60130

Browse files
committed
cleaning it as I go...
1 parent c2462a7 commit ba60130

File tree

6 files changed

+51
-27
lines changed

6 files changed

+51
-27
lines changed

404.html

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,6 @@
44
<meta charset="utf-8">
55
<title>Single Page Apps for GitHub Pages</title>
66
<script type="text/javascript">
7-
// Single Page Apps for GitHub Pages
8-
// https://github.com/rafrex/spa-github-pages
9-
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
10-
// ----------------------------------------------------------------------
11-
// This script takes the current url and converts the path and query
12-
// string into just a query string, and then redirects the browser
13-
// to the new url with only a query string and hash fragment,
14-
// e.g. http://www.foo.tld/one/two?a=b&c=d#qwe, becomes
15-
// http://www.foo.tld/?p=/one/two&q=a=b~and~c=d#qwe
16-
// Note: this 404.html file must be at least 512 bytes for it to work
17-
// with Internet Explorer (it is currently > 512 bytes)
18-
19-
// If you're creating a Project Pages site and NOT using a custom domain,
20-
// then set segmentCount to 1 (enterprise users may need to set it to > 1).
21-
// This way the code will only replace the route part of the path, and not
22-
// the real directory in which the app resides, for example:
23-
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
24-
// https://username.github.io/repo-name/?p=/one/two&q=a=b~and~c=d#qwe
25-
// Otherwise, leave segmentCount as 0.
267
var segmentCount = 0;
278

289
var l = window.location;

build/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<title>Christopher Messer</title>
77
<meta name="description" content="A brief about me page">
88
<link rel="stylesheet" href="https://bootswatch.com/sandstone/bootstrap.min.css">
9+
<link rel="stylesheet" href="main.css">
910
<!-- Start Single Page Apps for GitHub Pages -->
1011
<script type="text/javascript">
1112
// Single Page Apps for GitHub Pages

main.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.video {
2+
max-width: 95%;
3+
min-height: 140px;
4+
border: 2px solid rgb(235, 235, 235);
5+
box-shadow: 3px 1px 1px rgb(205, 205, 205);
6+
transition: 0.2s all;
7+
}
8+
9+
.video:hover {
10+
opacity: 0.8;
11+
cursor: pointer;
12+
}
13+
14+
.route-container {
15+
margin-top: 60px;
16+
padding-left: 5px;
17+
padding-right: 5px;
18+
}
19+
20+
21+
.work-row {
22+
padding-top: 10px;
23+
padding-bottom: 10px;
24+
background-color: rgb(235, 235, 235);
25+
}

src/components/Work.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,20 @@ import s from '../styles/app.style.js'
33

44
export const Work = () => {
55
return (
6-
<div className="row">
7-
<div className="col-xs-10 col-xs-offset-1">
8-
<h3>Featured Project: twitchmine </h3>
9-
<video style={s.gif} autoPlay loop>
6+
<div className="row route-container">
7+
<div className="row work-row">
8+
<div className="col-sm-5 col-sm-offset-1">
9+
<video className="video" autoPlay loop>
1010
<source src="http://i.imgur.com/m1BfwNm.mp4" type="video/mp4" />
1111
</video>
1212
</div>
13+
<div className="col-sm-5">
14+
<h3>twitchmine</h3>
15+
<h5 className="text-muted">featured project: co-creator and front-end designer </h5>
16+
<p style={s.pText}>This is my baby. I didn't use this project solely as a way to learn how to code, I learned how to code to build this site. I put nearly a year into this project from start to finish, from initial thoughts to 1.0 launch.</p>
17+
<p style={s.pText}>One key note is that I worked with a long-time friend and professional developer throughout the duration of this project to make my vision a reality. On top of gaining better fundamentals with React, Redux, and Data Visualization / Design, I learned how to code with someone else and go through code reviews. These were the most valuable lessons learned in the months of developing this.</p>
18+
</div>
19+
</div>
1320
</div>
1421
)
1522
}

src/styles/app.style.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,23 @@ s.img = {
2424
};
2525

2626
s.gif = {
27-
maxWidth: '500px',
28-
border: '3px solid white',
29-
boxShadow: '3px 1px 1px rgb(200, 200, 200)'
27+
maxWidth: '95%',
28+
minHeight: '140px',
29+
border: '1px solid red'
3030
}
3131

3232
s.container = {
3333
textAlign: 'center'
3434
}
3535

36+
s.pText = {
37+
fontSize: '12px'
38+
}
39+
40+
s.routeContainer = {
41+
marginTop: '60px',
42+
paddingLeft: '5px',
43+
paddingRight: '5px'
44+
}
45+
3646
export default s;

0 commit comments

Comments
 (0)