From fe10a00ba9a3c30d8718ca004ccd19518466f5bd Mon Sep 17 00:00:00 2001
From: Pitu <7425261+Pitu@users.noreply.github.com>
Date: Sun, 16 Sep 2018 01:09:02 -0300
Subject: Site

---
 src/site/views/Home.vue | 96 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)
 create mode 100644 src/site/views/Home.vue

(limited to 'src/site/views/Home.vue')

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>
-- 
cgit v1.2.3

