|
1 | 1 | <template>
|
2 |
| - <div class="min-h-full flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8"> |
3 |
| - <div class="max-w-md w-full space-y-8"> |
4 |
| - <div> |
5 |
| - <h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900">Sign in to your account</h2> |
6 |
| - </div> |
7 |
| - <form class="mt-8 space-y-6" action="#" method="POST"> |
8 |
| - <input type="hidden" name="remember" value="true" /> |
9 |
| - <div class="rounded-md shadow-sm -space-y-px"> |
10 |
| - <div> |
11 |
| - <label for="email-address" class="sr-only">Email address</label> |
12 |
| - <input id="email-address" name="email" type="email" autocomplete="email" required="" class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm" placeholder="Email address" /> |
13 |
| - </div> |
14 |
| - <div> |
15 |
| - <label for="password" class="sr-only">Password</label> |
16 |
| - <input id="password" name="password" type="password" autocomplete="current-password" required="" class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm" placeholder="Password" /> |
17 |
| - </div> |
| 2 | + <GuestLayout title="Sign in to your account"> |
| 3 | + <form class="mt-8 space-y-6" action="#" method="POST"> |
| 4 | + <input type="hidden" name="remember" value="true"/> |
| 5 | + <div class="rounded-md shadow-sm -space-y-px"> |
| 6 | + <div> |
| 7 | + <label for="email-address" class="sr-only">Email address</label> |
| 8 | + <input id="email-address" name="email" type="email" autocomplete="email" required="" |
| 9 | + class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-t-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm" |
| 10 | + placeholder="Email address"/> |
18 | 11 | </div>
|
| 12 | + <div> |
| 13 | + <label for="password" class="sr-only">Password</label> |
| 14 | + <input id="password" name="password" type="password" autocomplete="current-password" required="" |
| 15 | + class="appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-300 placeholder-gray-500 text-gray-900 rounded-b-md focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 focus:z-10 sm:text-sm" |
| 16 | + placeholder="Password"/> |
| 17 | + </div> |
| 18 | + </div> |
19 | 19 |
|
20 |
| - <div class="flex items-center justify-between"> |
21 |
| - <div class="flex items-center"> |
22 |
| - <input id="remember-me" name="remember-me" type="checkbox" class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded" /> |
23 |
| - <label for="remember-me" class="ml-2 block text-sm text-gray-900"> Remember me </label> |
24 |
| - </div> |
| 20 | + <div class="flex items-center justify-between"> |
| 21 | + <div class="flex items-center"> |
| 22 | + <input id="remember-me" name="remember-me" type="checkbox" |
| 23 | + class="h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-gray-300 rounded"/> |
| 24 | + <label for="remember-me" class="ml-2 block text-sm text-gray-900"> Remember me </label> |
| 25 | + </div> |
25 | 26 |
|
26 |
| - <div class="text-sm"> |
27 |
| - <router-link :to="{name: 'requestPassword'}" class="font-medium text-indigo-600 hover:text-indigo-500"> Forgot your password? </router-link> |
28 |
| - </div> |
| 27 | + <div class="text-sm"> |
| 28 | + <router-link :to="{name: 'requestPassword'}" class="font-medium text-indigo-600 hover:text-indigo-500"> Forgot |
| 29 | + your password? |
| 30 | + </router-link> |
29 | 31 | </div>
|
| 32 | + </div> |
30 | 33 |
|
31 |
| - <div> |
32 |
| - <button type="submit" class="group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> |
| 34 | + <div> |
| 35 | + <button type="submit" |
| 36 | + class="group relative w-full flex justify-center py-2 px-4 border border-transparent text-sm font-medium rounded-md text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"> |
33 | 37 | <span class="absolute left-0 inset-y-0 flex items-center pl-3">
|
34 |
| - <LockClosedIcon class="h-5 w-5 text-indigo-500 group-hover:text-indigo-400" aria-hidden="true" /> |
| 38 | + <LockClosedIcon class="h-5 w-5 text-indigo-500 group-hover:text-indigo-400" aria-hidden="true"/> |
35 | 39 | </span>
|
36 |
| - Sign in |
37 |
| - </button> |
38 |
| - </div> |
39 |
| - </form> |
40 |
| - </div> |
41 |
| - </div> |
| 40 | + Sign in |
| 41 | + </button> |
| 42 | + </div> |
| 43 | + </form> |
| 44 | + </GuestLayout> |
42 | 45 | </template>
|
43 | 46 |
|
44 | 47 | <script setup>
|
45 |
| -import { LockClosedIcon } from '@heroicons/vue/solid' |
| 48 | +import {LockClosedIcon} from '@heroicons/vue/solid' |
| 49 | +import GuestLayout from "../components/GuestLayout.vue"; |
| 50 | +
|
46 | 51 | </script>
|
0 commit comments