From e6774fa740ea303073f77f3f7e50ce3e03e8de58 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 3 Mar 2018 16:41:55 +0200 Subject: Initial commit --- src/components/content/content.tag | 3 +++ src/components/counter/counter.tag | 13 +++++++++++++ src/components/header/header.less | 9 +++++++++ src/components/header/header.tag | 8 ++++++++ src/components/push-button/push-button.less | 1 + src/components/push-button/push-button.tag | 13 +++++++++++++ src/components/site/site.tag | 10 ++++++++++ src/components/subheading/subheading.tag | 5 +++++ 8 files changed, 62 insertions(+) create mode 100644 src/components/content/content.tag create mode 100644 src/components/counter/counter.tag create mode 100644 src/components/header/header.less create mode 100644 src/components/header/header.tag create mode 100644 src/components/push-button/push-button.less create mode 100644 src/components/push-button/push-button.tag create mode 100644 src/components/site/site.tag create mode 100644 src/components/subheading/subheading.tag (limited to 'src/components') diff --git a/src/components/content/content.tag b/src/components/content/content.tag new file mode 100644 index 0000000..5cd08a6 --- /dev/null +++ b/src/components/content/content.tag @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/src/components/counter/counter.tag b/src/components/counter/counter.tag new file mode 100644 index 0000000..d558e8e --- /dev/null +++ b/src/components/counter/counter.tag @@ -0,0 +1,13 @@ + +

Times clicked: { count }

+ + +
\ No newline at end of file diff --git a/src/components/header/header.less b/src/components/header/header.less new file mode 100644 index 0000000..13ac353 --- /dev/null +++ b/src/components/header/header.less @@ -0,0 +1,9 @@ +@import "../../style.less"; + +header h1 { + font-size: 5rem; + font-weight: 300; + @media screen and (max-width: @mobile-width) { + font-size: 3rem; + } +} \ No newline at end of file diff --git a/src/components/header/header.tag b/src/components/header/header.tag new file mode 100644 index 0000000..d0ebe95 --- /dev/null +++ b/src/components/header/header.tag @@ -0,0 +1,8 @@ +
+

Riot + Parcel example

+ A sample project using riot.js, less and parcel. + + +
\ No newline at end of file diff --git a/src/components/push-button/push-button.less b/src/components/push-button/push-button.less new file mode 100644 index 0000000..488fc37 --- /dev/null +++ b/src/components/push-button/push-button.less @@ -0,0 +1 @@ +@import "../../style.less"; \ No newline at end of file diff --git a/src/components/push-button/push-button.tag b/src/components/push-button/push-button.tag new file mode 100644 index 0000000..2d24c88 --- /dev/null +++ b/src/components/push-button/push-button.tag @@ -0,0 +1,13 @@ + + + + + + + \ No newline at end of file diff --git a/src/components/site/site.tag b/src/components/site/site.tag new file mode 100644 index 0000000..c5e8706 --- /dev/null +++ b/src/components/site/site.tag @@ -0,0 +1,10 @@ + +
+ + + + \ No newline at end of file diff --git a/src/components/subheading/subheading.tag b/src/components/subheading/subheading.tag new file mode 100644 index 0000000..4266a7b --- /dev/null +++ b/src/components/subheading/subheading.tag @@ -0,0 +1,5 @@ + +

+ +

+
\ No newline at end of file -- cgit v1.3