generated from JustScreaMy/ProjectTemplate
85 lines
No EOL
1.7 KiB
Vue
85 lines
No EOL
1.7 KiB
Vue
<template>
|
|
<h1>Kontaktujte nás!</h1>
|
|
<v-card>
|
|
<v-form v-model="valid" @submit="sendContact">
|
|
<v-container>
|
|
<v-row>
|
|
<v-col
|
|
cols="12"
|
|
md="4"
|
|
>
|
|
<v-text-field
|
|
v-model="fullName"
|
|
label="Jméno a příjmení"
|
|
></v-text-field>
|
|
</v-col>
|
|
|
|
<v-col
|
|
cols="12"
|
|
md="4"
|
|
>
|
|
<v-text-field
|
|
v-model="email"
|
|
label="Emailová adresa *"
|
|
required
|
|
></v-text-field>
|
|
</v-col>
|
|
|
|
<v-col
|
|
cols="12"
|
|
md="4"
|
|
>
|
|
<v-text-field
|
|
v-model="phone"
|
|
label="Telefonní číslo"
|
|
></v-text-field>
|
|
</v-col>
|
|
</v-row>
|
|
<v-row>
|
|
<v-col>
|
|
<v-textarea
|
|
v-model="textField"
|
|
label="Váš dotaz *"
|
|
required
|
|
/>
|
|
</v-col>
|
|
</v-row>
|
|
<v-row>
|
|
<v-col>
|
|
<v-btn
|
|
type="submit"
|
|
>
|
|
Poslat
|
|
</v-btn>
|
|
</v-col>
|
|
</v-row>
|
|
</v-container>
|
|
</v-form>
|
|
</v-card>
|
|
</template>
|
|
<script setup lang="ts">
|
|
|
|
const valid = ref<boolean>(false);
|
|
|
|
const fullName = ref<string>("");
|
|
const email = ref<string>("");
|
|
const phone = ref<string>("");
|
|
const textField = ref<string>("");
|
|
|
|
function sendContact() {
|
|
console.log("KONTAKT NEZASLAN");
|
|
}
|
|
|
|
</script>
|
|
|
|
<style scoped>
|
|
h1 {
|
|
font-family: 'Playfair Display', serif; /* Or a similar elegant font */
|
|
font-size: 3rem;
|
|
color: #333; /* Dark gray */
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
margin-top: 2rem;
|
|
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); /* Subtle shadow */
|
|
}
|
|
</style> |