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
+18 -3
View File
@@ -1,15 +1,24 @@
<template> <template>
<b-card> <b-card>
<template v-if="stats"> <template v-if="ready">
<h4> <h4>
The Office Quotes The Office Quotes
</h4> </h4>
<b-card-text> <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. favorite show - The Office.
<br> <br>
Click on a Season and Episode on the left-hand sidebar to view quotes. Click on a Season and Episode on the left-hand sidebar to view quotes.
Search for quotes with the instant searchbox. 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> </b-card-text>
</template> </template>
<b-card-text v-else> <b-card-text v-else>
@@ -35,8 +44,14 @@ export default {
stats: null, stats: null,
}; };
}, },
computed: {
ready() {
return true;
// return this.stats != null;
}
},
created() { created() {
this.getStats(); // this.getStats();
}, },
methods: { methods: {
getStats() { getStats() {
+4
View File
@@ -316,3 +316,7 @@ a {
background-color: $grey-2; background-color: $grey-2;
} }
} }
hr {
border-top-color: $grey-6;
}