diff --git a/src/renderer/App.vue b/src/renderer/App.vue index 4b1d3f4..5fd81c2 100644 --- a/src/renderer/App.vue +++ b/src/renderer/App.vue @@ -26,7 +26,7 @@ $FontPath: '/node_modules/roboto-slab-fontface-kit/fonts' @include normalize() $lato-font-path: '/node_modules/lato-font/fonts' - + @include lato-include-font('normal') diff --git a/src/renderer/layouts/HomePage.vue b/src/renderer/layouts/HomePage.vue index 352bb74..e14c6d1 100644 --- a/src/renderer/layouts/HomePage.vue +++ b/src/renderer/layouts/HomePage.vue @@ -6,7 +6,7 @@
-
+
favourite songs @@ -28,9 +28,23 @@ -
+
-
+
+
+ Recommended For You +

Rock

+
+ + + + + + + +
@@ -42,10 +56,12 @@ import MusicRow from './MusicRow' import List from './List' import ListItem from '../components/ListItem' import Button from '../components/Button' +import carousel from 'vue-owl-carousel' +import MusicBox from '../components/MusicBox' export default { name: 'HomePage', - components: { ActionBar, MusicRow, List, ListItem, Button }, + components: { ActionBar, MusicRow, List, ListItem, Button, carousel, MusicBox }, data: () => { return { items: [ @@ -118,12 +134,69 @@ export default { artist: 'The Weeknd', duration: '4:30', artwork: '/static/demo/starboy.png' + } + // { + // id: 3, + // title: 'Tilte', + // artist: 'Juice WRLD', + // duration: '5:30', + // artwork: '/static/demo/clever.jpg' + // } + ], + + recommends: [ + { + id: 0, + title: 'Habiba', + artist: 'Oldasinus', + artwork: '/static/demo/habiba.jpg' + }, + { + id: 1, + title: 'Starboy', + artist: 'The Weeknd', + artwork: '/static/demo/starboy.png' + }, + { + id: 2, + title: 'Tilte', + artist: 'Juice WRLD', + artwork: '/static/demo/clever.jpg' }, { id: 3, + title: 'Habiba', + artist: 'Oldasinus', + artwork: '/static/demo/habiba.jpg' + }, + { + id: 4, + title: 'Starboy', + artist: 'The Weeknd', + artwork: '/static/demo/starboy.png' + }, + { + id: 5, + title: 'Tilte', + artist: 'Juice WRLD', + artwork: '/static/demo/clever.jpg' + }, + { + id: 6, + title: 'Habiba', + artist: 'Oldasinus', + artwork: '/static/demo/habiba.jpg' + }, + { + id: 7, + title: 'Starboy', + artist: 'The Weeknd', + artwork: '/static/demo/starboy.png' + }, + { + id: 8, title: 'Tilte', artist: 'Juice WRLD', - duration: '5:30', artwork: '/static/demo/clever.jpg' } ] @@ -133,11 +206,13 @@ export default {