mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Revert logout.vue
For any static image URL we don't need to use `<hc-image>`. The assets will be served from the frontend container. I did not anticipate that we have a lot of static images in the frontend when I said "You can remove every image with the `<hc-image>` component". @aonomike: In the future you can make some screenshots and post them in the PR and ask for help. @ulfgebhardt: Yes, it would have been safer not to merge the PR. We might run into the danger of forgetting things like this.
This commit is contained in:
parent
0712b3c0dc
commit
c0dc0e2d3d
@ -11,11 +11,11 @@
|
||||
margin-bottom="xxx-small"
|
||||
centered
|
||||
>
|
||||
<hc-image
|
||||
<img
|
||||
style="width: 200px;"
|
||||
:image-props="imageProps"
|
||||
src="/img/sign-up/onourjourney.png"
|
||||
alt="Human Connection"
|
||||
/>
|
||||
>
|
||||
</ds-space>
|
||||
<ds-space
|
||||
style="text-align: center;"
|
||||
@ -36,17 +36,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import HcImage from '~/components/Image'
|
||||
export default {
|
||||
components: {
|
||||
HcImage
|
||||
},
|
||||
layout: 'blank',
|
||||
computed: {
|
||||
imageProps() {
|
||||
return { src: '/img/sign-up/onourjourney.png' }
|
||||
}
|
||||
},
|
||||
async beforeCreate() {
|
||||
await this.$store.dispatch('auth/logout')
|
||||
this.$router.replace('/')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user