mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #1283 from Human-Connection/fix/header-alignment
fix(header-alignment): Fix logo and locale position.
This commit is contained in:
commit
33942f6475
31
webapp/components/PageFooter/PageFooter.vue
Normal file
31
webapp/components/PageFooter/PageFooter.vue
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<template>
|
||||||
|
<div id="footer" class="ds-footer">
|
||||||
|
<a href="https://human-connection.org" target="_blank" v-html="$t('site.made')"></a>
|
||||||
|
<span>-</span>
|
||||||
|
<nuxt-link to="/imprint">{{ $t('site.imprint') }}</nuxt-link>
|
||||||
|
<span>-</span>
|
||||||
|
<nuxt-link to="/terms-and-conditions">{{ $t('site.termsAndConditions') }}</nuxt-link>
|
||||||
|
<span>-</span>
|
||||||
|
<nuxt-link to="/code-of-conduct">{{ $t('site.code-of-conduct') }}</nuxt-link>
|
||||||
|
<span>-</span>
|
||||||
|
<nuxt-link to="/data-privacy">{{ $t('site.data-privacy') }}</nuxt-link>
|
||||||
|
<span>-</span>
|
||||||
|
<nuxt-link to="/changelog">{{ $t('site.changelog') }}</nuxt-link>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.ds-footer {
|
||||||
|
text-align: center;
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0px;
|
||||||
|
z-index: 10;
|
||||||
|
background-color: white;
|
||||||
|
width: 100%;
|
||||||
|
padding: 10px 10px;
|
||||||
|
box-shadow: 0px -6px 12px -4px rgba(0, 0, 0, 0.1);
|
||||||
|
}
|
||||||
|
span {
|
||||||
|
margin-right: 0.2rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -6,11 +6,11 @@ const localVue = createLocalVue()
|
|||||||
|
|
||||||
localVue.use(Styleguide)
|
localVue.use(Styleguide)
|
||||||
config.stubs['sweetalert-icon'] = '<span><slot /></span>'
|
config.stubs['sweetalert-icon'] = '<span><slot /></span>'
|
||||||
|
config.stubs['client-only'] = '<span><slot /></span>'
|
||||||
|
config.stubs['nuxt-link'] = '<span><slot /></span>'
|
||||||
|
|
||||||
describe('Request', () => {
|
describe('Request', () => {
|
||||||
let wrapper
|
let wrapper, Wrapper, mocks, stubs
|
||||||
let Wrapper
|
|
||||||
let mocks
|
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
mocks = {
|
mocks = {
|
||||||
@ -23,6 +23,12 @@ describe('Request', () => {
|
|||||||
loading: false,
|
loading: false,
|
||||||
mutate: jest.fn().mockResolvedValue({ data: { reqestPasswordReset: true } }),
|
mutate: jest.fn().mockResolvedValue({ data: { reqestPasswordReset: true } }),
|
||||||
},
|
},
|
||||||
|
$i18n: {
|
||||||
|
locale: () => 'en',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
stubs = {
|
||||||
|
LocaleSwitch: "<div class='stub'></div>",
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -33,6 +39,7 @@ describe('Request', () => {
|
|||||||
return mount(Request, {
|
return mount(Request, {
|
||||||
mocks,
|
mocks,
|
||||||
localVue,
|
localVue,
|
||||||
|
stubs,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,58 +1,77 @@
|
|||||||
<template>
|
<template>
|
||||||
<ds-card class="password-reset">
|
<ds-card class="password-reset">
|
||||||
<ds-space margin="large">
|
<ds-flex gutter="small">
|
||||||
<ds-form
|
<ds-flex-item :width="{ base: '100%', sm: '50%' }" centered>
|
||||||
v-if="!submitted"
|
<client-only>
|
||||||
@input="handleInput"
|
<locale-switch class="login-locale-switch" offset="5" />
|
||||||
@input-valid="handleInputValid"
|
</client-only>
|
||||||
v-model="formData"
|
<ds-space margin-top="small" margin-bottom="xxx-small" centered>
|
||||||
:schema="formSchema"
|
<img class="login-image" alt="Human Connection" src="/img/sign-up/humanconnection.svg" />
|
||||||
@submit="handleSubmit"
|
|
||||||
>
|
|
||||||
<ds-input
|
|
||||||
:placeholder="$t('login.email')"
|
|
||||||
type="email"
|
|
||||||
id="email"
|
|
||||||
model="email"
|
|
||||||
name="email"
|
|
||||||
icon="envelope"
|
|
||||||
/>
|
|
||||||
<ds-space margin-botton="large">
|
|
||||||
<ds-text>
|
|
||||||
{{ $t('password-reset.form.description') }}
|
|
||||||
</ds-text>
|
|
||||||
</ds-space>
|
</ds-space>
|
||||||
<ds-button
|
</ds-flex-item>
|
||||||
:disabled="disabled"
|
<ds-flex-item :width="{ base: '100%', sm: '50%' }" centered>
|
||||||
:loading="$apollo.loading"
|
<ds-space margin="small">
|
||||||
primary
|
<ds-text size="small" align="left">{{ $t('login.copy') }}</ds-text>
|
||||||
fullwidth
|
</ds-space>
|
||||||
name="submit"
|
<ds-form
|
||||||
type="submit"
|
v-if="!submitted"
|
||||||
icon="envelope"
|
@input="handleInput"
|
||||||
|
@input-valid="handleInputValid"
|
||||||
|
v-model="formData"
|
||||||
|
:schema="formSchema"
|
||||||
|
@submit="handleSubmit"
|
||||||
>
|
>
|
||||||
{{ $t('password-reset.form.submit') }}
|
<ds-input
|
||||||
</ds-button>
|
:placeholder="$t('login.email')"
|
||||||
</ds-form>
|
type="email"
|
||||||
<div v-else>
|
id="email"
|
||||||
<transition name="ds-transition-fade">
|
model="email"
|
||||||
<ds-flex centered>
|
name="email"
|
||||||
<sweetalert-icon icon="info" />
|
icon="envelope"
|
||||||
</ds-flex>
|
/>
|
||||||
</transition>
|
<ds-space margin-botton="large">
|
||||||
<ds-text v-html="submitMessage" />
|
<ds-text align="left">{{ $t('password-reset.form.description') }}</ds-text>
|
||||||
</div>
|
</ds-space>
|
||||||
</ds-space>
|
<ds-button
|
||||||
|
:disabled="disabled"
|
||||||
|
:loading="$apollo.loading"
|
||||||
|
primary
|
||||||
|
fullwidth
|
||||||
|
name="submit"
|
||||||
|
type="submit"
|
||||||
|
icon="envelope"
|
||||||
|
>
|
||||||
|
{{ $t('password-reset.form.submit') }}
|
||||||
|
</ds-button>
|
||||||
|
</ds-form>
|
||||||
|
<div v-else>
|
||||||
|
<transition name="ds-transition-fade">
|
||||||
|
<ds-flex centered>
|
||||||
|
<sweetalert-icon icon="info" />
|
||||||
|
</ds-flex>
|
||||||
|
</transition>
|
||||||
|
<ds-text v-html="submitMessage" align="left" />
|
||||||
|
</div>
|
||||||
|
<ds-space margin-bottom="small" />
|
||||||
|
<div>
|
||||||
|
<nuxt-link to="/login">{{ $t('site.login') }}</nuxt-link>
|
||||||
|
</div>
|
||||||
|
</ds-flex-item>
|
||||||
|
</ds-flex>
|
||||||
|
|
||||||
|
<ds-space margin="x-small"></ds-space>
|
||||||
</ds-card>
|
</ds-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import gql from 'graphql-tag'
|
import gql from 'graphql-tag'
|
||||||
import { SweetalertIcon } from 'vue-sweetalert-icons'
|
import { SweetalertIcon } from 'vue-sweetalert-icons'
|
||||||
|
import LocaleSwitch from '../LocaleSwitch/LocaleSwitch'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
SweetalertIcon,
|
SweetalertIcon,
|
||||||
|
LocaleSwitch,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -105,3 +124,17 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.login-image {
|
||||||
|
width: 90%;
|
||||||
|
max-width: 200px;
|
||||||
|
}
|
||||||
|
.password-reset {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.login-locale-switch {
|
||||||
|
position: absolute;
|
||||||
|
top: 1em;
|
||||||
|
left: 1em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@ -7,12 +7,10 @@ const localVue = createLocalVue()
|
|||||||
|
|
||||||
localVue.use(Styleguide)
|
localVue.use(Styleguide)
|
||||||
config.stubs['sweetalert-icon'] = '<span><slot /></span>'
|
config.stubs['sweetalert-icon'] = '<span><slot /></span>'
|
||||||
|
config.stubs['client-only'] = '<span><slot /></span>'
|
||||||
|
|
||||||
describe('CreateUserAccount', () => {
|
describe('CreateUserAccount', () => {
|
||||||
let wrapper
|
let wrapper, Wrapper, mocks, propsData, stubs
|
||||||
let Wrapper
|
|
||||||
let mocks
|
|
||||||
let propsData
|
|
||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
mocks = {
|
mocks = {
|
||||||
@ -27,6 +25,9 @@ describe('CreateUserAccount', () => {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
propsData = {}
|
propsData = {}
|
||||||
|
stubs = {
|
||||||
|
LocaleSwitch: "<div class='stub'></div>",
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('mount', () => {
|
describe('mount', () => {
|
||||||
@ -35,6 +36,7 @@ describe('CreateUserAccount', () => {
|
|||||||
mocks,
|
mocks,
|
||||||
propsData,
|
propsData,
|
||||||
localVue,
|
localVue,
|
||||||
|
stubs,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -16,7 +16,10 @@
|
|||||||
@submit="submit"
|
@submit="submit"
|
||||||
>
|
>
|
||||||
<template slot-scope="{ errors }">
|
<template slot-scope="{ errors }">
|
||||||
<ds-card :header="$t('registration.create-user-account.title')">
|
<ds-card class="create-account-card" :header="$t('registration.create-user-account.title')">
|
||||||
|
<client-only>
|
||||||
|
<locale-switch class="create-account-locale-switch" offset="5" />
|
||||||
|
</client-only>
|
||||||
<ds-input
|
<ds-input
|
||||||
id="name"
|
id="name"
|
||||||
model="name"
|
model="name"
|
||||||
@ -88,11 +91,13 @@ import { SweetalertIcon } from 'vue-sweetalert-icons'
|
|||||||
import PasswordForm from '~/components/utils/PasswordFormHelper'
|
import PasswordForm from '~/components/utils/PasswordFormHelper'
|
||||||
import { VERSION } from '~/constants/terms-and-conditions-version.js'
|
import { VERSION } from '~/constants/terms-and-conditions-version.js'
|
||||||
import { SignupVerificationMutation } from '~/graphql/Registration.js'
|
import { SignupVerificationMutation } from '~/graphql/Registration.js'
|
||||||
|
import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
PasswordStrength,
|
PasswordStrength,
|
||||||
SweetalertIcon,
|
SweetalertIcon,
|
||||||
|
LocaleSwitch,
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
const passwordForm = PasswordForm({ translate: this.$t })
|
const passwordForm = PasswordForm({ translate: this.$t })
|
||||||
@ -151,3 +156,14 @@ export default {
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.create-account-card {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.create-account-locale-switch {
|
||||||
|
position: absolute;
|
||||||
|
top: 1em;
|
||||||
|
right: 1em;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
47
webapp/layouts/basic.vue
Normal file
47
webapp/layouts/basic.vue
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
<template>
|
||||||
|
<div class="layout-blank">
|
||||||
|
<div class="main-navigation">
|
||||||
|
<ds-container width="x-large" class="main-navigation-container" style="padding: 10px 10px;">
|
||||||
|
<ds-flex class="main-navigation-flex" centered>
|
||||||
|
<ds-flex-item width="5.5%" />
|
||||||
|
<ds-flex-item style="flex-grow:1;" width="20%">
|
||||||
|
<a @click="redirectToRoot">
|
||||||
|
<ds-logo />
|
||||||
|
</a>
|
||||||
|
</ds-flex-item>
|
||||||
|
<ds-flex-item width="20%" style="flex-grow:0;">
|
||||||
|
<client-only>
|
||||||
|
<locale-switch class="topbar-locale-switch" placement="top" offset="16" />
|
||||||
|
</client-only>
|
||||||
|
</ds-flex-item>
|
||||||
|
</ds-flex>
|
||||||
|
</ds-container>
|
||||||
|
</div>
|
||||||
|
<ds-container>
|
||||||
|
<div style="padding: 5rem 2rem;">
|
||||||
|
<nuxt />
|
||||||
|
</div>
|
||||||
|
</ds-container>
|
||||||
|
<page-footer></page-footer>
|
||||||
|
<div id="overlay" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
|
||||||
|
import seo from '~/mixins/seo'
|
||||||
|
import PageFooter from '~/components/PageFooter/PageFooter'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
LocaleSwitch,
|
||||||
|
PageFooter,
|
||||||
|
},
|
||||||
|
mixins: [seo],
|
||||||
|
methods: {
|
||||||
|
redirectToRoot() {
|
||||||
|
this.$router.replace('/')
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import seo from '~/mixins/seo'
|
import seo from '~/mixins/seo'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins: [seo],
|
mixins: [seo],
|
||||||
}
|
}
|
||||||
|
|||||||
@ -3,8 +3,8 @@
|
|||||||
<div class="main-navigation">
|
<div class="main-navigation">
|
||||||
<ds-container class="main-navigation-container" style="padding: 10px 10px;">
|
<ds-container class="main-navigation-container" style="padding: 10px 10px;">
|
||||||
<div>
|
<div>
|
||||||
<ds-flex class="main-navigation-flex" centered>
|
<ds-flex class="main-navigation-flex">
|
||||||
<ds-flex-item :width="{ lg: '3.5%' }" />
|
<ds-flex-item :width="{ lg: '30%' }" />
|
||||||
<ds-flex-item :width="{ base: '80%', sm: '80%', md: '80%', lg: '15%' }">
|
<ds-flex-item :width="{ base: '80%', sm: '80%', md: '80%', lg: '15%' }">
|
||||||
<nuxt-link :to="{ name: 'index' }">
|
<nuxt-link :to="{ name: 'index' }">
|
||||||
<ds-logo />
|
<ds-logo />
|
||||||
@ -126,19 +126,7 @@
|
|||||||
<nuxt />
|
<nuxt />
|
||||||
</div>
|
</div>
|
||||||
</ds-container>
|
</ds-container>
|
||||||
<div id="footer" class="ds-footer">
|
<page-footer />
|
||||||
<a href="https://human-connection.org" target="_blank" v-html="$t('site.made')"></a>
|
|
||||||
-
|
|
||||||
<nuxt-link to="/imprint">{{ $t('site.imprint') }}</nuxt-link>
|
|
||||||
‑
|
|
||||||
<nuxt-link to="/terms-and-conditions">{{ $t('site.termsAndConditions') }}</nuxt-link>
|
|
||||||
‑
|
|
||||||
<nuxt-link to="/code-of-conduct">{{ $t('site.code-of-conduct') }}</nuxt-link>
|
|
||||||
‑
|
|
||||||
<nuxt-link to="/data-privacy">{{ $t('site.data-privacy') }}</nuxt-link>
|
|
||||||
‑
|
|
||||||
<nuxt-link to="/changelog">{{ $t('site.changelog') }}</nuxt-link>
|
|
||||||
</div>
|
|
||||||
<div id="overlay" />
|
<div id="overlay" />
|
||||||
<client-only>
|
<client-only>
|
||||||
<modal />
|
<modal />
|
||||||
@ -157,6 +145,8 @@ import HcAvatar from '~/components/Avatar/Avatar.vue'
|
|||||||
import seo from '~/mixins/seo'
|
import seo from '~/mixins/seo'
|
||||||
import FilterPosts from '~/components/FilterPosts/FilterPosts.vue'
|
import FilterPosts from '~/components/FilterPosts/FilterPosts.vue'
|
||||||
import CategoryQuery from '~/graphql/CategoryQuery.js'
|
import CategoryQuery from '~/graphql/CategoryQuery.js'
|
||||||
|
import PageFooter from '~/components/PageFooter/PageFooter'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
Dropdown,
|
Dropdown,
|
||||||
@ -166,6 +156,7 @@ export default {
|
|||||||
NotificationMenu,
|
NotificationMenu,
|
||||||
HcAvatar,
|
HcAvatar,
|
||||||
FilterPosts,
|
FilterPosts,
|
||||||
|
PageFooter,
|
||||||
},
|
},
|
||||||
mixins: [seo],
|
mixins: [seo],
|
||||||
data() {
|
data() {
|
||||||
@ -346,13 +337,4 @@ export default {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.ds-footer {
|
|
||||||
text-align: center;
|
|
||||||
position: fixed;
|
|
||||||
bottom: 0px;
|
|
||||||
z-index: 10;
|
|
||||||
background-color: white;
|
|
||||||
width: 100%;
|
|
||||||
padding: 10px 10px;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
28
webapp/layouts/no-header.vue
Normal file
28
webapp/layouts/no-header.vue
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
<template>
|
||||||
|
<div class="layout-blank">
|
||||||
|
<ds-container>
|
||||||
|
<div style="padding: 5rem 2rem;">
|
||||||
|
<nuxt />
|
||||||
|
</div>
|
||||||
|
</ds-container>
|
||||||
|
<page-footer />
|
||||||
|
<div id="overlay" />
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import seo from '~/mixins/seo'
|
||||||
|
import PageFooter from '~/components/PageFooter/PageFooter'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
PageFooter,
|
||||||
|
},
|
||||||
|
mixins: [seo],
|
||||||
|
methods: {
|
||||||
|
redirectToRoot() {
|
||||||
|
this.$router.replace('/')
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@ -41,7 +41,8 @@
|
|||||||
"responsible": "Verantwortlicher gemäß § 55 Abs. 2 RStV ",
|
"responsible": "Verantwortlicher gemäß § 55 Abs. 2 RStV ",
|
||||||
"bank": "Bankverbindung",
|
"bank": "Bankverbindung",
|
||||||
"germany": "Deutschland",
|
"germany": "Deutschland",
|
||||||
"code-of-conduct": "Verhaltenscodex"
|
"code-of-conduct": "Verhaltenscodex",
|
||||||
|
"login": "Zurück zum Anmeldung"
|
||||||
},
|
},
|
||||||
"sorting": {
|
"sorting": {
|
||||||
"newest": "Neuste",
|
"newest": "Neuste",
|
||||||
@ -61,7 +62,6 @@
|
|||||||
"success": "Du bist eingeloggt!"
|
"success": "Du bist eingeloggt!"
|
||||||
},
|
},
|
||||||
"password-reset": {
|
"password-reset": {
|
||||||
"title": "Passwort zurücksetzen",
|
|
||||||
"form": {
|
"form": {
|
||||||
"description": "Eine Mail zum Zurücksetzen des Passworts wird an die angegebene E-Mail Adresse geschickt.",
|
"description": "Eine Mail zum Zurücksetzen des Passworts wird an die angegebene E-Mail Adresse geschickt.",
|
||||||
"submit": "Email anfordern",
|
"submit": "Email anfordern",
|
||||||
@ -619,4 +619,4 @@
|
|||||||
"have-fun": "Jetzt aber viel Spaß mit der Alpha von Human Connection! Für den ersten Weltfrieden. ♥︎",
|
"have-fun": "Jetzt aber viel Spaß mit der Alpha von Human Connection! Für den ersten Weltfrieden. ♥︎",
|
||||||
"closing": "Herzlichst <br><br> Euer Human Connection Team"
|
"closing": "Herzlichst <br><br> Euer Human Connection Team"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -41,14 +41,15 @@
|
|||||||
"responsible": "responsible for contents of this page (§ 55 Abs. 2 RStV)",
|
"responsible": "responsible for contents of this page (§ 55 Abs. 2 RStV)",
|
||||||
"bank": "bank account",
|
"bank": "bank account",
|
||||||
"germany": "Germany",
|
"germany": "Germany",
|
||||||
"code-of-conduct": "Code of Conduct"
|
"code-of-conduct": "Code of Conduct",
|
||||||
|
"login": "Back to login"
|
||||||
},
|
},
|
||||||
"sorting": {
|
"sorting": {
|
||||||
"newest": "Newest",
|
"newest": "Newest",
|
||||||
"oldest": "Oldest"
|
"oldest": "Oldest"
|
||||||
},
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"copy": "If you already have a human-connection account, login here.",
|
"copy": "If you already have a human-connection account, please login.",
|
||||||
"login": "Login",
|
"login": "Login",
|
||||||
"logout": "Logout",
|
"logout": "Logout",
|
||||||
"email": "Your Email",
|
"email": "Your Email",
|
||||||
@ -65,7 +66,7 @@
|
|||||||
"form": {
|
"form": {
|
||||||
"description": "A password reset email will be sent to the given email address.",
|
"description": "A password reset email will be sent to the given email address.",
|
||||||
"submit": "Request email",
|
"submit": "Request email",
|
||||||
"submitted": "A mail with further instruction has been sent to <b>{email}</b>"
|
"submitted": "An email with further instructions has been sent to <b>{email}</b>"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"registration": {
|
"registration": {
|
||||||
@ -619,4 +620,4 @@
|
|||||||
"have-fun": "Now have fun with the alpha version of Human Connection! For the first universal peace. ♥︎",
|
"have-fun": "Now have fun with the alpha version of Human Connection! For the first universal peace. ♥︎",
|
||||||
"closing": "Thank you very much <br> <br> your Human Connection Team"
|
"closing": "Thank you very much <br> <br> your Human Connection Team"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,28 +1,37 @@
|
|||||||
{
|
{
|
||||||
"site": {
|
"site": {
|
||||||
"made": "Com ❤ feito",
|
"made": "Feito com ❤",
|
||||||
"imprint": "Impressão",
|
"imprint": "Impressão",
|
||||||
"termsAc": "termos e condições",
|
"termsAc": "Termos e Condições",
|
||||||
"data-privacy": "protecção de dados",
|
"data-privacy": "Proteção de Dados",
|
||||||
"changelog": "Mudanças e Histórico",
|
"changelog": "Mudanças e Histórico",
|
||||||
"contact": "Contato",
|
"contact": "Contato",
|
||||||
"tribunal": "tribunal",
|
|
||||||
"tribunal": "tribunal de registo",
|
"tribunal": "tribunal de registo",
|
||||||
"register": "número de registo",
|
"register": "número de registo",
|
||||||
"director": "Diretor Administrativo",
|
"director": "Diretor Administrativo",
|
||||||
"taxident": "Número de identificação do imposto sobre o valor acrescentado de acordo com o § 27 da Lei do Imposto sobre o Valor Acrescentado (Alemanha)",
|
"taxident": "Número de identificação do imposto sobre o valor acrescentado de acordo com o § 27 da Lei do Imposto sobre o Valor Acrescentado (Alemanha)",
|
||||||
"responsible": "Responsável segundo § 55 Abs. 2 RStV (Alemanha) ",
|
"responsible": "Responsável segundo § 55 Abs. 2 RStV (Alemanha) ",
|
||||||
"bank": "conta bancária",
|
"bank": "conta bancária",
|
||||||
"germany": "Alemanha"
|
"germany": "Alemanha",
|
||||||
|
"code-of-conduct": "Codigo de Conduto",
|
||||||
|
"login": "Voltar para o Login"
|
||||||
},
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"copy": "Se você já tem uma conta no Human Connection, entre aqui.",
|
"copy": "Se você já tem uma conta no Human Connection, por favor faça o login.",
|
||||||
"login": "Entrar",
|
"login": "Entrar",
|
||||||
"logout": "Sair",
|
"logout": "Sair",
|
||||||
"email": "Seu email",
|
"email": "Seu email",
|
||||||
"password": "Sua senha",
|
"password": "Sua senha",
|
||||||
"moreInfo": "O que é o Human Connection?",
|
"moreInfo": "O que é o Human Connection?",
|
||||||
"hello": "Olá"
|
"hello": "Olá",
|
||||||
|
"forgotPassword": "Esqueceu a sua senha?"
|
||||||
|
},
|
||||||
|
"password-reset": {
|
||||||
|
"form": {
|
||||||
|
"description": "Um e-mail de redefinição de senha será enviado para o endereço de e-mail fornecido.",
|
||||||
|
"submit": "Solicitar email",
|
||||||
|
"submitted": "Um e-mail com mais instruções foi enviado para <b>{email}</b>"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"profile": {
|
"profile": {
|
||||||
"name": "Meu perfil",
|
"name": "Meu perfil",
|
||||||
@ -203,4 +212,4 @@
|
|||||||
"shoutButton": {
|
"shoutButton": {
|
||||||
"shouted": "Aclamou"
|
"shouted": "Aclamou"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -76,7 +76,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
layout: 'default',
|
layout: 'basic',
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t('site.changelog'),
|
title: this.$t('site.changelog'),
|
||||||
|
|||||||
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
layout: 'basic',
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t('site.code-of-conduct'),
|
title: this.$t('site.code-of-conduct'),
|
||||||
|
|||||||
@ -385,7 +385,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
layout: 'default',
|
layout: 'basic',
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t('site.data-privacy'),
|
title: this.$t('site.data-privacy'),
|
||||||
|
|||||||
@ -73,6 +73,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
layout: 'basic',
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t('site.imprint'),
|
title: this.$t('site.imprint'),
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<transition name="fade" appear>
|
<transition name="fade" appear>
|
||||||
<ds-container v-if="ready" width="small">
|
<ds-container v-if="ready" width="medium">
|
||||||
<ds-space margin="small">
|
<ds-space margin="small">
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<p>{{ $t('quotes.african.quote') }}</p>
|
<p>{{ $t('quotes.african.quote') }}</p>
|
||||||
@ -78,10 +78,10 @@ import LocaleSwitch from '~/components/LocaleSwitch/LocaleSwitch'
|
|||||||
import { VERSION } from '~/constants/terms-and-conditions-version.js'
|
import { VERSION } from '~/constants/terms-and-conditions-version.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
layout: 'no-header',
|
||||||
components: {
|
components: {
|
||||||
LocaleSwitch,
|
LocaleSwitch,
|
||||||
},
|
},
|
||||||
layout: 'default',
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
ready: false,
|
ready: false,
|
||||||
|
|||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
layout: 'default',
|
layout: 'blank',
|
||||||
async beforeCreate() {
|
async beforeCreate() {
|
||||||
await this.$store.dispatch('auth/logout')
|
await this.$store.dispatch('auth/logout')
|
||||||
this.$router.replace('/')
|
this.$router.replace('/')
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<ds-container width="small">
|
<ds-container width="medium">
|
||||||
<ds-flex>
|
<ds-flex>
|
||||||
<ds-flex-item :width="{ base: '100%' }" centered>
|
<ds-flex-item :width="{ base: '100%' }" centered>
|
||||||
<ds-space style="text-align: center;" margin-top="small" margin-bottom="xxx-small" centered>
|
<ds-space style="text-align: center;" margin-top="small" margin-bottom="xxx-small" centered>
|
||||||
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
layout: 'default',
|
layout: 'no-header',
|
||||||
asyncData({ store, redirect }) {
|
asyncData({ store, redirect }) {
|
||||||
if (store.getters['auth/isLoggedIn']) {
|
if (store.getters['auth/isLoggedIn']) {
|
||||||
redirect('/')
|
redirect('/')
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
layout: 'default',
|
layout: 'no-header',
|
||||||
asyncData({ store, redirect }) {
|
asyncData({ store, redirect }) {
|
||||||
if (store.getters['auth/isLoggedIn']) {
|
if (store.getters['auth/isLoggedIn']) {
|
||||||
redirect('/')
|
redirect('/')
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
layout: 'default',
|
layout: 'basic',
|
||||||
head() {
|
head() {
|
||||||
return {
|
return {
|
||||||
title: this.$t('site.termsAndConditions'),
|
title: this.$t('site.termsAndConditions'),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user