|
1 | 1 | <template>
|
2 | 2 | <!-- Contact form -->
|
3 | 3 | <div class="w-full md:w-1/2">
|
4 |
| - <div class="leading-loose"> |
5 |
| - <form |
6 |
| - class="max-w-xl m-4 p-6 sm:p-10 bg-secondary-light dark:bg-secondary-dark rounded-xl shadow-xl text-left" |
| 4 | + <div |
| 5 | + class="leading-loose max-w-xl m-4 p-7 bg-secondary-light dark:bg-secondary-dark rounded-xl shadow-xl text-left" |
| 6 | + > |
| 7 | + <p |
| 8 | + class="font-general-medium text-primary-dark dark:text-primary-light text-2xl mb-8" |
7 | 9 | >
|
8 |
| - <p |
9 |
| - class="font-general-medium text-primary-dark dark:text-primary-light text-2xl mb-8" |
10 |
| - > |
11 |
| - Contact Form |
12 |
| - </p> |
13 |
| - <div class="font-general-medium"> |
| 10 | + Contact Form |
| 11 | + </p> |
| 12 | + <form action="#" class="font-general-regular space-y-7"> |
| 13 | + <div> |
14 | 14 | <label
|
15 | 15 | class="block text-lg text-primary-dark dark:text-primary-light mb-2"
|
16 | 16 | for="name"
|
17 | 17 | >Full Name</label
|
18 | 18 | >
|
19 | 19 | <input
|
20 |
| - class="w-full px-5 py-2 border border-gray-300 dark:border-primary-dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium" |
| 20 | + class="w-full px-5 py-2 border border-gray-300 dark:border-primary-dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md" |
21 | 21 | id="name"
|
22 | 22 | name="name"
|
23 | 23 | type="text"
|
|
26 | 26 | aria-label="Name"
|
27 | 27 | />
|
28 | 28 | </div>
|
29 |
| - <div class="mt-6 font-general-medium"> |
| 29 | + <div> |
30 | 30 | <label
|
31 | 31 | class="block text-lg text-primary-dark dark:text-primary-light mb-2"
|
32 | 32 | for="email"
|
33 | 33 | >Email</label
|
34 | 34 | >
|
35 | 35 | <input
|
36 |
| - class="w-full px-5 py-2 border border-gray-300 dark:border-primary-dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium" |
| 36 | + class="w-full px-5 py-2 border border-gray-300 dark:border-primary-dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md" |
37 | 37 | id="email"
|
38 | 38 | name="email"
|
39 | 39 | type="text"
|
|
42 | 42 | aria-label="Email"
|
43 | 43 | />
|
44 | 44 | </div>
|
45 |
| - <div class="mt-6 font-general-medium"> |
| 45 | + <div> |
46 | 46 | <label
|
47 | 47 | class="block text-lg text-primary-dark dark:text-primary-light mb-2"
|
48 | 48 | for="subject"
|
49 | 49 | >Subject</label
|
50 | 50 | >
|
51 | 51 | <input
|
52 |
| - class="w-full px-5 py-2 border border-gray-300 dark:border-primary-dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium" |
| 52 | + class="w-full px-5 py-2 border border-gray-300 dark:border-primary-dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md" |
53 | 53 | id="subject"
|
54 | 54 | name="subject"
|
55 | 55 | type="text"
|
|
59 | 59 | />
|
60 | 60 | </div>
|
61 | 61 |
|
62 |
| - <div class="mt-6 font-general-medium"> |
| 62 | + <div> |
63 | 63 | <label
|
64 | 64 | class="block text-lg text-primary-dark dark:text-primary-light mb-2"
|
65 | 65 | for="message"
|
66 | 66 | >Message</label
|
67 | 67 | >
|
68 | 68 | <textarea
|
69 |
| - class="w-full px-5 py-2 border border-gray-300 dark:border-primary-dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md dark:font-medium" |
| 69 | + class="w-full px-5 py-2 border border-gray-300 dark:border-primary-dark border-opacity-50 text-primary-dark dark:text-secondary-light bg-ternary-light dark:bg-ternary-dark rounded-md shadow-sm text-md" |
70 | 70 | id="message"
|
71 | 71 | name="message"
|
72 | 72 | cols="14"
|
|
75 | 75 | ></textarea>
|
76 | 76 | </div>
|
77 | 77 |
|
78 |
| - <div class="mt-6"> |
| 78 | + <div> |
79 | 79 | <Button
|
80 | 80 | title="Send Message"
|
81 |
| - class="font-general-medium px-4 py-2.5 text-white font-medium tracking-wider bg-indigo-500 hover:bg-indigo-600 focus:ring-1 focus:ring-indigo-900 rounded-lg" |
| 81 | + class="px-4 py-2.5 text-white tracking-wider bg-indigo-500 hover:bg-indigo-600 focus:ring-1 focus:ring-indigo-900 rounded-lg" |
82 | 82 | type="submit"
|
83 | 83 | aria-label="Send Message"
|
84 | 84 | />
|
|
0 commit comments