Big changes to the homepage

add-license-1
Guuq 4 years ago
parent 7b9fb321d1
commit c9f921518d

@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="/resources/css/404.css">
<link rel="stylesheet" href="/resources/css/cssall.css">
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="/resources/css/navbar.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<title>Error</title>
</head>
<body>
<style>
* {
font-family: 'Open Sans';
}
div {
background-color: #33353d;
height: 100%;
padding: 10%;
position: absolute;
top: 0;
width: 100%;
}
p {
margin-top: 1rem!important;
cursor: pointer;
font-size: 15px;
}
h1 {
margin: 0;
text-align: center;
}
</style>
<div>
<h1 style="font-size: 10rem;" align="center">405s.</h1><br>
<h1>That's an error.</h1>
<p onclick="window.history.back();" align="center">Click here to go back</p>
</div>
<script src="/resources/js/navbar.json.js"></script>
<script src="/resources/js/insertNavbar.js"></script>
<script src="/resources/javall.js" charset="utf-8"></script>
</body>
</html>

@ -18,7 +18,7 @@
<div class="main">
<h1>Need more info?</h1>
<div class="form">
<form action="/thank-you" method="post">
<form action="/contact/thank-you/" method="get">
<h3>Name and last name<span>*</span></h3>
<input type="text" class="dataInput input" required name="name" autofocus spellcheck="false">
<h3>E-mail<span>*</span></h3>

@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Thank you</title>
<link rel="stylesheet" href="/resources/css/cssall.css">
<link rel="stylesheet" href="/resources/css/navbar.css">
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<style>
.mainContent {
background-color: #33353d;
height: 100%;
padding-top: 15rem;
position: absolute;
top: 0;
width: 100%;
}
h1, p {
width: 80%;
text-align: center;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="mainContent">
<h1 style="font-size: 5rem;">Thanks for submitting your message</h1><br>
<p onclick="window.open('/', '_self')" style="cursor:pointer;">Click here to go home</p>
</div>
<script src="/resources/js/navbar.json.js"></script>
<script src="/resources/js/insertNavbar.js"></script>
<script src="/resources/js/javall.js"></script>
</body>
</html>

@ -1,85 +1,90 @@
/* Main CSS */
svg {
position: relative;
z-index: -1;
padding-top: 49px;
fill: #454752;
stroke-width: 1;
stroke: #454752;
height: 100vh;
}
.mainContent {
overflow: visible;
float: left;
padding: 6rem 0 0 2rem;
display: inline-block;
width: 50%;
padding-top: 10rem;
width: 100%;
height: 100vh;
}
.mainContent::-webkit-scrollbar {
display: none;
}
/* Splash */
.logo {
width: 8rem;
height: 8rem;
margin-right: 2rem;
}
.name {
margin: 0 auto;
width: 80%;
font-size: 4rem;
white-space: nowrap;
text-align: center;
height: 5rem;
}
.quickButtons {
margin: 0 auto;
width: 50%;
display: flex;
justify-content: center;
}
.keepclicking {
background-color: #3b3c45;
width: 40rem;
height: 12rem;
transition: background-color .4s;
.goButton {
background-color: #33353d;
border: 0;
margin-top: 8rem;
border-radius: .3rem;
color: white;
padding: 1rem;
border-radius: .5rem;
margin-top: 3rem;
border-bottom: #26282f 5px solid;
padding: 2rem;
font-size: 2rem;
}
.keepclicking:hover {
background-color: #33343b;
.goButton:active {
border: 0;
border-top: #26282f 5px solid;
}
.slideUp {
position: absolute;
padding: .7rem;
width: 4rem;
height: 4rem;
border-radius: 50%;
border: 2px solid white;
text-align: center;
left: calc(50% - 2rem);
top: 90vh;
}
.keepclicking:focus {
outline: 0;
.slideUp:hover {
color: white!important;
}
.playground {
border-right: white 4px solid;
width: 20rem;
display: inline-block;
/* .name:hover + #rocket {
animation-name: launchRocket;
animation-duration: 2.5s;
animation-timing-function: ease-in-out;
}
.code {
vertical-align: top;
margin-left: 3.7rem;
margin-top: 10px;
@keyframes launchRocket {
from {top: 100vh}
to {top: -20vh}
}
.minify {
border-left: white 4px solid;
width: 15rem;
margin-left: 3rem;
display: inline-block;
}
.cut {
vertical-align: top;
margin-top: 10px;
#rocket {
position: absolute;
top: 100vh;
z-index: -1;
left: calc(50% - 7rem);
width: 12rem;
height: 14rem;
} */
.aboutPages {
height: 30vh;
float: left;
background-color: #33353d;
width: 100%;
box-shadow: 0 -1px 15px 5px hsla(0, 0%, 0%, 0.8);
}
/* Clock */
#timeBox {
margin-left: 1rem;
padding: 1rem;
font-family: 'Open Sans', sans-serif;
.infoBlockPages {
width: 50%;
border-right: #454752 5px solid;
display: flex;
align-items: center;
height: 100%;
float: left;
}
.time {
display: inline-block;
font-size: 7rem;
margin: 0;
.infoHeadPages {
margin-left: 1rem;
padding-right: 1rem;
border-right: 5px solid white;
}
#date {
font-size: 2rem;
margin: 0;
.infoTextPages {
margin-left: 2rem;
}
/* About */
.about {
@ -89,13 +94,14 @@ svg {
align-items: center;
width: 100%;
float: left;
height: 35vh;
background-color: #33353d;
height: 30vh;
background-color: #454752;
}
.head {
.infoBlockMe {
padding: 1rem;
text-align: center;
display: inline-block;
height: 10rem;
width: 25rem;
border-right: 4px solid white;
}

@ -76,7 +76,7 @@
</ul>
</div>
<p id="copyright">&#169; 2019 Guus van Meerveld</p>
<p class="copyright">&#169; 2019 Guus van Meerveld</p>
</footer>

@ -1 +0,0 @@
sdfsfsdf

@ -13,36 +13,46 @@
<link rel="stylesheet" href="/resources/css/navbar.css">
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div class="box mainContent">
<h1 class="name"><img src="/resources/img/favicon.ico" class="logo" alt="logo">Guus van Meerveld</h1>
<button class="keepclicking" onclick="window.open('/playground', '_self')" title="Test your HTML live at playground!">
<h1 class="playground">Want to test your HTML code?</h1>
<i class="fas fa-code fa-8x code"></i>
</button>
<button class="keepclicking" onclick="window.open('/minify', '_self')" title="Minify your HTML/CSS/JavaScript code!">
<i class="fas fa-cut fa-8x cut"></i>
<h1 class="minify">Need to minify your code?</h1>
</button>
<!-- Main Content -->
<div class="mainContent">
<h1 class="name">Guus van Meerveld</h1>
<div class="quickButtons">
<button class="goButton">Ga naar Playground</button>
<button class="goButton" style="margin-left: 5rem;">Ga naar Minify</button>
</div>
<a class="slideUp" href="#2" id="2"><i class="fas fa-caret-up fa-2x"></i></a>
<!-- <img src="/resources/img/rocket.png" alt="rocket" id="rocket"> -->
</div>
<!-- Triangle -->
<svg>
<polygon points="0,5 0,2000 300,5"/>
</svg>
<!-- About -->
<div class="about">
<h1 class="head">This website is built for those who like to code.</h1>
<h1 class="head">And it is built by those who like to code</h1>
<h1 class="head" style="border:0;">Suggest things you would like to see at <a href="/contact" style="text-decoration:underline!important;">contact</a></h1>
<h1 class="infoBlockMe">Mijn naam is Guus van Meerveld</h1>
<h1 class="infoBlockMe">Ik ben 15 jaar oud en heb deze website gebouwd</h1>
<h1 class="infoBlockMe" style="border:0;">Als je suggesties hebt, ga dan naar <a href="/contact" style="text-decoration:underline!important;">contact</a></h1>
</div>
<!-- Info about the pages on the site -->
<div class="aboutPages">
<div class="infoBlockPages">
<div class="infoHeadPages">
<h2>Het doel van deze website is om handig tools aan te bieden.</h2>
</div>
<div class="infoTextPages">
<h2></h2>
</div>
</div><div class="infoBlockPages">
<div class="infoHeadPages">
<h2>Yeet</h2>
</div>
<div class="infoTextPages">
<h2>Yote</h2>
</div>
</div>
</div>
<!-- Footer -->
@ -75,7 +85,7 @@
</ul>
</div>
<p id="copyright">&#169; 2019 Guus van Meerveld</p>
<p class="copyright">&#169; 2019 Guus van Meerveld</p>
</footer>

12
js.js

@ -0,0 +1,12 @@
$(document).ready(function(){
$(".slideUp").on('click', function(event) {
if (this.hash !== "") {
var hash = this.hash;
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 1000, function(){
window.location.hash = hash;
});
}
});
});

@ -0,0 +1,31 @@
.mainContent {
height: 100vh;
width: 100%;
padding: 7rem;
padding-bottom: 0;
background-color: #222226;
}
#inputCode {
width: 100%;
height: 85%;
}
.langButton {
background-color: rgb(59, 60, 69);
border: 0;
color: white;
float: left;
padding: 1rem 1.5rem;
}
#run {
float: right;
}
@media screen and (min-width:0px) and (max-width:1000px) {
.mainContent {
padding: 2rem;
padding-top: 5rem;
}
.langButton {
padding: .5rem 1rem;
font-size: 15px;
}
}

@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Minify</title>
<link rel="stylesheet" href="/resources/css/cssall.css">
<link rel="stylesheet" href="/minify/css.css">
<link rel="stylesheet" href="/resources/css/navbar.css">
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
</head>
<body>
<div class="mainContent">
<button class="langButton" onclick="selectCode('html')">HTML</button>
<button class="langButton" onclick="selectCode('css')">CSS</button>
<button class="langButton" onclick="selectCode('js')">JS</button>
<button id="run" class="langButton">RUN</button>
<textarea name="" spellcheck="false" class="input" placeholder="Type the code that you want to minify here" id="inputCode" cols="30" rows="10"></textarea>
</div>
<footer>
<!-- Info -->
<div>
<h4>LINKS</h4>
<ul>
<li><a href="https://samtaen.ml">Sam Taen</a></li>
<li><a href="http://jonathanbos.nl">Jonathan Bos</a></li>
</ul>
</div>
<div>
<h4>SOCIAL</h4>
<ul>
<li><a href="https://www.youtube.com/channel/UCYuqpoMay5SezCBrA_HKVWQ?view_as=subscriber">Youtube</a></li>
<li><a href="https://twitter.com/GuusvanMeerveld">Twitter</a></li>
<li><a href="https://www.reddit.com/user/Marho_">Reddit</a></li>
<li><a href="https://instagram.com/gerda.6">Instagram</a></li>
</ul>
</div>
<div>
<h4>TOOLS</h4>
<ul>
<li><a href="https://w3schools.com">W3schools</a></li>
<li><a href="https://stackoverflow.com/">Stack overflow</a></li>
<li><a href="https://cloudflare.com">Cloudflare</a></li>
<li><a href="https://github.com">Github</a></li>
</ul>
</div>
<p class="copyright">&#169; 2019 Guus van Meerveld</p>
</footer>
<script src="/resources/js/navbar.json.js"></script>
<script src="/resources/js/insertNavbar.js"></script>
<script src="/minify/js.js"></script>
<script src="/resources/js/javall.js"></script>
</body>
</html>

@ -0,0 +1,9 @@
var d = document.getElementById.bind(document);
var g = document.querySelector.bind(document);
function selectCode(source) {
switch (source){
case: html
}
}

@ -61,7 +61,7 @@
</ul>
</div>
<p id="copyright">&#169; 2019 Guus van Meerveld</p>
<p class="copyright">&#169; 2019 Guus van Meerveld</p>
</footer>

@ -64,6 +64,9 @@ a {
a:hover {
color: gray!important;
}
button:focus {
outline: 0!important;
}
/* Standard block styling */
.box {
background-color: #454752;
@ -75,7 +78,7 @@ a:hover {
color: white;
outline: 0!important;
border-radius: 0.2rem;
transition: border .3s ease, background-color .3s;
transition: background-color .3s;
}
.button:hover {
background-color: #427a71;
@ -91,7 +94,7 @@ a:hover {
color: white;
outline: 0!important;
border-radius: 0.2rem;
transition: border .3s ease, background-color .3s, border .3s;
transition: background-color .3s, border .3s;
}
.cancelButton:hover {
background-color: #a3281f;
@ -134,7 +137,7 @@ footer ul {
footer li {
margin-top: 1rem;
}
#copyright {
.copyright {
font-size: 15px;
position: absolute;
display: inline-block;
@ -142,7 +145,6 @@ footer li {
bottom: 1rem;
right: 1rem;
white-space: nowrap;
vertical-align: baseline;
}
@media screen and (min-width:0px) and (max-width:1000px) {
footer {

@ -89,11 +89,11 @@
.navList{
padding: 10px 0 10px 1rem!important;
margin: 0!important;
border-top: #454752 2px solid;
border-top: #33353d 2px solid;
}
.navigation li{
display: none;
background-color: #101012;
background-color: #212126;
}
.navigation .fa-bars:hover + ul li, .navigation ul:hover li {
display: block!important;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

@ -1,67 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="/resources/css/cssall.css">
<link rel="stylesheet" href="/resources/css/navbar.css">
<script src="https://kit.fontawesome.com/340f4d917c.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<title>Vuurjongen en Watermeisje</title>
<style>
iframe {
width: 100%;
height: 94.7vh;
border: 0;
margin-top: 55px;
}
</style>
</head>
<body>
<iframe id="game" src="https://html5.gamedistribution.com/3790681b69584409b7f681a8e400102d/" allowfullscreen></iframe>
<!-- Footer -->
<footer>
<!-- Info -->
<div>
<h4>LINKS</h4>
<ul>
<li><a href="https://samtaen.ml">Sam Taen</a></li>
<li><a href="http://jonathanbos.nl">Jonathan Bos</a></li>
</ul>
</div>
<div>
<h4>SOCIAL</h4>
<ul>
<li><a href="https://www.youtube.com/channel/UCYuqpoMay5SezCBrA_HKVWQ?view_as=subscriber">Youtube</a></li>
<li><a href="https://twitter.com/GuusvanMeerveld">Twitter</a></li>
<li><a href="https://www.reddit.com/user/Marho_">Reddit</a></li>
<li><a href="https://instagram.com/gerda.6">Instagram</a></li>
</ul>
</div>
<div>
<h4>TOOLS</h4>
<ul>
<li><a href="https://w3schools.com">W3schools</a></li>
<li><a href="https://stackoverflow.com/">Stack overflow</a></li>
<li><a href="https://cloudflare.com">Cloudflare</a></li>
<li><a href="https://github.com">Github</a></li>
</ul>
</div>
<p id="copyright">&#169; 2019 Guus van Meerveld</p>
</footer>
<script src="/resources/js/navbar.json.js"></script>
<script src="/resources/js/insertNavbar.js"></script>
<script src="/resources/js/javall.js"></script>
<script src="/vuurjongen-en-watermeisje-4/js.js"></script>
</body>
</html>