OpenVisor-Website/src/components/kontakt.vue

88 lines
1.7 KiB
Vue

<template>
<footer class="kontakt-footer" v-bind:class="rootClassName">
<div class="kontakt-kontakt">
<span class="kontakt-kontakt1">{{ Text }}</span>
<a href="mailto:info@openvisor.ch?subject=" class="kontakt-email">
{{ Text1 }}
</a>
</div>
<iframe
src="https://dashboard.mailerlite.com/forms/582593/98301649820321679/share"
class="kontakt-newsletter-form"
></iframe>
</footer>
</template>
<script>
export default {
name: 'Kontakt',
props: {
Text: {
type: String,
default: 'Kontakt',
},
rootClassName: String,
Text1: {
type: String,
default: 'info@openvisor.ch',
},
},
}
</script>
<style scoped>
.kontakt-footer {
gap: 20%;
width: 100%;
display: flex;
position: relative;
margin-top: 10%;
align-items: center;
padding-left: var(--dl-space-space-oneandhalfunits);
margin-bottom: 10%;
padding-right: var(--dl-space-space-oneandhalfunits);
flex-direction: row;
justify-content: center;
}
.kontakt-kontakt {
flex: 0 0 auto;
width: 200px;
display: flex;
align-items: flex-start;
flex-direction: column;
}
.kontakt-kontakt1 {
color: #ffffff;
font-size: 36px;
align-self: center;
text-align: center;
text-transform: uppercase;
}
.kontakt-email {
color: #ffff00;
font-size: 18px;
align-self: center;
font-style: normal;
font-weight: 300;
text-decoration: underline;
}
.kontakt-newsletter-form {
width: 320px;
height: 360px;
margin-bottom: var(--dl-space-space-twounits);
}
@media(max-width: 767px) {
.kontakt-footer {
flex-direction: column;
}
.kontakt-kontakt {
margin-bottom: var(--dl-space-space-fourunits);
}
}
</style>