view src/register3.html.luan @ 0:8f4df159f06b

start public repo
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 11 Jul 2025 20:57:49 -0600
parents
children f455bb813e2e
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 page_header = Shared.page_header or error()
local footer = Shared.footer or error()


return function()
	Io.stdout = Http.response.text_writer()
%>
<!doctype html>
<html lang="en">
	<head>
<%		head() %>
		<title>Link My Style</title>
		<style>
			div[right_of_page] {
				background-image: url(/images/picture.jpg);
			}
		</style>
		<script>
			if( hasCookies ) {
				fbTrack( 'track', 'CompleteRegistration' );
				// fbTrack( 'track', 'Purchase', {value:1,currency:'USD'} );
			}
		</script>
	</head>
	<body>
		<div page>
<%			page_header() %>
			<div>
				<h1>Thanks for signing up</h1>
				<a button big href="/account.html">Continue to edit My Account</a>
			</div>
<%			footer() %>
		</form>
		<div right_of_page></div>
	</body>
</html>
<%
end