diff options
author | mms <git@sapka.me> | 2025-01-07 20:52:12 +0100 |
---|---|---|
committer | mms <git@sapka.me> | 2025-01-07 20:52:12 +0100 |
commit | 2781360c7c25404c5a1fd03ed3472d43367ed8c6 (patch) | |
tree | bdc914bd76696e8725617686c3d07cbdce8ef21b /new/splash/pages/index.html.erb | |
parent | b50e4a5f40bc64fa1893d249d83c05ecd217de1d (diff) |
lots
Diffstat (limited to 'new/splash/pages/index.html.erb')
-rw-r--r-- | new/splash/pages/index.html.erb | 56 |
1 files changed, 32 insertions, 24 deletions
diff --git a/new/splash/pages/index.html.erb b/new/splash/pages/index.html.erb index 75264d3f..46e6927e 100644 --- a/new/splash/pages/index.html.erb +++ b/new/splash/pages/index.html.erb @@ -25,21 +25,20 @@ a { color: #000; - } ol { - padding: 0; + padding: 0; } ol li{ - list-style-type: none; + list-style-type: none; } img.webutton { - border: 0; - text-decoration: none; - color: #c2c2c2; - padding: 10px; + border: 0; + text-decoration: none; + color: #c2c2c2; + padding: 10px; } </style> @@ -49,8 +48,6 @@ <img alt="Crys Site" src="<%= process_image(file: "logo.png").relative_path %>"> - - <p> Hi! I'm Michal and this is my personal website. @@ -61,7 +58,17 @@ </p> <p> - <b>NOTE: I am not a real <%= not_real %>, and I can be wrong sometimes</b>. + <b>NOTE: I am not a real <span id="notreal"><%= not_real.sample %></span>, and I can be wrong sometimes</b>. + + <script> + let reals = <%= not_real %>; + let real_span = document.getElementById("notreal"); + function newReal() { + let real = reals[Math.floor( Math.random() * reals.length )]; + real_span.innerHTML = real; + } + newReal(); + </script> </p> @@ -76,7 +83,6 @@ <h3>Main sections</h3> - <nav> <ol> <li><a href="/blog">My personal blog</a> @@ -97,7 +103,7 @@ <h3>Projects</h3> <ol> - <li><a href="/projects/chotto">Chotto</a> - a initial tagging system for Notmuch + <li><a href="/projects/chotto">Chotto</a> - an initial tagging system for Notmuch <%= update_badge("chotto")%> </ol> @@ -110,18 +116,18 @@ <h3>Even more</h3> - <ol> - <li><a href="/more/bookmarks/">Bookmarks</a> to cool things on the web - <%= more_update_badge(name: :bookmarks)%> - <li><a href="/more/links/">Links</a> to other sites - <%= more_update_badge(name: :links)%> - <li><a href="/more/irc/">IRC Channel</a> of this site - <li><a href="/more/contact/">Contact</a> - <li><a href="/more/now/">Now</a> - <li><a href="/more/uses/">Uses</a> - </ol> + <ol> + <li><a href="/more/bookmarks/">Bookmarks</a> to cool things on the web + <%= more_update_badge(name: :bookmarks)%> + <li><a href="/more/links/">Links</a> to other sites + <%= more_update_badge(name: :links)%> + <li><a href="/more/irc/">IRC Channel</a> of this site + <li><a href="/more/contact/">Contact</a> + <li><a href="/more/now/">Now</a> + <li><a href="/more/uses/">Uses</a> + </ol> -</nav> + </nav> <hr> @@ -139,12 +145,14 @@ <hr> <p> This is self-hosted site. - You are connected live to my living room. + You are connected live to my living room.<br> + The bytes must flow. </p> <div> <%= webbutton(file: "org.freebsd.gif", url: "https://www.freebsd.org/", alt: "Powered by FreeBSD") %> <%= webbutton(file: "org.dillo.gif", url: "https://www.dillo.org/", alt: "Optimized for Dillo") %> + <%= webbutton(file: "org.brainmade.png", url: "https://www.brainmade.org/", alt: "Made with brain, not LLM") %> </div> </body> </html> |