@paris-ias/list 1.0.135 → 1.0.137
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/dist/module.json +1 -1
- package/dist/runtime/components/actions/ExpandedItem.vue +4 -0
- package/dist/runtime/components/actions/RowsItem.vue +5 -1
- package/dist/runtime/components/actions/View.vue +4 -4
- package/dist/runtime/components/affiliation/DenseItem.vue +4 -0
- package/dist/runtime/components/affiliation/ExpandedItem.vue +4 -0
- package/dist/runtime/components/affiliation/RowsItem.vue +5 -1
- package/dist/runtime/components/affiliation/View.vue +4 -4
- package/dist/runtime/components/apps/DenseItem.vue +4 -0
- package/dist/runtime/components/apps/ExpandedItem.vue +5 -1
- package/dist/runtime/components/apps/RowsItem.vue +5 -1
- package/dist/runtime/components/apps/View.vue +4 -4
- package/dist/runtime/components/disciplines/DenseItem.vue +4 -0
- package/dist/runtime/components/disciplines/ExpandedItem.vue +4 -0
- package/dist/runtime/components/disciplines/RowsItem.vue +5 -1
- package/dist/runtime/components/disciplines/View.vue +4 -4
- package/dist/runtime/components/events/Badges.vue +8 -12
- package/dist/runtime/components/events/DenseItem.vue +15 -14
- package/dist/runtime/components/events/ExpandedItem.vue +4 -0
- package/dist/runtime/components/events/RelatedItem.vue +4 -13
- package/dist/runtime/components/events/RowsItem.vue +9 -16
- package/dist/runtime/components/events/SlidingItem.vue +39 -47
- package/dist/runtime/components/events/View.vue +0 -2
- package/dist/runtime/components/fellowships/Badges.vue +15 -11
- package/dist/runtime/components/fellowships/DenseItem.vue +8 -11
- package/dist/runtime/components/fellowships/ExpandedItem.vue +8 -1
- package/dist/runtime/components/fellowships/RowsItem.vue +7 -16
- package/dist/runtime/components/files/DenseItem.vue +5 -0
- package/dist/runtime/components/files/ExpandedItem.vue +4 -0
- package/dist/runtime/components/files/RowsItem.vue +5 -1
- package/dist/runtime/components/files/View.vue +4 -4
- package/dist/runtime/components/list/atoms/ResultsList.vue +3 -3
- package/dist/runtime/components/list/inputs/Select.vue +0 -4
- package/dist/runtime/components/list/molecules/Filters.vue +5 -5
- package/dist/runtime/components/list/molecules/Header.vue +10 -4
- package/dist/runtime/components/list/organisms/List.vue +16 -5
- package/dist/runtime/components/mailing/DenseItem.vue +4 -0
- package/dist/runtime/components/mailing/ExpandedItem.vue +4 -0
- package/dist/runtime/components/mailing/RowsItem.vue +5 -1
- package/dist/runtime/components/mailing/View.vue +4 -4
- package/dist/runtime/components/misc/atoms/ImageContainer.vue +3 -45
- package/dist/runtime/components/misc/molecules/Related.vue +1 -1
- package/dist/runtime/components/news/DenseItem.vue +6 -11
- package/dist/runtime/components/news/ExpandedItem.vue +11 -17
- package/dist/runtime/components/news/RelatedItem.vue +4 -13
- package/dist/runtime/components/news/RowsItem.vue +10 -35
- package/dist/runtime/components/news/View.vue +7 -7
- package/dist/runtime/components/people/DenseItem.vue +7 -13
- package/dist/runtime/components/people/RelatedItem.vue +4 -14
- package/dist/runtime/components/people/RowsItem.vue +3 -21
- package/dist/runtime/components/projects/DenseItem.vue +6 -13
- package/dist/runtime/components/projects/RelatedItem.vue +4 -13
- package/dist/runtime/components/projects/RowsItem.vue +7 -14
- package/dist/runtime/components/projects/View.vue +6 -6
- package/dist/runtime/components/publications/DenseItem.vue +6 -8
- package/dist/runtime/components/publications/RelatedItem.vue +4 -13
- package/dist/runtime/components/publications/RowsItem.vue +7 -15
- package/dist/runtime/components/tags/DenseItem.vue +4 -0
- package/dist/runtime/components/tags/ExpandedItem.vue +4 -0
- package/dist/runtime/components/tags/RowsItem.vue +5 -1
- package/dist/runtime/components/tags/View.vue +4 -4
- package/dist/runtime/components/users/DenseItem.vue +4 -0
- package/dist/runtime/components/users/ExpandedItem.vue +5 -1
- package/dist/runtime/components/users/RowsItem.vue +5 -1
- package/dist/runtime/components/users/View.vue +4 -4
- package/dist/runtime/stores/root.js +1 -56
- package/package.json +3 -4
package/dist/module.json
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
|
-
import { useNuxtApp } from "#imports"
|
|
6
|
+
import { useNuxtApp } from "#imports"
|
|
7
7
|
|
|
8
|
-
const { $stores } = useNuxtApp()
|
|
8
|
+
const { $stores } = useNuxtApp()
|
|
9
9
|
defineProps({
|
|
10
10
|
item: {
|
|
11
11
|
type: Object,
|
|
@@ -16,7 +16,7 @@ defineProps({
|
|
|
16
16
|
required: false,
|
|
17
17
|
default: false,
|
|
18
18
|
},
|
|
19
|
-
})
|
|
19
|
+
})
|
|
20
20
|
|
|
21
|
-
$stores.actions.loading = false
|
|
21
|
+
$stores.actions.loading = false
|
|
22
22
|
</script>
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
|
-
import { useNuxtApp } from "#imports"
|
|
6
|
+
import { useNuxtApp } from "#imports"
|
|
7
7
|
|
|
8
|
-
const { $stores } = useNuxtApp()
|
|
8
|
+
const { $stores } = useNuxtApp()
|
|
9
9
|
defineProps({
|
|
10
10
|
item: {
|
|
11
11
|
type: Object,
|
|
@@ -16,7 +16,7 @@ defineProps({
|
|
|
16
16
|
required: false,
|
|
17
17
|
default: false,
|
|
18
18
|
},
|
|
19
|
-
})
|
|
19
|
+
})
|
|
20
20
|
|
|
21
|
-
$stores.affiliations.loading = false
|
|
21
|
+
$stores.affiliations.loading = false
|
|
22
22
|
</script>
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
|
-
import { useNuxtApp } from "#imports"
|
|
6
|
+
import { useNuxtApp } from "#imports"
|
|
7
7
|
|
|
8
|
-
const { $stores } = useNuxtApp()
|
|
8
|
+
const { $stores } = useNuxtApp()
|
|
9
9
|
defineProps({
|
|
10
10
|
item: {
|
|
11
11
|
type: Object,
|
|
@@ -16,7 +16,7 @@ defineProps({
|
|
|
16
16
|
required: false,
|
|
17
17
|
default: false,
|
|
18
18
|
},
|
|
19
|
-
})
|
|
19
|
+
})
|
|
20
20
|
|
|
21
|
-
$stores.apps.loading = false
|
|
21
|
+
$stores.apps.loading = false
|
|
22
22
|
</script>
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
|
-
import { useNuxtApp } from "#imports"
|
|
6
|
+
import { useNuxtApp } from "#imports"
|
|
7
7
|
|
|
8
|
-
const { $stores } = useNuxtApp()
|
|
8
|
+
const { $stores } = useNuxtApp()
|
|
9
9
|
defineProps({
|
|
10
10
|
item: {
|
|
11
11
|
type: Object,
|
|
@@ -16,7 +16,7 @@ defineProps({
|
|
|
16
16
|
required: false,
|
|
17
17
|
default: false,
|
|
18
18
|
},
|
|
19
|
-
})
|
|
19
|
+
})
|
|
20
20
|
|
|
21
|
-
$stores.disciplines.loading = false
|
|
21
|
+
$stores.disciplines.loading = false
|
|
22
22
|
</script>
|
|
@@ -25,12 +25,7 @@
|
|
|
25
25
|
prepend-icon="mdi-television-play"
|
|
26
26
|
size="small"
|
|
27
27
|
class="my-xs-2"
|
|
28
|
-
:to="
|
|
29
|
-
localePath({
|
|
30
|
-
name: 'activities-events-slug',
|
|
31
|
-
params: { slug: item.slug[locale] },
|
|
32
|
-
})
|
|
33
|
-
"
|
|
28
|
+
:to="prefixPath"
|
|
34
29
|
>
|
|
35
30
|
{{ $t("live-stream-available") }}
|
|
36
31
|
</v-btn>
|
|
@@ -62,15 +57,16 @@
|
|
|
62
57
|
</template>
|
|
63
58
|
|
|
64
59
|
<script setup>
|
|
65
|
-
import {
|
|
66
|
-
import { useDisplay } from "vuetify";
|
|
67
|
-
const localePath = useLocalePath();
|
|
60
|
+
import { useDisplay } from "vuetify"
|
|
68
61
|
|
|
69
|
-
const { smAndUp } = useDisplay()
|
|
70
|
-
const { locale } = useI18n();
|
|
62
|
+
const { smAndUp } = useDisplay()
|
|
71
63
|
const props = defineProps({
|
|
72
64
|
item: { type: Object, required: true },
|
|
73
|
-
|
|
65
|
+
pathPrefix: {
|
|
66
|
+
type: String,
|
|
67
|
+
required: true,
|
|
68
|
+
},
|
|
69
|
+
})
|
|
74
70
|
</script>
|
|
75
71
|
|
|
76
72
|
<style lang="scss" scoped></style>
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-row
|
|
3
|
-
v-ripple
|
|
4
|
-
no-gutters
|
|
5
|
-
class="cursor-pointer highlight-on-hover my-2"
|
|
6
|
-
@click="$router.push(localePath('/activities/events/' + item.slug[locale]))"
|
|
7
|
-
>
|
|
2
|
+
<v-row v-ripple no-gutters class="cursor-pointer highlight-on-hover my-2">
|
|
8
3
|
<v-col v-if="mdAndUp" cols="1">
|
|
9
4
|
<MiscAtomsDateStamp
|
|
10
5
|
v-if="item.start"
|
|
@@ -22,9 +17,6 @@
|
|
|
22
17
|
item && item.image && item.image.url ? item.image.url : '/default.png'
|
|
23
18
|
"
|
|
24
19
|
:ratio="1 / 1"
|
|
25
|
-
:name="item.name"
|
|
26
|
-
:slug="item.slug && item.slug[locale]"
|
|
27
|
-
link="events-slug"
|
|
28
20
|
:width="80"
|
|
29
21
|
/>
|
|
30
22
|
</v-col>
|
|
@@ -63,25 +55,24 @@
|
|
|
63
55
|
:value="`${highlightAndTruncate(
|
|
64
56
|
85,
|
|
65
57
|
item.summary,
|
|
66
|
-
$rootStore.search.split(' ')
|
|
58
|
+
$rootStore.search.split(' '),
|
|
67
59
|
)}`"
|
|
68
60
|
/>
|
|
69
61
|
</v-col>
|
|
70
62
|
|
|
71
63
|
<v-col align-self="center" cols="auto">
|
|
72
|
-
<EventsBadges :item />
|
|
64
|
+
<EventsBadges :item :pathPrefix />
|
|
73
65
|
</v-col>
|
|
74
66
|
</v-row>
|
|
75
67
|
</template>
|
|
76
68
|
|
|
77
69
|
<script setup>
|
|
78
|
-
import {
|
|
70
|
+
import { useI18n, useNuxtApp } from "#imports"
|
|
79
71
|
import { useDisplay } from "vuetify"
|
|
80
72
|
const { $rootStore } = useNuxtApp()
|
|
81
|
-
const { smAndDown, mdAndUp
|
|
73
|
+
const { smAndDown, mdAndUp } = useDisplay()
|
|
82
74
|
|
|
83
75
|
const { locale } = useI18n()
|
|
84
|
-
const localePath = useLocalePath()
|
|
85
76
|
const props = defineProps({
|
|
86
77
|
item: {
|
|
87
78
|
type: Object,
|
|
@@ -91,5 +82,15 @@ const props = defineProps({
|
|
|
91
82
|
type: Number,
|
|
92
83
|
required: true,
|
|
93
84
|
},
|
|
85
|
+
pathPrefix: {
|
|
86
|
+
type: String,
|
|
87
|
+
required: true,
|
|
88
|
+
},
|
|
94
89
|
})
|
|
95
90
|
</script>
|
|
91
|
+
<!-- <NuxtLink
|
|
92
|
+
v-if="item && item.slug"
|
|
93
|
+
:to="pathPrefix"
|
|
94
|
+
class="text-decoration-none text-black"
|
|
95
|
+
>
|
|
96
|
+
</NuxtLink> -->
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-sheet
|
|
3
|
-
:to="
|
|
4
|
-
localePath({
|
|
5
|
-
name: 'activities-events-slug',
|
|
6
|
-
params: { slug: item.name },
|
|
7
|
-
})
|
|
8
|
-
"
|
|
9
|
-
>
|
|
2
|
+
<v-sheet>
|
|
10
3
|
<v-row>
|
|
11
4
|
<v-col v-if="lgAndUp" cols="3">
|
|
12
5
|
<MiscAtomsImageContainer
|
|
13
6
|
cover
|
|
14
7
|
:src="item.image"
|
|
15
8
|
:ratio="1 / 1"
|
|
16
|
-
:link="item.name"
|
|
17
9
|
:loading="rootStore.loading"
|
|
18
|
-
name="activities-events-slug"
|
|
19
10
|
/>
|
|
20
11
|
</v-col>
|
|
21
12
|
<v-col cols="12" lg="9">
|
|
@@ -36,11 +27,11 @@
|
|
|
36
27
|
<script setup>
|
|
37
28
|
import { useDisplay } from "vuetify"
|
|
38
29
|
import { useRootStore } from "../../stores/root"
|
|
39
|
-
import { useLocalePath } from "#imports"
|
|
40
30
|
|
|
41
|
-
const localePath = useLocalePath()
|
|
42
31
|
const rootStore = useRootStore()
|
|
43
32
|
const { lgAndUp } = useDisplay()
|
|
44
33
|
|
|
45
|
-
const props = defineProps({
|
|
34
|
+
const props = defineProps({
|
|
35
|
+
item: { type: Object, required: true },
|
|
36
|
+
})
|
|
46
37
|
</script>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-divider v-if="index > 0" />
|
|
3
|
+
|
|
3
4
|
<v-row class="py-8 px-6 highlight-on-hover" no-gutters>
|
|
4
5
|
<v-col cols="12" md="1">
|
|
5
6
|
<MiscAtomsDateStamp
|
|
@@ -28,18 +29,9 @@
|
|
|
28
29
|
/>
|
|
29
30
|
|
|
30
31
|
<div v-else>
|
|
31
|
-
<
|
|
32
|
-
v-if="item.name"
|
|
33
|
-
:to="
|
|
34
|
-
localePath({
|
|
35
|
-
name: 'activities-events-slug',
|
|
36
|
-
params: { slug: item.slug[locale] },
|
|
37
|
-
})
|
|
38
|
-
"
|
|
39
|
-
class="text-h4 text-black text-wrap mt-4"
|
|
40
|
-
>
|
|
32
|
+
<div v-if="item.name" class="text-h4 text-black text-wrap mt-4">
|
|
41
33
|
{{ item.name }}
|
|
42
|
-
</
|
|
34
|
+
</div>
|
|
43
35
|
<div class="mt-2 text-h6 text-overline font-weight-black">
|
|
44
36
|
{{ $t("list.filters.events.category." + item.category) }}
|
|
45
37
|
</div>
|
|
@@ -86,8 +78,6 @@
|
|
|
86
78
|
<v-col cols="12" md="4">
|
|
87
79
|
<MiscAtomsImageContainer
|
|
88
80
|
cover
|
|
89
|
-
:slug="item.slug[locale]"
|
|
90
|
-
link="activities-events-slug"
|
|
91
81
|
:loading="$stores['events'].loading"
|
|
92
82
|
:src="item.image && item.image.url ? item.image : '/default.png'"
|
|
93
83
|
:ratio="1 / 1"
|
|
@@ -99,11 +89,10 @@
|
|
|
99
89
|
<script setup>
|
|
100
90
|
import { useDisplay } from "vuetify"
|
|
101
91
|
import { useRootStore } from "../../stores/root"
|
|
102
|
-
import { useNuxtApp
|
|
92
|
+
import { useNuxtApp } from "#imports"
|
|
103
93
|
|
|
104
|
-
const { locale } = useI18n()
|
|
105
94
|
const { name, mdAndDown, lgAndUp } = useDisplay()
|
|
106
|
-
|
|
95
|
+
|
|
107
96
|
const rootStore = useRootStore()
|
|
108
97
|
const { $stores } = useNuxtApp()
|
|
109
98
|
const props = defineProps({
|
|
@@ -115,5 +104,9 @@ const props = defineProps({
|
|
|
115
104
|
type: Number,
|
|
116
105
|
required: true,
|
|
117
106
|
},
|
|
107
|
+
pathPrefix: {
|
|
108
|
+
type: String,
|
|
109
|
+
required: true,
|
|
110
|
+
},
|
|
118
111
|
})
|
|
119
112
|
</script>
|
|
@@ -1,65 +1,57 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class="d-flex flex-column"
|
|
12
|
-
:style="
|
|
13
|
-
'min-width:' +
|
|
14
|
-
[250, 300, 350, 380, 430, 460][
|
|
15
|
-
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
16
|
-
] +
|
|
17
|
-
'px!important;'
|
|
18
|
-
"
|
|
19
|
-
>
|
|
20
|
-
<MiscAtomsImageContainer
|
|
21
|
-
cover
|
|
22
|
-
:ratio="1"
|
|
23
|
-
:src="item.image"
|
|
24
|
-
link="activities-events-slug"
|
|
25
|
-
:slug="item.id"
|
|
2
|
+
<NuxtLink
|
|
3
|
+
v-if="item && item.slug"
|
|
4
|
+
:to="pathPrefix"
|
|
5
|
+
class="text-decoration-none text-black"
|
|
6
|
+
>
|
|
7
|
+
<v-sheet v-motion class="d-flex sliding-item flex-md-row flex-column px-6">
|
|
8
|
+
<MiscAtomsDateStamp
|
|
9
|
+
:date-start="item.start"
|
|
10
|
+
:date-stop="item.stop"
|
|
26
11
|
:loading="loading"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
name: 'activities-events-slug',
|
|
30
|
-
params: { slug: item.slug[locale] },
|
|
31
|
-
})
|
|
32
|
-
"
|
|
33
|
-
style="cursor: pointer"
|
|
12
|
+
class="mr-4 mb-6 mb-md-0"
|
|
13
|
+
style="min-width: 70px"
|
|
34
14
|
/>
|
|
35
|
-
<
|
|
36
|
-
class="
|
|
37
|
-
:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
15
|
+
<div
|
|
16
|
+
class="d-flex flex-column"
|
|
17
|
+
:style="
|
|
18
|
+
'min-width:' +
|
|
19
|
+
[250, 300, 350, 380, 430, 460][
|
|
20
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
21
|
+
] +
|
|
22
|
+
'px!important;'
|
|
42
23
|
"
|
|
43
24
|
>
|
|
44
|
-
<
|
|
45
|
-
|
|
25
|
+
<MiscAtomsImageContainer
|
|
26
|
+
cover
|
|
27
|
+
:ratio="1"
|
|
28
|
+
:src="item.image"
|
|
29
|
+
:loading="loading"
|
|
30
|
+
/>
|
|
31
|
+
<div
|
|
32
|
+
class="mt-6 pl-0 text-h6 text-md-h5 font-weight-medium sliding-item-title cursor-pointer"
|
|
33
|
+
>
|
|
34
|
+
<div class="text-overline text-uppercase">
|
|
35
|
+
{{ $t(item.category) }}
|
|
36
|
+
</div>
|
|
37
|
+
{{ item.name }}
|
|
46
38
|
</div>
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</v-sheet>
|
|
39
|
+
</div>
|
|
40
|
+
</v-sheet></NuxtLink
|
|
41
|
+
>
|
|
51
42
|
</template>
|
|
52
43
|
<script setup>
|
|
53
44
|
import { useDisplay } from "vuetify"
|
|
54
|
-
import { useLocalePath, useI18n } from "#imports"
|
|
55
|
-
const { locale } = useI18n()
|
|
56
45
|
|
|
57
46
|
const { name } = useDisplay()
|
|
58
|
-
const localePath = useLocalePath()
|
|
59
47
|
|
|
60
48
|
defineProps({
|
|
61
49
|
item: { type: Object, required: true },
|
|
62
50
|
loading: { type: Boolean, required: true, default: false },
|
|
51
|
+
pathPrefix: {
|
|
52
|
+
type: String,
|
|
53
|
+
required: true,
|
|
54
|
+
},
|
|
63
55
|
})
|
|
64
56
|
</script>
|
|
65
57
|
<style lang="scss"></style>
|
|
@@ -23,29 +23,33 @@
|
|
|
23
23
|
</template>
|
|
24
24
|
|
|
25
25
|
<script setup>
|
|
26
|
-
import { getLocalizedDate } from "../../composables/useUtils"
|
|
27
|
-
import { computed } from "#imports"
|
|
26
|
+
import { getLocalizedDate } from "../../composables/useUtils"
|
|
27
|
+
import { computed } from "#imports"
|
|
28
28
|
|
|
29
29
|
const props = defineProps({
|
|
30
30
|
item: { type: Object, required: true },
|
|
31
31
|
view: { type: Boolean, required: false, default: false },
|
|
32
|
-
|
|
32
|
+
pathPrefix: {
|
|
33
|
+
type: String,
|
|
34
|
+
required: true,
|
|
35
|
+
},
|
|
36
|
+
})
|
|
33
37
|
|
|
34
38
|
const registrationStatus = computed(() => {
|
|
35
|
-
const currentDate = new Date()
|
|
36
|
-
const startDate = new Date(props.item.applicationStart)
|
|
37
|
-
const endDate = new Date(props.item.applicationStop)
|
|
39
|
+
const currentDate = new Date()
|
|
40
|
+
const startDate = new Date(props.item.applicationStart)
|
|
41
|
+
const endDate = new Date(props.item.applicationStop)
|
|
38
42
|
switch (true) {
|
|
39
43
|
case currentDate < startDate:
|
|
40
|
-
return 0
|
|
44
|
+
return 0
|
|
41
45
|
case currentDate > startDate && currentDate < endDate:
|
|
42
|
-
return 1
|
|
46
|
+
return 1
|
|
43
47
|
case currentDate > startDate && currentDate > endDate:
|
|
44
|
-
return 2
|
|
48
|
+
return 2
|
|
45
49
|
default:
|
|
46
|
-
return false
|
|
50
|
+
return false
|
|
47
51
|
}
|
|
48
|
-
})
|
|
52
|
+
})
|
|
49
53
|
</script>
|
|
50
54
|
|
|
51
55
|
<style lang="scss" scoped></style>
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-row
|
|
3
|
-
v-ripple
|
|
4
|
-
no-gutters
|
|
5
|
-
class="cursor-pointer highlight-on-hover"
|
|
6
|
-
@click="
|
|
7
|
-
$router.push(localePath('/activities/fellowships/' + item.slug[locale]))
|
|
8
|
-
"
|
|
9
|
-
>
|
|
2
|
+
<v-row v-ripple no-gutters class="cursor-pointer highlight-on-hover">
|
|
10
3
|
<v-col align-self="center" cols="8" class="text-h5 dense">
|
|
11
4
|
<div
|
|
12
5
|
v-html="
|
|
@@ -32,10 +25,9 @@
|
|
|
32
25
|
</template>
|
|
33
26
|
|
|
34
27
|
<script setup>
|
|
35
|
-
import {
|
|
28
|
+
import { useNuxtApp } from "#imports"
|
|
36
29
|
const { $rootStore } = useNuxtApp()
|
|
37
|
-
|
|
38
|
-
const localePath = useLocalePath()
|
|
30
|
+
|
|
39
31
|
const props = defineProps({
|
|
40
32
|
item: {
|
|
41
33
|
type: Object,
|
|
@@ -45,5 +37,10 @@ const props = defineProps({
|
|
|
45
37
|
type: Number,
|
|
46
38
|
required: true,
|
|
47
39
|
},
|
|
40
|
+
|
|
41
|
+
pathPrefix: {
|
|
42
|
+
type: String,
|
|
43
|
+
required: true,
|
|
44
|
+
},
|
|
48
45
|
})
|
|
49
46
|
</script>
|