adds styling and linting
This commit is contained in:
parent
24059f8e75
commit
bcd08b3884
@ -1,15 +1,36 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="feedback-form">
|
||||||
<form
|
<form netlify method="POST" name="feedback">
|
||||||
netlify
|
|
||||||
action="/"
|
|
||||||
method="POST"
|
|
||||||
name="feedback"
|
|
||||||
>
|
|
||||||
<input type="hidden" name="form-name" value="feedback" />
|
<input type="hidden" name="form-name" value="feedback" />
|
||||||
|
<label for="name">Name</label>
|
||||||
<input type="text" name="name" />
|
<input type="text" name="name" />
|
||||||
<input type="email" placeholder="email" required>
|
<label for="name">Email</label>
|
||||||
<input type="string" placeholder="feedback" required>
|
<input type="email" name="email" required />
|
||||||
|
<label for="feedback">What is your feedback?</label>
|
||||||
|
<textarea wrap="soft" name="feedback" required></textarea>
|
||||||
|
<button type="submit">Submit</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
<style scoped>
|
||||||
|
.feedback-form {
|
||||||
|
margin: 40px 40px;
|
||||||
|
min-width: 300px;
|
||||||
|
width: 45%;
|
||||||
|
}
|
||||||
|
input,
|
||||||
|
textarea,
|
||||||
|
button {
|
||||||
|
font-size: inherit;
|
||||||
|
margin: 15px 0;
|
||||||
|
padding: 12px 20px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
background-color: teal;
|
||||||
|
border: 1px solid black;
|
||||||
|
color: white;
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
@ -3,9 +3,14 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import FeedbackForm from '../components/FeedbackForm.vue';
|
import FeedbackForm from '../components/FeedbackForm.vue'
|
||||||
export default {
|
export default {
|
||||||
name: 'IndexPage',
|
name: 'IndexPage',
|
||||||
components: { FeedbackForm },
|
components: { FeedbackForm },
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
font-family: 'Helvetica', sans-serif;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user