mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Add new landing page
This commit is contained in:
parent
25dcb88010
commit
278ecefd5d
3 changed files with 330 additions and 0 deletions
316
resources/assets/js/components/LandingPage.vue
Normal file
316
resources/assets/js/components/LandingPage.vue
Normal file
File diff suppressed because one or more lines are too long
10
resources/assets/js/landing.js
vendored
Normal file
10
resources/assets/js/landing.js
vendored
Normal 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
4
webpack.mix.js
vendored
|
@ -14,6 +14,7 @@ let mix = require('laravel-mix');
|
||||||
mix.js('resources/assets/js/app.js', 'public/js')
|
mix.js('resources/assets/js/app.js', 'public/js')
|
||||||
.js('resources/assets/js/activity.js', 'public/js')
|
.js('resources/assets/js/activity.js', 'public/js')
|
||||||
.js('resources/assets/js/components.js', 'public/js')
|
.js('resources/assets/js/components.js', 'public/js')
|
||||||
|
//.js('resources/assets/js/embed.js', 'public')
|
||||||
|
|
||||||
// Discover component
|
// Discover component
|
||||||
.js('resources/assets/js/discover.js', 'public/js')
|
.js('resources/assets/js/discover.js', 'public/js')
|
||||||
|
@ -30,6 +31,9 @@ mix.js('resources/assets/js/app.js', 'public/js')
|
||||||
// MicroUI component
|
// MicroUI component
|
||||||
.js('resources/assets/js/micro.js', 'public/js')
|
.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', {
|
.sass('resources/assets/sass/app.scss', 'public/css', {
|
||||||
implementation: require('node-sass')
|
implementation: require('node-sass')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue