aboutsummaryrefslogtreecommitdiff
path: root/src/site/views/Home.vue
diff options
context:
space:
mode:
authorPitu <[email protected]>2018-09-16 01:09:02 -0300
committerPitu <[email protected]>2018-09-16 01:09:02 -0300
commitfe10a00ba9a3c30d8718ca004ccd19518466f5bd (patch)
tree369752f59a88dd03df1e9752be0ba166bf93c933 /src/site/views/Home.vue
parentFirst version of start script (diff)
downloadhost.fuwn.me-fe10a00ba9a3c30d8718ca004ccd19518466f5bd.tar.xz
host.fuwn.me-fe10a00ba9a3c30d8718ca004ccd19518466f5bd.zip
Site
Diffstat (limited to 'src/site/views/Home.vue')
-rw-r--r--src/site/views/Home.vue96
1 files changed, 96 insertions, 0 deletions
diff --git a/src/site/views/Home.vue b/src/site/views/Home.vue
new file mode 100644
index 0000000..4158f0e
--- /dev/null
+++ b/src/site/views/Home.vue
@@ -0,0 +1,96 @@
+<style lang="scss" scoped>
+ @import "../styles/_colors.scss";
+ div.home {
+ color: $textColor;
+ // background-color: #1e2430;
+ }
+ .columns {
+ .column {
+ &.centered {
+ display: flex;
+ align-items: center;
+ }
+ }
+ }
+
+ h4 {
+ color: $textColorHighlight;
+ margin-bottom: 1em;
+ }
+
+ p {
+ font-size: 1.25em;
+ font-weight: 600;
+ line-height: 1.5;
+
+ strong {
+ color: $textColorHighlight;
+ }
+ }
+</style>
+
+<template>
+ <div class="home">
+ <section class="hero is-fullheight has-text-centered">
+ <Navbar :isWhite="true"/>
+ <div class="hero-body">
+ <div class="container">
+ <div class="columns">
+ <div class="column is-3 is-offset-2">
+ <div class="logo">
+ <Logo/>
+ </div>
+ </div>
+ <div class="column is-5 centered">
+ <div class="content-wrapper">
+ <h4>Blazing fast file uploader. For real.</h4>
+ <p>
+ A <strong>modern</strong> and <strong>self-hosted</strong> file upload service that can handle anything you throw at it. Fast uploads, file manager and sharing capabilities all crafted with a beautiful user experience in mind.
+ </p>
+ </div>
+ </div>
+ </div>
+ <div class="spacer mt7" />
+ <Uploader />
+ </div>
+ </div>
+ <div class="hero-foot">
+ <div class="container">
+ <Links />
+ </div>
+ </div>
+ </section>
+ </div>
+</template>
+
+<script>
+import Navbar from '../components/navbar/Navbar.vue';
+import Logo from '../components/logo/Logo.vue';
+import Uploader from '../components/uploader/Uploader.vue';
+import Links from '../components/home/links/Links.vue';
+
+export default {
+ name: 'Home',
+ components: {
+ Navbar,
+ Logo,
+ Uploader,
+ Links
+ },
+ data() {
+ return { albums: [] };
+ },
+ computed: {
+ loggedIn() {
+ return this.$store.state.loggedIn;
+ }
+ },
+ mounted() {
+ this.$ga.page({
+ page: '/',
+ title: 'Home',
+ location: window.location.href
+ });
+ }
+};
+</script>