No need to use <hc-image> for static URLs

@aonomike OK, sorry. When I said that we can replace all `<img>` tags,
what I meant is that we can replace every img tag that has a dynamic
`:src` attribute.
This commit is contained in:
Robert Schäfer 2019-05-10 13:42:27 +02:00
parent 51ed1604a0
commit 958ebf2c77

View File

@ -30,10 +30,10 @@
margin-bottom="xxx-small"
centered
>
<hc-image
<img
class="login-image"
alt="Human Connection"
:image-props="{ src: '/img/sign-up/humanconnection.svg' }"
src="/img/sign-up/humanconnection.svg"
/>
</ds-space>
</ds-flex-item>
@ -96,14 +96,12 @@
<script>
import LocaleSwitch from '~/components/LocaleSwitch'
import HcImage from '~/components/Image'
import gql from 'graphql-tag'
export default {
components: {
LocaleSwitch,
HcImage
LocaleSwitch
},
layout: 'blank',
data() {