Browse Source

Did some SEO and optimisation stuff.

KrisVos130 9 years ago
parent
commit
29c016c712

+ 4 - 0
app/client/app.css

@@ -1251,6 +1251,10 @@ nav form input[type="image"]{
     color: white;
 }
 
+.navbar-overflow-y-hidden {
+    overflow-y: hidden;
+}
+
 /* https://css-tricks.com/custom-scrollbars-in-webkit/ */
 
 ::-webkit-scrollbar {

+ 1 - 1
app/client/client.js

@@ -1131,7 +1131,7 @@ Template.room.onCreated(function () {
             $("#media-container").empty();
             yt_player = undefined;
             if (currentSong.type === "SoundCloud") {
-                $("#media-container").append('<img src="/soundcloud-image.png" class="embed-responsive-item" />');
+                $("#media-container").append('<img alt="Not loading" src="/soundcloud-image.png" class="embed-responsive-item" />');
                 getSongInfo(currentSong);
                 SC.stream("/tracks/" + currentSong.id, function(sound){
                     _sound = sound;

+ 1 - 1
app/client/head.html

@@ -28,7 +28,7 @@
     <meta name="theme-color" content="#ffffff">
     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
     <link href='http://fonts.googleapis.com/css?family=Oxygen:400,300,700' rel='stylesheet' type='text/css'>
-    <script src="/bootstrap-slider.js"></script>
+    <script src="/bootstrap-slider.min.js"></script>
     <script type="application/javascript">
         addEventListener("load", function() {
             setTimeout(hideURLbar, 0);

File diff suppressed because it is too large
+ 1 - 1
app/client/templates/header.html


+ 1 - 1
app/client/templates/room.html

@@ -37,7 +37,7 @@
                             </div>
                         </div>
                         <div id="song-info" class="col-md-4" style="margin-top:15px">
-                            <img class="song-img" onError="this.src='http://static.boredpanda.com/blog/wp-content/uploads/2014/04/amazing-fox-photos-182.jpg'" id="song-img"/>
+                            <img alt="Not loading" class="song-img" onError="this.src='http://static.boredpanda.com/blog/wp-content/uploads/2014/04/amazing-fox-photos-182.jpg'" id="song-img"/>
                             <h2 class="room-title">{{{title}}} <small id="time-display">(<span id="time-elapsed"></span> / <span id="time-total"></span>)</small></h2>
                             <h2 class="room-artist">{{{artist}}}</h2>
                         </div>

+ 1 - 1
app/client/templates/stations.html

@@ -162,7 +162,7 @@
                         <h4 class="modal-title">Preview Image</h4>
                     </div>
                     <div class="modal-body">
-                        <img id="preview-image" height="210px" width="210px" src=""/>
+                        <img alt="Not loading" id="preview-image" height="210px" width="210px" src=""/>
                     </div>
                     <div class="modal-footer">
                         <button id="close-modal" type="button" class="btn btn-default" data-dismiss="modal">Close</button>

File diff suppressed because it is too large
+ 0 - 0
app/public/bootstrap-slider.min.js


+ 0 - 0
app/public/robot.txt → app/public/robots.txt


Some files were not shown because too many files changed in this diff