From e1a30585518c6837806b07d735803cec006d374f Mon Sep 17 00:00:00 2001 From: M&M Date: Sat, 24 Apr 2021 22:15:23 -0700 Subject: [PATCH] [Website] Reword some stuff related to the site --- docs/_config.yml | 2 +- docs/assets/javascript/index.js | 16 ++++++++++++---- docs/index.html | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/docs/_config.yml b/docs/_config.yml index 4d46866f..70184b3e 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -1,5 +1,5 @@ title: Cemu Graphic Packs -description: Official website of the Community Graphic Packs for Cemu, used to upscale and change your Wii U games. +description: Official website of the Community Graphic Packs for Cemu, used to upscale and/or change your favorite Wii U games. url: https://ActualMandM.github.io/cemu_graphic_packs/ repository: ActualMandM/cemu_graphic_packs diff --git a/docs/assets/javascript/index.js b/docs/assets/javascript/index.js index 2cd7e1ad..7b68d941 100644 --- a/docs/assets/javascript/index.js +++ b/docs/assets/javascript/index.js @@ -24,6 +24,7 @@ const altNames = { "tphd": "The Legend of Zelda: Twilight Princess HD", "wwhd": "The Legend of Zelda: The Wind Waker HD", // easter eggs + "zemu": "The Legend of Zelda: Breath of the Wild", "breath of the dicknut": "The Legend of Zelda: Breath of the Wild", "f-zero": "FAST Racing NEO", "m&m": "Sonic", @@ -53,10 +54,17 @@ async function searchSupportedGames(searchString) { let resultsHintSearch = []; if (Object.keys(altNames).includes(searchString.toLowerCase())) searchString = altNames[searchString.toLowerCase()]; - if (searchString.toLowerCase() == "digital foundry") { - document.title = "Home - CEMU Hacks"; - document.getElementsByClassName("display-4")[0].innerText="CEMU Hacks"; - document.getElementsByClassName("lead")[0].innerText = "Get your online CEMU hax here!!"; + switch (searchString.toLowerCase()) { + case "digital foundry": + document.title = "Home - CEMU Hacks"; + document.getElementsByClassName("navbar-brand")[0].innerText="CEMU Hacks"; + document.getElementsByClassName("display-4")[0].innerText="CEMU Hacks"; + document.getElementsByClassName("lead")[0].innerText = "Get your online CEMU hax here!!"; + case "ign": + // IGN based for calling it community built presets & plugins instead of hacks + document.title = "Home - Cemu Plugins"; + document.getElementsByClassName("navbar-brand")[0].innerText="Cemu Plugins"; + document.getElementsByClassName("display-4")[0].innerText="Cemu Plugins"; } if (searchString != "*") resultsHintSearch = supportedGamesSearchSet.get(searchString); else { diff --git a/docs/index.html b/docs/index.html index c12dd970..ee5216a6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,7 +8,7 @@ layout: page

Downloads

Automatic installation instructions (recommended)
-
Use Cemu's built-in graphic packs downloader (a new feature added in Cemu 1.15.1) to automatically retrieve the newest graphic packs from our repository.
+
Use Cemu's built-in graphic packs downloader (a feature added in Cemu 1.15.1) to automatically retrieve the newest graphic packs from our repository.
Manual installation instructions
Remove all of your graphic packs first, then move all of the folders from a downloaded .zip below to the graphicPacks folder from your Cemu folder.

Select the download for your Cemu version