|
1 | | -import { stripIndent } from "react-codepen-prefill-embed"; |
| 1 | +import {stripIndent} from "react-codepen-prefill-embed"; |
2 | 2 |
|
3 | 3 | const contactForm = stripIndent` |
4 | | -<div class="flex h-full w-full items-center justify-center bg-slate-800"> |
| 4 | +<div class="flex h-screen w-full items-center justify-center bg-rose-300"> |
5 | 5 | <div class="my-10 rounded-xl border border-gray-200 bg-white shadow-md"> |
6 | | - <a href="#"> </a> |
7 | 6 | <div class="flex flex-col items-center justify-center p-6 text-center"> |
8 | | - <a href="#"> </a> |
9 | | -
|
10 | | - <h5 class="mb-1 px-4 font-bold tracking-tight text-gray-700">Contact Us</h5> |
11 | | - <h1 class="mb-5 text-3xl font-bold">Book Appointment</h1> |
| 7 | + <h5 class="mb-1 px-4 font-bold tracking-tight text-gray-700"> |
| 8 | + Contact Us |
| 9 | + </h5> |
| 10 | + <h1 class="mb-5 text-3xl font-bold">Book your Appointment</h1> |
12 | 11 | <div class="mx-10 grid justify-start"> |
13 | | - <label for="message" class="left-0 mb-2 mt-2 -ml-40 block text-sm font-medium text-gray-900">Name *</label> |
14 | | - <input class="focus:shadow-outline my-3 w-full appearance-none rounded border py-2 px-3 leading-tight text-gray-700 shadow focus:outline-none" id="username" type="text" placeholder="Full Name *" /> |
15 | | - <label for="message" class="left-0 mb-2 mt-2 -ml-28 block text-sm font-medium text-gray-900">Email address *</label> |
16 | | - <input class="focus:shadow-outline my-3 w-full appearance-none rounded border py-2 px-3 leading-tight text-gray-700 shadow focus:outline-none" id="username" type="text" placeholder="Email *" /> |
17 | | - <label for="message" class="left-0 mb-2 mt-2 -ml-32 block text-sm font-medium text-gray-900">Depertment *</label> |
18 | | - <select class="form-select my-3 block w-full appearance-none rounded border border-solid border-gray-300 bg-white bg-clip-padding bg-no-repeat px-3 py-1.5 text-base font-normal text-gray-700 transition ease-in-out focus:border-blue-600 focus:bg-white focus:text-gray-700 focus:outline-none" aria-label="Default select example"> |
| 12 | + <label |
| 13 | + for="message" |
| 14 | + class="left-0 mb-2 mt-2 -ml-40 block text-sm font-medium text-gray-900" |
| 15 | + >Name *</label |
| 16 | + > |
| 17 | + <input |
| 18 | + class="focus:shadow-outline my-3 w-full appearance-none rounded border py-2 px-3 leading-tight text-gray-700 shadow focus:outline-none" |
| 19 | + id="username" |
| 20 | + type="text" |
| 21 | + placeholder="Full Name *" |
| 22 | + /> |
| 23 | + <label |
| 24 | + for="message" |
| 25 | + class="left-0 mb-2 mt-2 -ml-28 block text-sm font-medium text-gray-900" |
| 26 | + >Email address *</label |
| 27 | + > |
| 28 | + <input |
| 29 | + class="focus:shadow-outline my-3 w-full appearance-none rounded border py-2 px-3 leading-tight text-gray-700 shadow focus:outline-none" |
| 30 | + id="username" |
| 31 | + type="text" |
| 32 | + placeholder="Email *" |
| 33 | + /> |
| 34 | + <label |
| 35 | + for="message" |
| 36 | + class="left-0 mb-2 mt-2 -ml-32 block text-sm font-medium text-gray-900" |
| 37 | + >Depertment *</label |
| 38 | + > |
| 39 | + <select |
| 40 | + class="form-select my-3 block w-full appearance-none rounded border border-solid border-gray-300 bg-white bg-clip-padding bg-no-repeat px-3 py-1.5 text-base font-normal text-gray-700 transition ease-in-out focus:border-blue-600 focus:bg-white focus:text-gray-700 focus:outline-none" |
| 41 | + aria-label="Default select example" |
| 42 | + > |
19 | 43 | <option selected>Please Select</option> |
20 | 44 | <option value="1">One</option> |
21 | 45 | <option value="2">Two</option> |
22 | 46 | <option value="3">Three</option> |
23 | 47 | </select> |
24 | | - <label for="message" class="left-0 mb-2 mt-2 -ml-40 block text-sm font-medium text-gray-900">Time *</label> |
25 | | - <select class="form-select my-3 block w-full appearance-none rounded border border-solid border-gray-300 bg-white bg-clip-padding bg-no-repeat px-3 py-1.5 text-base font-normal text-gray-700 transition ease-in-out focus:border-blue-600 focus:bg-white focus:text-gray-700 focus:outline-none" aria-label="Default select example"> |
| 48 | + <label |
| 49 | + for="message" |
| 50 | + class="left-0 mb-2 mt-2 -ml-40 block text-sm font-medium text-gray-900" |
| 51 | + >Time *</label |
| 52 | + > |
| 53 | + <select |
| 54 | + class="form-select my-3 block w-full appearance-none rounded border border-solid border-gray-300 bg-white bg-clip-padding bg-no-repeat px-3 py-1.5 text-base font-normal text-gray-700 transition ease-in-out focus:border-blue-600 focus:bg-white focus:text-gray-700 focus:outline-none" |
| 55 | + aria-label="Default select example" |
| 56 | + > |
26 | 57 | <option selected>4:00 Available</option> |
27 | 58 | <option value="1">One</option> |
28 | 59 | <option value="2">Two</option> |
29 | 60 | <option value="3">Three</option> |
30 | 61 | </select> |
31 | 62 | </div> |
32 | | - <button type="button" class="mr-2 mb-2 mt-4 rounded-lg bg-blue-700 px-5 py-2.5 text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">Book Appointment</button> |
| 63 | + <button |
| 64 | + type="button" |
| 65 | + class="mr-2 mb-2 mt-4 rounded-lg bg-blue-700 px-5 py-2.5 text-sm font-medium text-white hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800" |
| 66 | + > |
| 67 | + Book Appointment |
| 68 | + </button> |
33 | 69 | </div> |
34 | 70 | </div> |
35 | 71 | </div> |
|
0 commit comments