mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Remove h2 title and replace the first slider title with its text
This commit is contained in:
parent
3398d3b373
commit
d38cfd2d7d
@ -5,11 +5,25 @@
|
||||
<ds-heading
|
||||
v-if="
|
||||
sliderData.sliders[sliderIndex].titleIdent &&
|
||||
$t(sliderData.sliders[sliderIndex].titleIdent).length > 0
|
||||
((typeof sliderData.sliders[sliderIndex].titleIdent === 'string' &&
|
||||
$t(sliderData.sliders[sliderIndex].titleIdent).length > 0) ||
|
||||
(typeof sliderData.sliders[sliderIndex].titleIdent === 'object' &&
|
||||
$t(
|
||||
sliderData.sliders[sliderIndex].titleIdent.id,
|
||||
sliderData.sliders[sliderIndex].titleIdent.data,
|
||||
).length > 0))
|
||||
"
|
||||
size="h3"
|
||||
>
|
||||
{{ $t(sliderData.sliders[sliderIndex].titleIdent) }}
|
||||
{{
|
||||
(typeof sliderData.sliders[sliderIndex].titleIdent === 'string' &&
|
||||
$t(sliderData.sliders[sliderIndex].titleIdent)) ||
|
||||
(typeof sliderData.sliders[sliderIndex].titleIdent === 'object' &&
|
||||
$t(
|
||||
sliderData.sliders[sliderIndex].titleIdent.id,
|
||||
sliderData.sliders[sliderIndex].titleIdent.data,
|
||||
))
|
||||
}}
|
||||
</ds-heading>
|
||||
|
||||
<slot :name="sliderData.sliders[sliderIndex].name" />
|
||||
|
||||
@ -8,12 +8,6 @@
|
||||
</template>
|
||||
|
||||
<component-slider :sliderData="sliderData">
|
||||
<template #header>
|
||||
<ds-heading size="h2">
|
||||
{{ $t('components.registration.signup.title', metadata) }}
|
||||
</ds-heading>
|
||||
</template>
|
||||
|
||||
<template #no-public-registration>
|
||||
<registration-slide-no-public :sliderData="sliderData" />
|
||||
</template>
|
||||
@ -90,7 +84,7 @@ export default {
|
||||
},
|
||||
enterInvite: {
|
||||
name: 'enter-invite',
|
||||
titleIdent: 'components.registration.invite-code.title',
|
||||
titleIdent: { id: 'components.registration.signup.title', data: metadata },
|
||||
validated: false,
|
||||
data: { request: null, response: { isValidInviteCode: false } },
|
||||
button: {
|
||||
|
||||
@ -185,8 +185,7 @@
|
||||
"validations": {
|
||||
"length": "muss genau 6 Buchstaben lang sein"
|
||||
}
|
||||
},
|
||||
"title": "Einladung"
|
||||
}
|
||||
},
|
||||
"no-public-registrstion": {
|
||||
"title": "Keine öffentliche Registrierung möglich"
|
||||
|
||||
@ -185,8 +185,7 @@
|
||||
"validations": {
|
||||
"length": "must be 6 characters long"
|
||||
}
|
||||
},
|
||||
"title": "Invitation"
|
||||
}
|
||||
},
|
||||
"no-public-registrstion": {
|
||||
"title": "No Public Registration"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user