Skip to content

Commit 3d2be31

Browse files
committed
big update to Thankful website
1 parent 4021ed1 commit 3d2be31

File tree

4 files changed

+72
-29
lines changed

4 files changed

+72
-29
lines changed

templates/email-signup-horizontal.pug

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
|<!-- Begin Mailchimp Signup Form -->
22
|<link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
33
|<style type="text/css">
4-
| #mc_embed_signup{clear:left; font:14px Helvetica,Arial,sans-serif; width:100%;}
4+
| #mc_embed_signup {clear:left; width:100%;}
5+
| #mc_embed_signup input {font:14px Helvetica,Arial,sans-serif; }
6+
|
7+
| #mc_embed_signup label { font-size: 1.2em; line-height: 1.2em; }
58
| /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
69
| We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
710
|

templates/head-includes.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ link(rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Ic
66
// Possible values for primary: deep_orange, red, pink, purple, deep_purple, indigo, blue, light_blue, cyan, teal, green, light_green, lime, yellow, amber, orange, brown, blue_grey, grey
77
- var primary = 'deep_purple';
88
// Possible values for secondary: deep_orange, red, pink, purple, deep_purple, indigo, blue, light_blue, cyan, teal, green, light_green, lime, yellow, amber, orange
9-
- var secondary = 'amber';
9+
- var secondary = 'orange';
1010
link(rel="stylesheet" href=`https://code.getmdl.io/1.3.0/material.${primary}-${secondary}.min.css`)
1111
script(defer src="https://code.getmdl.io/1.3.0/material.min.js")
1212

templates/mixins.pug

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
mixin section(padding="2em 0em")
22
div()&attributes(attributes)
3-
div(style=`padding: ${padding}`)
4-
.mdl-grid
5-
+cell(8).mdl-cell--2-offset-desktop
6-
.mdl-grid
7-
block
3+
.mdl-grid(style=`padding: ${padding}`)
4+
+cell(8).mdl-cell--2-offset-desktop
5+
.mdl-grid(style="padding: 0")
6+
block
87

98

109
mixin button(href, style)
@@ -51,11 +50,11 @@ mixin cell(cols)
5150

5251

5352
mixin sectitle
54-
h2.mdl-typography--display-2-color-contrast
53+
h4.mdl-typography--display-1(style="margin-top: 0")
5554
block
5655

5756
mixin footer
5857
+section("2em")(class!=attributes.class)
5958
+cell(12)
60-
p(style="margin: 0")
59+
p(style="margin: 0; text-align: center")
6160
b Made with #[i.fas.fa-heart(style="color: red")] by Superuser Labs

thankful/index.pug

Lines changed: 61 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ html
1515
+text('div', 'text-center', 'grey-800')
1616
div
1717
+typo('div', 'display-4')
18-
img(src="/media/thankful-logo-512.png", style="width: 1em; display: inline-block; vertical-align: middle; margin: 0em 0em 0.2em 0")
19-
span(style="display: inline-block; vertical-align: middle; font-family: 'Varela round'")
20-
| #[b hankful]
18+
div(style="white-space: nowrap; font-size: 0.8em")
19+
img(src="/media/thankful-logo-512.png", style="width: 1em; display: inline-block; vertical-align: middle; margin: 0em 0em 0.2em 0")
20+
span(style="display: inline-block; vertical-align: middle; font-family: 'Varela round'")
21+
| #[b hankful]
2122
div(style="font-family: 'Varela round'")
2223
div(style="margin-top: 1.5em; font-size: 1.5em; font-weight: bold;")
2324
| Support the creators that you love using cryptocurrency
@@ -29,6 +30,11 @@ html
2930
div
3031
h5
3132
b Try the early alpha!
33+
34+
//div
35+
+button("asd", style="background-color: #F82; color: white")
36+
| #[i.fab.fa-firefox(style="color: #FFF")] Firefox
37+
3238
div(style="display: flex; align-items: center; justify-content: center;")
3339
div(style="margin: 0 1em")
3440
a(href="https://chrome.google.com/webstore/detail/thankful/eapbondnpopbiepnjfhnaaejfdfjhnde")
@@ -37,6 +43,9 @@ html
3743
a(href="https://addons.mozilla.org/en-US/firefox/addon/getthankful/")
3844
img(src="https://addons.cdn.mozilla.net/static/img/addons-buttons/AMO-button_1.png")
3945

46+
div.mdl-typography--body-2-color-contrast(style="margin-top: 0.5em")
47+
| ...or get the code on #[a(href="https://github.com/SuperuserLabs/thankful").mdl-typography--body-2-color-contrast GitHub]
48+
4049
p
4150
a(href="/media/screenshot-thankful-1280x800.png")
4251
figure(style="border: 1px solid #555; border-radius: 3px; width: 30em; max-width: 100%; margin: 0 auto 0 auto")
@@ -60,33 +69,65 @@ html
6069
+section
6170
+cell(9)
6271
+sectitle Support everyone you like
63-
p Thankful makes it easy to support creators. It keeps track of your favorite creators and then lets you support those you like the most.
64-
+cell(3)(align='right')
65-
+fa('donate', 'fas', 'amber')
72+
div(style="opacity: 0.8")
73+
p
74+
| Thankful automatically tracks which creators you spend time on. Then at the end of the month, it shows you a list of your top creators and lets you support them by sending them cryptocurrency.
75+
p
76+
| We currently support creators on:
77+
ul(style="padding-left: 2em; margin: 0")
78+
li YouTube
79+
li GitHub
80+
li Medium
81+
li ...and more to come
6682

67-
+section.mdl-color--grey-200
68-
+cell(3)(style="margin-top: 2em")
69-
+fa('coins', 'fas', 'amber')
70-
+cell(9)(align='right')
71-
+sectitle Zero fees
72-
p The only fees you pay are transaction fees, and the completely optional "I'm thankful for Thankful"-fee.
83+
+cell(3)(align='right', style="margin-top: 1em").mdl-cell--hide-phone
84+
+fa('heart', 'fas', 'red')
85+
86+
+section.mdl-color--grey-100
87+
+cell(9)
88+
+sectitle Healthier incentives, for a healthier web
89+
p There is a fundamental issue on the internet where ad-funded creators have incentive to steal your attention as long as possible instead of providing you with as much value as they can.
90+
91+
p By using Thankful, you incentivize creators to spend more time and effort on creating #[b what you want].
92+
+cell(3)(align='right', style="margin-top: 1em").mdl-cell--hide-phone
93+
span
94+
+fa('seedling', 'fas', 'green')
7395

7496
+section
7597
+cell(9)
7698
+sectitle A good use case for cryptocurrency
77-
p.mdl-typography--font-light
78-
| While some people in the crypto-community are figuring out how to do all kinds of cool and crazy things using the technology it seems like many people still view it as no more than a high volatility asset swinging between bubbles and crashes. By focusing on vastly improving the experience for an already common use of them (donations) we hope to demystify cryptocurrency and encourage adoption.
7999
p
80-
| Payments currently happen on the Ethereum blockchain* since it currently has the most active development and strongest developer community, but we seek to let you use whichever cryptocurrency you choose.
100+
| One of the earliest uses for cryptocurrency were donations. People and organizations all over the web accept donations and we want to build on that history and take it to the next level. You can read all about our master plan to make it easier to support every creator online #[a(href="https://github.com/SuperuserLabs/thankful/wiki/Growth-plan") here].
81101
p
82-
i *support for ERC-20 tokens planned
83-
+cell(3)(align='right', style="margin-top: 2em")
102+
| Payments are made with Ether*, the currency native to the Ethereum blockchain. This provides low transaction fees and lets us build more advanced features in the future by utilizing smart contracts and the vibrant Ethereum ecosystem.
103+
p
104+
i *support for more cryptocurrencies planned
105+
+cell(3)(align='right', style="margin-top: 1em").mdl-cell--hide-phone
84106
span(style="margin-right: 2em")
85107
+fa('ethereum', 'fab', 'blue-grey-900')
86108
span
87109
+fa('bitcoin', 'fab', 'amber')
88110

89-
+section.mdl-color--light-blue-50
90-
include /templates/email-signup-horizontal.pug
111+
+section.mdl-color--grey-100
112+
+cell(9)
113+
+sectitle
114+
| Zero fees #[span(style="opacity: 0.5") (almost) ]
115+
p The only fees you pay are transaction fees (usually ~1-3%), and the voluntary "I'm thankful for Thankful"-fee. This means #[b creators will get more] of what you give, and #[b reduces fees by about 90%] compared to Patreon.
116+
p You can read more about how we get rid of almost all fees #[a(href="https://github.com/SuperuserLabs/thankful/wiki/Fees") here].
117+
+cell(3)(align='right', style="margin-top: 1em").mdl-cell--hide-phone
118+
+fa('coins', 'fas', 'amber')
119+
120+
+section
121+
+cell(9)
122+
+sectitle
123+
| Open source, unstoppable, and you own your data
124+
p We believe in open source and self-ownership of data. That's why we designed Thankful so that we don't collect any of your data and don't need any servers. Even if we disappeared tomorrow, Thankful would still work.
125+
126+
+cell(3)(align='right', style="margin-top: 1em").mdl-cell--hide-phone
127+
+fa('code', 'fas', 'grey-500')
128+
129+
+section.mdl-color--grey-100
130+
+cell(12)(style="font-size: 1.5em")
131+
include /templates/email-signup-horizontal.pug
91132

92-
+footer.mdl-color--grey-200
133+
+footer

0 commit comments

Comments
 (0)