New site 👍

This commit is contained in:
Front committed 2021-11-23 20:16:23 -05:00
1 parent 34dc818a55
commit 625c6924e6
69 files changed
+1222 -453

No files matched your search

+70
View File
@@ -0,0 +1,70 @@
<template>
<v-app id="inspire" dark>
<v-app-bar app color="lighten-2" flat>
<v-tabs centered class="ml-n9" color="primary" router>
<v-tab v-for="link in links" :key="link" :to="link.path">
{{ link.name }}
</v-tab>
</v-tabs>
</v-app-bar>
<v-main>
<v-img src="/ui/abstract.svg" style="position: absolute; top: 0; right: 0; width: 100%; height: 100%;" />
<nuxt />
</v-main>
</v-app>
</template>
<style>
html, body {
overflow: hidden;
}
section {
height: 90vh;
width: 100vw;
}
.mainAltButton {
margin: 0.25em;
}
.center {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
</style>
<script>
export default {
data: () => ({
links: [
{
name: 'Home',
path: '/'
},
{
name: 'Install',
path: '/install'
},
{
name: 'FAQ',
path: '/faq'
},
{
name: 'Donate',
path: '/donate'
},
{
name: 'Links',
path: '/links'
},
],
}),
}
</script>
+44
View File
@@ -0,0 +1,44 @@
<template>
<v-app dark>
<h1 v-if="error.statusCode === 404">
{{ pageNotFound }}
</h1>
<h1 v-else>
{{ otherError }}
</h1>
<NuxtLink to="/">
Home page
</NuxtLink>
</v-app>
</template>
<script>
export default {
layout: 'empty',
props: {
error: {
type: Object,
default: null
}
},
data () {
return {
pageNotFound: '404 Not Found',
otherError: 'An error occurred'
}
},
head () {
const title =
this.error.statusCode === 404 ? this.pageNotFound : this.otherError
return {
title
}
}
}
</script>
<style scoped>
h1 {
font-size: 20px;
}
</style>