Mercurial Hosting > chat
comparison src/about.html.luan @ 21:5a56297713a3
move chat to home
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 05 Nov 2024 12:57:41 -0700 |
parents | src/index.html.luan@e22a1ba4b2ed |
children | 13f4d2c8b8fe |
comparison
equal
deleted
inserted
replaced
20:dade6a560494 | 21:5a56297713a3 |
---|---|
1 local Luan = require "luan:Luan.luan" | |
2 local error = Luan.error | |
3 local Io = require "luan:Io.luan" | |
4 local Http = require "luan:http/Http.luan" | |
5 local Shared = require "site:/lib/Shared.luan" | |
6 local head = Shared.head or error() | |
7 local header = Shared.header or error() | |
8 | |
9 | |
10 return function() | |
11 Io.stdout = Http.response.text_writer() | |
12 %> | |
13 <!doctype html> | |
14 <html> | |
15 <head> | |
16 <% head() %> | |
17 <style> | |
18 h1 { | |
19 margin-bottom: 0; | |
20 } | |
21 h3 { | |
22 margin-top: 8px; | |
23 } | |
24 </style> | |
25 </head> | |
26 <body> | |
27 <% header() %> | |
28 <div content> | |
29 <h1>Web Chat</h1> | |
30 <h3>A free web-based instant messaging service</h3> | |
31 <p><a href="https://hg.reactionary.software/repo/chat/">source code</a></p> | |
32 </div> | |
33 </body> | |
34 </html> | |
35 <% | |
36 end |