add demo text; made executable for the demo

This commit is contained in:
2024-12-09 04:58:26 +09:00
parent ba3b003792
commit e49a1794e6
2 changed files with 29 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
(container []
(header []
(title [] |Demo #1|)
)
(main []
(std<Image> [alt="hoge" ref="./upload/hoge.jpg"])
(section [lang=md ] |\
# Hello, world!\
This is a simple example of SIL.\
|)
)
(footer []
(card []
(icon<Image> [src="/icon.png" alt="Cute icon" on:click="alert('Hello!')"])
(copyright [] |Copyright here.|)
)
)
)