diff --git a/site/_includes/header.html b/site/_includes/header.html
index 6bc2f98..7ee9892 100644
--- a/site/_includes/header.html
+++ b/site/_includes/header.html
@@ -12,7 +12,7 @@
Learn
- Basic commands
- - Intermediate commands
+ - Intermediate commands
- Advanced commands
- Filesystem
- Scripting
diff --git a/site/_layouts/home.html b/site/_layouts/home.html
index d516e08..1d5c162 100644
--- a/site/_layouts/home.html
+++ b/site/_layouts/home.html
@@ -16,7 +16,7 @@
Learn
- Basic commands
- - Intermediate commands
+ - Intermediate commands
- Advanced commands
- Filesystem
- Scripting
@@ -82,13 +82,20 @@ function write(position){
document.getElementById("title-home").innerHTML = shell;
}
-var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
+var homeVideo = document.getElementById('videoHome');
-if (isChrome) {
- document.getElementById('foolChrome').remove();
+function changeVideo(path) {
+ homeVideo.src = path;
+ homeVideo.muted = false;
+ homeVideo.load();
+}
- var homeVideo = document.getElementById('videoHome');
- homeVideo.play();
+function villain() {
+ changeVideo("{{ site.baseurl }}/assets/front/villain_video.mp4");
+}
+
+function hero() {
+ changeVideo("{{ site.baseurl }}/assets/front/hero_video.mp4");
}
diff --git a/site/_layouts/main.html b/site/_layouts/main.html
index d06b7de..4ec50b3 100644
--- a/site/_layouts/main.html
+++ b/site/_layouts/main.html
@@ -85,7 +85,7 @@ document.addEventListener("keypress", function(event) {
location.href = "{{ site.baseurl }}/pages/topic/cmd/basic.html";
break;
case "2":
- location.href = "{{ site.baseurl }}/pages/topic/cmd/interm.html";
+ location.href = "{{ site.baseurl }}/pages/topic/cmd/intermediate.html";
break;
case "3":
location.href = "{{ site.baseurl }}/pages/topic/cmd/advanced.html";
diff --git a/site/assets/style/prew.mp4 b/site/assets/style/prew.mp4
deleted file mode 100644
index 24ec60a..0000000
Binary files a/site/assets/style/prew.mp4 and /dev/null differ
diff --git a/site/assets/style/silence.mp3 b/site/assets/style/silence.mp3
deleted file mode 100644
index e3926c7..0000000
Binary files a/site/assets/style/silence.mp3 and /dev/null differ
diff --git a/site/assets/style/theshell.ch.svg b/site/assets/style/theshell.ch.svg
deleted file mode 100644
index 6050d73..0000000
--- a/site/assets/style/theshell.ch.svg
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
\ No newline at end of file
diff --git a/site/assets/style/theshell.png b/site/assets/style/theshell.png
deleted file mode 100644
index df1e046..0000000
Binary files a/site/assets/style/theshell.png and /dev/null differ
diff --git a/site/index.html b/site/index.html
index 25d4b2f..8a2116b 100644
--- a/site/index.html
+++ b/site/index.html
@@ -5,10 +5,7 @@ author: A bunch of people
title: Home page
---
-
-
-
-