mirror of
https://github.com/Xevion/the-office.git
synced 2026-01-31 02:26:13 -06:00
Fix Homepage to be at least mildly presentable
This commit is contained in:
+18
-3
@@ -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() {
|
||||||
|
|||||||
@@ -316,3 +316,7 @@ a {
|
|||||||
background-color: $grey-2;
|
background-color: $grey-2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
border-top-color: $grey-6;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user