-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.blade.php
74 lines (73 loc) · 2.16 KB
/
contact.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
@extends('layouts.app')
@section('content')
{{ Breadcrumbs::render('contact') }}
<div class="container flex-col justify-center mx-auto max-w-screen-md">
<h2
class="text-center text-dark leading-[54px] text-[40px] font-bold break-words"
>
Let’s talk about your problem
</h2>
<p
class="text-center text-text-normal text-lg font-semibold break-words"
>
drop us a line through the form and we’ll get back to you
</p>
<div class="flex justify-center mt-8">
<form action="{{ route('contact.submit') }}" method="POST" class="w-3/4">
@csrf
<div>
<label
for="email"
class="block mb-2 text-lg font-medium text-gray-900"
>Your email</label
>
<input
type="email"
id="email"
name="email"
class="block w-full p-2.5 border border-divider rounded h-[47px] text-lg font-semibold leading-[54px]"
placeholder="[email protected]"
required
/>
</div>
<div>
<label
for="name"
class="block my-2 text-lg font-medium text-gray-900"
>Name</label
>
<input
type="text"
id="name"
name="name"
class="block p-3 w-full border border-divider rounded h-[47px] text-lg font-semibold leading-[54px]"
placeholder="Let us know your name"
{{-- required --}}
/>
</div>
<div class="sm:col-span-2">
<label
for="message"
class="block my-2 text-lg font-medium text-gray-900"
>Your message</label
>
<textarea
id="message"
rows="6"
name="message"
class="block px-2.5 w-full border border-divider rounded h-[125px] flex-shrink-0 text-lg font-semibold leading-[54px]"
placeholder="Leave a comment..."
></textarea>
</div>
<div class="btn flex justify-center my-6">
<button
type="submit"
class="bg-primary hover:bg-primary-dark text-[20px] text-white font-semibold py-2 px-4 rounded mt-4 w-24"
>
Send
</button>
</div>
</form>
</div>
</div>
@endsection