aboutsummaryrefslogtreecommitdiffstats
path: root/root/meta/init.moon
diff options
context:
space:
mode:
Diffstat (limited to 'root/meta/init.moon')
-rw-r--r--root/meta/init.moon10
1 files changed, 9 insertions, 1 deletions
diff --git a/root/meta/init.moon b/root/meta/init.moon
index 626cd9e..0ad56c2 100644
--- a/root/meta/init.moon
+++ b/root/meta/init.moon
@@ -1,4 +1,4 @@
-import div, h3, ul, li, a from require 'mmm.dom'
+import div, h3, p, br, ul, li, b, a from require 'mmm.dom'
import define_fileders from require 'mmm.mmmfs'
Fileder = define_fileders ...
require = relative ...
@@ -7,7 +7,15 @@ Fileder {
'name: alpha': 'meta',
'title: text/plain': 'about mmm',
'moon -> mmm/dom': (path) => div {
+ style: { 'max-width': '700px' },
h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' },
+ p "mmm is a collection of Lua/Moonscript modules for web development.",
+ "All modules are 'polymorphic' - they can run in the ", (b 'browser'),
+ ", using the native browser API for creating and interacting with DOM content, as well as on the ",
+ (b 'server'), ", where they operate on and produce equivalent HTML strings."
+ p "As the two implementations of each module are designed to be compatible,
+ mmm facilitates code and content sharing between server and client
+ and enables serverside rendering and rehydration."
ul for child in *@children
name = child\gett 'name: alpha'
desc = child\gett 'description: mmm/dom'