@explorer-1/vue 0.2.63 → 0.2.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { reactive } from 'vue'
|
|
3
|
+
import NavSecondary from './../../../components/NavSecondary/NavSecondary.vue'
|
|
4
|
+
import LayoutHelper from './../../../components/LayoutHelper/LayoutHelper.vue'
|
|
5
|
+
import DetailHeadline from './../../../components/DetailHeadline/DetailHeadline.vue'
|
|
6
|
+
import HeroMedia from './../../../components/HeroMedia/HeroMedia.vue'
|
|
7
|
+
import ShareButtons from './../../../components/ShareButtons/ShareButtons.vue'
|
|
8
|
+
import BlockStreamfield from './../../../components/BlockStreamfield/BlockStreamfield.vue'
|
|
9
|
+
|
|
10
|
+
interface PageAsteroidWatchContentProps {
|
|
11
|
+
data: any
|
|
12
|
+
}
|
|
13
|
+
const props = withDefaults(defineProps<PageAsteroidWatchContentProps>(), {
|
|
14
|
+
data: undefined
|
|
15
|
+
})
|
|
16
|
+
|
|
17
|
+
const { data } = reactive(props)
|
|
18
|
+
</script>
|
|
1
19
|
<template>
|
|
2
20
|
<div
|
|
3
21
|
v-if="data"
|
|
@@ -30,7 +48,7 @@
|
|
|
30
48
|
</LayoutHelper>
|
|
31
49
|
|
|
32
50
|
<template v-if="data.slug === 'next-five-approaches'">
|
|
33
|
-
<
|
|
51
|
+
<FetchAsteroidWatchWidget class="lg:mb-18 mb-10" />
|
|
34
52
|
</template>
|
|
35
53
|
|
|
36
54
|
<!-- share buttons -->
|
|
@@ -48,32 +66,3 @@
|
|
|
48
66
|
<BlockStreamfield :data="data.body" />
|
|
49
67
|
</div>
|
|
50
68
|
</template>
|
|
51
|
-
<script>
|
|
52
|
-
import { defineComponent } from 'vue'
|
|
53
|
-
import NavSecondary from './../../../components/NavSecondary/NavSecondary.vue'
|
|
54
|
-
import LayoutHelper from './../../../components/LayoutHelper/LayoutHelper.vue'
|
|
55
|
-
import DetailHeadline from './../../../components/DetailHeadline/DetailHeadline.vue'
|
|
56
|
-
import HeroMedia from './../../../components/HeroMedia/HeroMedia.vue'
|
|
57
|
-
import ShareButtons from './../../../components/ShareButtons/ShareButtons.vue'
|
|
58
|
-
import BlockStreamfield from './../../../components/BlockStreamfield/BlockStreamfield.vue'
|
|
59
|
-
import AsteroidWatchWidget from './../../../components/AsteroidWatchWidget/AsteroidWatchWidget.vue'
|
|
60
|
-
|
|
61
|
-
export default defineComponent({
|
|
62
|
-
name: 'PageAsteroidWatchContent',
|
|
63
|
-
components: {
|
|
64
|
-
NavSecondary,
|
|
65
|
-
LayoutHelper,
|
|
66
|
-
HeroMedia,
|
|
67
|
-
ShareButtons,
|
|
68
|
-
BlockStreamfield,
|
|
69
|
-
DetailHeadline,
|
|
70
|
-
AsteroidWatchWidget
|
|
71
|
-
},
|
|
72
|
-
props: {
|
|
73
|
-
data: {
|
|
74
|
-
type: Object,
|
|
75
|
-
required: false
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
})
|
|
79
|
-
</script>
|