Add new landing page

This commit is contained in:
Daniel Supernault 2019-03-16 02:46:46 -06:00
parent 25dcb88010
commit 278ecefd5d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
3 changed files with 330 additions and 0 deletions

File diff suppressed because one or more lines are too long

10
resources/assets/js/landing.js vendored Normal file
View file

@ -0,0 +1,10 @@
window.Vue = require('vue');
Vue.component(
'landing-page',
require('./components/LandingPage.vue').default
);
new Vue({
el: '#content'
});

4
webpack.mix.js vendored
View file

@ -14,6 +14,7 @@ let mix = require('laravel-mix');
mix.js('resources/assets/js/app.js', 'public/js')
.js('resources/assets/js/activity.js', 'public/js')
.js('resources/assets/js/components.js', 'public/js')
//.js('resources/assets/js/embed.js', 'public')
// Discover component
.js('resources/assets/js/discover.js', 'public/js')
@ -30,6 +31,9 @@ mix.js('resources/assets/js/app.js', 'public/js')
// MicroUI component
.js('resources/assets/js/micro.js', 'public/js')
// LandingPage component
.js('resources/assets/js/landing.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css', {
implementation: require('node-sass')
})