2019-01-14 10:24:29 +00:00
|
|
|
<template>
|
|
|
|
<ContentPage heading="The Contact Page Heading">
|
2019-01-14 11:31:17 +00:00
|
|
|
|
|
|
|
<b-field label="Name">
|
|
|
|
<b-input placeholder="Your name ...">
|
|
|
|
</b-input>
|
|
|
|
</b-field>
|
|
|
|
|
|
|
|
<b-field label="Email">
|
|
|
|
<b-input placeholder="Your email ...">
|
|
|
|
</b-input>
|
|
|
|
</b-field>
|
|
|
|
|
|
|
|
<b-field label="Subject">
|
|
|
|
<b-input placeholder="Your subject ...">
|
|
|
|
</b-input>
|
|
|
|
</b-field>
|
|
|
|
|
|
|
|
<b-field label="Message">
|
|
|
|
<b-input placeholder="Your message ..."
|
|
|
|
type="textarea">
|
|
|
|
</b-input>
|
|
|
|
</b-field>
|
|
|
|
|
|
|
|
<button class="button is-success is-outlined"
|
|
|
|
@click.prevent="onSubmit"
|
|
|
|
:disabled="isDisabled">
|
|
|
|
Send
|
|
|
|
</button>
|
2019-01-14 10:24:29 +00:00
|
|
|
</ContentPage>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import ContentPage from '@/components/ContentPage'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'HomePage',
|
|
|
|
|
|
|
|
components: {
|
|
|
|
ContentPage
|
|
|
|
},
|
|
|
|
|
|
|
|
data() {
|
|
|
|
return {
|
2019-01-14 11:31:17 +00:00
|
|
|
isDisabled: false,
|
2019-01-14 10:24:29 +00:00
|
|
|
}
|
2019-01-14 11:31:17 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
onSubmit () {
|
|
|
|
console.log('Submitting ...')
|
|
|
|
},
|
|
|
|
},
|
2019-01-14 10:24:29 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
</style>
|
|
|
|
|