-
-
Het doel van deze website is om handig tools aan te bieden.
-
-
Zoals playground, waar je je eigen website kan bouwen met HTML, CSS en JavaScript
+ Het idee van deze website is om al mijn hobbys op een plek samen te brengen.
-
-
-
-
+ Ik vind het vooral leuk om foto's te maken, maar ook om te programmeren.
diff --git a/minify/css.css b/minify/css.css
index 0008111..0dd2220 100644
--- a/minify/css.css
+++ b/minify/css.css
@@ -1,7 +1,36 @@
+#headsUp {
+ visibility: hidden;
+ transition: height .3s;
+ background-color: #454752;
+ box-shadow: 0 1px 6px 1px hsla(0, 0%, 0%, 0.4);
+ z-index: 3;
+ margin-top: 55px;
+ position: relative;
+}
+.welcome {
+ position: absolute;
+ bottom: 4.5rem;
+ padding-left: 2.5%;
+}
+.removeOptions {
+ width: 100%;
+ position: absolute;
+ bottom: 1rem;
+ padding-left: 2.5%;
+}
+.hideHeadsUp {
+ height: 3rem;
+}
+.removeHeadsUp {
+ cursor: pointer;
+ display: inline-block;
+ margin-left: 1rem;
+ border-bottom: white 3px dotted;
+}
.mainContent {
height: 100vh;
width: 100%;
- padding: 7rem;
+ padding: 3rem;
padding-bottom: 0;
background-color: #222226;
}
diff --git a/minify/index.html b/minify/index.html
index 052fefe..089a138 100644
--- a/minify/index.html
+++ b/minify/index.html
@@ -14,6 +14,19 @@
+
+
+
Welkom bij Minify,
+ Hier kan je je HTML, CSS en JavaScript code kleiner laten maken.
+ Het voordeel hiervan is dat je code sneller werkt.
+ Plak hieronder je code en klik op run om het kleiner te maken.
+
+
+ Begrepen
+
Laat mij dit niet meer zien
+
+
HTML
CSS
diff --git a/minify/js.js b/minify/js.js
index 64980bc..066d1fe 100644
--- a/minify/js.js
+++ b/minify/js.js
@@ -2,8 +2,31 @@ var d = document.getElementById.bind(document);
var g = document.querySelector.bind(document);
function selectCode(source) {
- switch (source){
- case: html
-
+ switch (source) {
+ case html:
+ minifyHTML();
+ break;
+ case css:
+ minifyCSS();
+ break;
+ case js:
+ minifyJS();
+ break;
}
}
+
+function minifyHTML() {
+
+}
+
+if (localStorage.getItem("showHeadsUpMinify") == undefined) {
+ d("headsUp").style.visibility = "visible"
+ d("headsUp").style.height = "13rem"
+}
+function hideHeadsUp() {
+ d("headsUp").style.height = "0"
+}
+function removeHeadsUp() {
+ hideHeadsUp();
+ localStorage.setItem("showHeadsUpMinify", "1")
+}
diff --git a/playground/css.css b/playground/css.css
index a1f8c55..2461c16 100644
--- a/playground/css.css
+++ b/playground/css.css
@@ -1,7 +1,36 @@
+
+#headsUp {
+ visibility: hidden;
+ transition: height .3s;
+ background-color: #454752;
+ box-shadow: 0 1px 6px 1px hsla(0, 0%, 0%, 0.4);
+ z-index: 3;
+ margin-top: 55px;
+ position: relative;
+}
+.welcome {
+ position: absolute;
+ bottom: 4.5rem;
+ padding-left: 2.5%;
+}
+.removeOptions {
+ width: 100%;
+ position: absolute;
+ bottom: 1rem;
+ padding-left: 2.5%;
+}
+.hideHeadsUp {
+ height: 3rem;
+}
+.removeHeadsUp {
+ cursor: pointer;
+ display: inline-block;
+ margin-left: 1rem;
+ border-bottom: white 3px dotted;
+}
.content {
width: 100%;
height: 61.7rem;
- margin-top: 55px;
}
.content div {
float: left;
diff --git a/playground/index.html b/playground/index.html
index 94a4e67..b038056 100644
--- a/playground/index.html
+++ b/playground/index.html
@@ -15,6 +15,18 @@
+
+
+
Welkom bij Playground,
+ Hier kan je experimenteren met HTML, CSS en JavaScript om een website te bouwen.
+ De knop autorun zorgt ervoor de je code automatisch uitgevoert wordt zodra je het typt.
+ Zodra je op run klikt, wordt je code voor je opgeslagen zodat je het niet kwijtraakt.
+
+
+ Begrepen
+
Laat mij dit niet meer zien
+
+
@@ -23,9 +35,9 @@
JS
AUTORUN
RUN
-
-
-
+
+
+
diff --git a/playground/js.js b/playground/js.js
index 5bf8247..fd222e6 100644
--- a/playground/js.js
+++ b/playground/js.js
@@ -62,3 +62,15 @@ function updateCode(source) {
emmet.require('textarea').setup({
use_tab: true // expand abbreviations by Tab key
});
+
+if (localStorage.getItem("showHeadsUpPlayground") == undefined) {
+ d("headsUp").style.visibility = "visible"
+ d("headsUp").style.height = "13rem"
+}
+function hideHeadsUp() {
+ d("headsUp").style.height = "0"
+}
+function removeHeadsUp() {
+ hideHeadsUp();
+ localStorage.setItem("showHeadsUpPlayground", "1")
+}
diff --git a/resources/css/cssall.css b/resources/css/cssall.css
index 59a650b..8733b33 100644
--- a/resources/css/cssall.css
+++ b/resources/css/cssall.css
@@ -10,7 +10,6 @@ html {
}
body {
font-family: 'Raleway', sans-serif!important;
- background-image: url(/resources/img/wallpaper.png);
margin: 0px;
color: white!important;
overflow-x: hidden;
diff --git a/resources/img/leaves.jpg b/resources/img/leaves.jpg
new file mode 100644
index 0000000..b183955
Binary files /dev/null and b/resources/img/leaves.jpg differ
diff --git a/resources/img/moon.png b/resources/img/moon.png
deleted file mode 100644
index 04fb41c..0000000
Binary files a/resources/img/moon.png and /dev/null differ
diff --git a/resources/img/mountain.jpg b/resources/img/mountain.jpg
new file mode 100644
index 0000000..cc2907f
Binary files /dev/null and b/resources/img/mountain.jpg differ
diff --git a/resources/img/nightcity.jpg b/resources/img/nightcity.jpg
new file mode 100644
index 0000000..71e7dd3
Binary files /dev/null and b/resources/img/nightcity.jpg differ
diff --git a/resources/img/roadwoods.jpg b/resources/img/roadwoods.jpg
new file mode 100644
index 0000000..ba756d1
Binary files /dev/null and b/resources/img/roadwoods.jpg differ
diff --git a/resources/img/roadwoodsred.jpg b/resources/img/roadwoodsred.jpg
new file mode 100644
index 0000000..45de532
Binary files /dev/null and b/resources/img/roadwoodsred.jpg differ
diff --git a/resources/img/rocket.png b/resources/img/rocket.png
deleted file mode 100644
index 55e6cbd..0000000
Binary files a/resources/img/rocket.png and /dev/null differ
diff --git a/resources/img/sunset.jpg b/resources/img/sunset.jpg
new file mode 100644
index 0000000..f3134eb
Binary files /dev/null and b/resources/img/sunset.jpg differ
diff --git a/resources/img/wallpaper.png b/resources/img/wallpaper.png
deleted file mode 100644
index aee0d40..0000000
Binary files a/resources/img/wallpaper.png and /dev/null differ
diff --git a/resources/js/insertNavbar.js b/resources/js/insertNavbar.js
index a3dda7e..b471853 100644
--- a/resources/js/insertNavbar.js
+++ b/resources/js/insertNavbar.js
@@ -21,31 +21,31 @@ var hamburger = c("i")
hamburger.className = "fas fa-bars fa-2x"
navigation.prepend(hamburger)
-// Search
-var search = c("input")
-search.className = "searchBar"
-search.placeholder = "Enter a searchterm or url"
-search.type = "text"
-navigation.appendChild(search)
-
-g(".searchBar").addEventListener("keyup",searchEnter)
-function searchEnter(key) {
- if(key.key == "Enter") {
- var search = g(".searchBar").value;
- var containsDot = search.indexOf(".");
- if (search !== "") {
- if (containsDot > -1) {
- open("http://" + search);
- }
- else {
- open("https://www.google.com/search?q=" + search);
- }
- }
- }
- if (key.key == "Escape") {
- closeSearch()
- }
-}
+// // Search
+// var search = c("input")
+// search.className = "searchBar"
+// search.placeholder = "Enter a searchterm or url"
+// search.type = "text"
+// navigation.appendChild(search)
+//
+// g(".searchBar").addEventListener("keyup",searchEnter)
+// function searchEnter(key) {
+// if(key.key == "Enter") {
+// var search = g(".searchBar").value;
+// var containsDot = search.indexOf(".");
+// if (search !== "") {
+// if (containsDot > -1) {
+// open("http://" + search);
+// }
+// else {
+// open("https://www.google.com/search?q=" + search);
+// }
+// }
+// }
+// if (key.key == "Escape") {
+// closeSearch()
+// }
+// }
// Create Navbar
Navbar.forEach(i=>{
diff --git a/resources/js/navbar.json.js b/resources/js/navbar.json.js
index d62d02e..a54d921 100644
--- a/resources/js/navbar.json.js
+++ b/resources/js/navbar.json.js
@@ -14,6 +14,16 @@ Navbar = [
desc: "Feedback for this website",
link: "/feedback"
},
+ {
+ name: "Wireframe",
+ desc: "De wireframe voor deze website",
+ link: "/wireframe"
+ },
+ {
+ name: "Gallerij",
+ desc: "Verzameling van foto's",
+ link: "/gallery"
+ },
{
name: "Tools",
desc: "Tools for programming",