Eshop-Laravel/resources/views/content/contact.blade.php

128 lines
5.8 KiB
PHP
Raw Permalink Normal View History

2019-10-18 09:25:37 +00:00
@extends('master')
@section('main_content')
<!-- Hero Section-->
<section class="hero hero-page gray-bg padding-small">
<div class="container">
<div class="row d-flex">
<div class="col-lg-9 order-2 order-lg-1">
<h1>Contact</h1>
</div>
<div class="col-lg-3 text-right order-1 order-lg-2">
<ul class="breadcrumb justify-content-lg-end">
<li class="breadcrumb-item"><a href="{{url('')}}">Home</a></li>
<li class="breadcrumb-item active">Contact</li>
</ul>
</div>
</div>
</div>
</section>
<main class="contact-page">
<!-- Contact page-->
<section class="contact">
<div class="container">
<header>
<p class="lead">
Are you curious about something? Do you have some kind of problem with our products? As am hastily invited settled at limited civilly fortune me. Really spring in extent an by. Judge but built party world. Of so am
he remember although required. Bachelor unpacked be advanced at. Confined in declared marianne is vicinity.
</p>
</header>
</section>
<section>
<div class="container">
<header class="mb-5">
<h2 class="heading-line">Contact form</h2>
</header>
<div class="row">
<div class="col-md-7">
@php
$email = Session::get('user_id') ? $user[0]->{'email'} : old('email');
@endphp
<form id="contact-form" method="post" action="#" class="custom-form form">
{{csrf_field()}}
<div class="controls">
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<label for="name" class="form-label">Your firstname *</label>
<input value="{{old('name')}}" type="text" name="name" id="name" placeholder="Enter your firstname" class="form-control">
<span class="error">{{$errors->first('name')}}</span>
</div>
</div>
<div class="col-sm-6">
<div class="form-group">
<label for="surname" class="form-label">Your lastname *</label>
<input value="{{old('last_name')}}" type="text" name="last_name" id="surname" placeholder="Enter your lastname" class="form-control">
<span class="error">{{$errors->first('last_name')}}</span>
</div>
</div>
</div>
<div class="form-group">
<label for="email" class="form-label">Your email *</label>
<input type="text" value="{{ $email }}" name="email" id="email" placeholder="Enter your email" class="form-control">
<span class="error">{{$errors->first('email')}}</span>
</div>
<div class="form-group">
<label for="message" class="form-label">Your message for us *</label>
<textarea rows="4" name="message" id="message" placeholder="Enter your message" class="form-control">{{old('message')}}</textarea>
<span class="error">{{$errors->first('message')}}</span>
</div>
<button type="submit" name="submit" class="btn btn-template">Send message</button>
</div>
</form>
</div>
<div class="col-md-5">
<p>
Are you curious about something? Do you have some kind of problem with our products? As am hastily invited settled at limited civilly fortune me. Really spring in extent an by. Judge but built party world. Of so am
he remember although required. Bachelor unpacked be advanced at. Confined in declared marianne is vicinity.
</p>
<ul class="list-inline">
<li class="list-inline-item"><a href="#" target="_blank"><i class="fa fa-facebook"></i></a></li>
<li class="list-inline-item"><a href="#" target="_blank"><i class="fa fa-twitter"></i></a></li>
<li class="list-inline-item"><a href="#" target="_blank"><i class="fa fa-instagram"></i></a></li>
<li class="list-inline-item"><a href="#" target="_blank"><i class="fa fa-behance"></i></a></li>
<li class="list-inline-item"><a href="#" target="_blank"><i class="fa fa-pinterest"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<div class="row">
<div class="col-md-4">
<div class="contact-icon">
<div class="icon icon-street-map"></div>
</div>
<h3>Address</h3>
<p>Street<br>Num<br>Israel, <strong>Ramat Gan</strong></p>
</div>
<div class="col-md-4">
<div class="contact-icon">
<div class="icon icon-support"></div>
</div>
<h3>Call center</h3>
<p>This number is toll free if calling from Israel otherwise we advise you to use the electronic form of communication.</p>
<p><strong>+972 534 306 691</strong></p>
</div>
<div class="col-md-4">
<div class="contact-icon">
<div class="icon icon-envelope"></div>
</div>
<h3>Electronic support</h3>
<p>Please feel free to write an email to us or to use our electronic ticketing system.</p>
<ul class="list-style-none">
<li><strong><a href="mailto:">kfda89@gmail.com</a></strong></li>
<li><strong><a href="#">
Ticketio
- our ticketing support platform</a></strong></li>
</ul>
</div>
</div>
</div>
</section>
@endsection