home: developer theme — dark default, ibm plex mono, hairline nav, hero session window

This commit is contained in:
Jean Chevronnet 2026-08-31 02:18:33 +00:00
parent 55c6685df1
commit 867f0aaf4a
No known key found for this signature in database
GPG key ID: 439666D63A9477E4
3 changed files with 71 additions and 66 deletions

View file

@ -1,10 +1,10 @@
<!doctype html>
<html lang="en">
<html lang="en" data-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="color-scheme" content="light dark">
<script>(function(){try{var t=localStorage.getItem('theme');if(t!=='light'&&t!=='dark')t=matchMedia('(prefers-color-scheme:dark)').matches?'dark':'light';document.documentElement.setAttribute('data-theme',t);}catch(e){}})();</script>
<meta name="color-scheme" content="dark light">
<script>(function(){try{var t=localStorage.getItem('theme');if(t==='light'||t==='dark')document.documentElement.setAttribute('data-theme',t);}catch(e){}})();</script>
<title>{% block title %}echoIRCd — a from-scratch IRC server in Rust{% endblock %}</title>
<meta name="description" content="echoIRCd is a modern IRC daemon written from scratch in Rust — full IRCv3, modern TLS, SASL. Pairs with echo services, a separate package linked over S2S.">
<meta property="og:title" content="echoIRCd">
@ -13,7 +13,7 @@
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/static/style.css?v={{ css_v }}">
{% block head %}{% endblock %}
</head>

View file

@ -4,30 +4,34 @@
<section class="hero">
<div class="hero-in">
<div class="hero-main">
<p class="eyebrow">IRC daemon · written in Rust</p>
<p class="eyebrow">// IRC daemon · written in Rust · IRCv3</p>
<h1>The from-scratch<br>IRC server.</h1>
<p class="hero-sub">echoIRCd is a modern IRC daemon, built from the ground up in Rust — full
IRCv3, modern TLS, and SASL. No forks. No C. No <code>unsafe</code>. Pair it with
<a href="/services">echo services</a>, a separate package linked over S2S.</p>
<p class="hero-sub">A modern IRC daemon built from the ground up in Rust — full IRCv3,
TLS&nbsp;1.3 and SASL. No forks. No C. No <code>unsafe</code>. Pair it with
<a href="/services">echo services</a> over S2S.</p>
<div class="cta">
<a class="btn btn-primary" href="/connect">Connect to the network</a>
<a class="btn btn-ghost" href="/features">See the features</a>
<a class="btn btn-ghost" href="/docs">Read the docs</a>
</div>
<div class="statline" aria-label="live network status">
{% if status.online %}<span class="st on">● online</span>{% else %}<span class="st down">● offline</span>{% endif %}
<span>echoIRCd&nbsp;<b>{{ status.version }}</b></span>
<span>:6697&nbsp;tls&nbsp;1.3</span>
<span>users&nbsp;<b>{{ status.users }}</b></span>
<span>chans&nbsp;<b>{{ status.channels }}</b></span>
</div>
</div>
<aside class="statuscard" aria-label="live network status">
<div class="sc-head"><span class="sc-title">network status</span>
{% if status.online %}<span class="dot on" title="online"></span>{% else %}<span class="dot off" title="offline"></span>{% endif %}
</div>
<dl class="sc-rows">
<div><dt>state</dt><dd>{% if status.online %}<b class="live">online</b>{% else %}<b class="down">offline</b>{% endif %}</dd></div>
<div><dt>users</dt><dd>{{ status.users }}</dd></div>
<div><dt>channels</dt><dd>{{ status.channels }}</dd></div>
<div><dt>network</dt><dd>echoiRCd</dd></div>
<div><dt>version</dt><dd>echoIRCd {{ status.version }}</dd></div>
<div><dt>tls</dt><dd>1.3 · X25519MLKEM768</dd></div>
</dl>
<div class="sc-foot">live from <code>irc.echoircd.org</code></div>
<aside class="codewin" aria-label="example IRC session">
<div class="codewin-bar"><span class="cw-dot"></span>session · irc.echoircd.org:6697</div>
<pre><code><span class="c-cmd">$ openssl s_client -connect irc.echoircd.org:6697 -quiet</span>
<span class="c-srv">:irc.echoircd.org NOTICE * :*** Looking up your host</span>
<span class="c-kw">CAP</span> LS 302
<span class="c-kw">NICK</span> dev
<span class="c-kw">USER</span> dev 0 * :dev
<span class="c-srv">:irc.echoircd.org</span> <span class="c-num">001</span> dev :Welcome to the echoIRCd Network
<span class="c-srv">:irc.echoircd.org</span> <span class="c-num">005</span> dev CHANTYPES=# PREFIX=(ohv)@%+ :are supported
<span class="c-kw">JOIN</span> #echoircd</code></pre>
</aside>
</div>
</section>