diff website/src/index.html.luan @ 1651:5b8f056527a3

docs work
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 31 Mar 2022 16:13:32 -0600
parents website/src/index.html@dd881eb03d87
children 3f28ea044a32
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/website/src/index.html.luan	Thu Mar 31 16:13:32 2022 -0600
@@ -0,0 +1,42 @@
+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</title>
+	</head>
+	<body>
+<%		header() %>
+		<div content>
+			<h1>The Luan Programming Language</h1>
+
+			<p small>under construction...</p>
+
+			<p>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/">Java</a>.</p>
+
+			<div link><a href="why.html">Why Luan?</a></div>
+			<div link><a href="docs.html">Documentation</a></div>
+			<div link><a href="download/">Download</a></div>
+			<div link><a href="https://hg.luan.software/luan">Source</a></div>
+			<div link><a href="http://forum.luan.software/">Support Forum</a></div>
+			<div link><a href="goodjava.html">The goodjava Library</a></div>
+
+			<div footer>
+				Luan was optimized with <a href="https://www.yourkit.com/java/profiler/">YourKit Java Profiler <img src="https://www.yourkit.com/images/yklogo.png"></a>.
+			</div>
+		</div>
+	</body>
+</html>
+<%
+end