|
6 | 6 | </template> |
7 | 7 |
|
8 | 8 | <div class="py-12"> |
9 | | - <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> |
10 | | - <div class="m-auto w-full max-w-xs"> |
11 | | - <form @submit.prevent="submit" class="bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4"> |
| 9 | + <div class="mx-auto max-w-7xl sm:px-6 lg:px-8"> |
| 10 | + <div class="w-full max-w-xs m-auto"> |
| 11 | + <form @submit.prevent="submit" class="px-8 pt-6 pb-8 mb-4 bg-white rounded shadow-md"> |
12 | 12 |
|
13 | 13 | <div class="mb-4"> |
14 | | - <label class="block text-gray-700 text-sm font-bold mb-2" for="name"> |
| 14 | + <label class="block mb-2 text-sm font-bold text-gray-700" for="name"> |
15 | 15 | Name |
16 | 16 | </label> |
17 | 17 | <input v-model="form.name" |
18 | | - class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" |
| 18 | + class="w-full px-3 py-2 leading-tight text-gray-700 border rounded shadow appearance-none focus:outline-none focus:shadow-outline" |
19 | 19 | id="name" type="text"> |
20 | 20 | </div> |
21 | 21 |
|
22 | 22 | <div class="mb-4"> |
23 | | - <label class="block text-gray-700 text-sm font-bold mb-2" for="email"> |
| 23 | + <label class="block mb-2 text-sm font-bold text-gray-700" for="email"> |
24 | 24 | E-mail |
25 | 25 | </label> |
26 | 26 | <input v-model="form.email" |
27 | | - class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline" |
| 27 | + class="w-full px-3 py-2 leading-tight text-gray-700 border rounded shadow appearance-none focus:outline-none focus:shadow-outline" |
28 | 28 | id="email" type="email"> |
29 | 29 | </div> |
30 | 30 |
|
31 | 31 | <div class="flex items-center justify-between"> |
32 | 32 | <Button :form="form"></Button> |
33 | 33 | </div> |
34 | 34 | </form> |
35 | | - <p class="text-center text-gray-500 text-xs"> |
36 | | - ©2022 - <a class="text-blue-500" href="https://github.com/perisicnikola37" |
37 | | - target="_blank">@perisicnikola37</a> |
| 35 | + <p class="text-xs text-center text-gray-500"> |
| 36 | + © {{ $page.props.currentYear }} - <a class="text-blue-500" |
| 37 | + href="https://github.com/perisicnikola37" target="_blank">@{{ $page.props.username }}</a> |
38 | 38 | </p> |
39 | 39 | </div> |
40 | 40 |
|
|
44 | 44 | </template> |
45 | 45 |
|
46 | 46 | <script> |
47 | | -import AppLayout from '@/Layouts/AppLayout.vue'; |
48 | 47 | import Breadcrumb from "@/Components/Breadcrumb.vue"; |
49 | 48 | import Button from "@/Components/Button.vue"; |
| 49 | +import AppLayout from '@/Layouts/AppLayout.vue'; |
50 | 50 |
|
51 | 51 | export default { |
52 | 52 | components: { |
|
0 commit comments