diff --git a/_includes/head-custom-metadata.html b/_includes/head-custom-metadata.html new file mode 100644 index 0000000..6f426e0 --- /dev/null +++ b/_includes/head-custom-metadata.html @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/_includes/head-custom.html b/_includes/head-custom.html index 21e30c2..1db0d10 100644 --- a/_includes/head-custom.html +++ b/_includes/head-custom.html @@ -1,3 +1,4 @@ + {% include head-custom-theme-colors.html %} @@ -5,25 +6,33 @@ {% include head-custom-google-analytics.html %} - + + +{% include head-custom-metadata.html %} +
-
+
- Cyb3rM0nk3ys logo + Cyb3rM0nk3ys logo +

Cyb3rM0nk3ys

-

Cyb3rM0nk3ys is a CTF team based in Verona.

+

Cyb3rM0nk3ys is a ...CTF team...

- + Home + + About us + + + Join us Monkeys - - Join us +
- + \ No newline at end of file diff --git a/_layouts/404.html b/_layouts/404.html index 7bec1b9..2b293e3 100644 --- a/_layouts/404.html +++ b/_layouts/404.html @@ -2,10 +2,7 @@ - - - - + {% include head-custom.html %} {% seo %} @@ -14,7 +11,9 @@
-

404 ~ banana not found

+ +

404 ~ banana not found

+
@@ -27,11 +26,37 @@ // chatGPT make a js function that returns a random GIF function getRandomGif() { const gifFiles = [ - "shocked-monkey1.gif", - "shocked-monkey2.gif", + "shocked-monkey1", + "shocked-monkey2", + "shocked-monkey3", + "angry-monkey", + "type-monkey", ]; - const randomGif = gifFiles[Math.floor(Math.random() * gifFiles.length)]; - document.getElementById("gif").src = `/assets/gifs/${randomGif}`; + const randomIndex = Math.floor(Math.random() * gifFiles.length); + const randomGif = gifFiles[randomIndex]; + const placeholderImage = new Image(); + + // Preload webp image as a placeholder + placeholderImage.src = `assets/images/gifs-first-image/${randomGif.concat(".webp")}`; + placeholderImage.onload = function () { + // Once the webp image is loaded, set it as the placeholder + let existingImage = document.getElementById("gif"); + + existingImage.parentNode.replaceChild(placeholderImage, existingImage); + placeholderImage.id = "gif" + + // Load the actual GIF in the background + const actualGif = new Image(); + actualGif.src = `assets/gifs/${randomGif.concat(".gif")}`; + actualGif.onload = function () { + // Replace the placeholder with the loaded GIF + existingImage = document.getElementById("gif"); + + existingImage.parentNode.replaceChild(actualGif, existingImage); + existingImage.id = "gif" + }; + }; + } window.onload = getRandomGif; diff --git a/_layouts/achievement.html b/_layouts/achievement.html index 336bb0c..c061016 100644 --- a/_layouts/achievement.html +++ b/_layouts/achievement.html @@ -2,10 +2,7 @@ - - - - + {% include head-custom.html %} {% seo %} @@ -14,8 +11,8 @@
- {{ page.date | date: "%-d %B %Y" }} -

{{ page.title }}

+ {{ page.date | date: "%-d %B %Y" }} +

{{ page.title }}


{{content}}
\ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index 93bbcf9..a326254 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,22 +1,20 @@ - - - - - - - {% include head-custom.html %} + -{% seo %} - + - -
-
-
-
- -
+  {% include head-custom.html %}
+
+  {% seo %}
+
+
+
+  
+
+
+
+ +
             ██                                                                    
             ██        ██████████        ████████████        
             ██████████▒▒▒▒▒▒▒▒▒▒████████▒▒▒▒▒▒▒▒▒▒▒▒██  
@@ -67,11 +65,12 @@
                   ░░░░░░██░░▒▒████████████████████████░░▒▒████░░░░░░░░░░░░░░░░    
                     ░░░░░░████░░░░░░░░░░░░░░░░░░░░░░░░████░░░░░░░░░░░░░░░░            
           
-
-
- {{ content }} -
-
-
- - +
+
+ {{ content }} +
+
+
+ + + \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html index fced31d..963ce98 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,10 +2,7 @@ - - - - + {% include head-custom.html %} {% seo %} @@ -14,9 +11,9 @@
- {{ page.date | date: "%-d %B %Y" }} -

{{ page.title }}

-

by {{ page.author | default: site.author }} | Category: {{ page.chall-category }}

+ {{ page.date | date: "%-d %B %Y" }} +

{{ page.title }}

+

by {{ page.author | default: site.author }} | Category: {{ page.chall-category }}


{{content}} diff --git a/assets/gifs/angry-monkey.gif b/assets/gifs/angry-monkey.gif new file mode 100644 index 0000000..89490e2 Binary files /dev/null and b/assets/gifs/angry-monkey.gif differ diff --git a/assets/gifs/shocked-monkey3.gif b/assets/gifs/shocked-monkey3.gif new file mode 100644 index 0000000..950dcb8 Binary files /dev/null and b/assets/gifs/shocked-monkey3.gif differ diff --git a/assets/gifs/type-monkey.gif b/assets/gifs/type-monkey.gif new file mode 100644 index 0000000..dca7f27 Binary files /dev/null and b/assets/gifs/type-monkey.gif differ diff --git a/assets/images/gifs-first-image/angry-monkey.webp b/assets/images/gifs-first-image/angry-monkey.webp new file mode 100644 index 0000000..de13008 Binary files /dev/null and b/assets/images/gifs-first-image/angry-monkey.webp differ diff --git a/assets/images/gifs-first-image/shocked-monkey1.webp b/assets/images/gifs-first-image/shocked-monkey1.webp new file mode 100644 index 0000000..74b2d1b Binary files /dev/null and b/assets/images/gifs-first-image/shocked-monkey1.webp differ diff --git a/assets/images/gifs-first-image/shocked-monkey2.webp b/assets/images/gifs-first-image/shocked-monkey2.webp new file mode 100644 index 0000000..05e31b4 Binary files /dev/null and b/assets/images/gifs-first-image/shocked-monkey2.webp differ diff --git a/assets/images/gifs-first-image/shocked-monkey3.webp b/assets/images/gifs-first-image/shocked-monkey3.webp new file mode 100644 index 0000000..28ed4c8 Binary files /dev/null and b/assets/images/gifs-first-image/shocked-monkey3.webp differ diff --git a/assets/images/gifs-first-image/type-monkey.webp b/assets/images/gifs-first-image/type-monkey.webp new file mode 100644 index 0000000..c1169ea Binary files /dev/null and b/assets/images/gifs-first-image/type-monkey.webp differ diff --git a/assets/images/team-logo-optimized.webp b/assets/images/team-logo-optimized.webp new file mode 100644 index 0000000..44b27f6 Binary files /dev/null and b/assets/images/team-logo-optimized.webp differ diff --git a/assets/images/team-logo.png b/assets/images/team-logo.png new file mode 100644 index 0000000..e40e336 Binary files /dev/null and b/assets/images/team-logo.png differ