-
Notifications
You must be signed in to change notification settings - Fork 6
/
template.cirru
36 lines (33 loc) · 1.04 KB
/
template.cirru
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
var
stir $ require :stir-template
var
(object~ html head title body meta script link div a span) stir
var
line $ \ (text)
return $ div null text
= module.exports $ \ (data)
return $ stir.render
stir.doctype
html null
head null
title null ":React Lite Audio"
meta $ object (:charset :utf-8)
link $ object (:rel :icon)
:href :http://tp4.sinaimg.cn/5592259015/180/5725970590/1
script $ object (:src data.main) (:defer true)
body null
div
object (:class :intro)
div
object (:class :title)
, ":This is a demo of Lite Audio."
line ":This is the default style used in Talk by Teambition."
line ":You need to add your own style in your projects."
div null
span null ":Read more at "
a
object (:href :http://github.com/teambition/react-lite-audio)
, :github.com/teambition/react-lite-audio
span null :.
div
object (:class :demo)