@mundogamernetwork/shared-ui 1.17.15 → 1.17.17
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.
|
@@ -30,6 +30,12 @@ const props = defineProps<{
|
|
|
30
30
|
/** Route to the campaign for a visitor who is already signed in. */
|
|
31
31
|
campaignPath: string;
|
|
32
32
|
signedIn?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Hide the built-in join/open button. A page that records the invitee's
|
|
35
|
+
* answer itself (accept / decline) passes this so there is one decision
|
|
36
|
+
* point instead of a button that never records anything next to the real ones.
|
|
37
|
+
*/
|
|
38
|
+
hideCta?: boolean;
|
|
33
39
|
}>();
|
|
34
40
|
|
|
35
41
|
const { t } = useI18n();
|
|
@@ -106,12 +112,14 @@ onMounted(async () => {
|
|
|
106
112
|
</div>
|
|
107
113
|
|
|
108
114
|
<!-- Someone already signed in has no reason to see a signup CTA. -->
|
|
109
|
-
<
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
<template v-if="!hideCta">
|
|
116
|
+
<NuxtLink v-if="signedIn" :to="campaignPath" class="pil__cta">
|
|
117
|
+
{{ t('playtest_invite.cta_open') }}
|
|
118
|
+
</NuxtLink>
|
|
119
|
+
<a v-else :href="registerUrl" class="pil__cta">
|
|
120
|
+
{{ t('playtest_invite.cta_join') }}
|
|
121
|
+
</a>
|
|
122
|
+
</template>
|
|
115
123
|
|
|
116
124
|
<!-- Stated plainly rather than discovered at the end of a signup:
|
|
117
125
|
taking part needs an account because the reward is paid into a
|
|
@@ -133,6 +141,9 @@ onMounted(async () => {
|
|
|
133
141
|
|
|
134
142
|
<style scoped lang="scss">
|
|
135
143
|
.pil {
|
|
144
|
+
// Set explicitly: it used to inherit whatever the host page had, which in the dark
|
|
145
|
+
// theme left the body copy dark grey on near-black.
|
|
146
|
+
color: var(--text-primary, #fff);
|
|
136
147
|
margin: 0 auto;
|
|
137
148
|
max-width: 640px;
|
|
138
149
|
padding: 40px 20px 64px;
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@ useSeoMeta({
|
|
|
15
15
|
ogDescription:
|
|
16
16
|
"Discover, be inspired and connect in the magazine that breathes digital gaming. Welcome to your new source of gamer passion!",
|
|
17
17
|
ogImage: "/imgs/seo-magazine-image.jpg",
|
|
18
|
-
ogUrl: "/magazine"
|
|
18
|
+
// No ogUrl: it was the relative "/magazine" for every issue and language. Each front publishes og:url (= its canonical) in app.vue.
|
|
19
19
|
twitterTitle: "MGN Magazine",
|
|
20
20
|
twitterDescription:
|
|
21
21
|
"Discover, be inspired and connect in the magazine that breathes digital gaming. Welcome to your new source of gamer passion!",
|
|
@@ -18,7 +18,7 @@ useSeoMeta({
|
|
|
18
18
|
ogDescription:
|
|
19
19
|
"Discover, be inspired and connect in the magazine that breathes digital gaming. Welcome to your new source of gamer passion!",
|
|
20
20
|
ogImage: "/imgs/seo-magazine-image.jpg",
|
|
21
|
-
ogUrl: "/magazine"
|
|
21
|
+
// No ogUrl: it was the relative "/magazine" for every issue and language. Each front publishes og:url (= its canonical) in app.vue.
|
|
22
22
|
twitterTitle: "MGN Magazine",
|
|
23
23
|
twitterDescription:
|
|
24
24
|
"Discover, be inspired and connect in the magazine that breathes digital gaming. Welcome to your new source of gamer passion!",
|
package/pages/magazine/index.vue
CHANGED
|
@@ -184,7 +184,7 @@ useSeoMeta({
|
|
|
184
184
|
ogDescription:
|
|
185
185
|
"Discover, be inspired and connect in the magazine that breathes digital gaming. Welcome to your new source of gamer passion!",
|
|
186
186
|
ogImage: "/imgs/seo-magazine-image.jpg",
|
|
187
|
-
ogUrl: "/magazine"
|
|
187
|
+
// No ogUrl: it was the relative "/magazine" for every language. Each front publishes og:url (= its canonical) in app.vue.
|
|
188
188
|
twitterTitle: "MGN Magazine",
|
|
189
189
|
twitterDescription:
|
|
190
190
|
"Discover, be inspired and connect in the magazine that breathes digital gaming. Welcome to your new source of gamer passion!",
|