Skip to content

Commit

Permalink
Merge branch 'client-side'
Browse files Browse the repository at this point in the history
  • Loading branch information
villermen committed Nov 27, 2018
2 parents a33e354 + 024e2b4 commit 98f016f
Show file tree
Hide file tree
Showing 96 changed files with 8,736 additions and 803 deletions.
10 changes: 10 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-typescript",
"@babel/preset-react"
],
"plugins": [
"@babel/plugin-syntax-dynamic-import"
]
}
2 changes: 2 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
> 0.5%
not dead
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[*]
end_of_file = lf
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
indent_size = 4
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/.idea/
/vendor/
/node_modules/
/dist/*
!/dist/.htaccess
8 changes: 8 additions & 0 deletions assets.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// To make TypeScript understand that certain files can be imported
declare module '*.svg'
declare module '*.png'
declare module '*.jpg'
declare module '*.exe'
declare module '*.8xp'
declare module '*.8xg'
declare module '*.gmk'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions assets/icons/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Brand icons by Dan Leech, https://simpleicons.org/

Others by Freepik, https://www.freepik.com/
1 change: 1 addition & 0 deletions assets/icons/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/gmail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/home.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/steam.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/youtube.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
15 changes: 15 additions & 0 deletions assets/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1" />
<title>Villermen's homepage</title>
<style>body { background-color: black; }</style>
</head>
<body>
<div class="react-root">
It seems like you are either a robot or horribly out of fashion.
Get with the program or get out respectively.
</div>
</body>
</html>
76 changes: 62 additions & 14 deletions public/styles/default.css → assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,40 @@ html, body {
padding: 0;
box-sizing: border-box;
}

body {
background-color: black;
color: #00c800;
font-family: "Roboto", sans-serif;
padding: 0.8rem 0.8rem 0 0.8rem;
}

a img {
border-width: 0;
}

a {
color: #8CD28C;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

h1, h2 , h3, h4, h5, h6 {
text-align: center;
margin: 0 0 1rem 0;
}

h3, h4, h5, h6 {
font-weight: normal;
}

p {
margin: 0 0 1rem 0;
}

section, .section {
text-align: left;
margin-bottom: 1rem;
Expand All @@ -42,69 +50,94 @@ section, .section {
position: relative;
min-width: 315px;
}

main {
display: block;
}

footer, footer.section {
text-align: right;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }

@keyframes spin {
100% {
transform: rotate(360deg);
}
}

@-webkit-keyframes spin {
100% {
-webkit-transform: rotate(360deg);
}
}

@-moz-keyframes spin {
100% {
-moz-transform: rotate(360deg);
}
}

.background {
position: fixed;
z-index: -1;

top: 50%;
left: 50%;
width: 2000px;
height: 2000px;
margin-top: -1000px;
margin-left: -1000px;

background: url("../images/background.png") no-repeat center center;
background: url('./images/background.png') no-repeat center center;
background-size: 100% 100%;

animation: spin 100s linear infinite;
-webkit-animation: spin 100s linear infinite;
-moz-animation: spin 100s linear infinite;
}

.avatar {
float: left;
margin: 0 1rem 1rem 0;
width: 5rem;
height: 5rem;
}

.contact {
vertical-align: middle;
}

.contactlinks {
margin-top: 1rem;
text-align: center;
}

.contactlink {
display: inline-block;
width: 2rem;
height: 2rem;
margin: 0 0.4rem;
}

.contactlink path, .contactlink rect, .contactlink circle {
fill: #00c800;
}

.home-button {
display: block;
float: left;
width: 2rem;
height: 2rem;
margin-top: -0.4rem;
}
.home-button img {

.home-icon {
width: 2rem;
height: 2rem;
fill: #00c800;
}
.project-buttons {

.project-button-container {
margin: 0 auto;
}

.project-button {
display: block;
float: left;
Expand All @@ -113,57 +146,72 @@ footer, footer.section {
width: 145px;
height: 95px;
}
.project-button.horizontal {

.project-button--horizontal {
width: 300px;
height: 95px;
}
.project-button.vertical {

.project-button--vertical {
width: 145px;
height: 200px;
}
.project-button.large {

.project-button--large {
width: 300px;
height: 200px;
}

.project-image {
border-radius: 2px;
width: 100%;
height: 100%;
}
.project-button:hover {

.project-button:hover {
filter: brightness(1.3);
-webkit-filter: brightness(1.3);
}
.clock{

.clock {
text-align: center;
margin-bottom: 1rem;
}

.clock__digit {
font-size: 3rem;
display: inline-block;
width: 4rem;
}

.clock__date {
margin-bottom: 1rem;
}

.clock__timestamp {
color: #007900;
}

.clock__timestamp:before {
content: "(";
}

.clock__timestamp:after {
content: ")";
}

.ip {
text-align: center;
}

.info-section {
margin-bottom: 1rem;
}

.clear {
clear: both;
}

.center {
text-align: center;
}
28 changes: 0 additions & 28 deletions composer.json

This file was deleted.

Loading

0 comments on commit 98f016f

Please sign in to comment.