Skip to content

Commit

Permalink
Deploying to gh-pages from @ a2d0b1b 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
lifehackerhansol committed Jan 16, 2024
1 parent 9ac8173 commit 01c3764
Show file tree
Hide file tree
Showing 104 changed files with 15,202 additions and 1,714 deletions.
25 changes: 7 additions & 18 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE
-->

<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
Expand Down Expand Up @@ -68,8 +67,6 @@



<link href="/feed.xml" type="application/atom+xml" rel="alternate" title="Wii Hacks Guide Feed">


<!-- https://t.co/dKP3o1e -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand All @@ -87,7 +84,7 @@

<!-- start custom head snippets -->

<!-- insert favicons. use http://realfavicongenerator.net/ -->
<!-- insert favicons. use https://realfavicongenerator.net/ -->

<!-- hacks-guide change start: cookie consent, favicon, locales -->

Expand All @@ -96,7 +93,7 @@
<link rel="icon" type="image/png" href="/images/site-config/favicon-32x32.png?v=PYEmwKvQAx" sizes="32x32">
<link rel="icon" type="image/png" href="/images/site-config/favicon-194x194.png?v=PYEmwKvQAx" sizes="194x194">
<link rel="icon" type="image/png" href="/images/site-config/android-chrome-192x192.png?v=PYEmwKvQAx" sizes="192x192">
<link rel="manifest" href="/assets/js/manifest.json?v=PYEmwKvQAx">
<link rel="manifest" href="/images/site-config/manifest.json?v=PYEmwKvQAx">
<link rel="mask-icon" href="/images/site-config/safari-pinned-tab.svg?v=PYEmwKvQAx" color="#2E3440">
<link rel="shortcut icon" href="/images/site-config/favicon.ico?v=PYEmwKvQAx">
<meta name="apple-mobile-web-app-title" content="Guide">
Expand All @@ -118,7 +115,7 @@
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#28282b"
"background": "#2e3440"
},
"button": {
"background": "#60818f"
Expand Down Expand Up @@ -204,7 +201,7 @@
<li class="masthead__menu-item"><a href="https://wii.hacks.guide/it_IT/404.html">Italiano</a></li>
</ul>
<button class="greedy-nav__toggle hidden" type="button">
<span class="visually-hidden">Toggle Menu</span>
<span class="visually-hidden">Toggle menu</span>
<div class="navicon"></div>
</button>
<button class="greedy-nav__toggle_lang" type="button"><div class="langicon"><i class="fa fa-language fa-lg" aria-hidden="true"></i></div></button>
Expand Down Expand Up @@ -248,7 +245,7 @@
<nav class="nav__list">

<input id="ac-toc" name="accordion-toc" type="checkbox" />
<label for="ac-toc">Toggle Menu</label>
<label for="ac-toc">Toggle menu</label>
<ul class="nav__items">
<li>
<span class="nav__sub-title">Overall Progress</span>
Expand Down Expand Up @@ -345,7 +342,6 @@ <h1 id="page-title" class="page__title" itemprop="headline">Page Not Found

<section class="page__content" itemprop="text">


<!-- hacks-guide change start -->
<hr>

Expand Down Expand Up @@ -414,22 +410,15 @@ <h1 id="page-title" class="page__title" itemprop="headline">Page Not Found



<!-- hacks-guide change start: force disable atom feed-->
<!--

<li><a href="/feed.xml"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> Feed</a></li>
</ul>
-->
<!-- hacks-guide change end -->

</ul>
</div>

<!-- hacks-guide change start: custom footer -->



<div class="page__footer-copyright">&copy; 2024 Nintendo Homebrew. - <a href="site-navigation">Site Navigation</a> - <a href="privacy-policy">Privacy Policy</a> - <a href="donations">Donations</a> <!-- Powered by <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.--></div>
<div class="page__footer-copyright">&copy; 2024 Nintendo Homebrew. - <a href="site-navigation">Site Navigation</a> - <a href="privacy-policy">Privacy Policy</a> <!-- Powered by <a href="https://jekyllrb.com" rel="nofollow">Jekyll</a> &amp; <a href="https://mademistakes.com/work/minimal-mistakes-jekyll-theme/" rel="nofollow">Minimal Mistakes</a>.--></div>
<!-- hacks-guide change end -->

</footer>
Expand Down
114 changes: 57 additions & 57 deletions assets/css/main.css.map

Large diffs are not rendered by default.

136 changes: 136 additions & 0 deletions assets/js/_main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
/* ==========================================================================
jQuery plugin settings and other scripts
========================================================================== */

$(document).ready(function() {
// FitVids init
$("#main").fitVids();

// Sticky sidebar
var stickySideBar = function() {
var show =
$(".author__urls-wrapper button").length === 0
? $(window).width() > 1024 // width should match $large Sass variable
: !$(".author__urls-wrapper button").is(":visible");
if (show) {
// fix
$(".sidebar").addClass("sticky");
} else {
// unfix
$(".sidebar").removeClass("sticky");
}
};

stickySideBar();

$(window).resize(function() {
stickySideBar();
});

// Follow menu drop down
$(".author__urls-wrapper button").on("click", function() {
$(".author__urls").toggleClass("is--visible");
$(".author__urls-wrapper button").toggleClass("open");
});

// Close search screen with Esc key
$(document).keyup(function(e) {
if (e.keyCode === 27) {
if ($(".initial-content").hasClass("is--hidden")) {
$(".search-content").toggleClass("is--visible");
$(".initial-content").toggleClass("is--hidden");
}
}
});

// Search toggle
$(".search__toggle").on("click", function() {
$(".search-content").toggleClass("is--visible");
$(".initial-content").toggleClass("is--hidden");
// set focus on input
setTimeout(function() {
$(".search-content input").focus();
}, 400);
});

// Smooth scrolling
var scroll = new SmoothScroll('a[href*="#"]', {
offset: 20,
speed: 400,
speedAsDuration: true,
durationMax: 500
});

// Gumshoe scroll spy init
if($("nav.toc").length > 0) {
var spy = new Gumshoe("nav.toc a", {
// Active classes
navClass: "active", // applied to the nav list item
contentClass: "active", // applied to the content

// Nested navigation
nested: false, // if true, add classes to parents of active link
nestedClass: "active", // applied to the parent items

// Offset & reflow
offset: 20, // how far from the top of the page to activate a content area
reflow: true, // if true, listen for reflows

// Event support
events: true // if true, emit custom events
});
}

// add lightbox class to all image links
$(
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif'],a[href$='.webp']"
).addClass("image-popup");

// Magnific-Popup options
$(".image-popup").magnificPopup({
// disableOn: function() {
// if( $(window).width() < 500 ) {
// return false;
// }
// return true;
// },
type: "image",
tLoading: "Loading image #%curr%...",
gallery: {
enabled: true,
navigateByImgClick: true,
preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
},
image: {
tError: '<a href="%url%">Image #%curr%</a> could not be loaded.'
},
removalDelay: 500, // Delay in milliseconds before popup is removed
// Class that is added to body when popup is open.
// make it unique to apply your CSS animations just to this exact popup
mainClass: "mfp-zoom-in",
callbacks: {
beforeOpen: function() {
// just a hack that adds mfp-anim class to markup
this.st.image.markup = this.st.image.markup.replace(
"mfp-figure",
"mfp-figure mfp-with-anim"
);
}
},
closeOnContentClick: true,
midClick: true // allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source.
});

// Add anchors for headings
$('.page__content').find('h1, h2, h3, h4, h5, h6').each(function() {
var id = $(this).attr('id');
if (id) {
var anchor = document.createElement("a");
anchor.className = 'header-link';
anchor.href = '#' + id;
anchor.innerHTML = '<span class=\"sr-only\">Permalink</span><i class=\"fas fa-link\"></i>';
anchor.title = "Permalink";
$(this).append(anchor);
}
});
});
Loading

0 comments on commit 01c3764

Please sign in to comment.