Guuq 5 years ago
commit 4b2e7a476d

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -12,31 +13,32 @@
<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.4.1/jquery.min.js"></script>
<title>Contact</title> <title>Contact</title>
</head> </head>
<body>
<body>
<section id="main"> <section id="main">
<h1>Contact opnemen?</h1> <h1>Contact opnemen?</h1>
<i class="fas fa-address-card fa-10x"></i>
</section> </section>
<section id="info"> <section id="info">
<h2>Neem contact met mij op</h2> <h2>Neem contact met mij op</h2>
<ul> <ul>
<li><h4>TELEFOON</h4></li> <li>
<h4>TELEFOON</h4></li>
<li>+06 123 456 78</li> <li>+06 123 456 78</li>
</ul> </ul>
<ul> <ul>
<li><h4>EMAIL</h4></li> <li>
<h4>EMAIL</h4></li>
<li>example@email.com</li> <li>example@email.com</li>
</ul> </ul>
<ul> <ul>
<li><h4>LOCATIE</h4></li> <li>
<h4>LOCATIE</h4></li>
<li>Niemandsland</li> <li>Niemandsland</li>
</ul> </ul>
</section> </section>
<script src="/resources/js/navbar.json.js"></script> <script src="/resources/js/navbar.json.js"></script>
<script src="/resources/js/insertNavbar.js"></script> <script src="/resources/js/insertNavbar.js"></script>
<script src="/resources/js/javall.js"></script> <script src="/resources/js/javall.js"></script>
</body> </body>
</html> </html>

@ -1,3 +1,4 @@
<<<<<<< HEAD
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
@ -140,3 +141,6 @@
</body> </body>
</html> </html>
=======
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="description" content="Website gemaakt door Guus van Meerveld"><meta name="author" content="Guus van Meerveld"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>Home</title><link rel="stylesheet" href="/resources/css/shortcuts.css"><link rel="stylesheet" href="/css.css"><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></head><body><section class="box"><div id="timeBox"><p id="hours" class="time">uren</p><p id="mins" class="time">:minuten</p><p id="secs" class="time">:seconden</p><br><p id="date">datum</p></div><br><span class="shortcuts" id="shortcuts"><button onclick="window.open('https://www.youtube.com/')"><img src="/resources/img/youtube.png" alt="">Youtube</button><button onclick="window.open('https://pantarijn.magister.net')"><img src="/resources/img/magister.png" alt="">Magister</button><button onclick="window.open('https://onedrive.live.com/about/en-us/signin/')"><img src="/resources/img/onedrive.png" alt="">Onedrive</button><button onclick="window.open('https://codepanta.nl/login/index.php')"><img src="/resources/img/codepanta.png" alt="">Codepanta</button><button onclick="window.open('https://reddit.com')"><img src="/resources/img/reddit.png" alt="">Reddit</button><button onclick="window.open('https://open.spotify.com/browse/featured')"><img src="/resources/img/spotify.png" alt="">Spotify</button><button onclick="window.open('https://w3schools.com')"><img src="/resources/img/w3schools.png" alt="">W3Schools</button><button onclick="window.open('https://maps.google.com')"><img src="/resources/img/googlemaps.png" alt="">Maps</button><button onclick="window.open('https://translate.google.com')"><img src="/resources/img/googletranslate.png" alt="">Translate</button></span><span class="shortcuts"><button onclick="openMenu()" title="Voeg je eigen shortcut toe"><img src="/resources/img/cross.png" alt="">Voeg toe</button></span></section><svg><polygon points="0,5 0,2000 300,5"/></svg><div id="feedbackContent"><div id="feedbackOne" class="feedback"><div class="user"><img src="/resources/img/user.png" alt="" class="userImg"><h3>Peer Droog</h3> </div><h2 class="userFeedback">"Een goede en overzichtelijk website met een handige klok, wel mist er de mogelijkheid om je eigen plaatjes toe te voegen aan de shortcuts."</h2></div><div class="feedback"><div class="user"><img src="/resources/img/user.png" alt="" class="userImg"><h3>User</h3></div><h2 class="userFeedback">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam a risus eu ex sagittis interdum ac ac odio. Proin eleifend turpis a aliquam.</h2></div></div><footer><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></ul></div><p id="copyright">&#169; 2019 Guus van Meerveld</p></footer><div id="addShortcutMenu" class="box menu hidden lowerIndex"><h1 id='menuTitle'>Maak je eigen shortcut</h1><h4>Bedenk een naam voor je shortcut</h4><br><input type='text' class='input inputMenu' id='shortcutName'><br><h4>Geef de link van je shortcut</h4><br><input type='text' class='input inputMenu' id='shortcutLink'><button class='button' onclick="createShortcut()" id='shortcutCreateButton'>Voeg toe</button><button class="cancelButton" onclick="closeMenu()" id="shortcutCancelButton">Cancel</button></div><script src="/resources/js/navbar.json.js"></script><script src="/resources/js/insertNavbar.js"></script><script src="/js.js"></script><script src="/resources/js/shortcuts.js"></script><script src="/resources/js/javall.js"></script></body></html>
>>>>>>> f3747cf0f10d544e2a27606d8adddc3b21a8992a

@ -44,6 +44,7 @@
#htmlOutput { #htmlOutput {
background-color: white; background-color: white;
height: 100%; height: 100%;
border: 0;
width: 50%; width: 50%;
} }
@media screen and (min-width:0px) and (max-width:1079px) { @media screen and (min-width:0px) and (max-width:1079px) {

@ -1,40 +1 @@
<!DOCTYPE html> <!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>Playground</title> <link rel="stylesheet" href="/resources/css/cssall.css"> <link rel="stylesheet" href="/resources/css/navbar.css"> <link rel="stylesheet" href="/playground/css.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <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"></head><body> <div id="content"> <div id="codeContent"> <div> <button onclick="showCode('html')" class="langButton" id="htmlButton">HTML</button> <button onclick="showCode('css')" class="langButton" id="cssButton">CSS</button> <button onclick="showCode()" class="langButton" id="jsButton">JS</button> <button class="options" id="autoRun" onclick="autoRun()">AUTORUN</button> <button onclick="updateCode('run')" class="options">RUN</button> <textarea class="input langInput" id="htmlInput" onkeyup="updateCode('autoRun')" spellcheck="false"></textarea> <textarea class="input langInput" id="cssInput" onkeyup="updateCode('autoRun')" spellcheck="false"></textarea> <textarea class="input langInput" id="jsInput" onkeyup="updateCode('autoRun')" spellcheck="false"></textarea> </div></div><iframe id="htmlOutput"></iframe> </div><script src="/playground/emmet.min.js"></script> <script src="/resources/js/navbar.json.js"></script> <script src="/resources/js/insertNavbar.js"></script> <script src="/resources/js/javall.js"></script> <script src="/playground/js.js"></script></body></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>Playground</title>
<link rel="stylesheet" href="/resources/css/cssall.css">
<link rel="stylesheet" href="/resources/css/navbar.css">
<link rel="stylesheet" href="/playground/css.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<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">
</head>
<body>
<div id="content">
<div id="codeContent">
<div>
<button onclick="showCode('html')" class="langButton" id="htmlButton">HTML</button>
<button onclick="showCode('css')" class="langButton" id="cssButton">CSS</button>
<button onclick="showCode()" class="langButton" id="jsButton">JS</button>
<button class="options" id="autoRun" onclick="autoRun()">AUTORUN</button>
<button onclick="updateCode('run')" class="options">RUN</button>
<textarea class="input langInput" id="htmlInput" onkeyup="updateCode('autoRun')" spellcheck="false"></textarea>
<textarea class="input langInput" id="cssInput" onkeyup="updateCode('autoRun')" spellcheck="false"></textarea>
<textarea class="input langInput" id="jsInput" onkeyup="updateCode('autoRun')" spellcheck="false"></textarea>
</div>
</div>
<iframe id="htmlOutput"></iframe>
</div>
<script src="/playground/emmet.min.js"></script>
<script src="/resources/js/navbar.json.js"></script>
<script src="/resources/js/insertNavbar.js"></script>
<script src="/resources/js/javall.js"></script>
<script src="/playground/js.js"></script>
</body>
</html>

@ -20,27 +20,24 @@ body {
} }
/* Search */ /* Search */
.searchBar { .searchBar {
background-color: #ededed; background-color: #2d2d33;
border: #ededed 2px solid; border: #2d2d33 2px solid;
position: fixed; position: absolute;
color: white;
font-family: 'Open Sans', sans-serif; font-family: 'Open Sans', sans-serif;
z-index: 2; z-index: 2;
top: 6rem; right: 2rem;
left: calc(50% - 48%); top: 8px;
padding: 1rem; padding: 1rem;
width: 96%; width: 20rem;
height: 3rem; height: 39px;
border-radius: 2rem; border-radius: .5rem;
outline: none; outline: none;
transition: border .4s, opacity .3s, top .3s; transition: border .4s;
} }
.searchBar:hover, .searchBar:focus { .searchBar:hover, .searchBar:focus {
border: #4c8a80 2px solid; border: #4c8a80 2px solid;
} }
.searchMove {
opacity: 0;
top: 0px!important;
}
/* Scrollbar */ /* Scrollbar */
::-webkit-scrollbar { ::-webkit-scrollbar {
background-color: #1d1e1e; background-color: #1d1e1e;

@ -22,10 +22,10 @@ navigation.prepend(hamburger)
// Search // Search
var search = c("input") var search = c("input")
search.className = "searchMove searchBar" search.className = "searchBar"
search.placeholder = "Vul een zoek opdracht of url in" search.placeholder = "Vul een zoek opdracht of url in"
search.type = "text" search.type = "text"
document.body.prepend(search) navigation.appendChild(search)
g(".searchBar").addEventListener("keyup",searchEnter) g(".searchBar").addEventListener("keyup",searchEnter)
function searchEnter(key) { function searchEnter(key) {
@ -46,28 +46,6 @@ function searchEnter(key) {
} }
} }
function showSearch() {
var open = !g(".searchBar").classList.contains("searchMove")
if (open) {
closeSearch();
}
else {
openSearch();
}
}
function closeSearch() {
$(".opacityMenu").addClass("lowerIndex")
g(".searchBar").blur()
g(".searchBar").classList.add("searchMove")
}
function openSearch(e) {
$(".opacityMenu").removeClass("lowerIndex")
g(".searchBar").classList.remove("searchMove")
g(".searchBar").focus()
}
// Create Navbar // Create Navbar
Navbar.forEach(i=>{ Navbar.forEach(i=>{
var navList = c("li") var navList = c("li")
@ -84,9 +62,6 @@ Navbar.forEach(i=>{
if (i.desc) { if (i.desc) {
navButton.title = i.desc navButton.title = i.desc
} }
if (i.func) {
navButton.setAttribute('onclick',i.func)
}
navList.appendChild(navButton) navList.appendChild(navButton)
var dropdownList = c("ul") var dropdownList = c("ul")
dropdownList.className = "dropdownList" dropdownList.className = "dropdownList"

@ -5,12 +5,6 @@ Navbar = [
link: "/", link: "/",
icon: "fas fa-home" icon: "fas fa-home"
}, },
{
name: "Search",
desc: "Zoek iets op",
icon: "fas fa-search",
func: "showSearch()"
},
{ {
name: "Playground", name: "Playground",
desc: "Test je html live!", desc: "Test je html live!",

@ -1,31 +1 @@
<!DOCTYPE html> <!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> <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>
<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>
<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>