Deploying to gh-pages from @ b1325b77da 🚀

This commit is contained in:
ParaDoX1994
2024-09-14 17:31:02 +00:00
parent 3cf4602e0d
commit 1aee5fd473
77 changed files with 135 additions and 102 deletions

1
assets/js/40.7f277fd6.js Normal file
View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[40],{262:function(e,t,n){"use strict";n.r(t);const h=["light","dark"];var i={name:"ThemeSwitcher",data:()=>({theme:""}),computed:{nextTheme(){const e=(h.indexOf(this.theme)+1)%h.length;return h[e]}},methods:{switchTheme(){const e=(h.indexOf(this.theme)+1)%h.length;window.__setPreferredTheme(h[e]),this.theme=h[e]}},async mounted(){void 0!==window.__theme&&(this.theme=window.__theme)}},o=n(10),s=Object(o.a)(i,(function(){var e=this,t=e._self._c;return t("a",{staticClass:"nav-link",attrs:{role:"button","aria-label":"Switch to "+e.nextTheme+" mode"},on:{click:function(t){return t.preventDefault(),e.switchTheme()}}},["dark"===e.theme?t("span",{key:"dark"},[e._v("Switch to light mode")]):"light"===e.theme?t("span",{key:"light"},[e._v("Switch to dark mode")]):t("span",{key:"light"},[e._v("Switch theme")])])}),[],!1,null,null,null);t.default=s.exports}}]);