Slight restyling of homepage
This commit is contained in:
parent
ff698cff14
commit
e49a20d52c
3 changed files with 17 additions and 8 deletions
|
@ -66,16 +66,26 @@ h3 {
|
||||||
}
|
}
|
||||||
|
|
||||||
.share-form {
|
.share-form {
|
||||||
margin-top: 50px;
|
margin-top: 30vh;
|
||||||
margin-bottom: 50px;
|
margin-bottom: 20px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.share-form form {
|
||||||
|
margin-bottom: 30px;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-custom {
|
.btn-custom {
|
||||||
background-color: #FE4365;
|
background-color: #FE4365;
|
||||||
|
}
|
||||||
|
.btn-custom, .btn-custom:active, .btn-custom:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.blurb {
|
||||||
|
margin-bottom: 100px;
|
||||||
|
}
|
||||||
|
|
||||||
.service {
|
.service {
|
||||||
padding: 40px 10px 10px 10px;
|
padding: 40px 10px 10px 10px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ module.exports = function(req, res) {
|
||||||
var url = parse(req.body.url);
|
var url = parse(req.body.url);
|
||||||
|
|
||||||
if (!url.host) {
|
if (!url.host) {
|
||||||
req.flash('search-error', 'Please paste a link below to find matches');
|
req.flash('search-error', 'Paste a music link above to find and share the matches');
|
||||||
res.redirect('/');
|
res.redirect('/');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,10 +6,6 @@
|
||||||
|
|
||||||
<div class="row share-form">
|
<div class="row share-form">
|
||||||
<div class="col-md-6 col-md-offset-3">
|
<div class="col-md-6 col-md-offset-3">
|
||||||
<% if (error.length > 0) { %>
|
|
||||||
<p class="alert alert-danger"><%= error %></p>
|
|
||||||
<% } %>
|
|
||||||
|
|
||||||
<form role="form" method="post" action="/search">
|
<form role="form" method="post" action="/search">
|
||||||
<div class="input-group input-group-lg">
|
<div class="input-group input-group-lg">
|
||||||
<input type="text" name="url" placeholder="Paste link here" class="form-control" autofocus>
|
<input type="text" name="url" placeholder="Paste link here" class="form-control" autofocus>
|
||||||
|
@ -18,10 +14,13 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<% if (error.length > 0) { %>
|
||||||
|
<p class="alert alert-danger"><%= error %></p>
|
||||||
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row blurb">
|
||||||
<div class="col-md-6 col-md-offset-3">
|
<div class="col-md-6 col-md-offset-3">
|
||||||
<p>Make sharing from music services better.
|
<p>Make sharing from music services better.
|
||||||
We match album and track links from Rdio, Spotify, Deezer, Beats Music, Google Music and iTunes and give you back a link with all of them.</p>
|
We match album and track links from Rdio, Spotify, Deezer, Beats Music, Google Music and iTunes and give you back a link with all of them.</p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue