aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-11-26 09:56:37 +0000
committers-ol <s-ol@users.noreply.github.com>2018-11-26 09:56:37 +0000
commit7f48f4f81d1acf3b75de8ca9e5dc9fac8a00e73b (patch)
tree356cda36a59998ab8e29a028967bd67bef757786 /build
parentremove uneccessary mmm/tpl (diff)
downloadmmm-7f48f4f81d1acf3b75de8ca9e5dc9fac8a00e73b.tar.gz
mmm-7f48f4f81d1acf3b75de8ca9e5dc9fac8a00e73b.zip
svg logo + animation
Diffstat (limited to 'build')
-rw-r--r--build/layout.moon19
1 files changed, 17 insertions, 2 deletions
diff --git a/build/layout.moon b/build/layout.moon
index 6ff6feb..c188db9 100644
--- a/build/layout.moon
+++ b/build/layout.moon
@@ -1,4 +1,4 @@
-import header, footer, div, h1, span, b, a, img from require 'mmm.dom'
+import header, footer, div, svg, g, circle, h1, span, b, a, img from require 'mmm.dom'
pick = (...) ->
num = select '#', ...
@@ -13,10 +13,25 @@ iconlink = (href, src, alt, style) -> a {
img :src, :alt, :style
}
+logo = svg {
+ class: 'sun'
+ viewBox: '-0.75 -1 1.5 2'
+ xmlns: 'http://www.w3.org/2000/svg'
+ baseProfile: 'full'
+ version: '1.1'
+
+ g {
+ transform: 'translate(0 .18)'
+
+ circle class: 'out', r: '.6', fill: 'none', 'stroke-width': '.12'
+ circle class: 'in', r: '.2', stroke: 'none'
+ }
+}
+
{
header: header {
h1 {
- span '\xe2\x98\x89', class: 'sun'
+ logo
b!
span 'mmm', class: 'bold'
'.s-ol.nu'