Merge branch 'preview' of github.com:dutchcoders/transfer.sh into preview

This commit is contained in:
Remco 2014-11-13 16:56:35 +01:00
commit 3b1696bd8a
9 changed files with 41 additions and 106 deletions

View file

@ -9,29 +9,15 @@
include "includes/head.html"
<body id="download">
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-40833733-1', 'transfer.sh');
ga('send', 'pageview');
</script>
include "includes/ga.html"
include "includes/navigation.html"
<section id="home">
<div class="wrapper">
<br/>
<h2>{{.Filename}}</h2>
<h2 class="page-title">{{.Filename}}</h2>
<h4>type: <b>{{.ContentType}}</b></h4>
<h4>size: <b>{{.ContentLength | format "#,###."}}</b> bytes</h4>
<div>

View file

@ -9,28 +9,14 @@
include "includes/head.html"
<body id="download">
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-40833733-1', 'transfer.sh');
ga('send', 'pageview');
</script>
include "includes/ga.html"
include "includes/navigation.html"
<section id="home">
<div class="wrapper">
<br/>
<h2> {{.Filename}}</h2>
<h2 class="page-title" > {{.Filename}}</h2>
<h4>type: <b>{{.ContentType}}</b></h4>
<h4>size: <b>{{.ContentLength | format "#,###."}}</b> bytes</h4>
<div class="row animated fadeInDown">

View file

@ -9,28 +9,14 @@
include "includes/head.html"
<body id="download">
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-40833733-1', 'transfer.sh');
ga('send', 'pageview');
</script>
include "includes/ga.html"
include "includes/navigation.html"
<section id="home">
<div class="wrapper">
<br/>
<h2>{{.Filename}}</h2>
<h2 class="page-title">{{.Filename}}</h2>
<h4>type: <b>{{.ContentType}}</b></h4>
<h4>size: <b>{{.ContentLength | format "#,###."}}</b> bytes</h4>
<div class="row animated fadeInDown">
@ -57,37 +43,6 @@ include "includes/head.html"
</section>
<script>
(function() {
var uv = document.createElement('script');
uv.type = 'text/javascript';
uv.async = true;
uv.src = '//widget.uservoice.com/5rkATbLIm8ClJQeOirOhFg.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(uv, s)
})()
</script>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<script>
(function(b, o, i, l, e, r) {
b.GoogleAnalyticsObject = l;
b[l] || (b[l] =
function() {
(b[l].q = b[l].q || []).push(arguments)
});
b[l].l = +new Date;
e = o.createElement(i);
r = o.getElementsByTagName(i)[0];
e.src = '//www.google-analytics.com/analytics.js';
r.parentNode.insertBefore(e, r)
}(window, document, 'script', 'ga'));
ga('create', 'UA-40833733-1', 'transfer.sh');
ga('send', 'pageview');
</script>
include "includes/footer.html"
include "includes/js.html"
</body>

View file

@ -9,28 +9,15 @@
include "includes/head.html"
<body id="download">
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-40833733-1', 'transfer.sh');
ga('send', 'pageview');
</script>
include "includes/ga.html"
include "includes/navigation.html"
<section id="home">
<div class="wrapper">
<br/>
<h2> {{.Filename}}</h2>
<h2 class="page-title"> {{.Filename}}</h2>
<h4>type: <b>{{.ContentType}}</b></h4>
<h4>size: <b>{{.ContentLength | format "#,###."}}</b> bytes</h4>
<div class="row animated fadeInDown">

View file

@ -0,0 +1,15 @@
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function() {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-40833733-1', 'transfer.sh');
ga('send', 'pageview');
</script>

View file

@ -31,10 +31,10 @@ include "includes/head.html"
<section id="home">
<div class="wrapper">
<h2>
<h2 class="page-title">
Easy file sharing from the command line</h2>
<div class="row animated fadeInDown">
<div id="from-terminal" class=" box col-md-8 col-md-offset-2 col-xs-12">
<div id="from-terminal" class="box col-md-8 col-md-offset-2 col-xs-12">
<div class="terminal-top">
</div>
@ -118,7 +118,7 @@ include "includes/head.html"
<section id="samples">
<div class="wrapper">
<h2>
<h2 class="page-title">
Sample use cases
</h2>
<div class="row">
@ -257,7 +257,7 @@ include "includes/head.html"
<section id="share">
<div class="wrapper">
<h2>Follow on GitHub</h2>
<h2 class="page-title">Follow on GitHub</h2>
<br>
<br>
@ -322,7 +322,7 @@ include "includes/head.html"
<section id="share">
<div class="wrapper">
<h2>Share the love</h2>
<h2 class="page-title">Share the love</h2>
<ul class="share-buttons">
<li>
<a href="https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Ftransfer.sh&t=" target="_blank" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent(document.URL) + '&t=' + encodeURIComponent(document.URL)); return false;"> <i class="icon-facebook"></i>
@ -346,7 +346,7 @@ include "includes/head.html"
<section id="contact">
<div class="wrapper">
<i class="icon-mail"></i>
<h2>
<h2 class="page-title">
Any questions?
</h2>
<a href="#" data-uv-trigger class="btn-cta">contact us</a>

View file

@ -46,7 +46,7 @@ body {
}
h2 {
.page-title {
text-align: center;
font-size: 35px;
@media (min-width: @screen-sm-min) {

View file

@ -1,14 +1,14 @@
#home {
text-align: center;
h2 {
.page-title {
font-size: 30px;
}
@media (min-width: @screen-sm-min) {
padding: 50px;
h2 {
.page-title {
font-size: 45px;
margin-top: -20px;
margin-bottom: 45px;
margin-bottom: 10px;
}
}
.btn-home {

View file

@ -86,6 +86,12 @@ padding: 20px;
}
}
#md-preview {
#md-preview,{
padding-bottom: 30px;
}
video {
margin: 0 auto;
width: 100%;
}