diff --git a/resources/assets/js/components/LandingPage.vue b/resources/assets/js/components/LandingPage.vue new file mode 100644 index 00000000..995f5ab3 --- /dev/null +++ b/resources/assets/js/components/LandingPage.vue @@ -0,0 +1,316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Pixelfed + Photo sharing for everyone + + + + Loading... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Register + + + + By signing up, you agree to our Terms of Use and Privacy Policy. + + + + Registrations are closed. + You can find a list of other instances on the-federation.info/pixelfed or fediverse.network/pixelfed + + + + + + + Have an account? Log in + + + + + + + + + + + + diff --git a/resources/assets/js/landing.js b/resources/assets/js/landing.js new file mode 100644 index 00000000..8c8772a4 --- /dev/null +++ b/resources/assets/js/landing.js @@ -0,0 +1,10 @@ +window.Vue = require('vue'); + +Vue.component( + 'landing-page', + require('./components/LandingPage.vue').default +); + +new Vue({ + el: '#content' +}); \ No newline at end of file diff --git a/webpack.mix.js b/webpack.mix.js index cb80543c..68a31ea7 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -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') })
Photo sharing for everyone
By signing up, you agree to our Terms of Use and Privacy Policy.
Registrations are closed.
You can find a list of other instances on the-federation.info/pixelfed or fediverse.network/pixelfed
Have an account? Log in