|
1 | 1 | <template>
|
2 |
| - <div class="container mx-auto flex py-10 mt-10 sm:mt-20"> |
3 |
| - <div class="w-1/2"> |
| 2 | + <div class="container mx-auto sm:flex py-5 sm:py-10 mt-10 sm:mt-20"> |
| 3 | + <div class="w-full sm:w-1/2"> |
4 | 4 | <div class="leading-loose">
|
5 | 5 | <form
|
6 |
| - class="max-w-xl m-4 p-10 bg-white rounded shadow-xl text-left" |
| 6 | + class="max-w-xl m-4 p-6 sm:p-10 bg-white rounded-xl shadow-xl text-left" |
7 | 7 | >
|
8 | 8 | <p class="text-gray-600 text-2xl font-semibold mb-8">
|
9 |
| - Customer information |
| 9 | + Contact Form |
10 | 10 | </p>
|
11 | 11 | <div class="">
|
12 |
| - <label class="block text-sm text-gray-00" for="cus_name" |
13 |
| - >Name</label |
| 12 | + <label |
| 13 | + class="block text-lg text-gray-00 mb-2" |
| 14 | + for="name" |
| 15 | + >Full Name</label |
14 | 16 | >
|
15 | 17 | <input
|
16 |
| - class="w-full px-5 py-1 text-gray-700 bg-gray-200 rounded" |
17 |
| - id="cus_name" |
18 |
| - name="cus_name" |
| 18 | + class="w-full px-5 py-2 text-gray-700 bg-gray-100 rounded" |
| 19 | + id="name" |
| 20 | + name="name" |
19 | 21 | type="text"
|
20 | 22 | required=""
|
21 | 23 | placeholder="Your Name"
|
22 | 24 | aria-label="Name"
|
23 | 25 | />
|
24 | 26 | </div>
|
25 |
| - <div class="mt-2"> |
| 27 | + <div class="mt-6"> |
26 | 28 | <label
|
27 |
| - class="block text-sm text-gray-600" |
28 |
| - for="cus_email" |
| 29 | + class="block text-lg text-gray-00 mb-2" |
| 30 | + for="email" |
29 | 31 | >Email</label
|
30 | 32 | >
|
31 | 33 | <input
|
32 |
| - class="w-full px-5 py-4 text-gray-700 bg-gray-200 rounded" |
33 |
| - id="cus_email" |
34 |
| - name="cus_email" |
| 34 | + class="w-full px-5 py-2 text-gray-700 bg-gray-100 rounded" |
| 35 | + id="email" |
| 36 | + name="email" |
35 | 37 | type="text"
|
36 | 38 | required=""
|
37 | 39 | placeholder="Your Email"
|
38 | 40 | aria-label="Email"
|
39 | 41 | />
|
40 | 42 | </div>
|
41 |
| - <div class="mt-2"> |
42 |
| - <label |
43 |
| - class=" block text-sm text-gray-600" |
44 |
| - for="cus_email" |
45 |
| - >Address</label |
46 |
| - > |
47 |
| - <input |
48 |
| - class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" |
49 |
| - id="cus_email" |
50 |
| - name="cus_email" |
51 |
| - type="text" |
52 |
| - required="" |
53 |
| - placeholder="Street" |
54 |
| - aria-label="Email" |
55 |
| - /> |
56 |
| - </div> |
57 |
| - <div class="mt-2"> |
58 |
| - <label |
59 |
| - class="hidden text-sm block text-gray-600" |
60 |
| - for="cus_email" |
61 |
| - >City</label |
62 |
| - > |
63 |
| - <input |
64 |
| - class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" |
65 |
| - id="cus_email" |
66 |
| - name="cus_email" |
67 |
| - type="text" |
68 |
| - required="" |
69 |
| - placeholder="City" |
70 |
| - aria-label="Email" |
71 |
| - /> |
72 |
| - </div> |
73 |
| - <div class="inline-block mt-2 w-1/2 pr-1"> |
74 |
| - <label |
75 |
| - class="hidden block text-sm text-gray-600" |
76 |
| - for="cus_email" |
77 |
| - >Country</label |
78 |
| - > |
79 |
| - <input |
80 |
| - class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" |
81 |
| - id="cus_email" |
82 |
| - name="cus_email" |
83 |
| - type="text" |
84 |
| - required="" |
85 |
| - placeholder="Country" |
86 |
| - aria-label="Email" |
87 |
| - /> |
88 |
| - </div> |
89 |
| - <div class="inline-block mt-2 -mx-1 pl-1 w-1/2"> |
| 43 | + <div class="mt-6"> |
90 | 44 | <label
|
91 |
| - class="hidden block text-sm text-gray-600" |
92 |
| - for="cus_email" |
93 |
| - >Zip</label |
| 45 | + class="block text-lg text-gray-00 mb-2" |
| 46 | + for="subject" |
| 47 | + >Subject</label |
94 | 48 | >
|
95 | 49 | <input
|
96 |
| - class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" |
97 |
| - id="cus_email" |
98 |
| - name="cus_email" |
| 50 | + class="w-full px-5 py-2 text-gray-700 bg-gray-100 rounded" |
| 51 | + id="subject" |
| 52 | + name="subject" |
99 | 53 | type="text"
|
100 | 54 | required=""
|
101 |
| - placeholder="Zip" |
102 |
| - aria-label="Email" |
| 55 | + placeholder="Subject" |
| 56 | + aria-label="Subject" |
103 | 57 | />
|
104 | 58 | </div>
|
105 |
| - <p class="mt-4 text-gray-800 font-medium"> |
106 |
| - Payment information |
107 |
| - </p> |
108 |
| - <div class=""> |
| 59 | + |
| 60 | + <div class="mt-6"> |
109 | 61 | <label
|
110 |
| - class="block text-sm text-gray-600" |
111 |
| - for="cus_name" |
112 |
| - >Card</label |
| 62 | + class="block text-lg text-gray-00 mb-2" |
| 63 | + for="message" |
| 64 | + >Message</label |
113 | 65 | >
|
114 |
| - <input |
115 |
| - class="w-full px-2 py-2 text-gray-700 bg-gray-200 rounded" |
116 |
| - id="cus_name" |
117 |
| - name="cus_name" |
118 |
| - type="text" |
119 |
| - required="" |
120 |
| - placeholder="Card Number MM/YY CVC" |
121 |
| - aria-label="Name" |
122 |
| - /> |
| 66 | + <textarea |
| 67 | + class="w-full px-2 py-2 text-gray-700 bg-gray-100 rounded" |
| 68 | + id="message" |
| 69 | + name="message" |
| 70 | + cols="14" |
| 71 | + rows="6" |
| 72 | + ></textarea> |
123 | 73 | </div>
|
124 |
| - <div class="mt-4"> |
| 74 | + |
| 75 | + <div class="mt-6"> |
125 | 76 | <button
|
126 |
| - class="px-4 py-1 text-white font-light tracking-wider bg-gray-900 rounded" |
| 77 | + class="px-4 py-3 text-white font-medium tracking-wider bg-indigo-500 hover:bg-indigo-600 rounded-lg" |
127 | 78 | type="submit"
|
128 | 79 | >
|
129 |
| - $3.00 |
| 80 | + Send Message |
130 | 81 | </button>
|
131 | 82 | </div>
|
132 | 83 | </form>
|
133 | 84 | </div>
|
134 | 85 | </div>
|
135 |
| - <div class="w-1/2"> |
136 |
| - <div class="col-lg-4 col-md-4 offset-md-1"> |
137 |
| - <h2 class="h4 pb-3">Contact details</h2> |
138 |
| - <h3 class="h6 pb-2">North America - New York, NY</h3> |
139 |
| - <ul class="list-unstyled fs-sm pb-3"> |
140 |
| - <li class="d-flex align-items-top mb-3"> |
| 86 | + <div class="w-full sm:w-1/2"> |
| 87 | + <div class="text-left max-w-xl px-6"> |
| 88 | + <h2 class="text-2xl font-semibold mt-12 mb-8"> |
| 89 | + Contact details |
| 90 | + </h2> |
| 91 | + <ul class=""> |
| 92 | + <li class="flex"> |
141 | 93 | <i
|
142 |
| - class="ai-map-pin fs-xl text-muted mt-1 me-2 pe-1" |
| 94 | + data-feather="map-pin" |
| 95 | + class="w-5 text-gray-500 mr-4" |
143 | 96 | ></i>
|
144 |
| - <div> |
145 |
| - 396 Lillian Blvd, Holbrook,<br />NY 11741, USA<br /><a |
146 |
| - class="fancy-link" |
147 |
| - href="#map" |
148 |
| - data-scroll="" |
149 |
| - >See on the map</a |
150 |
| - > |
151 |
| - </div> |
152 |
| - </li> |
153 |
| - <li class="d-flex align-items-center mb-3"> |
154 |
| - <i class="ai-mail fs-xl text-muted me-2 pe-1"></i> |
155 |
| - <div>new.york@example.com</div> |
156 |
| - </li> |
157 |
| - <li class="d-flex align-items-center mb-3"> |
158 |
| - <i class="ai-phone fs-xl text-muted me-2 pe-1"></i> |
159 |
| - <div>+ 1 526 220 0459</div> |
| 97 | + <p class="text-lg mb-4"> |
| 98 | + Wazir Akbar Khan, Kabul, Afghanistan |
| 99 | + </p> |
160 | 100 | </li>
|
161 |
| - </ul> |
162 |
| - <h3 class="h6 pb-2">Europe - Berlin, Germany</h3> |
163 |
| - <ul class="list-unstyled fs-sm"> |
164 |
| - <li class="d-flex align-items-top mb-3"> |
| 101 | + <li class="flex"> |
165 | 102 | <i
|
166 |
| - class="ai-map-pin fs-xl text-muted mt-1 me-2 pe-1" |
| 103 | + data-feather="mail" |
| 104 | + class="w-5 text-gray-500 mr-4" |
167 | 105 | ></i>
|
168 |
| - <div> |
169 |
| - Mohrenstrasse 37 10117,<br />Berlin, Germany<br /> |
170 |
| - </div> |
171 |
| - </li> |
172 |
| - <li class="d-flex align-items-center mb-3"> |
173 |
| - <i class="ai-mail fs-xl text-muted me-2 pe-1"></i> |
174 |
| - <div>berlin@example.com</div> |
| 106 | + <p class="text-lg mb-4">email@example.com</p> |
175 | 107 | </li>
|
176 |
| - <li class="d-flex align-items-center mb-3"> |
177 |
| - <i class="ai-phone fs-xl text-muted me-2 pe-1"></i> |
178 |
| - <div>030 778 345 26</div> |
| 108 | + <li class="flex"> |
| 109 | + <i |
| 110 | + data-feather="phone" |
| 111 | + class="w-5 text-gray-500 mr-4" |
| 112 | + ></i> |
| 113 | + <p class="text-lg mb-4">+93 7888 888 88</p> |
179 | 114 | </li>
|
180 | 115 | </ul>
|
181 | 116 | </div>
|
|
184 | 119 | </template>
|
185 | 120 |
|
186 | 121 | <script>
|
| 122 | +import feather from 'feather-icons'; |
| 123 | +
|
187 | 124 | export default {
|
188 |
| - setup() {}, |
| 125 | + data: () => { |
| 126 | + return {}; |
| 127 | + }, |
| 128 | + mounted() { |
| 129 | + feather.replace(); |
| 130 | + }, |
| 131 | + updated() { |
| 132 | + feather.replace(); |
| 133 | + }, |
| 134 | + methods: {}, |
189 | 135 | };
|
190 | 136 | </script>
|
0 commit comments