38 lines
804 B
HTML
38 lines
804 B
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="/style.css">
|
|
<title>WebButt</title>
|
|
</head>
|
|
<body>
|
|
<nav>
|
|
<ul>
|
|
<li><a href="/profile">Profile</a></li>
|
|
<li><a href="/feed">Home Feed</a></li>
|
|
<li><a href="/about">About</a></li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<h1>WebButt</h1>
|
|
<p>A small test SSB application written in Rust and Javascript</p>
|
|
|
|
<div id="profile">
|
|
<h2 id="username"></h2>
|
|
<p id="description"></p>
|
|
<code id="pubkey"></code>
|
|
</div>
|
|
|
|
<script src="zepto.js"></script>
|
|
<script>
|
|
import { whoami } from '/ssb.js';
|
|
whoami();
|
|
</script>
|
|
<noscript>
|
|
<p>Sorry, but this app requires JS to function :/</p>
|
|
</noscript>
|
|
|
|
</body>
|
|
</html>
|