This commit is contained in:
ManjaroOne666 2019-02-14 21:42:13 +00:00
parent 8672460e25
commit 8f450992e9
3 changed files with 4 additions and 7 deletions

View File

@ -1,5 +1,6 @@
## TODO ## TODO
* General - fallbacks in case no api response * General - fallbacks in case no api response
* General - about page api call
* General - sort things by sort_order * General - sort things by sort_order
* General - page headings etc - use api * General - page headings etc - use api
* mailer * mailer

View File

@ -1,7 +1,7 @@
<template> <template>
<article class="is-mounted no-content-page no-content-bg"> <article class="is-mounted no-content-page no-content-bg">
<h1 class="no-content-heading page-title">{{ heading }}</h1> <h1 class="no-content-heading page-title">{{ heading }}</h1>
<p class="msg-txt">{{ message }}</p> <p class="no-content-text">{{ message }}</p>
</article> </article>
</template> </template>
@ -73,9 +73,5 @@ export default {
.no-content-heading { .no-content-heading {
margin-bottom: .25em; margin-bottom: .25em;
} }
.msg-txt {
color: $color__neutral-700;
}
</style> </style>

View File

@ -96,14 +96,14 @@ export default {
let { imageUrl } = await $axios.$get('api/v1/page/services') let { imageUrl } = await $axios.$get('api/v1/page/services')
if (!imageUrl) { if (!imageUrl) {
imageUrl = '/img/default-home.jpg' imageUrl = '/img/default-services.jpg'
} }
return { services, imageUrl } return { services, imageUrl }
} catch { } catch {
return { return {
services: [], services: [],
imageUrl: '/img/default-home.jpg', imageUrl: '/img/default-services.jpg',
} }
} }
}, },