Skip to content

Commit 7de5fec

Browse files
committed
Deploy SuperuserLabs/superuserlabs.github.io to github.com/SuperuserLabs/superuserlabs.github.io.git:master
1 parent 0b1d1f2 commit 7de5fec

File tree

3 files changed

+118
-1
lines changed

3 files changed

+118
-1
lines changed

thankful/creator.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,46 @@
44
window.dataLayer = window.dataLayer || [];
55
function gtag(){dataLayer.push(arguments);}
66
gtag('js', new Date());
7+
78
gtag('config', 'UA-121109725-1');
9+
</script>
10+
11+
<script>
12+
// From: https://support.google.com/analytics/answer/7478520?hl=en
13+
/**
14+
* Function that registers a click on an outbound link in Analytics.
15+
* This function takes a valid URL string as an argument, and uses that URL string
16+
* as the event label. Setting the transport method to 'beacon' lets the hit be sent
17+
* using 'navigator.sendBeacon' in browser that support it.
18+
*/
19+
var getOutboundLink = function(urlOrEvent) {
20+
let url;
21+
let target;
22+
if(typeof urlOrEvent === 'string') {
23+
url = urlOrEvent;
24+
} else {
25+
let event = urlOrEvent || window.event;
26+
let el = event.target || event.srcElement;
27+
if(!el.href) el = el.parentNode;
28+
url = el.href;
29+
target = el.target;
30+
}
31+
//console.log(url);
32+
//console.log(target);
33+
if(window.google_tag_manager) {
34+
gtag('event', 'click', {
35+
'event_category': 'outbound',
36+
'event_label': url,
37+
'transport_type': 'beacon',
38+
'event_callback': function() {
39+
window.open(url, target);
40+
//document.location = url;
41+
}
42+
});
43+
} else {
44+
window.open(url, target);
45+
}
46+
}
847
</script></head><body><header class="mdl-layout__header mdl-layout__header--scroll" style="font-family: 'Roboto', 'Helvetica', sans-serif; background-color: #263238;"><div class="mdl-layout__header-row" style="padding: 0 2em 0 2em"><span class="mdl-layout__title"><a style="color: #FFF; text-decoration: none; padding-right: 1em" href="https://superuserlabs.github.io/">Superuser Labs</a></span><div class="mdl-navigation"><a class="mdl-navigation__link" href="https://getthankful.io/" style="font-weight: 500;">Thankful</a><a class="mdl-navigation__link" href="https://activitywatch.net/" style="font-weight: 500;">ActivityWatch</a></div><div class="mdl-layout-spacer"></div><div class="mdl-navigation"><a class="mdl-navigation__link" href="https://github.com/SuperuserLabs/thankful"><i class="fab fa-github fa-2x"></i></a><a class="mdl-navigation__link" href="https://twitter.com/getthankful"><i class="fab fa-twitter fa-2x"></i></a></div></div></header><div><div class="mdl-grid" style="padding: 6em"><div class="mdl-cell mdl-cell--8-col mdl-cell--2-offset-desktop"><div class="mdl-grid" style="padding: 0"><div class="display-4 text-center w-100">Thank you!</div><div class="col-md-6 offset-md-3"><p class="text-center">Thank you for showing interest! We are still in alpha and we need <b>your</b> input so that we can create the fee- and hassle-free funding experience creators want.</p><p class="text-center">Please take <a href="https://docs.google.com/forms/d/e/1FAIpQLSdgRsgDmFk63F_ZsVrON6iqla-60eHtgjzfSSgwIfodx1u84g/viewform?usp=sf_link">this survey</a> and subscribe below.</p><hr/><!-- Begin MailChimp Signup Form -->
948
<link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
1049
<style type="text/css">

thankful/donor.html

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,46 @@
44
window.dataLayer = window.dataLayer || [];
55
function gtag(){dataLayer.push(arguments);}
66
gtag('js', new Date());
7+
78
gtag('config', 'UA-121109725-1');
9+
</script>
10+
11+
<script>
12+
// From: https://support.google.com/analytics/answer/7478520?hl=en
13+
/**
14+
* Function that registers a click on an outbound link in Analytics.
15+
* This function takes a valid URL string as an argument, and uses that URL string
16+
* as the event label. Setting the transport method to 'beacon' lets the hit be sent
17+
* using 'navigator.sendBeacon' in browser that support it.
18+
*/
19+
var getOutboundLink = function(urlOrEvent) {
20+
let url;
21+
let target;
22+
if(typeof urlOrEvent === 'string') {
23+
url = urlOrEvent;
24+
} else {
25+
let event = urlOrEvent || window.event;
26+
let el = event.target || event.srcElement;
27+
if(!el.href) el = el.parentNode;
28+
url = el.href;
29+
target = el.target;
30+
}
31+
//console.log(url);
32+
//console.log(target);
33+
if(window.google_tag_manager) {
34+
gtag('event', 'click', {
35+
'event_category': 'outbound',
36+
'event_label': url,
37+
'transport_type': 'beacon',
38+
'event_callback': function() {
39+
window.open(url, target);
40+
//document.location = url;
41+
}
42+
});
43+
} else {
44+
window.open(url, target);
45+
}
46+
}
847
</script></head><body><header class="mdl-layout__header mdl-layout__header--scroll" style="font-family: 'Roboto', 'Helvetica', sans-serif; background-color: #263238;"><div class="mdl-layout__header-row" style="padding: 0 2em 0 2em"><span class="mdl-layout__title"><a style="color: #FFF; text-decoration: none; padding-right: 1em" href="https://superuserlabs.github.io/">Superuser Labs</a></span><div class="mdl-navigation"><a class="mdl-navigation__link" href="https://getthankful.io/" style="font-weight: 500;">Thankful</a><a class="mdl-navigation__link" href="https://activitywatch.net/" style="font-weight: 500;">ActivityWatch</a></div><div class="mdl-layout-spacer"></div><div class="mdl-navigation"><a class="mdl-navigation__link" href="https://github.com/SuperuserLabs/thankful"><i class="fab fa-github fa-2x"></i></a><a class="mdl-navigation__link" href="https://twitter.com/getthankful"><i class="fab fa-twitter fa-2x"></i></a></div></div></header><div><div class="mdl-grid" style="padding: 6em"><div class="mdl-cell mdl-cell--8-col mdl-cell--2-offset-desktop"><div class="mdl-grid" style="padding: 0"><div class="display-4 text-center w-100">Thank you!</div><div class="col-md-6 offset-md-3"><p class="text-center">Thank you for showing interest! We are still in alpha and we need <b>your</b> input so that we can help you support the creators you love.</p><p class="text-center">Please take <a href="https://docs.google.com/forms/d/e/1FAIpQLSeorT2AUsJ4_SxxEm12zYz89Pk9mz3XZvPxL336Q-mR-_LAqw/viewform?usp=sf_link">this survey</a> and subscribe below.</p><hr/><!-- Begin MailChimp Signup Form -->
948
<link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
1049
<style type="text/css">

thankful/index.html

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,49 @@
44
window.dataLayer = window.dataLayer || [];
55
function gtag(){dataLayer.push(arguments);}
66
gtag('js', new Date());
7+
78
gtag('config', 'UA-121109725-1');
9+
</script>
10+
11+
<script>
12+
// From: https://support.google.com/analytics/answer/7478520?hl=en
13+
/**
14+
* Function that registers a click on an outbound link in Analytics.
15+
* This function takes a valid URL string as an argument, and uses that URL string
16+
* as the event label. Setting the transport method to 'beacon' lets the hit be sent
17+
* using 'navigator.sendBeacon' in browser that support it.
18+
*/
19+
var getOutboundLink = function(urlOrEvent) {
20+
let url;
21+
let target;
22+
if(typeof urlOrEvent === 'string') {
23+
url = urlOrEvent;
24+
} else {
25+
let event = urlOrEvent || window.event;
26+
let el = event.target || event.srcElement;
27+
if(!el.href) el = el.parentNode;
28+
url = el.href;
29+
target = el.target;
30+
}
31+
//console.log(url);
32+
//console.log(target);
33+
if(window.google_tag_manager) {
34+
gtag('event', 'click', {
35+
'event_category': 'outbound',
36+
'event_label': url,
37+
'transport_type': 'beacon',
38+
'event_callback': function() {
39+
window.open(url, target);
40+
//document.location = url;
41+
}
42+
});
43+
} else {
44+
window.open(url, target);
45+
}
46+
}
847
</script></head><body><div class="mdl-layout mdl-js-layout mdl-layout--fixed-header"><header class="mdl-layout__header mdl-layout__header--scroll" style="font-family: 'Roboto', 'Helvetica', sans-serif; background-color: #263238;"><div class="mdl-layout__header-row" style="padding: 0 2em 0 2em"><span class="mdl-layout__title"><a style="color: #FFF; text-decoration: none; padding-right: 1em" href="https://superuserlabs.github.io/">Superuser Labs</a></span><div class="mdl-navigation"><a class="mdl-navigation__link" href="https://getthankful.io/" style="font-weight: 500;">Thankful</a><a class="mdl-navigation__link" href="https://activitywatch.net/" style="font-weight: 500;">ActivityWatch</a></div><div class="mdl-layout-spacer"></div><div class="mdl-navigation"><a class="mdl-navigation__link" href="https://github.com/SuperuserLabs/thankful"><i class="fab fa-github fa-2x"></i></a><a class="mdl-navigation__link" href="https://twitter.com/getthankful"><i class="fab fa-twitter fa-2x"></i></a></div></div></header><main class="mdl-layout__content"><div style="position: relative; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05)); background-repeat: no-repeat; background-size: cover; background-position: center; padding: 5em 0em 2em 0"><div class="mdl-typography--text-center mdl-color-text--grey-800"><div><div class="mdl-typography--display-4"><div style="white-space: nowrap; font-size: 0.8em"><img src="/media/thankful-logo-512.png" style="width: 1em; display: inline-block; vertical-align: middle; margin: 0em 0em 0.2em 0"/><span style="display: inline-block; vertical-align: middle; font-family: 'Varela round'"><b>hankful</b></span></div></div></div><div style="font-family: 'Varela round'"><div style="margin-top: 1.5em; font-size: 1.5em; font-weight: bold;">Support the creators that you love using cryptocurrency</div><div style="margin-top: 0.6em; font-size: 1.25em">Easier, fairer, and without middlemen</div></div><hr style="width: 24em; margin: 2em auto 2em auto;"/><div style="padding: 0 1em"><h5><b>Try the early alpha!</b></h5><!--div+button("asd", style="background-color: #F82; color: white")
948
| <i class="fab fa-firefox" style="color: #FFF"></i> Firefox
10-
--><div style="display: flex; align-items: center; justify-content: center;"><div style="margin-right: 1em"><a href="https://chrome.google.com/webstore/detail/thankful/eapbondnpopbiepnjfhnaaejfdfjhnde"><img src="https://developer.chrome.com/webstore/images/ChromeWebStore_BadgeWBorder_v2_206x58.png"/></a></div><div><a href="https://addons.mozilla.org/en-US/firefox/addon/getthankful/"><img src="https://addons.cdn.mozilla.net/static/img/addons-buttons/AMO-button_1.png"/></a></div></div><div class="mdl-typography--body-2-color-contrast" style="margin-top: 0.5em">...or get the code on <a class="mdl-typography--body-2-color-contrast" href="https://github.com/SuperuserLabs/thankful">GitHub</a></div><figure style="border: 1px solid #555; border-radius: 3px; width: 30em; max-width: 100%; margin: 1em auto;"><a href="/media/screenshot-thankful-1280x800.png"><img src="/media/screenshot-thankful-1280x800.png" width="100%"/></a></figure><!--div(style="margin: 1em 3em 0 3em")include /templates/email-signup-horizontal.pug
49+
--><div style="display: flex; align-items: center; justify-content: center;"><div style="margin-right: 1em"><a href="https://chrome.google.com/webstore/detail/thankful/eapbondnpopbiepnjfhnaaejfdfjhnde" target="_blank" onclick="getOutboundLink(event); return false;"><img src="https://developer.chrome.com/webstore/images/ChromeWebStore_BadgeWBorder_v2_206x58.png"/></a></div><div><a href="https://addons.mozilla.org/en-US/firefox/addon/getthankful/" target="_blank" onclick="getOutboundLink(event); return false;"><img src="https://addons.cdn.mozilla.net/static/img/addons-buttons/AMO-button_1.png"/></a></div></div><div class="mdl-typography--body-2-color-contrast" style="margin-top: 0.5em">...or get the code on <a class="mdl-typography--body-2-color-contrast" href="https://github.com/SuperuserLabs/thankful">GitHub</a></div><figure style="border: 1px solid #555; border-radius: 3px; width: 30em; max-width: 100%; margin: 1em auto;"><a href="/media/screenshot-thankful-1280x800.png"><img src="/media/screenshot-thankful-1280x800.png" width="100%"/></a></figure><!--div(style="margin: 1em 3em 0 3em")include /templates/email-signup-horizontal.pug
1150
--></div><!--divh5(style='margin-bottom: 0.5em')
1251
b Get started!
1352
p

0 commit comments

Comments
 (0)