Fix Homepage to be at least mildly presentable

This commit is contained in:
Xevion
2022-05-24 18:43:07 -05:00
parent cea05b4967
commit b59e0df7ac
2 changed files with 22 additions and 3 deletions

View File

@@ -1,15 +1,24 @@
<template>
<b-card>
<template v-if="stats">
<template v-if="ready">
<h4>
The Office Quotes
</h4>
<b-card-text>
A Vue.js application serving you {{ stats.totals.quote }} quotes from your
A Vue.js application serving you 54,000+ quotes from your
favorite show - The Office.
<br>
Click on a Season and Episode on the left-hand sidebar to view quotes.
Search for quotes with the instant searchbox.
<br>
This site is going through a big update & re-model, so the homepage isn't quite ready.
However, as of the time of writing this, most everything else is setup.
<hr>
<p style="text-align: center">
Check out the <router-link :to="{'name': 'About'}">
about page
</router-link> for more info on what this website is.
</p>
</b-card-text>
</template>
<b-card-text v-else>
@@ -35,8 +44,14 @@ export default {
stats: null,
};
},
computed: {
ready() {
return true;
// return this.stats != null;
}
},
created() {
this.getStats();
// this.getStats();
},
methods: {
getStats() {

View File

@@ -316,3 +316,7 @@ a {
background-color: $grey-2;
}
}
hr {
border-top-color: $grey-6;
}