Skip to content

Commit eb58672

Browse files
committed
Hire form light and dark
1 parent 35f6902 commit eb58672

File tree

1 file changed

+81
-15
lines changed

1 file changed

+81
-15
lines changed

src/components/shared/Header.vue

Lines changed: 81 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<div
104104
v-show="modal"
105105
@click="showModal()"
106-
class="bg-filter bg-black bg-opacity-70 fixed inset-0 w-full h-full z-20"
106+
class="bg-filter bg-black bg-opacity-50 fixed inset-0 w-full h-full z-20"
107107
></div>
108108
<!-- -->
109109
<main
@@ -115,10 +115,10 @@
115115
class="modal-wrapper flex items-center z-30"
116116
>
117117
<div
118-
class="modal max-w-md mx-auto xl:max-w-xl lg:max-w-xl md:max-w-xl bg-secondary-light dark:bg-primary-dark max-h-screen shadow-lg flex-row rounded-xl relative"
118+
class="modal max-w-md mx-5 xl:max-w-xl lg:max-w-xl md:max-w-xl bg-secondary-light dark:bg-primary-dark max-h-screen shadow-lg flex-row rounded-xl relative"
119119
>
120120
<div
121-
class="modal-header flex justify-between p-5 border-b border-ternary-light dark:border-ternary-dark"
121+
class="modal-header flex justify-between gap-10 p-5 border-b border-ternary-light dark:border-ternary-dark"
122122
>
123123
<h5
124124
class=" text-primary-dark dark:text-primary-light text-2xl"
@@ -135,21 +135,87 @@
135135
<div
136136
class="modal-body p-5 w-full h-full overflow-y-auto "
137137
>
138-
<p class="text-justify">
139-
cilis omnis nam illum maiores, porro
140-
velit deserunt neque. Lorem ipsum dolor,
141-
sit amet consectetur adipisicing elit.
142-
Esse, voluptates eveniet labore dolorum
143-
molestiae, modi saepe fugiat minima
144-
repudiandae repellendus obcaecati
145-
voluptatibus ab tenetur recusandae eius
146-
quos at maiores atque consectetur
147-
facilis! Nisi fuga
148-
</p>
138+
<form class="max-w-xl m-4 text-left">
139+
<div class="">
140+
<input
141+
class="w-full px-5 py-2 border-1 border-gray-200 dark:border-secondary-dark rounded-lg text-md dark:font-medium bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
142+
id="name"
143+
name="name"
144+
type="text"
145+
required=""
146+
placeholder="Name"
147+
aria-label="Name"
148+
/>
149+
</div>
150+
<div class="mt-6">
151+
<input
152+
class="w-full px-5 py-2 border-1 border-gray-200 dark:border-secondary-dark rounded-lg text-md dark:font-medium bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
153+
id="email"
154+
name="email"
155+
type="text"
156+
required=""
157+
placeholder="Email"
158+
aria-label="Email"
159+
/>
160+
</div>
161+
<div class="mt-6">
162+
<select
163+
class="w-full px-5 py-2 border-1 border-gray-200 dark:border-secondary-dark rounded-lg text-md dark:font-medium bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
164+
id="subject"
165+
name="subject"
166+
type="text"
167+
required=""
168+
aria-label="Subject"
169+
>
170+
<option selected disabled
171+
>Select Project Type</option
172+
>
173+
<option value="web"
174+
>Web Application</option
175+
>
176+
<option value="mobile"
177+
>Mobile Applicaiton</option
178+
>
179+
<option value="design"
180+
>UI/UX Design</option
181+
>
182+
<option value="graphic"
183+
>Branding</option
184+
>
185+
</select>
186+
</div>
187+
188+
<div class="mt-6">
189+
<textarea
190+
class="w-full px-5 py-2 border-1 border-gray-200 dark:border-secondary-dark rounded-lg text-md dark:font-medium bg-secondary-light dark:bg-ternary-dark text-primary-dark dark:text-ternary-light"
191+
id="message"
192+
name="message"
193+
cols="14"
194+
rows="6"
195+
placeholder="Project description"
196+
></textarea>
197+
</div>
198+
199+
<div class="mt-6">
200+
<button
201+
class="px-6 py-2.5 text-white font-medium tracking-wider bg-indigo-500 hover:bg-indigo-600 rounded-lg"
202+
type="submit"
203+
>
204+
Send Request
205+
</button>
206+
</div>
207+
</form>
149208
</div>
150209
<div
151210
class="modal-footer py-3 px-5 border0-t text-right"
152-
></div>
211+
>
212+
<button
213+
class="px-4 font-bold text-primary-dark dark:text-primary-light"
214+
@click="showModal()"
215+
>
216+
Close
217+
</button>
218+
</div>
153219
</div>
154220
</div>
155221
</transition>

0 commit comments

Comments
 (0)