Basic test website

This commit is contained in:
Jakub 2026-07-12 13:17:30 +08:00
parent 8a98260f28
commit 16796dea31
7 changed files with 1555 additions and 2 deletions

View file

@ -0,0 +1,7 @@
(m.mount
document.body
(mithril:comp
(sxml
(main
(h1 "Nitinol App Template")))))

16
app/index.html Normal file
View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>
Nitinol App Template
</title>
<!-- Load and bootstrap LIPS. -->
<script src="https://cdn.jsdelivr.net/npm/lips@beta/dist/lips.min.js" bootstrap></script>
<script type="text/x-scheme">(load "/lib/nitinol/nitinol.scm")</script>
</head>
<body>
<!-- Load main app script. -->
<script type="text/x-scheme" src="/app.scm"></script>
</body>
</html>