initial echo project website (rust + axum + askama)
This commit is contained in:
commit
899040a319
11 changed files with 1480 additions and 0 deletions
40
templates/base.html
Normal file
40
templates/base.html
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{% block title %}echoIRCd{% endblock %}</title>
|
||||
<meta name="description" content="echoIRCd — a modern IRC network built from scratch in Rust: TLS 1.3, full IRCv3, SASL, and native services.">
|
||||
<meta property="og:title" content="echoIRCd">
|
||||
<meta property="og:description" content="A modern IRC network, built from scratch in Rust.">
|
||||
<meta property="og:type" content="website">
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header class="nav">
|
||||
<a class="brand" href="/">echo<span class="dot">IRCd</span></a>
|
||||
<nav class="navlinks">
|
||||
<a href="/"{% if active == "home" %} class="on"{% endif %}>Home</a>
|
||||
<a href="/features"{% if active == "features" %} class="on"{% endif %}>Features</a>
|
||||
<a href="/connect"{% if active == "connect" %} class="on"{% endif %}>Connect</a>
|
||||
<a href="https://git.devtronic.pro/echo/echoIRCd" class="ext">Source ↗</a>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer class="foot">
|
||||
<div class="foot-in">
|
||||
<div>echoIRCd — native Rust IRC daemon & services · <span class="mono">#![forbid(unsafe_code)]</span></div>
|
||||
<div class="foot-links">
|
||||
<a href="https://git.devtronic.pro/echo/echoIRCd">echoIRCd</a>
|
||||
<a href="https://git.devtronic.pro/echo/echo">services</a>
|
||||
<a href="https://git.devtronic.pro/echo/website">website</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue