add backend code

This commit is contained in:
geoffrey45
2021-12-14 08:53:16 +03:00
parent 7d0f38755b
commit 89195bd352
8 changed files with 57 additions and 47 deletions
Submodule
+1
Submodule Server added at 66684f0a80
Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

@@ -85,7 +85,7 @@ export default {
<style lang="scss"> <style lang="scss">
.f-a-artists { .f-a-artists {
position: relative; position: relative;
height: 12em; height: 13rem;
width: calc(100%); width: calc(100%);
background-color: #1f1e1d; background-color: #1f1e1d;
padding: $small; padding: $small;
@@ -167,7 +167,7 @@ export default {
width: 9em; width: 9em;
height: 10em; height: 10em;
border-radius: $small; border-radius: $small;
background-color: #210368; background-color: #064e92;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -201,7 +201,7 @@ export default {
overflow: hidden; overflow: hidden;
margin-left: -0.1rem; margin-left: -0.1rem;
background: linear-gradient(239deg, #704bca, #d77422, #140059, #9cb0c3); background: linear-gradient(239deg, #704bca, #d77422, #064e92, #9cb0c3);
background-size: 800% 800%; background-size: 800% 800%;
-webkit-animation: similarAlbums 29s ease infinite; -webkit-animation: similarAlbums 29s ease infinite;
+2 -2
View File
@@ -43,7 +43,7 @@ export default {
<style lang="scss"> <style lang="scss">
.a-header { .a-header {
height: 14rem; height: 14rem;
background: rgb(228, 151, 151); background: rgb(0, 0, 0);
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 1rem 0 1rem; padding: 0 1rem 0 1rem;
@@ -51,7 +51,7 @@ export default {
.art { .art {
width: 12rem; width: 12rem;
height: 12rem; height: 12rem;
background: no-repeat center/cover url(../../assets/images/girl1.jpg); background: no-repeat center/cover url(../../assets/images/jw.jpeg);
margin-right: 1rem; margin-right: 1rem;
} }
+7 -2
View File
@@ -7,12 +7,17 @@
</div> </div>
</div> </div>
<div class="all-albums"> <div class="all-albums">
<div class="item rounded" v-for="album in albums" :key="album"> <router-link
:to="{ path: '/albums/1' }"
class="item rounded"
v-for="album in albums"
:key="album"
>
<div class="play"></div> <div class="play"></div>
<div class="album-art image rounded"></div> <div class="album-art image rounded"></div>
<div class="name ellip">{{ album.title }}</div> <div class="name ellip">{{ album.title }}</div>
<div class="artist ellip">{{ album.artist }}</div> <div class="artist ellip">{{ album.artist }}</div>
</div> </router-link>
</div> </div>
</div> </div>
</template> </template>
+9 -5
View File
@@ -2,7 +2,12 @@
<div class="top-albums"> <div class="top-albums">
<div class="heading">TOP ALBUMS</div> <div class="heading">TOP ALBUMS</div>
<div class="items"> <div class="items">
<div class="item rounded" v-for="album in albums" :key="album"> <router-link
:to="{ path: '/albums/1' }"
class="item rounded"
v-for="album in albums"
:key="album"
>
<div class="image rounded"></div> <div class="image rounded"></div>
<div class="info"> <div class="info">
<div class="name ellip">{{ album.title }}</div> <div class="name ellip">{{ album.title }}</div>
@@ -13,7 +18,7 @@
<div class="text ellip">{{ album.top_track }}</div> <div class="text ellip">{{ album.top_track }}</div>
</div> </div>
</div> </div>
</div> </router-link>
</div> </div>
</div> </div>
</template> </template>
@@ -64,8 +69,7 @@ export default {
.item { .item {
height: 10rem; height: 10rem;
width: 100%; width: clamp(10rem, 100%, 25rem);
max-width: 25rem;
background-color: rgb(7, 6, 6); background-color: rgb(7, 6, 6);
display: grid; display: grid;
align-items: center; align-items: center;
@@ -75,7 +79,7 @@ export default {
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
&:hover { &:hover {
transform: translateY(-.5em); transform: translateY(-0.5em);
} }
.image { .image {
+1 -1
View File
@@ -96,7 +96,7 @@ export default {
height: 3rem; height: 3rem;
margin-right: 1rem; margin-right: 1rem;
background-color: #ccc; background-color: #ccc;
background-image: url(../../assets/images/weed.jpg); background-image: url(../../assets/images/jw.jpeg);
} }
.folder .table .flex { .folder .table .flex {
+32 -32
View File
@@ -1,54 +1,54 @@
const songs = [ const songs = [
{ {
title: "Doom",
album: "Fighting Demons",
artists: ["Juice Wrld"],
duration: "03:14",
},
{
title: "Girl Of My Dreams",
album: "Fighting Demons",
artists: ["Juice Wrld, ", "Suga [BTS]"],
duration: "03:14",
},
{
title: "Feline",
album: "Fighting Demons",
artists: ["Juice Wrld, ", "Polo G, ", "Lil Yachty"],
duration: "03:14",
},
{
title: "Rockstar In His Prime",
album: "Fighting Demons",
artists: ["Juice Wrld"],
duration: "03:14",
},{
title: "Because I got high", title: "Because I got high",
album: "The best of", album: "Fighting Demons",
artists: ["Weedman, ", "Bobby Brown"], artists: ["Juice Wrld"],
duration: "03:14", duration: "03:14",
}, },
{ {
title: "Is this love", title: "Is this love",
album: "Natural Mystic", album: "Fighting Demons",
artists: ["Bob Marley"], artists: ["Bob Marley"],
duration: "03:14", duration: "03:14",
}, },
{ {
title: "I'm a little teapot", title: "I'm a little teapot",
album: "Love songs", album: "Fighting Demons",
artists: ["Ricky Martin"], artists: ["Juice Wrld"],
duration: "03:14", duration: "03:14",
}, },
{ {
title: "Don't stop me now", title: "Don't stop me now",
album: "Remastered 2011", album: "Fighting Demons",
artists: ["Queen"], artists: ["Juice Wrld"],
duration: "03:14", duration: "03:14",
},{ },{
title: "Because I got high", title: "Because I got high",
album: "The best of", album: "Fighting Demons",
artists: ["Weedman, ", "Bobby Brown"], artists: ["Juice Wrld"],
duration: "03:14",
},
{
title: "Is this love",
album: "Natural Mystic",
artists: ["Bob Marley"],
duration: "03:14",
},
{
title: "I'm a little teapot",
album: "Love songs",
artists: ["Ricky Martin"],
duration: "03:14",
},
{
title: "Don't stop me now",
album: "Remastered 2011",
artists: ["Queen"],
duration: "03:14",
},{
title: "Because I got high",
album: "The best of",
artists: ["Weedman, ", "Bobby Brown"],
duration: "03:14", duration: "03:14",
}, },
]; ];