Skip to content

Commit

Permalink
added footer
Browse files Browse the repository at this point in the history
  • Loading branch information
tuhinpal committed Sep 6, 2020
1 parent 382259e commit 9643b7c
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 5 deletions.
59 changes: 59 additions & 0 deletions play/assets/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions play/assets/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ getJSON('https://api.musicder.tk/?query=https://www.jiosaavn.com/song/' + songid
console.error(err);
} else {
document.getElementById('content').style.display = 'block';
document.getElementById('footer').style.display = 'block';
document.getElementById('loads').style.display = 'none';
var songname = `${data.song}`;
var artist = `${data.singers}`;
Expand Down
42 changes: 39 additions & 3 deletions play/assets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,25 @@ body {
margin-top: 75px;
width: 340px;
background: #00AD5F;
border-radius: 10px;
border-radius: 12px;
}

.lyricsdiv {
margin-left: auto;
margin-right: auto;
margin-top: 0px;
margin-top: 40px;
width: 340px;
background: #00AD5F;
border-radius: 10px;
border-radius: 12px;
}

.footer {
margin-left: auto;
margin-right: auto;
margin-top: 50px;
width: 340px;
background: #ffffff;
border-radius: 0px;
}

.image {
Expand Down Expand Up @@ -124,6 +133,33 @@ body {
bottom: 0;
}

.logo {
color: #1C1C1C;
font-family: 'Bitter', serif;
font-size: 20px;
font-weight: bold;
text-align: center;
padding-top: 15px;
padding-right: 20px;
padding-bottom: 1px;
padding-left: 20px;
transform: translate(0px, 10px);
}

.paragone {
color: #1C1C1C;
font-family: Krona One;
font-size: 10px;
text-align: center;
padding: 0px 10px;
}

.center {
text-align: center;
display: block;
margin-left: auto;
margin-right: auto;
}

/**
* Made by Tuhin Kanti Pal
Expand Down
10 changes: 8 additions & 2 deletions play/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="author" content="Tuhin Kanti Pal">
<link href="https://fonts.googleapis.com/css?family=Krona+One|Catamaran" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css2?family=Bitter:wght@900&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="../img/favicon.png">
<link href="assets/style.css" rel="stylesheet" />
</head>
<body onload="document.getElementById('lyricsdiv').style.display = 'none'; document.getElementById('content').style.display = 'none'; document.getElementById('loads').style.display = 'block'; document.getElementById('lyricsinit').style.visibility = 'hidden';">
<body onload="document.getElementById('lyricsdiv').style.display = 'none'; document.getElementById('footer').style.display = 'none'; document.getElementById('content').style.display = 'none'; document.getElementById('loads').style.display = 'block'; document.getElementById('lyricsinit').style.visibility = 'hidden';">
<div id="content" class="content">
<br><br>
<img id="songimage" class="image" width="75%"/>
Expand All @@ -23,7 +24,6 @@ <h1 id="songname" class="songname"></h1>
</div>
<br>
</div>
<br><br>
<div class="lyricsdiv" id="lyricsdiv">
<p class="lyricsheading">
Lyrics
Expand All @@ -34,6 +34,12 @@ <h1 id="songname" class="songname"></h1>
<div id="loads">
<img id="image" src="../img/loading.gif" class="loading" width="150" height="150">
</div>
<div id="footer" class="footer">
<h1 onclick="window.location.href='https://musicder.tk/';" class="logo">MUSICDER</h1>
<br>
<p class="paragone" onclick="window.location.href='https://tu.hin.life';">An Open Source Project by Tuhin</p>
<img class="center" onclick="window.location.href='https://github.com/cachecleanerjeet/Musicder';" src="assets/github.svg" width="30" height="30">
</div>
</body>
<script src="assets/main.js"></script>
</html>
Expand Down

0 comments on commit 9643b7c

Please sign in to comment.