update
This commit is contained in:
parent
8672460e25
commit
8f450992e9
1
TODO.md
1
TODO.md
|
@ -1,5 +1,6 @@
|
|||
## TODO
|
||||
* General - fallbacks in case no api response
|
||||
* General - about page api call
|
||||
* General - sort things by sort_order
|
||||
* General - page headings etc - use api
|
||||
* mailer
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<article class="is-mounted no-content-page no-content-bg">
|
||||
<h1 class="no-content-heading page-title">{{ heading }}</h1>
|
||||
<p class="msg-txt">{{ message }}</p>
|
||||
<p class="no-content-text">{{ message }}</p>
|
||||
</article>
|
||||
</template>
|
||||
|
||||
|
@ -73,9 +73,5 @@ export default {
|
|||
.no-content-heading {
|
||||
margin-bottom: .25em;
|
||||
}
|
||||
|
||||
.msg-txt {
|
||||
color: $color__neutral-700;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
@ -96,14 +96,14 @@ export default {
|
|||
let { imageUrl } = await $axios.$get('api/v1/page/services')
|
||||
|
||||
if (!imageUrl) {
|
||||
imageUrl = '/img/default-home.jpg'
|
||||
imageUrl = '/img/default-services.jpg'
|
||||
}
|
||||
|
||||
return { services, imageUrl }
|
||||
} catch {
|
||||
return {
|
||||
services: [],
|
||||
imageUrl: '/img/default-home.jpg',
|
||||
imageUrl: '/img/default-services.jpg',
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue