${headeri18n.by} tenkuma
+Volume
+ +${headeri18n.hideBackground}
+ +diff --git a/_data/i18n.js b/_data/i18n.js index a917715..cdd453b 100644 --- a/_data/i18n.js +++ b/_data/i18n.js @@ -46,7 +46,11 @@ module.exports = { eyeofnemesisProjectDesctiption: "Eye of Nemesis is a plugin that allows server admins to write policies that will deny or allow (black/whitelist) players to do specific things based on the value of nodes.", jamfishProjectDesctiption: "Native music player for Android devices that connects to Jellyfin media servers. The code is based on Gelli's archived repository, which is based on an old version of Phonograph.", pestoProjectDesctiption: "Multi-platform customizable client for wikis written in Python using PySide6 (QT).", - itemeconomyProjectDesctiption: "This PaperMC plugin integrates with VaultUnlocked to provide a unique, item-based economy system for your Minecraft server. Instead of relying solely on virtual balances, players use in-game items as physical currency, adding a layer of immersion and realism to your economy." + itemeconomyProjectDesctiption: "This PaperMC plugin integrates with VaultUnlocked to provide a unique, item-based economy system for your Minecraft server. Instead of relying solely on virtual balances, players use in-game items as physical currency, adding a layer of immersion and realism to your economy.", + by: "by", + back: "back", + hideBackground: "Hide background", + options: "Options" }, pt: { home: "início", @@ -80,6 +84,10 @@ module.exports = { eyeofnemesisProjectDesctiption: "Eye of Nemesis é um plugin que permite aos administradores de servidores escrever políticas que negarão ou permitirão (lista negra/branca) que os jogadores façam coisas específicas com base no valor dos nós.", jamfishProjectDesctiption: "Reprodutor de música nativo para dispositivos Android que se conecta a servidores de mídia Jellyfin. O código é baseado no repositório arquivado do Gelli, que por sua vez se baseia em uma versão antiga do Phonograph.", pestoProjectDesctiption: "Cliente personalizável multiplataforma para wikis escrito em Python usando PySide6 (QT).", - itemeconomyProjectDesctiption: "Este plugin PaperMC integra-se ao VaultUnlocked para fornecer um sistema de economia único baseado em itens para o seu servidor Minecraft. Em vez de depender apenas de saldos virtuais, os jogadores usam itens do jogo como moeda física, adicionando uma camada de imersão e realismo à sua economia." + itemeconomyProjectDesctiption: "Este plugin PaperMC integra-se ao VaultUnlocked para fornecer um sistema de economia único baseado em itens para o seu servidor Minecraft. Em vez de depender apenas de saldos virtuais, os jogadores usam itens do jogo como moeda física, adicionando uma camada de imersão e realismo à sua economia.", + by: "por", + back: "voltar", + hideBackground: "Esconder imagem de fundo", + options: "Options" } }; diff --git a/_includes/header.njk b/_includes/header.njk index e38571e..7e8bd37 100644 --- a/_includes/header.njk +++ b/_includes/header.njk @@ -2,9 +2,19 @@

${toggle.getAttribute("data-title")}
` +// This script handles the playback of music in the header's miniplayer ;) +const body = document.querySelector("body"); + +document.getElementById("music").innerHTML = ` +
+
+`
+
+const songs = [
+ { file: "Velkommen.mp3", name: 'Velkommen', artwork: "velkommen.jpg" },
+ { file: "PG2.mp3", name: 'Frugal APE', artwork: "pg.jpg" },
+ { file: "dreamscape.mp3", name: 'Dreamscape', artwork: "winds.png" },
+ { file: "skychat.mp3", name: 'Skychat', artwork: "winds.png" }
+];
+
+// Options page
+const optionsAside = document.createElement("aside");
+optionsAside.classList.add("closed");
+optionsAside.classList.add("metromenu");
+{
+ const back = document.createElement("p");
+ back.textContent = headeri18n.back;
+ back.classList.add("optionsToggle");
+
+ const title = document.createElement("h2");
+ title.textContent = headeri18n.options;
+ optionsAside.appendChild(title);
+ optionsAside.appendChild(back);
+
+ const content = document.createElement("div");
+ content.innerHTML = `
+ ${headeri18n.by} tenkuma
+Volume
+ +${headeri18n.hideBackground}
+ +
${toggle.getAttribute("data-title")}
` +// This script handles the playback of music in the header's miniplayer ;) +const body = document.querySelector("body"); + +document.getElementById("music").innerHTML = ` +
+
+`
+
+const songs = [
+ { file: "Velkommen.mp3", name: 'Velkommen', artwork: "velkommen.jpg" },
+ { file: "PG2.mp3", name: 'Frugal APE', artwork: "pg.jpg" },
+ { file: "dreamscape.mp3", name: 'Dreamscape', artwork: "winds.png" },
+ { file: "skychat.mp3", name: 'Skychat', artwork: "winds.png" }
+];
+
+// Options page
+const optionsAside = document.createElement("aside");
+optionsAside.classList.add("closed");
+optionsAside.classList.add("metromenu");
+{
+ const back = document.createElement("p");
+ back.textContent = headeri18n.back;
+ back.classList.add("optionsToggle");
+
+ const title = document.createElement("h2");
+ title.textContent = headeri18n.options;
+ optionsAside.appendChild(title);
+ optionsAside.appendChild(back);
+
+ const content = document.createElement("div");
+ content.innerHTML = `
+ ${headeri18n.by} tenkuma
+Volume
+ +${headeri18n.hideBackground}
+ +