chamesle

chamesle.org: the site of Chamesle, a small Linux distribution
git clone https://github.com/tortr-rs/chamesle
Log | Files | Refs | README

commit d9bf507b42eec8e13325c664a79c1f339ae9958f
parent 473977ae10f4fb15218c2966fdff7671380e741c
Author: torter <koubbamohamedrayan@gmail.com>
Date:   Wed, 21 Oct 2026 19:18:52 +0000

website: the logo doesn't like being clicked

Diffstat:
Mdocs/about.html | 1+
Mdocs/board.html | 1+
Mdocs/docs.html | 1+
Mdocs/download.html | 1+
Mdocs/editions.html | 1+
Adocs/egg.js | 29+++++++++++++++++++++++++++++
Adocs/img/egg.png | 0
Mdocs/index.html | 1+
Mdocs/new.html | 1+
Mdocs/packages.html | 1+
Mdocs/post.html | 1+
Mdocs/submit.html | 1+
12 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/docs/about.html b/docs/about.html @@ -77,5 +77,6 @@ Some packages, like firmware and the NVIDIA driver, are not open source.</p> <p>Chamesle Linux. Source code for every package is available on request.</p> </footer> +<script src="egg.js"></script> </body> </html> diff --git a/docs/board.html b/docs/board.html @@ -110,5 +110,6 @@ fetch('board.json?' + Date.now()).then(function (r) { return r.json(); }).then(f .catch(function () { document.getElementById('empty').textContent = "Couldn't load the board. Try reloading."; }); </script> +<script src="egg.js"></script> </body> </html> diff --git a/docs/docs.html b/docs/docs.html @@ -149,5 +149,6 @@ the driver manager coming in 0.3 will set it up for you.</p> <p>Chamesle Linux. Source code for every package is available on request.</p> </footer> +<script src="egg.js"></script> </body> </html> diff --git a/docs/download.html b/docs/download.html @@ -96,5 +96,6 @@ depending on the computer. Pick the USB stick. You'll get a menu with a few choi <p>Chamesle Linux. Source code for every package is available on request.</p> </footer> +<script src="egg.js"></script> </body> </html> diff --git a/docs/editions.html b/docs/editions.html @@ -77,5 +77,6 @@ already know it from Mint, pick that.</p> <p>Chamesle Linux. Source code for every package is available on request.</p> </footer> +<script src="egg.js"></script> </body> </html> diff --git a/docs/egg.js b/docs/egg.js @@ -0,0 +1,29 @@ +// click the logo three times +(function () { + var img = document.querySelector('.brand img'), clicks = 0, timer, gone = false; + if (!img) return; + img.addEventListener('click', function (e) { + e.preventDefault(); + clicks++; + clearTimeout(timer); + timer = setTimeout(function () { clicks = 0; }, 1200); + if (clicks < 3 || gone) return; + gone = true; + var r = img.getBoundingClientRect(); + // off it goes, up and to the right + img.style.transition = 'transform .8s cubic-bezier(.5,-.4,.8,.6)'; + img.style.transform = 'translate(' + window.innerWidth + 'px,' + (-r.bottom - 60) + 'px) rotate(900deg)'; + setTimeout(function () { + // something else comes back from the left + img.style.transition = 'none'; + img.src = 'img/egg.png'; + img.style.transform = 'translateX(' + (-r.right - 80) + 'px) rotate(-540deg)'; + requestAnimationFrame(function () { + requestAnimationFrame(function () { + img.style.transition = 'transform 1s cubic-bezier(.2,.9,.3,1.25)'; + img.style.transform = 'none'; + }); + }); + }, 1400); + }); +})(); diff --git a/docs/img/egg.png b/docs/img/egg.png Binary files differ. diff --git a/docs/index.html b/docs/index.html @@ -96,5 +96,6 @@ <p>Chamesle Linux. Source code for every package is available on request.</p> </footer> +<script src="egg.js"></script> </body> </html> diff --git a/docs/new.html b/docs/new.html @@ -89,5 +89,6 @@ than rushed. See the <a href="about.html#roadmap">roadmap</a>.</p> <p>Chamesle Linux. Source code for every package is available on request.</p> </footer> +<script src="egg.js"></script> </body> </html> diff --git a/docs/packages.html b/docs/packages.html @@ -133,5 +133,6 @@ q.addEventListener('input', function () { }); </script> +<script src="egg.js"></script> </body> </html> diff --git a/docs/post.html b/docs/post.html @@ -84,5 +84,6 @@ fetch('board.json?' + Date.now()).then(function (r) { return r.json(); }).then(f }); </script> +<script src="egg.js"></script> </body> </html> diff --git a/docs/submit.html b/docs/submit.html @@ -90,5 +90,6 @@ document.getElementById('form').addEventListener('submit', function (e) { }); </script> +<script src="egg.js"></script> </body> </html>