mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-07 05:18:40 -04:00
minified theme button js
This commit is contained in:
parent
5df85e391a
commit
2e21eb15d3
3 changed files with 18 additions and 16 deletions
|
|
@ -8,16 +8,10 @@ tags = ["wooden"]
|
|||
category = ["craft"]
|
||||
+++
|
||||
|
||||
|
||||
|
||||
Unfortunately I do not have a picture of the tree nor a picture of the un stripped log.
|
||||
|
||||
|
||||
Unfortunately I do not have a picture of the tree nor a picture of the un-stripped log.
|
||||
{{image(src="log.jpg", caption="A stripped and dried log with a huge split down the middle from drying too fast")}}
|
||||
|
||||
|
||||
{{image(src="split.jpg", caption="A extremely rough cutting of the spon.")}}
|
||||
{{image(src="roughin.jpg", caption="")}}
|
||||
{{image(src="refined.jpg", caption="")}}
|
||||
{{image(src="shape_finished.jpg", caption="")}}
|
||||
{{image(src="charred.jpg", caption="")}}
|
||||
{{image(src="split.jpg", caption="A extremely rough cutting of the spoon.")}}
|
||||
{{image(src="roughin.jpg", caption="Getting the rough shape of the spoon")}}
|
||||
{{image(src="refined.jpg", caption="Sanding handle and cup into final shape")}}
|
||||
{{image(src="shape_finished.jpg", caption="Cutting spoon cavity")}}
|
||||
{{image(src="charred.jpg", caption="Finishing")}}
|
||||
|
|
@ -9,6 +9,9 @@ category = ["project"]
|
|||
+++
|
||||
|
||||
|
||||
Take a look at the [GitHub](https://github.com/ParkerTenBroeck/generators)
|
||||
|
||||
<!--
|
||||
With the release of Java 24 came the official Class-File API giving a stable and (relatively) ergonomic interface for reading, modifying, and writing java classes/bytecode at runtime with no external dependencies. Seeing this I decided to play around with it and see what fun I could have.
|
||||
|
||||
|
||||
|
|
@ -47,7 +50,6 @@ Sometimes it's
|
|||
# Injection
|
||||
|
||||
|
||||
Take a look at the [GitHub](https://github.com/ParkerTenBroeck/generators)
|
||||
|
||||
|
||||
|
||||
|
|
@ -84,3 +86,5 @@ public static Gen<Long, Void> primes() {
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
-->
|
||||
|
|
@ -40,7 +40,11 @@
|
|||
</button>
|
||||
</nav>
|
||||
|
||||
<script>
|
||||
<!-- minified version !-->
|
||||
<script>!function(){const e=document.documentElement,t=document.querySelector(".theme-toggle"),a=window.matchMedia("(prefers-color-scheme: dark)"),n=()=>localStorage.theme??e.dataset.theme??(a.matches?"dark":"light"),o=(a,{manual:n=!1}={})=>{e.dataset.theme=a,localStorage.theme=a,t.setAttribute("aria-pressed","dark"===a?"true":"false")};document.documentElement.classList.add("no-theme-transition"),o(n()),requestAnimationFrame(()=>{document.documentElement.classList.remove("no-theme-transition")}),t.addEventListener("click",()=>{const e="dark"===n()?"light":"dark";o(e)})}();</script>
|
||||
|
||||
<!-- non minified version !-->
|
||||
{# <script>
|
||||
(function setupThemeToggle() {
|
||||
const root = document.documentElement;
|
||||
const btn = document.querySelector(".theme-toggle");
|
||||
|
|
@ -65,4 +69,4 @@
|
|||
applyTheme(next);
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
</script> #}
|
||||
Loading…
Add table
Add a link
Reference in a new issue