diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 7c805ce..f64127e 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -66,16 +66,26 @@ h3 { } .share-form { - margin-top: 50px; - margin-bottom: 50px; + margin-top: 30vh; + margin-bottom: 20px; text-align: center; } +.share-form form { + margin-bottom: 30px; +} + .btn-custom { background-color: #FE4365; +} +.btn-custom, .btn-custom:active, .btn-custom:hover { color: #fff; } +.blurb { + margin-bottom: 100px; +} + .service { padding: 40px 10px 10px 10px; } diff --git a/routes/search.js b/routes/search.js index f875359..04bcd86 100644 --- a/routes/search.js +++ b/routes/search.js @@ -16,7 +16,7 @@ module.exports = function(req, res) { var url = parse(req.body.url); 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('/'); return; } diff --git a/views/index.ejs b/views/index.ejs index 51b6170..2774735 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -6,10 +6,6 @@
- <% if (error.length > 0) { %> -

<%= error %>

- <% } %> -
@@ -18,10 +14,13 @@
+ <% if (error.length > 0) { %> +

<%= error %>

+ <% } %>
-
+

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.