OpenVisor-Website/src/components/kontakt.vue

116 lines
2.4 KiB
Vue
Raw Normal View History

2024-04-26 21:56:56 +02:00
<template>
2024-04-26 21:57:08 +02:00
<footer class="kontakt-footer" v-bind:class="rootClassName">
<div class="kontakt-kontakt">
2024-04-26 21:57:12 +02:00
<span class="kontakt-kontakt1">{{ Impressum }}</span>
<a href="mailto:info@openvisor.ch?subject=" class="normal-text">
{{ Name }}
</a>
<a href="mailto:info@openvisor.ch?subject=" class="normal-text">
{{ Adresse }}
</a>
<a href="mailto:info@openvisor.ch?subject=" class="normal-text">
{{ Ort }}
</a>
<a href="mailto:info@openvisor.ch?subject=" class="normal-text">
{{ Land }}
</a>
2024-04-26 21:57:08 +02:00
<a href="mailto:info@openvisor.ch?subject=" class="kontakt-email">
2024-04-26 21:57:12 +02:00
{{ Email }}
</a>
</div>
<iframe
src="https://dashboard.mailerlite.com/forms/582593/98301649820321679/share"
2024-04-26 21:57:08 +02:00
class="kontakt-newsletter-form"
></iframe>
2024-04-26 21:56:56 +02:00
</footer>
</template>
<script>
export default {
2024-04-26 21:57:08 +02:00
name: 'Kontakt',
2024-04-26 21:56:56 +02:00
props: {
2024-04-26 21:57:12 +02:00
Impressum: {
2024-04-26 21:56:56 +02:00
type: String,
2024-04-26 21:57:12 +02:00
default: 'Impressum',
2024-04-26 21:56:56 +02:00
},
rootClassName: String,
2024-04-26 21:57:12 +02:00
Name: {
type: String,
default: 'Hermann Eichhorn',
},
Email: {
2024-04-26 21:56:56 +02:00
type: String,
2024-04-26 21:56:56 +02:00
default: 'info@openvisor.ch',
2024-04-26 21:56:56 +02:00
},
2024-04-26 21:57:12 +02:00
Adresse: {
type: String,
default: 'Mülihalde 21',
},
Ort: {
type: String,
default: '8484 Weisslingen',
},
Land: {
type: String,
default: 'Schweiz',
},
2024-04-26 21:56:56 +02:00
},
}
</script>
<style scoped>
2024-04-26 21:57:08 +02:00
.kontakt-footer {
gap: 20%;
2024-04-26 21:56:56 +02:00
width: 100%;
display: flex;
position: relative;
2024-04-26 21:56:57 +02:00
margin-top: 10%;
2024-04-26 21:56:56 +02:00
align-items: center;
padding-left: var(--dl-space-space-oneandhalfunits);
2024-04-26 21:56:57 +02:00
margin-bottom: 10%;
2024-04-26 21:56:56 +02:00
padding-right: var(--dl-space-space-oneandhalfunits);
2024-04-26 21:57:08 +02:00
flex-direction: row;
justify-content: center;
2024-04-26 21:57:07 +02:00
}
2024-04-26 21:57:08 +02:00
.kontakt-kontakt {
flex: 0 0 auto;
width: 200px;
display: flex;
align-items: flex-start;
flex-direction: column;
}
.kontakt-kontakt1 {
2024-04-26 21:56:57 +02:00
color: #ffffff;
2024-04-26 21:56:56 +02:00
font-size: 36px;
2024-04-26 21:57:08 +02:00
align-self: center;
2024-04-26 21:56:57 +02:00
text-align: center;
2024-04-26 21:56:56 +02:00
text-transform: uppercase;
}
2024-04-26 21:57:08 +02:00
.kontakt-email {
2024-04-26 21:56:56 +02:00
color: #ffff00;
2024-04-26 21:56:56 +02:00
font-size: 18px;
2024-04-26 21:56:56 +02:00
align-self: center;
2024-04-26 21:56:56 +02:00
font-style: normal;
font-weight: 300;
text-decoration: underline;
}
2024-04-26 21:57:08 +02:00
.kontakt-newsletter-form {
width: 320px;
height: 360px;
margin-bottom: var(--dl-space-space-twounits);
}
2024-04-26 21:56:56 +02:00
2024-04-26 21:56:56 +02:00
2024-04-26 21:57:09 +02:00
@media(max-width: 767px) {
.kontakt-footer {
flex-direction: column;
}
.kontakt-kontakt {
margin-bottom: var(--dl-space-space-fourunits);
}
}
2024-04-26 21:56:56 +02:00
</style>