mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Follow @Mogge suggestions
This commit is contained in:
parent
a9a0d1c380
commit
2f72e4eba3
@ -7,7 +7,7 @@
|
||||
<base-card>
|
||||
<template #imageColumn>
|
||||
<a :href="links.ORGANIZATION" :title="$t('login.moreInfo', metadata)" target="_blank">
|
||||
<logo type="welcome" />
|
||||
<logo logoType="welcome" />
|
||||
</a>
|
||||
</template>
|
||||
<h2 class="title">{{ $t('login.login') }}</h2>
|
||||
|
||||
@ -5,14 +5,14 @@
|
||||
class="ds-logo-svg"
|
||||
:alt="metadata.APPLICATION_NAME + ' ' + logo.alt"
|
||||
:src="logo.path"
|
||||
:style="logoWidth"
|
||||
:style="logoWidthStyle"
|
||||
/>
|
||||
<img
|
||||
v-else
|
||||
class="ds-logo-svg"
|
||||
:alt="metadata.APPLICATION_NAME + ' ' + logo.alt"
|
||||
:src="logo.path"
|
||||
:style="logoWidth"
|
||||
:style="logoWidthStyle"
|
||||
/>
|
||||
</component>
|
||||
</template>
|
||||
@ -31,14 +31,14 @@ export default {
|
||||
/**
|
||||
* Logo type
|
||||
*/
|
||||
type: {
|
||||
logoType: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
/**
|
||||
* Logo type
|
||||
* Logo width
|
||||
*/
|
||||
width: {
|
||||
logoWidth: {
|
||||
type: String,
|
||||
default: null,
|
||||
},
|
||||
@ -75,17 +75,17 @@ export default {
|
||||
},
|
||||
}
|
||||
return {
|
||||
logo: logosObject[this.type],
|
||||
logo: logosObject[this.logoType],
|
||||
metadata,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
logoWidth() {
|
||||
logoWidthStyle() {
|
||||
let width = ''
|
||||
if (this.width === null) {
|
||||
if (this.logoWidth === null) {
|
||||
width = this.logo.widthDefault
|
||||
} else {
|
||||
width = this.width
|
||||
width = this.logoWidth
|
||||
}
|
||||
return `width: ${width};`
|
||||
},
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<base-card>
|
||||
<template #imageColumn>
|
||||
<a :href="links.ORGANIZATION" :title="$t('login.moreInfo', metadata)" target="_blank">
|
||||
<logo type="signup" />
|
||||
<logo logoType="signup" />
|
||||
</a>
|
||||
</template>
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<ds-flex-item width="5.5%" />
|
||||
<ds-flex-item style="flex-grow: 1" width="20%">
|
||||
<a @click="redirectToRoot">
|
||||
<logo type="header" />
|
||||
<logo logoType="header" />
|
||||
</a>
|
||||
</ds-flex-item>
|
||||
<ds-flex-item width="20%" style="flex-grow: 0">
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
<ds-flex class="main-navigation-flex">
|
||||
<ds-flex-item :width="{ base: '142px' }">
|
||||
<nuxt-link :to="{ name: 'index' }" v-scroll-to="'.main-navigation'">
|
||||
<logo type="header" />
|
||||
<logo logoType="header" />
|
||||
</nuxt-link>
|
||||
</ds-flex-item>
|
||||
<ds-flex-item
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<ds-flex>
|
||||
<ds-flex-item :width="{ base: '100%' }" centered>
|
||||
<ds-space style="text-align: center" margin-top="large" margin-bottom="xxx-small" centered>
|
||||
<logo type="logout" />
|
||||
<logo logoType="logout" />
|
||||
</ds-space>
|
||||
<ds-space style="text-align: center" margin-top="small" margin-bottom="xxx-small" centered>
|
||||
<ds-heading tag="h3" soft>Logging out...</ds-heading>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<base-card>
|
||||
<template #imageColumn>
|
||||
<a :href="links.ORGANIZATION" :title="$t('login.moreInfo', metadata)" target="_blank">
|
||||
<logo type="passwordReset" />
|
||||
<logo logoType="passwordReset" />
|
||||
</a>
|
||||
</template>
|
||||
<nuxt-child />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user