view src/index.html.luan @ 40:ebab99118e19

add learn.html
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 25 Dec 2023 20:22:17 -0700
parents 9694eff797bf
children
line wrap: on
line source

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>Reactionary Software</title>
		<style>
			h1 {
				margin-bottom: 0;
			}
			h3 {
				margin-top: 8px;
			}
		</style>
	</head>
	<body>
<%		header() %>
		<div content>
			<h1>Reactionary Software</h1>
			<h3>Make software great again!</h3>
			<p>For programmers who hate modern software.  Modern software is overcomplicated, bloated, unreliable, incomprehensible, pointlessly ideological, and mostly unusable.  We like the values of older software: simplicity, reliability, and usability.</p>
			<ul links>
				<li><a href="/about.html">About Reactionary Software</a></li>
				<li><a href="/existing.html">Existing Reactionary Software</a></li>
				<li><a href="/needed.html">Needed Reactionary Software</a></li>
				<li><a href="/learn.html">Learn Reactionary Programming</a></li>
				<li><a href="/books.html">Reactionary Programming Books</a></li>
				<li><a href="/discussion.html">Discussion</a></li>
			</ul>
		</div>
	</body>
</html>
<%
end