changeset 1783:aac0753d72ed

website minor
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 07 Dec 2023 15:03:42 -0700
parents 49236f5ecc32
children fdc59d390615
files website/src/index.html.luan website/src/support.html.luan
diffstat 2 files changed, 33 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r 49236f5ecc32 -r aac0753d72ed website/src/index.html.luan
--- a/website/src/index.html.luan	Mon Oct 30 23:05:27 2023 -0600
+++ b/website/src/index.html.luan	Thu Dec 07 15:03:42 2023 -0700
@@ -28,7 +28,7 @@
 				<li><a href="docs.html">Documentation</a></li>
 				<li><a href="download/">Download</a></li>
 				<li><a href="https://hg.reactionary.software/repo/luan">Source</a></li>
-				<li><a href="http://forum.luan.software/">Support Forum</a></li>
+				<li><a href="support.html">Support</a></li>
 				<li><a href="goodjava.html">The goodjava Library</a></li>
 			</ul>
 
diff -r 49236f5ecc32 -r aac0753d72ed website/src/support.html.luan
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/website/src/support.html.luan	Thu Dec 07 15:03:42 2023 -0700
@@ -0,0 +1,32 @@
+local Luan = require "luan:Luan.luan"
+local error = Luan.error
+local Io = require "luan:Io.luan"
+local Http = require "luan:http/Http.luan"
+local Shared = require "site:/lib/Shared.luan"
+local head = Shared.head or error()
+local header = Shared.header or error()
+
+
+return function()
+	Io.stdout = Http.response.text_writer()
+%>
+<!doctype html>
+<html>
+	<head>
+<%		head() %>
+		<title>Luan Support</title>
+	</head>
+	<body>
+<%		header() %>
+		<div content>
+			<h1>Luan Support</h1>
+
+			<ul links>
+				<li><a href="https://discord.gg/vEtFmsNyjm">Discord</a></li>
+				<li><a href="http://forum.luan.software/">Forum</a></li>
+			</ul>
+		</div>
+	</body>
+</html>
+<%
+end